/* ==========================================================================
   FlowState Development — Site Design System
   Fonts: Space Grotesk (display) · Inter (body) · JetBrains Mono (labels)
   ========================================================================== */

:root {
    /* Surfaces */
    --bg:            #07060d;
    --bg-2:          #0a0913;
    --bg-3:          #100e1c;
    --surface:       rgba(255, 255, 255, 0.025);
    --surface-2:     rgba(255, 255, 255, 0.045);
    --surface-3:     rgba(255, 255, 255, 0.07);
    --glass-border:  rgba(255, 255, 255, 0.09);
    --glass-border-strong: rgba(255, 255, 255, 0.16);

    /* Text */
    --text:          #f5f4fb;
    --text-muted:    #a6a3bd;
    --text-dim:      #6f6b89;

    /* Brand */
    --violet:        #8b5cf6;
    --violet-light:  #a78bfa;
    --indigo:        #6366f1;
    --cyan:          #22d3ee;
    --accent:        #8b5cf6;
    --accent-glow:   rgba(139, 92, 246, 0.45);
    --success:       #34d399;

    /* Signature gradient */
    --grad:          linear-gradient(120deg, #c4b5fd 0%, #8b5cf6 38%, #6366f1 66%, #22d3ee 100%);
    --grad-soft:     linear-gradient(120deg, #a78bfa, #22d3ee);

    /* Shape & shadow */
    --radius:        18px;
    --radius-sm:     12px;
    --radius-lg:     26px;
    --shadow:        0 24px 60px -20px rgba(0, 0, 0, 0.65);
    --shadow-glow:   0 0 0 1px rgba(139,92,246,0.25), 0 24px 60px -16px rgba(124,58,237,0.45);

    /* Type */
    --font-display:  'Space Grotesk', 'Inter', sans-serif;
    --font-body:     'Inter', sans-serif;
    --font-mono:     'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --maxw:          1200px;
    --nav-h:         76px;
    --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ----- Ambient background (aurora + grid + noise) ----- */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg);
}
.bg-fx::before {
    /* subtle grid */
    content: '';
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
}
.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
}
.aurora.a1 { width: 620px; height: 620px; top: -220px; left: -160px;
    background: radial-gradient(circle, rgba(139,92,246,0.55), transparent 65%);
    animation: drift1 26s ease-in-out infinite; }
.aurora.a2 { width: 540px; height: 540px; top: 6%; right: -180px;
    background: radial-gradient(circle, rgba(34,211,238,0.34), transparent 65%);
    animation: drift2 32s ease-in-out infinite; }
.aurora.a3 { width: 680px; height: 680px; bottom: -280px; left: 30%;
    background: radial-gradient(circle, rgba(99,102,241,0.32), transparent 65%);
    animation: drift3 38s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,50px) scale(1.18); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-60px) scale(1.1); } }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--violet), var(--indigo)); border-radius: 10px; border: 2px solid var(--bg); }

