/* Download Page Styles */

.download-page-container {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
}

html.dark .download-page-container {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Hero Section */
.download-hero {
    padding: 60px 24px;
    text-align: center;
}

.download-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

html.dark .download-hero-content h1 {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-hero-content p {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 24px;
}

.download-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: #059669;
    font-weight: 500;
    font-size: 14px;
}

html.dark .download-note {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Platform Cards */
.download-platforms {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.platform-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html.dark .platform-card {
    background: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.platform-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 48px;
    color: white;
}

.platform-info {
    flex: 1;
    margin-bottom: 24px;
}

.platform-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

html.dark .platform-info h3 {
    color: #f9fafb;
}

.platform-info p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 16px;
}

.platform-details {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 13px;
    color: #9ca3af;
}

.platform-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-download-primary {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.btn-download-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Installation Guide */
.installation-guide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
}

.installation-guide h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 48px;
}

html.dark .installation-guide h2 {
    color: #f9fafb;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.guide-step {
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

html.dark .guide-step {
    background: #1e293b;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.guide-step h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

html.dark .guide-step h4 {
    color: #f9fafb;
}

.guide-step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Security Notice */
.security-notice {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9e7 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
}

html.dark .security-notice {
    background: linear-gradient(135deg, #422006 0%, #451a03 100%);
    border-color: #d97706;
}

.notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fbbf24;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

html.dark .notice-icon {
    background: #d97706;
}

.notice-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
}

html.dark .notice-content h4 {
    color: #fbbf24;
}

.notice-content p {
    font-size: 15px;
    color: #78350f;
    line-height: 1.6;
    margin-bottom: 16px;
}

html.dark .notice-content p {
    color: #fcd34d;
}

.bypass-steps {
    background: rgba(251, 191, 36, 0.2);
    padding: 16px 20px;
    border-radius: 12px;
    margin: 16px 0;
}

html.dark .bypass-steps {
    background: rgba(217, 119, 6, 0.2);
}

.bypass-steps strong {
    display: block;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

html.dark .bypass-steps strong {
    color: #fbbf24;
}

.bypass-steps ol {
    margin: 8px 0 0 20px;
    padding: 0;
}

.bypass-steps li {
    font-size: 14px;
    color: #78350f;
    margin: 6px 0;
    line-height: 1.5;
}

html.dark .bypass-steps li {
    color: #fde68a;
}

.bypass-steps strong {
    font-weight: 700;
}

.notice-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a16207;
    margin-top: 16px;
    margin-bottom: 0 !important;
}

html.dark .notice-footer {
    color: #fcd34d;
}

/* System Requirements */
.system-requirements {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.system-requirements h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 40px;
}

html.dark .system-requirements h3 {
    color: #f9fafb;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.requirement-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

html.dark .requirement-card {
    background: #1e293b;
}

.requirement-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

html.dark .requirement-card h4 {
    color: #f9fafb;
}

.requirement-card h4 i {
    font-size: 28px;
    color: #10b981;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    padding: 12px 0;
    color: #6b7280;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

html.dark .requirement-card li {
    border-bottom-color: #334155;
}

.requirement-card li:last-child {
    border-bottom: none;
}

.requirement-card li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

/* CTA Section */
.download-cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.download-cta h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

html.dark .download-cta h2 {
    color: #f9fafb;
}

.download-cta p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

html.dark .btn-secondary {
    background: #1e293b;
    color: #10b981;
    border-color: #10b981;
}

.btn-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* Download Toast */
.download-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1f2937;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInUp 0.3s ease-out;
}

.download-toast.hidden {
    display: none;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .download-hero-content h1 {
        font-size: 36px;
    }

    .download-hero-content p {
        font-size: 16px;
    }

    .download-platforms {
        grid-template-columns: 1fr;
        padding: 0 16px 40px;
    }

    .platform-card {
        padding: 32px 24px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
