/* ============================================================
 * WhatsApp AI Platform — Landing Page Design System
 * Premium dark theme, glassmorphism, scroll animations
 * Fully isolated from CRM styles
 * ============================================================ */

/* ─── Google Fonts ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ────────────────────────────── */
:root {
    /* Brand */
    --brand-indigo: #6366f1;
    --brand-indigo-light: #818cf8;
    --brand-indigo-dark: #4f46e5;
    --brand-emerald: #10b981;
    --brand-emerald-light: #34d399;
    --brand-emerald-dark: #059669;

    /* Backgrounds */
    --bg-deep: #06060f;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-border: rgba(255, 255, 255, 0.1);
    --bg-input: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0f0f2d 100%);
    --gradient-brand: linear-gradient(135deg, var(--brand-indigo), var(--brand-emerald));
    --gradient-brand-reverse: linear-gradient(135deg, var(--brand-emerald), var(--brand-indigo));
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow-indigo: 0 0 30px rgba(99, 102, 241, 0.3);
    --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.3);
    --shadow-btn: 0 4px 15px rgba(99, 102, 241, 0.4);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --section-padding: 6rem 0;
    --nav-height: 72px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 200ms var(--ease-out);
    --transition-normal: 400ms var(--ease-out);
    --transition-slow: 600ms var(--ease-out);

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Reset ────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    background: var(--bg-deep);
    color: var(--text-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--brand-indigo-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-emerald-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ─── Utility ──────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-indigo-light);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-center {
    text-align: center;
}

/* ─── Scroll Animation ─────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─── Buttons ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    padding: 0.85rem 2rem;
    background: var(--gradient-brand);
    color: var(--text-white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: var(--text-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--bg-glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ============================================================
 * NAVBAR
 * ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
}

.nav-logo:hover {
    color: var(--text-white);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hidden on desktop, shown via media query on mobile inside hamburger */
.mobile-extras {
    display: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-full);
    padding: 0.2rem;
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.lang-btn.active {
    background: var(--brand-indigo);
    color: var(--text-white);
}

.lang-btn:hover:not(.active) {
    color: var(--text-white);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--nav-height) + 4rem) 0 6rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Glow orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero::before {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.12);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.08);
    bottom: -150px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-indigo-light);
    margin-bottom: 1.5rem;
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: rgba(99, 102, 241, 0.3);
    }

    50% {
        border-color: rgba(99, 102, 241, 0.6);
    }
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    position: relative;
    display: inline;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-brand);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.hero-trust-avatars {
    display: flex;
}

.hero-trust-avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-card);
    border: 2px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-left: -8px;
}

.hero-trust-avatars span:first-child {
    margin-left: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
    border: 1px solid var(--bg-glass-border);
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 560px;
    display: block;
}

/* Decorative dots */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(99, 102, 241, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: -1;
}

.hero-visual::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(16, 185, 129, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: -1;
}

/* ============================================================
 * TRUST BAR
 * ============================================================ */
.trust-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--bg-glass-border);
    border-bottom: 1px solid var(--bg-glass-border);
    background: var(--bg-card);
}

.trust-bar p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.4;
}

.trust-logos span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ============================================================
 * FEATURES
 * ============================================================ */
.features {
    padding: var(--section-padding);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bg-glass-border), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-icon.indigo {
    background: rgba(99, 102, 241, 0.15);
    color: var(--brand-indigo-light);
}

.feature-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-emerald-light);
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
 * HOW IT WORKS
 * ============================================================ */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(99, 102, 241, 0.03) 50%, var(--bg-deep) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-indigo), var(--brand-emerald));
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--bg-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.step-card:hover .step-number {
    border-color: var(--brand-indigo);
    box-shadow: var(--shadow-glow-indigo);
}

.step-card:nth-child(1) .step-number {
    color: var(--brand-indigo-light);
}

.step-card:nth-child(2) .step-number {
    color: var(--brand-emerald-light);
}

.step-card:nth-child(3) .step-number {
    color: #fbbf24;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================================
 * STATS
 * ============================================================ */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--bg-glass-border);
    border-bottom: 1px solid var(--bg-glass-border);
    background: var(--bg-card);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
 * PRICING
 * ============================================================ */
.pricing {
    padding: var(--section-padding);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 2rem;
}

.pricing-card {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.06));
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-glow-indigo);
    transform: scale(1.04);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1.25rem;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-plan {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dim);
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-glass-border);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-feature i {
    color: var(--brand-emerald);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================================
 * TESTIMONIALS
 * ============================================================ */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(16, 185, 129, 0.03) 50%, var(--bg-deep) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ============================================================
 * FAQ
 * ============================================================ */
.faq {
    padding: var(--section-padding);
}

.faq-list {
    max-width: var(--container-narrow);
    margin: 2rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--bg-glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--brand-indigo-light);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--brand-indigo-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
 * CTA BANNER
 * ============================================================ */
.cta-banner {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.cta-box {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 4rem 3rem;
    background: var(--gradient-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    animation: cta-pulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
}

.cta-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.cta-form .form-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    background: var(--bg-input);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast);
}

.cta-form .form-input::placeholder {
    color: var(--text-dim);
}

.cta-form .form-input:focus {
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ============================================================
 * FOOTER
 * ============================================================ */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--bg-glass-border);
    background: var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-indigo);
    border-color: var(--brand-indigo);
    color: var(--text-white);
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--bg-glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--text-muted);
}

