* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #06b6d4;
    --bg: #0a0a1a;
    --bg-card: rgba(30, 30, 60, 0.6);
    --text: #f0f0ff;
    --text-muted: #9090b0;
    --border: rgba(139, 92, 246, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s;
}

.burger-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-active span:nth-child(2) {
    opacity: 0;
}

.burger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.btn-header {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-header:hover {
    background: #a855f7;
    transform: translateY(-2px);
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }

.hero {
    text-align: center;
    padding: 8rem 0 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge-top {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.accent-dot { color: var(--primary); }

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px var(--primary-glow);
}

.btn-icon { font-size: 1.25rem; }

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 2rem 0;
}

.stat-item { text-align: center; }
.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

.technology-section {
    padding: 4rem 0;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.tech-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.tech-block.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-block h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tech-block p {
    color: var(--text-muted);
    line-height: 1.7;
}

.how-it-works, .features-section, .cta-section { padding: 4rem 0; }

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.step h3 { margin-bottom: 0.75rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.feature-box.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.feature-box h3 { margin-bottom: 0.75rem; }
.feature-box p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.comparison-section {
    padding: 4rem 0;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 24px;
    margin: 2rem 0;
}

.comparison-section h2 {
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.comparison-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comparison-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
    border-radius: 24px;
    padding: 4rem;
    margin: 2rem 0;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; }

.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-cta:hover { background: #a855f7; }

.faq-section {
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.faq-active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.faq-active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    padding-top: 0.5rem;
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-column p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.footer-column a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
        border-bottom: 1px solid var(--border);
    }

    .nav-active {
        transform: translateX(0);
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 { 
        font-size: 3rem; 
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stats-row { 
        flex-direction: column; 
        gap: 2rem; 
    }

    .steps, .features-grid, .tech-explanation, .comparison-grid { 
        grid-template-columns: 1fr; 
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

