* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #EC4899;
    --accent: #06B6D4;
    --dark: #0F172A;
    --dark-secondary: #1E293B;
    --gray: #64748B;
    --gray-light: #F1F5F9;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(12px);
    --gradient-1: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    --gradient-2: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --gradient-3: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-4: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #E2E8F0;
    background: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header - Glassmorphism ===== */
.header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: #CBD5E1;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.nav-menu a:hover::before {
    transform: translateX(100%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-light);
    background: rgba(129, 140, 248, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background: rgba(129, 140, 248, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
}

main {
    margin-top: 80px;
}

/* ===== Hero Section - Glass Card ===== */
.hero {
    padding: 160px 0 120px;
    background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
                var(--dark);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 88px;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary-light);
    font-weight: 600;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 48px;
    color: #94A3B8;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features Section ===== */
.features {
    padding: 120px 0;
    background: var(--dark-secondary);
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 80px;
    color: #94A3B8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(129, 140, 248, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    background: var(--gradient-1);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-2);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-3);
}

.feature-card:nth-child(4) .feature-icon {
    background: var(--gradient-4);
}

.feature-card:nth-child(5) .feature-icon {
    background: var(--gradient-5);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.feature-card p {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.8;
}

/* ===== Stats Section ===== */
.stats {
    padding: 100px 0;
    background: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.stat-number {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 12px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 140px 0;
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta h2 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 22px;
    margin-bottom: 48px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta .btn {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--secondary);
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Download Page ===== */
.download-hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    text-align: center;
}

.download-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.download-subtitle {
    font-size: 24px;
    margin-bottom: 60px;
    color: #94A3B8;
}

.download-auto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--glass-shadow);
}

.download-auto svg {
    width: 64px;
    height: 64px;
}

.download-auto div p:first-child {
    font-size: 16px;
    color: #94A3B8;
    margin: 0;
}

.os-detect {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0 0 0;
    color: var(--primary-light);
}

.download-platforms {
    padding: 120px 0;
    background: var(--dark-secondary);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.platform-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: all 0.4s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(129, 140, 248, 0.3);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.platform-card h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
}

.platform-card > p {
    font-size: 16px;
    margin-bottom: 32px;
    color: #94A3B8;
}

.platform-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.system-requirements {
    padding: 120px 0;
    background: var(--dark);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.requirement-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: var(--glass-shadow);
}

.requirement-item h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--white);
    font-weight: 700;
}

.requirement-item ul {
    list-style: none;
}

.requirement-item li {
    padding: 14px 0;
    padding-left: 36px;
    position: relative;
    color: #94A3B8;
    font-size: 16px;
}

.requirement-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.download-info {
    padding: 120px 0;
    background: var(--dark-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.info-item {
    text-align: center;
    padding: 48px 32px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.info-item h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
}

.info-item p {
    color: #94A3B8;
    line-height: 1.8;
    font-size: 16px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: #64748B;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 14px;
}

.footer-section a {
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 14px;
}

/* ===== 404 Page ===== */
.page-404 .error-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.error-content {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
}

.error-illustration {
    margin-bottom: 48px;
}

.error-title {
    font-size: 88px;
    font-weight: 900;
    margin-bottom: 32px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
}

.error-description {
    font-size: 20px;
    color: #94A3B8;
    margin-bottom: 48px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.error-help {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.error-help h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 700;
}

.error-help ul {
    list-style: none;
}

.error-help li {
    margin-bottom: 16px;
    font-size: 16px;
}

.error-help a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.error-help a:hover {
    text-decoration: underline;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu li {
    margin-bottom: 0;
}

.mobile-menu a {
    display: block;
    padding: 16px 20px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(129, 140, 248, 0.1);
    color: var(--primary-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 40px;
    }

    .download-title {
        font-size: 48px;
    }

    .error-title {
        font-size: 64px;
    }

    .download-auto {
        flex-direction: column;
        padding: 32px;
    }

    .download-auto p {
        text-align: center;
    }

    .hero-buttons,
    .error-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .platforms-grid,
    .requirements-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .stat-number {
        font-size: 48px;
    }

    .cta h2 {
        font-size: 40px;
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}
