* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
}

.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 35px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a:hover::after {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.download-btn {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 18px 50px;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.download-btn::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: left 0.5s;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.download-btn:hover::before {
    left: 100%;
}

.features {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 30px;
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.features-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.platforms {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.platforms h2 {
    font-size: 42px;
    margin-bottom: 20px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.platforms p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.platform-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    width: 140px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s;
}

.platform-item:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 147, 251, 0.3);
    box-shadow: 0 20px 40px rgba(240, 147, 251, 0.2);
}

.platform-item .icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
}

.platform-item span {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.faq {
    max-width: 900px;
    margin: 100px auto;
    padding: 0 30px;
}

.faq h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(79, 172, 254, 0.3);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(79, 172, 254, 0.05);
}

.faq-question .toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-question .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 30px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 16px;
}

.footer {
    background: var(--darker-bg);
    color: var(--text-secondary);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    margin: 12px 0;
    font-size: 15px;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero {
        padding: 80px 20px;
    }

    .download-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .features h2,
    .platforms h2,
    .faq h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-subtitle {
        font-size: 16px;
    }

    .platform-icons {
        gap: 20px;
    }

    .feature-card,
    .faq-item {
        padding: 30px 20px;
    }

    .nav {
        display: none;
    }

    .header-content {
        padding: 0 20px;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .platform-item {
        width: 120px;
        padding: 20px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
}
