/* ─── Reset & Base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-subtle: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #e4e4ec;
    --text-muted: #8888a4;
    --text-dim: #5a5a72;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #22d3ee 100%);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1100px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent);
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 160px 24px 100px;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding: 6px 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    margin-bottom: 32px;
    background: rgba(59, 130, 246, 0.08);
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.btn-large {
    font-size: 17px;
    padding: 18px 36px;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ─── Social Proof ─────────────────────────────────────────────── */
.hero-proof {
    display: flex;
    justify-content: center;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.proof-avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
    border: 2px solid var(--bg);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

/* ─── Stats ────────────────────────────────────────────────────── */
.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
    padding: 48px 24px;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ─── Industry Logos ───────────────────────────────────────────── */
.logos {
    padding: 40px 24px;
    border-bottom: 1px solid var(--border);
}

.logos-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.logos-label {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 24px;
}

.logos-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.logo-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.logo-emoji {
    font-size: 18px;
}

/* ─── Sections ─────────────────────────────────────────────────── */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 48px;
}

/* ─── Problem ──────────────────────────────────────────────────── */
.problem {
    padding: 100px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── Features ─────────────────────────────────────────────────── */
.features {
    padding: 100px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-card) 100%);
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.feature-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: monospace;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── How It Works ─────────────────────────────────────────────── */
.how {
    padding: 100px 0;
}

.steps {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 48px;
}

.step:last-child {
    padding-bottom: 0;
}

.step-connector {
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: calc(100% - 48px);
    background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.step:last-child .step-connector {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── Testimonial Carousel ─────────────────────────────────────── */
.testimonials {
    padding: 100px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    min-height: 320px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.quote-mark {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -8px;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-result {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-role {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dim);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.dot:hover {
    border-color: var(--accent-light);
}

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

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

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── CTA ──────────────────────────────────────────────────────── */
.cta {
    padding: 100px 0;
}

.cta-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 24px 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-links-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-address {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        gap: 32px;
    }

    .stat-divider {
        display: none;
    }

    .stats-inner {
        flex-direction: column;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        padding: 60px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .logos-track {
        gap: 16px;
    }

    .step {
        gap: 16px;
    }

    .testimonial-track {
        min-height: 380px;
    }
}

/* ─── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-delay-3 {
    animation-delay: 0.3s;
}