/* public/css/download.css - Windows Only styling */

/* Download Hero Section */
.download-hero {
    padding: 140px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 197, 94, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb i {
    font-size: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 24px;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-item i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.feature-item span {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
}

/* Download Section */
.download-section {
    padding: var(--section-padding);
}

.download-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.download-header {
    text-align: center;
    margin-bottom: 50px;
}

.download-header h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.download-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

/* Main Download Card */
.download-card-main {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--primary-color);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 20px;
}

.download-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02) 0%, rgba(34, 197, 94, 0.02) 100%);
    z-index: 0;
}

.card-visual {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card-icon {
    width: 120px;
    height: 120px; 
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    border-radius: var(--radius-2xl);
    z-index: -1;
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.version-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 800;
}

.version-info {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: var(--font-size-base);
}

.features-highlight {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition-normal);
}

.feature:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.feature span {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.download-action {
    margin-top: 40px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn-xl:hover::before {
    left: 100%;
}

.download-note {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: #22c55e;
    font-weight: 500;
}

.download-note i {
    color: #22c55e;
}

/* Download Stats */
.download-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
}

.stat-item {
    text-align: center;
    padding: 20px 0;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: var(--font-size-xl);
}

.stat-number {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* System Requirements Inline */
.system-requirements-inline {
    margin-top: 90px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
}

.system-requirements-inline h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-lg);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.system-requirements-inline h3 i {
    color: #0078d4;
    font-size: var(--font-size-xl);
}

.requirements-grid-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: var(--transition-normal);
}

.requirement:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.02);
}

.requirement i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    width: 24px;
    flex-shrink: 0;
}

.requirement span {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Trial Info Sidebar */
.trial-info {
    position: sticky;
    top: 120px;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-primary);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.trial-header {
    margin-bottom: 30px;
    text-align: center;
}

.trial-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.trial-header h3 i {
    color: #fbbf24;
}

.trial-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
}

.trial-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.trial-feature {
    display: flex;
    gap: 16px!important;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: var(--transition-normal);
}

.trial-feature:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.02);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.feature-icon.ai {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-icon.vision {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.feature-icon.commands {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon.threads {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-icon.support {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-icon.tutorials {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.feature-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.trial-guarantee {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.guarantee-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.guarantee-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* Getting Started */
.getting-started {
    padding: var(--section-padding);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    padding: 40px 30px!important;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: var(--font-size-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
}

.step-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.steps-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

/* FAQ */
.download-faq {
    padding: var(--section-padding);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.02);
}

.faq-question h4 {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 24px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support */
.download-support {
    padding: var(--section-padding);
    text-align: center;
}

.support-content h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.support-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    text-decoration: none;
}

.support-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.02);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.option-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.option-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Download Progress */
.download-progress {
    position: relative;
    margin-top: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 8px;
}

.download-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

.download-status {
    margin-top: 8px;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trial-info {
        position: static;
        order: -1;
    }
    
    .download-card-main {
        padding: 40px 20px;
    }
    
    .card-icon {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn-xl {
        min-width: auto;
        width: 100%;
        padding: 16px 32px;
        font-size: var(--font-size-base);
    }
    
    .download-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }
    
    .requirements-grid-inline {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .trial-feature {  
        gap: 12px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .download-card-main {
        padding: 30px 16px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .trial-info {
        padding: 20px;
    }
    
    .trial-features {
        gap: 16px!important;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .download-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .system-requirements-inline {
        padding: 20px;
    }
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Windows specific styling */
.fab.fa-windows {
    color: #0078d4;
}

/* Success states */
.btn.success {
    background: #22c55e !important;
    border-color: #22c55e !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .card-icon,
    .step-card {
        animation: none;
    }
    
    .btn-xl::before {
        transition: none;
    }
}

/* Print styles */
@media print {
    .download-hero::before {
        display: none;
    }
    
    .download-card-main {
        break-inside: avoid;
    }
}