::selection { background: rgba(139,92,246,0.35); color: #fff; }

/* ----- Layout helpers ----- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section.tint { background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 40%),
    rgba(255,255,255,0.012);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border); }

/* ----- Eyebrow label ----- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--violet-light);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: '';
    width: 26px; height: 1px;
    background: linear-gradient(90deg, var(--violet), transparent);
}
.eyebrow.center { justify-content: center; }

/* ----- Headings & gradient text ----- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradFlow 6s linear infinite;
}
@keyframes gradFlow { to { background-position: 200% center; } }

.section-title {
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
    --b-pad-y: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: var(--b-pad-y) 1.5rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--violet), var(--indigo));
    box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.35), transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.6s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -8px var(--accent-glow), 0 0 0 1px rgba(167,139,250,0.5); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost {
    color: var(--text);
    background: var(--surface-2);
    border-color: var(--glass-border-strong);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet); color: #fff; background: rgba(139,92,246,0.12); }
.btn.full { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; }

/* ----- Navigation ----- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(8, 7, 15, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--glass-border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 1rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; display: block; transition: filter 0.3s; filter: drop-shadow(0 4px 14px rgba(139,92,246,0.3)); }
.logo:hover .logo-img { filter: drop-shadow(0 4px 18px rgba(139,92,246,0.55)); }

.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 4px;
    transform: translateX(-50%);
    width: 16px; height: 2px; border-radius: 2px;
    background: var(--grad-soft);
}
.nav-cta { margin-left: 0.4rem; }
.nav-links .nav-cta a { color:#fff; background: linear-gradient(120deg, var(--violet), var(--indigo)); padding: 0.55rem 1.15rem; box-shadow: 0 8px 22px -10px var(--accent-glow); }
.nav-links .nav-cta a:hover { transform: translateY(-1px); color:#fff; }

.menu-btn {
    display: none;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    color: var(--text);
    width: 44px; height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ----- Glass card base ----- */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, background 0.4s;
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.card::before {
    /* cursor spotlight */
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-strong);
    background: var(--surface-2);
    box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

/* Gradient top accent on hover */
.card.accent-top::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.card.accent-top:hover::after { transform: scaleX(1); }

/* ----- Icon chip ----- */
.icon-chip {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(34,211,238,0.1));
    border: 1px solid var(--glass-border);
    color: var(--violet-light);
    margin-bottom: 1.25rem;
    transition: transform 0.35s var(--ease), color 0.35s, box-shadow 0.35s;
}
.icon-chip svg { width: 26px; height: 26px; }
.card:hover .icon-chip { transform: translateY(-3px) scale(1.05); color: #fff; box-shadow: 0 10px 26px -10px var(--accent-glow); }

/* ----- Reveal animation ----- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.zoom       { transform: scale(0.92); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ----- Scroll progress ----- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--grad-soft);
    z-index: 2000;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 700;
    margin-bottom: 1.4rem;
}
.hero-lead { font-size: 1.18rem; color: var(--text-muted); max-width: 520px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; color: var(--text-dim); font-size: 0.85rem; }
.hero-trust .stars { color: #fbbf24; letter-spacing: 2px; }
.hero-trust .divider { width: 1px; height: 22px; background: var(--glass-border-strong); }

/* badge pill */
.badge-pill {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
    backdrop-filter: blur(8px);
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: livePulse 2s infinite; }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Chatbot mockup */
.hero-content { min-width: 0; }
.hero-visual { display: flex; justify-content: center; perspective: 1200px; min-width: 0; }
.chat-mockup {
    width: 330px;
    max-width: 100%;
    background: linear-gradient(160deg, rgba(20,18,34,0.95), rgba(12,11,22,0.95));
    border: 1px solid var(--glass-border-strong);
    border-radius: 26px;
    padding: 1.3rem;
    box-shadow: var(--shadow), 0 0 60px -20px var(--accent-glow);
    position: relative;
    animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotateX(0) rotateY(-4deg); } 50% { transform: translateY(-16px) rotateX(2deg) rotateY(-4deg); } }
.chat-head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 1.1rem; }
.chat-ava { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--violet), var(--cyan)); display: grid; place-items: center; color:#fff; }
.chat-ava svg { width: 20px; height: 20px; }
.chat-head .who { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.chat-head .stat { font-size: 0.72rem; color: var(--success); display:flex; align-items:center; gap: 0.35rem; }
.chat-head .stat .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.chat-body { display: flex; flex-direction: column; gap: 0.7rem; }
.bubble { padding: 0.7rem 0.95rem; border-radius: 14px; font-size: 0.86rem; max-width: 85%; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: bubbleIn 0.5s var(--ease) forwards; }
.bubble.bot { background: var(--surface-3); border: 1px solid var(--glass-border); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.user { background: linear-gradient(120deg, var(--violet), var(--indigo)); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.bubble.b1 { animation-delay: 0.5s; } .bubble.b2 { animation-delay: 1.1s; } .bubble.b3 { animation-delay: 1.7s; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.8rem 0.95rem; background: var(--surface-3); border-radius: 14px; border-bottom-left-radius: 5px; opacity: 0; animation: bubbleIn .4s forwards 2.2s; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typedot 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: .2s; } .typing span:nth-child(3){ animation-delay: .4s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
@keyframes typedot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-float {
    position: absolute;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    background: rgba(15,14,26,0.85);
    border: 1px solid var(--glass-border-strong);
    backdrop-filter: blur(10px);
    font-size: 0.74rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 0.45rem;
    box-shadow: var(--shadow);
}
.chat-float svg { width: 15px; height: 15px; color: var(--success); }
.chat-float.f1 { top: 12%; left: -10px; animation: floaty 5s ease-in-out infinite; }
.chat-float.f2 { bottom: 12%; right: -10px; animation: floaty 6s ease-in-out infinite reverse; }

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { text-align: center; padding: 1.5rem 1rem; }
.stat-item .num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-item .label { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.6rem; }

/* ==========================================================================
   FEATURE / PROCESS / CASE / TESTIMONIAL GRIDS
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 0.96rem; }

/* process with connecting line + number */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; position: relative; }
.process-card { text-align: left; }
.step-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--violet-light);
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(34,211,238,0.08));
    border: 1px solid var(--glass-border);
    margin-bottom: 1.2rem;
}
.process-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.process-card p { color: var(--text-muted); font-size: 0.95rem; }