/* ============================================================
 * WHATSAPP DEMO (Chat Mockup)
 * ============================================================ */
.wa-demo {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(99, 102, 241, 0.04) 50%, var(--bg-deep) 100%);
    overflow: hidden;
}

.wa-demo .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wa-demo-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.wa-demo-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.wa-demo-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wa-demo-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.wa-demo-highlights li i {
    color: var(--brand-emerald);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Phone Frame */
.wa-phone {
    width: 340px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-phone-screen {
    background: #0b141a;
    border-radius: 26px;
    overflow: hidden;
}

/* WhatsApp Header */
.wa-header {
    background: #1f2c34;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.wa-header-info {
    flex: 1;
}

.wa-header-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e9edef;
}

.wa-header-status {
    font-size: 0.7rem;
    color: #8696a0;
}

/* Chat Area */
.wa-chat {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 320px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    position: relative;
    animation: msgFadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.wa-msg-in {
    background: #1f2c34;
    color: #e9edef;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.wa-msg-out {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.wa-msg-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: right;
    margin-top: 4px;
}

.wa-msg-product {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
}

.wa-msg-product-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--brand-indigo-light);
}

.wa-msg-product-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-emerald-light);
}

.wa-msg-product-detail {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Typing indicator */
.wa-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: #1f2c34;
    border-radius: 10px;
    align-self: flex-start;
    max-width: 70px;
}

.wa-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8696a0;
    animation: typingDot 1.4s infinite;
}

.wa-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.wa-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes msgFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered message animations */
.wa-msg:nth-child(1) {
    animation-delay: 0.2s;
}

.wa-msg:nth-child(2) {
    animation-delay: 0.6s;
}

.wa-msg:nth-child(3) {
    animation-delay: 1.2s;
}

.wa-msg:nth-child(4) {
    animation-delay: 1.8s;
}

.wa-msg:nth-child(5) {
    animation-delay: 2.4s;
}

.wa-msg:nth-child(6) {
    animation-delay: 3.0s;
}

/* AI Badge */
.wa-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-indigo-light);
    margin-bottom: 4px;
}

.wa-ai-badge i {
    font-size: 0.6rem;
}

/* ============================================================
 * SECONDARY FEATURES (Mini Grid)
 * ============================================================ */
.features-secondary {
    padding: 3rem 0 0;
}

.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-mini {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature-mini:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-mini-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brand-indigo-light);
    flex-shrink: 0;
}

.feature-mini h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.feature-mini p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ============================================================
 * COMPARISON TABLE
 * ============================================================ */
.comparison {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(16, 185, 129, 0.03) 50%, var(--bg-deep) 100%);
}

.comparison-table-wrapper {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-glass-border);
    overflow: hidden;
    background: var(--bg-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--bg-glass-border);
    text-align: left;
    color: var(--text-muted);
}

.comparison-table thead th:last-child {
    background: rgba(99, 102, 241, 0.08);
    color: var(--brand-indigo-light);
}

.comparison-table tbody td {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-light);
}

.comparison-table tbody td:first-child {
    font-weight: 500;
    color: var(--text-white);
}

.comparison-table tbody td:last-child {
    background: rgba(99, 102, 241, 0.04);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: var(--brand-emerald);
    font-weight: 700;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 700;
}

.comparison-table .partial {
    color: #f59e0b;
    font-weight: 700;
}

/* ============================================================
 * RESPONSIVE (updated)
 * ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper img {
        max-width: 480px;
        margin: 0 auto;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wa-demo .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wa-demo-content {
        order: 2;
    }

    .wa-demo-highlights {
        align-items: center;
    }

    .features-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
        --nav-height: 64px;
    }

    /* Hide lang switcher and CTA in navbar - they go in hamburger menu */
    .nav-actions .lang-switcher,
    .nav-actions .btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #06060f;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--text-white);
        font-weight: 600;
    }

    /* Show CTA and lang switcher inside mobile menu */
    .nav-links .mobile-extras {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--bg-glass-border);
        width: 100%;
    }

    .nav-links .mobile-extras .btn {
        display: inline-flex;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .nav-links .mobile-extras .lang-switcher {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .hero-cta .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-badge {
        white-space: normal;
        text-align: center;
        line-height: 1.5;
    }

    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form .form-input,
    .cta-form .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .wa-phone {
        width: 300px;
    }

    .features-mini-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 500px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .hero {
        padding: calc(var(--nav-height) + 2rem) 0 3rem;
    }

    .wa-phone {
        width: 280px;
    }

    .hero-cta .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}