:root {
    --neon-purple: #da00ff;
    --neon-yellow: #ffea00;
    --neon-green: #00ff88;
    --dark-bg: #0a0e27;
    --dark-surface: #151a36;
    --dark-surface-2: #1f2541;
    --glass: rgba(21, 26, 54, 0.65);
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --accent-gradient: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    --card-gradient: linear-gradient(145deg, rgba(218, 0, 255, 0.12), rgba(0, 255, 136, 0.05));
}

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(218, 0, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 234, 0, 0.08) 0%, transparent 55%);
    z-index: -2;
    animation: float-bg 22s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -30px) scale(1.03); }
    66% { transform: translate(25px, 15px) scale(0.98); }
}

/* Navbar */
nav {
    background: linear-gradient(135deg, rgba(21, 26, 54, 0.85), rgba(31, 37, 65, 0.75));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

nav .brand-logo i {
    color: var(--neon-yellow);
    text-shadow: 0 0 16px rgba(255, 234, 0, 0.55);
}

nav ul a {
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-cta {
    background: var(--accent-gradient);
    border-radius: 999px;
    padding: 8px 22px !important;
    color: #0a0e27 !important;
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 10px 30px rgba(218, 0, 255, 0.25);
}

.nav-cta:hover {
    color: #0a0e27 !important;
    box-shadow: 0 18px 36px rgba(218, 0, 255, 0.35);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(218, 0, 255, 0.18), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(0, 255, 136, 0.12), transparent 65%);
    z-index: -1;
    filter: blur(20px);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 28px;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 28px rgba(218, 0, 255, 0.35);
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-hero i {
    font-size: 20px;
}

.btn-hero-primary {
    background: var(--accent-gradient);
    color: #0a0e27;
    box-shadow: 0 18px 40px rgba(218, 0, 255, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(218, 0, 255, 0.45);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-hero-secondary:hover {
    border-color: rgba(0, 255, 136, 0.65);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.25);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.floating-card {
    background: var(--glass);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(18px);
    position: absolute;
    animation: float 4.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.card-1 { top: 18%; right: 12%; animation-delay: 0s; }
.card-2 { bottom: 28%; left: 3%; animation-delay: 1.2s; }
.card-3 { top: 52%; right: 32%; animation-delay: 2.4s; }
.card-4 { top: 67%; right: 50%; animation-delay: 2.8s; }
.card-5 { top: 76%; right: 64%; animation-delay: 3.1s; }
.card-6 { top: 19%; right: 61%; animation-delay: 3.2s; }


.floating-card .openai {
    background: rgba(16, 163, 127, 0.15);
    color: #37dfb3;
}

.floating-card .anthropic {
    background: rgba(212, 164, 115, 0.15);
    color: #edc396;
}

.hero-image img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(10, 14, 39, 0.55);
}

/* Features Section */
.features {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title p {
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.feature-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 36px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 50px rgba(10, 14, 39, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(218, 0, 255, 0.4);
    border-color: rgba(218, 0, 255, 0.4);
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(218, 0, 255, 0.18);
    margin-bottom: 28px;
}

.feature-icon i {
    font-size: 34px;
    color: var(--neon-purple);
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Models Section */
.models {
    padding: 120px 0 100px;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.model-card {
    background: var(--dark-surface-2);
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 40px rgba(10, 14, 39, 0.4);
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 22px 60px rgba(0, 255, 136, 0.25);
}

.model-logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 26px;
    color: #0a0e27;
}

.openai { background: linear-gradient(135deg, #37dfb3, #0abf8a); }
.anthropic { background: linear-gradient(135deg, #ffd6a3, #d47f34); }
.deepseek { background: linear-gradient(135deg, #6a6af7, #9c6bff60); }
.gemini { background: linear-gradient(135deg, #54a0ff, #2e6cea); }
.meta { background: linear-gradient(135deg, #45bcee, #0084ff); }
.cohere { background: linear-gradient(135deg, #48d6c0, #12a890); }

.model-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.model-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 110px 0;
    background: linear-gradient(135deg, rgba(218, 0, 255, 0.15), rgba(0, 255, 136, 0.12));
}

.stat-item {
    background: rgba(10, 14, 39, 0.55);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 44px rgba(10, 14, 39, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(218, 0, 255, 0.35);
}

.stat-number {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* CTA Section */
.cta {
    padding: 120px 0 140px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(218, 0, 255, 0.32), rgba(0, 255, 136, 0.32));
    border-radius: 28px;
    padding: 90px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 80px rgba(10, 14, 39, 0.65);
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: pulse 6s ease-in-out infinite;
}

.cta-box::before {
    width: 420px;
    height: 420px;
    background: rgba(218, 0, 255, 0.55);
    top: -160px;
    right: -120px;
}

.cta-box::after {
    width: 360px;
    height: 360px;
    background: rgba(0, 255, 136, 0.45);
    bottom: -140px;
    left: -100px;
    animation-delay: 1.4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-box h2 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-box .btn-hero {
    background: #0a0e27;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 44px rgba(10, 14, 39, 0.65);
}

.cta-box .btn-hero:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 234, 0, 0.75);
    box-shadow: 0 26px 54px rgba(255, 234, 0, 0.35);
}

/* Footer */
footer {
    padding: 40px 0 60px;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 14, 39, 0.85);
}

footer a {
    color: var(--neon-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--neon-purple);
}

/* Loading Animation */
.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-purple);
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 992px) {
    nav .brand-logo {
        font-size: 24px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0 16px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-image {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .floating-card-stack {
        width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 4px 6px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .floating-card {
        position: static;
        min-width: 260px;
        flex: 0 0 80%;
        max-width: 320px;
        margin: 0 auto;
        animation: none;
        scroll-snap-align: center;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .hero-image img {
        order: -1;
    }

    .feature-card,
    .model-card,
    .stat-item {
        padding: 28px;
    }

    .cta-box {
        padding: 60px 28px;
    }
}
