* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00D9FF;
    --secondary: #0052D4;
    --accent: #FBAB7E;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #888888;
    --gray-light: #f5f5f5;
    --gradient-1: linear-gradient(135deg, #00D9FF 0%, #0052D4 100%);
    --gradient-2: linear-gradient(135deg, #FBAB7E 0%, #F7CE68 100%);
    --gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-4: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-5: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display');
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fafafa;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    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: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo svg {
    width: 36px;
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
    background: rgba(0, 82, 212, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.4);
}

.btn-secondary {
    background: var(--light);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--gradient-1);
    color: var(--light);
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

main {
    margin-top: 72px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 100px;
    background: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 171, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-description {
    font-size: 17px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: none;
}

/* ===== Features Section ===== */
.features {
    padding: 120px 0;
    background: var(--light);
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 80px;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--light);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: var(--gradient-1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: 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, #11998e 0%, #38ef7d 100%);
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.feature-card p {
    font-size: 16px;
    color: var(--gray);
    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;
}

.stat-number {
    font-size: 64px;
    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: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 120px 0;
    background: var(--gradient-1);
    color: var(--light);
    text-align: center;
}

.cta h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
}

.cta .btn {
    background: var(--light);
    color: var(--secondary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Download Page ===== */
.download-hero {
    padding: 140px 0 100px;
    background: var(--gradient-1);
    color: var(--light);
    text-align: center;
}

.download-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.download-subtitle {
    font-size: 22px;
    margin-bottom: 60px;
    opacity: 0.95;
}

.download-auto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.15);
    padding: 48px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.download-auto svg {
    width: 64px;
    height: 64px;
}

.download-auto div p:first-child {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
}

.os-detect {
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0 0 0;
}

.download-platforms {
    padding: 120px 0;
    background: var(--light);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.platform-card {
    background: var(--light);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-card h3 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}

.platform-card > p {
    font-size: 16px;
    margin-bottom: 32px;
    color: var(--gray);
}

.platform-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.system-requirements {
    padding: 120px 0;
    background: var(--gray-light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.requirement-item {
    background: var(--light);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.requirement-item h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--dark);
    font-weight: 700;
}

.requirement-item ul {
    list-style: none;
}

.requirement-item li {
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    color: var(--gray);
    font-size: 16px;
}

.requirement-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00D9FF;
    font-weight: bold;
    font-size: 20px;
}

.download-info {
    padding: 120px 0;
    background: var(--light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.info-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--gray-light);
    border-radius: 20px;
}

.info-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}

.info-item p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.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(--light);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ===== 404 Page ===== */
.page-404 .error-main {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    padding: 100px 20px;
}

.error-illustration {
    margin-bottom: 48px;
}

.error-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.error-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.error-help {
    background: var(--gray-light);
    padding: 48px;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.error-help h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--dark);
    font-weight: 700;
}

.error-help ul {
    list-style: none;
}

.error-help li {
    margin-bottom: 16px;
    font-size: 16px;
}

.error-help a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.error-help a:hover {
    text-decoration: underline;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--light);
    box-shadow: var(--shadow-md);
    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: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    border-bottom: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
    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);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 40px;
    }

    .download-title {
        font-size: 48px;
    }

    .download-auto {
        flex-direction: column;
        padding: 32px;
    }

    .download-auto p {
        text-align: center;
    }

    .error-title {
        font-size: 56px;
    }

    .hero-buttons,
    .error-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .platforms-grid,
    .requirements-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .stat-number {
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}