/* case studies */
.case-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.case-ava { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--indigo)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; }
.case-head h4 { font-size: 1.05rem; }
.case-head span { color: var(--text-dim); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.case-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 1.2rem; }
.case-result {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--success);
    font-weight: 600; font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.2);
    border-radius: 999px;
}
.case-result svg { width: 16px; height: 16px; }

/* testimonials */
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--violet); opacity: 0.35; margin-bottom: 0.5rem; }
.stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 1rem; display: inline-block; font-size: 0.95rem; }
.testimonial-text { color: var(--text); font-size: 0.98rem; line-height: 1.7; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--cyan)); display: grid; place-items: center; font-weight: 600; font-size: 0.85rem; color: #fff; font-family: var(--font-display); }
.t-author h4 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; }
.t-author span { color: var(--text-dim); font-size: 0.82rem; }

/* ==========================================================================
   MARQUEE (tech / trust strip)
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--violet-light); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-header { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; position: relative; }
.page-header h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin-bottom: 1.1rem; }
.page-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ==========================================================================
   SERVICES (alternating rows)
   ========================================================================== */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 5rem; }
.service-row:last-child { margin-bottom: 0; }
.service-row.flip .service-media { order: 2; }
.service-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border-strong);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: var(--bg-3);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.service-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, rgba(124,58,237,0.18)); pointer-events: none; }
.service-row:hover .service-media img { transform: scale(1.05); }
.service-content h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1rem; }
.service-content > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.service-list { list-style: none; display: grid; gap: 0.7rem; }
.service-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); font-size: 0.98rem; }
.service-list li svg { width: 20px; height: 20px; color: var(--violet-light); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.pricing-toggle .on { color: var(--text); }
.switch { width: 54px; height: 30px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--glass-border-strong); position: relative; cursor: pointer; transition: background 0.3s; flex-shrink: 0; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--indigo)); transition: transform 0.3s var(--ease); }
.switch.active { background: rgba(139,92,246,0.25); }
.switch.active .knob { transform: translateX(24px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.price-card { padding: 2.25rem 1.9rem; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.price-card .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 0.6rem 0; line-height: 1; }
.price-card .price span { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim); font-weight: 400; letter-spacing: 0.02em; }
.price-card .desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; min-height: 2.6em; }
.price-features { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1.8rem; }
.price-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.93rem; color: var(--text); }
.price-features li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.price-card.featured {
    border-color: rgba(139,92,246,0.5);
    background: linear-gradient(180deg, rgba(139,92,246,0.1), var(--surface));
    box-shadow: var(--shadow-glow);
}
.price-card.featured::after { content: none; }
.price-badge {
    position: absolute; top: 1.2rem; right: 1.2rem;
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em;
    padding: 0.32rem 0.7rem; border-radius: 999px;
    background: linear-gradient(120deg, var(--violet), var(--indigo)); color: #fff;
}

/* ==========================================================================
   HOW WE WORK — timeline / philosophy / tech
   ========================================================================== */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--violet), var(--cyan)); opacity: 0.35; }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 1.6rem; margin-bottom: 2.5rem; position: relative; }
.tl-step:last-child { margin-bottom: 0; }
.tl-dot {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(34,211,238,0.12));
    border: 1px solid var(--glass-border-strong);
    display: grid; place-items: center;
    font-family: var(--font-mono); font-weight: 600; color: var(--violet-light);
    position: relative; z-index: 1;
    backdrop-filter: blur(6px);
}
.tl-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.tl-body h3 svg { width: 22px; height: 22px; color: var(--violet-light); }
.tl-body > p { color: var(--text-muted); margin-bottom: 1rem; }
.tl-details { list-style: none; display: grid; gap: 0.5rem; }
.tl-details li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-muted); font-size: 0.93rem; }
.tl-details li svg { width: 17px; height: 17px; color: var(--violet-light); flex-shrink: 0; margin-top: 3px; }

.philosophy-card { text-align: center; }
.philosophy-card .icon-chip { margin-left: auto; margin-right: auto; }
.philosophy-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.philosophy-card p { color: var(--text-muted); font-size: 0.95rem; }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; }
.tech-item { padding: 1.4rem 1rem; text-align: center; }
.tech-item .icon-chip { width: 46px; height: 46px; margin: 0 auto 0.9rem; }
.tech-item .icon-chip svg { width: 22px; height: 22px; }
.tech-item h4 { font-size: 1rem; font-family: var(--font-display); margin-bottom: 0.2rem; }
.tech-item p { color: var(--text-dim); font-size: 0.82rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.5rem; align-items: start; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-chip { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.contact-item .icon-chip svg { width: 22px; height: 22px; }
.contact-item strong { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.contact-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0.15rem 0 0; }
.contact-item a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.contact-item a:hover { color: var(--violet-light); }

.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-muted); }
.contact-form label .req { color: var(--violet-light); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.16);
    background: var(--bg-2);
}
.contact-form select option { background: var(--bg-2); color: var(--text); }
.btn-success { background: linear-gradient(120deg, var(--success), #10b981) !important; box-shadow: 0 10px 30px -8px rgba(52,211,153,0.5) !important; }
.btn-error { background: linear-gradient(120deg, #ef4444, #b91c1c) !important; box-shadow: 0 10px 30px -8px rgba(239,68,68,0.5) !important; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta {
    position: relative;
    text-align: center;
    padding: clamp(3.5rem, 7vw, 6rem) 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(34,211,238,0.08));
    border: 1px solid var(--glass-border-strong);
}
.cta::before { content: ''; position: absolute; width: 480px; height: 480px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, var(--accent-glow), transparent 65%); opacity: 0.5; animation: livePulse 5s ease-in-out infinite; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.cta p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--glass-border); margin-top: 5rem; padding: 4rem 0 2.5rem; position: relative; }
.footer::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: 0.6; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--violet-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--glass-border); color: var(--text-dim); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.footer-legal a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--violet-light); }
.footer-bottom .socials { display: flex; gap: 0.6rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--glass-border); display: grid; place-items: center; color: var(--text-muted); transition: all 0.25s; }
.footer-bottom .socials a:hover { color: #fff; border-color: var(--violet); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-btns, .hero-trust { justify-content: center; }
    .grid-3, .process-grid, .pricing-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .service-row { grid-template-columns: 1fr; gap: 1.8rem; }
    .service-row.flip .service-media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(8,7,15,0.96);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.3rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s, transform 0.25s;
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { padding: 0.85rem 1rem; }
    .nav-links a.active::after { content: none; }
    .nav-links .nav-cta { margin: 0.4rem 0 0; }
    .nav-links .nav-cta a { justify-content: center; }
    .menu-btn { display: inline-flex; }
    .chat-float { display: none; }
    .chat-mockup { width: 100%; max-width: 330px; }
}

@media (max-width: 480px) {
    .stats-grid, .tech-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ----- Floating WhatsApp button ----- */
.whatsapp-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 200;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.75), 0 0 0 1px rgba(255,255,255,0.12);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50%      { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
    .whatsapp-fab { right: 1rem; bottom: 1rem; width: 54px; height: 54px; }
    .whatsapp-fab svg { width: 28px; height: 28px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .aurora, .marquee-track, .chat-mockup, .chat-float { animation: none !important; }
    .whatsapp-fab { animation: none !important; }
}
