/* ═══════════════════════════════════════════════════════════
   ADNESS — Dark Purple Theme
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:        #7C3AED;
    --primary-light:  #A78BFA;
    --primary-glow:   #C084FC;
    --primary-dim:    rgba(124, 58, 237, 0.15);
    --bg-main:        #05050A;
    --bg-card:        #0D0D1A;
    --bg-section:     #080812;
    --bg-card-hover:  #111125;
    --text-primary:   #F0EEFF;
    --text-muted:     #8B8BA7;
    --text-dim:       #5A5A72;
    --border:         rgba(124, 58, 237, 0.2);
    --border-subtle:  rgba(255, 255, 255, 0.06);
    --font-display:   'Outfit', sans-serif;
    --font-body:      'Inter', sans-serif;
    --radius:         16px;
    --radius-sm:      10px;
    --radius-pill:    100px;
    --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card:    0 4px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow:    0 0 60px rgba(124, 58, 237, 0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-glow) 50%, #E879F9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover { background: #6D28D9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(124,58,237,0.08); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }


/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 24px;
    transition: padding var(--transition);
}

.navbar.scrolled {
    padding: 12px 24px;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 12px 20px 12px 28px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled .navbar-inner {
    border-color: var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
    margin-right: 8px;
}
.logo-dot { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.nav-cta { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }

/* ── Mega Menu Dropdown ── */
.nav-mega-wrap {
    position: relative;
}
.nav-mega-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.nav-chevron {
    transition: transform 0.25s ease;
    opacity: 0.6;
    flex-shrink: 0;
}
.nav-mega-wrap:hover .nav-chevron,
.nav-mega-wrap.open .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Invisible bridge so hover doesn't gap between trigger → panel */
.nav-mega-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
}

.nav-mega-menu {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 36px;
    min-width: 700px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 99999;
}

.nav-mega-wrap:hover .nav-mega-menu,
.nav-mega-wrap.open .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-col + .mega-col {
    border-left: 1px solid rgba(0,0,0,0.07);
    padding-left: 28px;
}

.mega-col-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.01em;
    margin: 0 0 10px 0;
    text-transform: none;
}

.mega-link {
    font-size: 13.5px;
    font-weight: 450;
    color: #333 !important;
    padding: 5px 0;
    border-radius: 0;
    background: none !important;
    transition: color 0.15s ease;
    display: block;
    text-decoration: none;
}
.mega-link:hover {
    color: var(--primary) !important;
    background: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════
   MOBILE DRAWER
════════════════════════════════════════ */

/* Overlay */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Drawer panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    max-width: 85vw;
    height: 100dvh;
    background: #08080f;
    border-left: 1px solid rgba(124,58,237,0.12);
    box-shadow: -24px 0 64px rgba(0,0,0,0.65);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mobile-drawer.open { transform: translateX(0); }

/* Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 26px 20px;
    flex-shrink: 0;
}
.drawer-logo {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.4px;
}
.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.drawer-close:hover {
    background: rgba(124,58,237,0.15);
    border-color: rgba(124,58,237,0.3);
    color: var(--text-primary);
}

/* Scrollable nav area */
.drawer-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    scrollbar-width: thin;
    scrollbar-color: rgba(124,58,237,0.4) transparent;
}
.drawer-nav::-webkit-scrollbar { width: 3px; }
.drawer-nav::-webkit-scrollbar-track { background: transparent; }
.drawer-nav::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.4);
    border-radius: 3px;
}
.drawer-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(124,58,237,0.65);
}

/* ── Base row (button or <a>) ── */
.dnav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 4px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: rgba(240,238,255,0.55);
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: color 0.18s ease;
    letter-spacing: 0;
}
.dnav-row:last-child { border-bottom: none; }
.dnav-row:hover,
.dnav-row:focus { color: var(--text-primary); outline: none; }
.dnav-row.active { color: var(--primary-light); }

/* Plain link rows (no chevron) */
.dnav-row--plain { justify-content: flex-start; gap: 0; }

/* Category row (slightly smaller) */
.dnav-row--cat {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(240,238,255,0.45);
    padding: 10px 4px 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dnav-row--cat:hover,
.dnav-row--cat.active { color: var(--primary-light); }

/* Chevron icon */
.dnav-chevron {
    flex-shrink: 0;
    opacity: 0.4;
    transition: transform 0.28s ease, opacity 0.2s ease;
}
.dnav-row.active .dnav-chevron,
.dnav-row--cat.active .dnav-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}

/* ── Collapsible sub panels ── */
.dnav-item { display: flex; flex-direction: column; }

.dnav-sub {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1),
                opacity 0.28s ease;
}
.dnav-sub.open {
    max-height: 600px;
    opacity: 1;
}

/* L2 — category sub panel indented */
.dnav-sub:not(.dnav-sub--links) {
    padding-left: 10px;
    border-left: 1px solid rgba(124,58,237,0.18);
    margin-left: 4px;
    margin-top: 2px;
}

/* L3 — link list */
.dnav-sub--links {
    padding: 2px 0 4px 28px;
}

/* Individual service links */
.dnav-link {
    display: block;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(240,238,255,0.38);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: color 0.16s ease;
}
.dnav-link:last-child { border-bottom: none; }
.dnav-link:hover { color: var(--primary-light); }

/* Footer CTA */
.drawer-footer {
    padding: 18px 22px 30px;
    flex-shrink: 0;
}
.drawer-cta {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 13px 20px;
}


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 24px 0;
}

/* Give the hero a bottom runway for the seam fade, but only on the page
   where it flows into the light section. */
.hero:has(+ .ask-ads) {
    padding-bottom: clamp(120px, 14vh, 156px);
}

/* Seam: only where the hero is directly followed by the light section, the
   last ~150px settles from deep black/purple into the exact pale lavender the
   light section starts on (#F4F1FF). Black holds for most of the band, then a
   short purple-tinted step lands on the light color so there is no horizontal
   line and no washed-out white band. Absolutely positioned — adds no height. */
.hero:has(+ .ask-ads)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 10, 0) 0%,
        rgba(5, 5, 10, 0) 30%,
        rgba(38, 24, 66, 0.50) 64%,
        rgba(129, 104, 178, 0.32) 85%,
        rgba(224, 216, 250, 0.78) 95%,
        #F4F1FF 100%
    );
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.22) 0%, rgba(124,58,237,0.05) 50%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192,132,252,0.12) 0%, transparent 70%);
    top: 30%;
    left: 20%;
    transform: none;
    animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.hero-glow-2 { animation: glowPulse2 8s ease-in-out infinite reverse; }
@keyframes glowPulse2 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.1); }
}

/* Floating Icons */
.floating-icons { position: absolute; inset: 0; pointer-events: none; }

.float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(13, 13, 26, 0.8);
    border: 1px solid var(--border);
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,58,237,0.1);
    backdrop-filter: blur(8px);
}
.float-icon svg { width: 100%; height: 100%; }

.float-1 { top: 22%; left: 10%; animation: float1 7s ease-in-out infinite; }
.float-2 { top: 35%; left: 6%; animation: float2 9s ease-in-out infinite; }
.float-3 { top: 18%; right: 12%; animation: float3 8s ease-in-out infinite; }
.float-4 { top: 40%; right: 7%; animation: float4 6.5s ease-in-out infinite; }
.float-5 { top: 60%; right: 15%; animation: float5 10s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-18px) rotate(3deg)} }
@keyframes float2 { 0%,100%{transform:translateY(0) rotate(5deg)} 50%{transform:translateY(-22px) rotate(-5deg)} }
@keyframes float3 { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(-14px) rotate(-2deg)} }
@keyframes float4 { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-20px) rotate(4deg)} }
@keyframes float5 { 0%,100%{transform:translateY(0) rotate(1deg)} 50%{transform:translateY(-16px) rotate(-1deg)} }

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
}
.label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%,100%{box-shadow: 0 0 0 0 rgba(167,139,250,0.4)}
    50%{box-shadow: 0 0 0 5px rgba(167,139,250,0)}
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6.5vw, 84px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.desktop-br { display: none; }
@media(min-width:768px){ .desktop-br { display: block; } }

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   RESULTS / STATS
══════════════════════════════════════════════ */
.results-section {
    padding: 120px 0;
    background: var(--bg-main);
}
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stat-card:hover::before { opacity: 1; }
.stat-card-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.stat-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }


/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services-section {
    background: var(--primary);
    padding: 80px 0 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #5B21B6 0%, var(--primary) 50%, #6D28D9 100%);
}
.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.services-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.slider-controls { display: flex; gap: 12px; }
.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.slider-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }
.slider-btn:disabled { opacity: 0.35; cursor: default; transform: none; }

.services-slider-wrapper {
    overflow: hidden;
    padding: 4px 24px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.services-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.service-card {
    background: #fff;
    color: #111;
    border-radius: 24px;
    padding: 36px 32px 28px;
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}
.service-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(124,58,237,0.15); }

.service-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 28px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}
.service-icon svg { width: 100%; height: 100%; display: block; }

.service-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}
.service-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 24px;
}
.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    font-size: 16px;
    align-self: flex-end;
    transition: var(--transition);
    text-decoration: none;
}
.service-card:hover .service-arrow { background: var(--primary); color: #fff; transform: rotate(0deg) scale(1.1); }


/* ══════════════════════════════════════════════
   PROCESS / GROWTH FRAMEWORK
══════════════════════════════════════════════ */
.process-section {
    background: var(--bg-section);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.process-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.process-left .section-subtitle { margin-bottom: 40px; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 0; }
.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}
.accordion-item:first-child { border-top: 1px solid var(--border-subtle); }

.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    transition: var(--transition);
}
.accordion-header:hover { color: var(--primary-light); }

.accordion-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
    min-width: 28px;
    transition: color 0.3s;
}
.accordion-question {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    flex: 1;
    transition: color 0.3s;
}
.accordion-icon {
    font-size: 16px;
    color: var(--text-dim);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-num { color: var(--primary-light); }
.accordion-item.active .accordion-question { color: var(--primary-light); }
.accordion-item.active .accordion-icon { transform: rotate(180deg); color: var(--primary-light); }

.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-bottom: 20px;
    padding-left: 44px;
}
.accordion-item.active .accordion-body { max-height: 200px; }

/* Diagram */
.process-right { display: flex; justify-content: center; align-items: center; }
.process-diagram {
    position: relative;
    width: 380px;
    height: 380px;
}
.diagram-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: ringRotate 30s linear infinite;
}
@keyframes ringRotate { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1.5;
    z-index: 2;
    background: rgba(13,13,26,0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 3;
    transition: var(--transition);
}

/* Position 5 nodes evenly around a circle (r=155px from center 190,190) */
.node-0 { top: calc(50% - 155px - 24px); left: calc(50% - 24px); }          /* top */
.node-1 { top: calc(50% - 48px - 24px); right: calc(50% - 155px - 24px); left: auto; } /* right */
.node-2 { bottom: calc(50% - 155px - 24px); right: calc(50% - 90px - 24px); left: auto; top: auto; } /* bottom-right */
.node-3 { bottom: calc(50% - 155px - 24px); left: calc(50% - 90px - 24px); top: auto; } /* bottom-left */
.node-4 { top: calc(50% - 48px - 24px); left: calc(50% - 155px - 24px); } /* left */

/* Use exact positions */
.node-0 { top: 0; left: 50%; transform: translateX(-50%); }
.node-1 { top: 28%; right: 0; left: auto; transform: none; }
.node-2 { bottom: 5%; right: 15%; left: auto; top: auto; }
.node-3 { bottom: 5%; left: 15%; top: auto; }
.node-4 { top: 28%; left: 0; }

.node-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.node-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s;
}

.diagram-node.active .node-circle {
    background: var(--primary);
    border-color: var(--primary-light);
    color: #fff;
    box-shadow: 0 0 20px rgba(124,58,237,0.5);
}
.diagram-node.active .node-label { color: var(--primary-light); }


/* ══════════════════════════════════════════════
   CASE STUDIES / WORK
══════════════════════════════════════════════ */
.work-section { padding: 120px 0; background: var(--bg-main); }

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), transparent);
    transition: opacity 0.3s;
}
.case-card:hover { border-color: var(--border); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.case-card:hover::before { opacity: 1; }

.case-card-featured {
    background: linear-gradient(160deg, rgba(124,58,237,0.2), rgba(92,33,182,0.1));
    border-color: rgba(124,58,237,0.3);
}
.case-card-featured:hover { border-color: rgba(124,58,237,0.5); }

.case-top { display: flex; flex-direction: column; gap: 8px; }
.case-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(124,58,237,0.1);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    align-self: flex-start;
}
.case-metric {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.case-client {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}
.case-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.case-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    transition: gap 0.3s;
    margin-top: auto;
}
.case-link:hover { gap: 10px; }


/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-section {
    background: var(--bg-section);
    padding: 120px 0 80px;
    overflow: hidden;
}
.testimonials-section .container { margin-bottom: 48px; }

.testimonials-outer {
    overflow: hidden;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonials-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 36px;
    flex: 0 0 calc(50% - 12px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.testimonial-stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.testimonial-quote {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--text-dim); }

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    padding: 0 24px;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.carousel-btn:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(124,58,237,0.1); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--primary-light); width: 24px; border-radius: var(--radius-pill); }


/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-section {
    background: var(--bg-main);
    padding: 120px 0;
}
.faq-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 20px;
}
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }

.faq-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    transition: var(--transition);
}
.faq-header:hover .faq-question { color: var(--primary-light); }

.faq-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dim);
    min-width: 32px;
    flex-shrink: 0;
    transition: color 0.3s;
}
.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    transition: color 0.3s;
}
.faq-icon {
    font-size: 18px;
    color: var(--text-dim);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.3s;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.faq-item.active .faq-num { color: var(--primary-light); }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary-light); background: rgba(124,58,237,0.1); }

.faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    padding-bottom: 24px;
    padding-left: 52px;
    max-width: 720px;
}
.faq-item.active .faq-body { max-height: 200px; }


/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-section {
    background: var(--bg-section);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contact-left .section-subtitle { margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.contact-info-item:hover { color: var(--primary-light); }
.contact-icon { font-size: 16px; color: var(--primary-light); }

.contact-badges { display: flex; flex-direction: column; gap: 10px; }
.contact-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}
.badge-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.required { color: var(--primary-light); }

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(124,58,237,0.5);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error { border-color: #EF4444; }
.field-error { font-size: 12px; color: #EF4444; min-height: 16px; }

/* ─────────────────────────────────────────────────────────────
   NO AUTO-ZOOM ON FOCUS
   iOS Safari, iOS Chrome and some Android browsers zoom the page
   in when a text field whose computed font-size is < 16px gains
   focus. Force every focusable field (contact form, "ask about
   ads" bar, in-chat compose + lead form, custom iOS-style select)
   to render at 16px on touch / small screens so focus never zooms.
   ───────────────────────────────────────────────────────────── */
@media (pointer: coarse), (max-width: 1024px) {
    input,
    textarea,
    select,
    .ask-input,
    .chat-compose__input,
    .chat-lead input,
    .ios-select-trigger,
    .ios-select-value {
        font-size: 16px !important;
    }
}

/* ── iOS-style custom dropdowns ── */
.ios-select {
    position: relative;
    user-select: none;
}

.ios-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.ios-select-trigger:hover,
.ios-select-trigger:focus {
    border-color: rgba(124,58,237,0.45);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.ios-select.open .ios-select-trigger {
    border-color: rgba(124,58,237,0.55);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.ios-select-value {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.2s;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ios-select.has-value .ios-select-value { color: var(--text-primary); }

.ios-chevron {
    flex-shrink: 0;
    color: var(--text-dim);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), color 0.2s;
}
.ios-select.open .ios-chevron { transform: rotate(180deg); color: var(--primary-light); }

/* Dropdown panel */
.ios-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    background: #141424;
    border: 1px solid rgba(124,58,237,0.35);
    border-top: none;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.ios-select.open .ios-dropdown {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

/* Scrollbar */
.ios-dropdown::-webkit-scrollbar { width: 4px; }
.ios-dropdown::-webkit-scrollbar-track { background: transparent; }
.ios-dropdown::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 4px; }

/* Option rows */
.ios-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s, color 0.15s;
    gap: 12px;
}
.ios-option:last-child { border-bottom: none; }
.ios-option:hover { background: rgba(124,58,237,0.1); color: var(--text-primary); }
.ios-option.selected { color: var(--primary-light); background: rgba(124,58,237,0.08); }

.ios-option-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}
.ios-option-sub {
    font-size: 12px;
    color: var(--text-dim);
}

.ios-check {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.ios-option.selected .ios-check { opacity: 1; }

/* Multi-select tag display */
.ios-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.ios-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.3);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px 4px 12px;
    border-radius: var(--radius-pill);
}
.ios-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 14px;
    line-height: 1;
}
.ios-tag-remove:hover { opacity: 1; }

.services-hidden { display: none; }

#submitBtn { margin-top: 8px; }
#submitBtn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-toast {
    border-radius: var(--radius-sm);
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s, padding 0.4s;
}
.form-toast.show {
    max-height: 80px;
    padding: 14px 18px;
}
.form-toast.success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34D399;
}
.form-toast.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #FCA5A5;
}


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 80px;
    margin-bottom: 60px;
}
.footer-logo { font-size: 24px; margin-bottom: 14px; display: inline-block; }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }

.footer-social { display: flex; gap: 12px; }
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.social-link:hover { background: rgba(124,58,237,0.15); border-color: var(--border); color: var(--primary-light); transform: translateY(-2px); }

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: var(--text-dim); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--primary-light); }


/* ══════════════════════════════════════════════
   COUNTER ANIMATION
══════════════════════════════════════════════ */
[data-counter] { transition: none; }


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* --- 1200px --- */
@media (max-width: 1200px) {
    .container { padding: 0 32px; }
    .services-title { font-size: clamp(40px, 5vw, 68px); }
    .footer-top { gap: 48px; }
    .contact-grid { gap: 48px; }
    .results-grid { gap: 48px; }
    .process-container { gap: 48px; }
    .services-header { padding: 0 32px; margin-bottom: 36px; }
    .services-slider-wrapper { padding: 4px 32px 24px; }
}

/* --- 1024px: tablet landscape --- */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .results-section,
    .work-section,
    .faq-section,
    .contact-section   { padding: 88px 0; }
    .process-section,
    .testimonials-section { padding: 88px 0 60px; }
    .results-grid { grid-template-columns: 1fr; gap: 44px; }
    .results-left { max-width: 640px; }
    .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .process-container { grid-template-columns: 1fr; gap: 48px; }
    .process-right     { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-left .section-subtitle { max-width: 100%; }
    .contact-section::before { width: 400px; height: 400px; right: -60px; }
    .cases-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .case-card:last-child { grid-column: span 2; }
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 24px;
    }
    .services-slider-wrapper { padding: 4px 24px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-header-row     { flex-direction: column; align-items: flex-start; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
}

/* --- 900px: tablet portrait --- */
@media (max-width: 900px) {
    .hero          { padding: 120px 20px 0; }
    .hero-title    { font-size: clamp(40px, 7vw, 64px); }
    .hero-subtitle { font-size: 16px; }
    .stat-card        { padding: 22px; }
    .stat-card-number { font-size: 34px; }
    .testimonials-outer { padding: 0 16px; }
    .contact-form { padding: 32px 28px; }
    .accordion-item.active .accordion-body { max-height: 300px; }
    .faq-item.active .faq-body            { max-height: 300px; }
}

/* --- 768px: mobile landscape / small tablet --- */
@media (max-width: 768px) {
    .container        { padding: 0 20px; }
    .section-title    { font-size: clamp(26px, 6.5vw, 36px); }
    .section-subtitle { font-size: 15px; max-width: 100%; }
    .section-label    { font-size: 12px; }

    .nav-links, .nav-cta { display: none; }
    .hamburger           { display: flex; }
    .navbar-inner        { padding: 10px 16px 10px 20px; gap: 12px; }
    .logo                { font-size: 21px; }

    .hero          { padding: 108px 20px 60px; min-height: auto; }
    .hero:has(+ .ask-ads)::after { height: 120px; }
    .hero-label    { font-size: 11px; padding: 7px 14px; margin-bottom: 20px; }
    .hero-title    { font-size: clamp(34px, 8.5vw, 52px); margin-bottom: 18px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 32px; }
    .hero-ctas     { gap: 12px; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline { padding: 12px 24px; font-size: 14px; }

    .float-1, .float-2, .float-4, .float-5 { display: none; }
    .float-3 { right: 5%; top: 14%; width: 40px; height: 40px; }

    .results-section { padding: 72px 0; }

    .services-section        { padding: 60px 0; }
    .services-title          { font-size: clamp(32px, 8vw, 50px); }
    .slider-btn              { width: 40px; height: 40px; font-size: 15px; }
    .services-header         { padding: 0 20px; margin-bottom: 28px; }
    .services-slider-wrapper { padding: 4px 20px 24px; }

    .process-section    { padding: 72px 0; }
    .accordion-header   { padding: 16px 0; gap: 12px; }
    .accordion-question { font-size: 14px; }
    .accordion-body p   { font-size: 13px; padding-left: 40px; }
    .accordion-item.active .accordion-body { max-height: 350px; }

    .work-section         { padding: 72px 0; }
    .cases-grid           { grid-template-columns: 1fr; }
    .case-card:last-child { grid-column: auto; }
    .case-metric          { font-size: 30px; }
    .case-card            { padding: 26px; }
    .case-client          { font-size: 20px; }

    .testimonials-section { padding: 72px 0 48px; }
    .testimonial-card     { flex: 0 0 100%; padding: 28px 24px; }
    .testimonials-outer   { padding: 0 20px; }

    /* Scroll-driven "What our clients say" section: hidden on phones —
       the sticky/absolute card animation doesn't work at this width. */
    .scroll-exp { display: none; }

    .faq-section  { padding: 72px 0; }
    .faq-header   { padding: 18px 0; gap: 14px; }
    .faq-question { font-size: 14px; }
    .faq-body p   { padding-left: 38px; font-size: 14px; padding-bottom: 18px; }
    .faq-item.active .faq-body { max-height: 350px; }
    .faq-header-row { margin-bottom: 36px; }

    .contact-section { padding: 72px 0; }
    .contact-form    { padding: 24px 20px; gap: 16px; border-radius: 20px; }
    .form-row        { grid-template-columns: 1fr; }
    .contact-badges  { gap: 8px; }

    .footer            { padding: 60px 0 24px; }
    .footer-top        { gap: 32px; margin-bottom: 40px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
    .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
    .footer-col a      { font-size: 13px; }
}

/* --- 600px: large phones --- */
@media (max-width: 600px) {
    .container     { padding: 0 16px; }
    .hero          { padding: 100px 16px 48px; }
    .hero-title    { font-size: clamp(30px, 9vw, 44px); }
    .hero-subtitle { font-size: 14px; }

    .service-card            { flex: 0 0 100%; padding: 28px 24px; }
    .services-slider-wrapper { padding: 4px 16px 20px; }
    .services-title          { font-size: clamp(30px, 8vw, 46px); }

    .stat-card-number { font-size: 30px; }
    .stat-card        { padding: 20px 18px; }

    .testimonial-card  { padding: 22px 18px; }
    .carousel-controls { gap: 14px; margin-top: 24px; }

    .faq-num { min-width: 24px; font-size: 12px; }

    .contact-info-item { font-size: 13px; gap: 10px; }

    .footer-links-grid { gap: 20px 16px; }

    .results-section,
    .work-section,
    .faq-section,
    .contact-section      { padding: 60px 0; }
    .process-section,
    .testimonials-section { padding: 60px 0 40px; }
    .services-section     { padding: 48px 0; }
}

/* --- 480px: standard mobile portrait --- */
@media (max-width: 480px) {
    .container        { padding: 0 16px; }
    .section-title    { font-size: clamp(22px, 7.5vw, 28px); }
    .section-subtitle { font-size: 14px; }
    .section-label    { font-size: 11px; }
    .btn-lg           { padding: 13px 26px; font-size: 14px; }

    .hero          { padding: 96px 16px 48px; }
    .hero-label    { display: none; }
    .hero-title    { font-size: clamp(26px, 9vw, 36px); margin-bottom: 14px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 28px; }
    .hero-ctas     { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }

    .service-card   { flex: 0 0 100%; padding: 24px 20px 20px; }
    .service-icon   { width: 64px; height: 64px; margin-bottom: 18px; }
    .service-name   { font-size: 18px; margin-bottom: 10px; }
    .service-desc   { font-size: 13px; }
    .services-title { font-size: clamp(26px, 9vw, 38px); }
    .slider-btn     { width: 36px; height: 36px; font-size: 13px; }

    .stats-grid       { grid-template-columns: 1fr; gap: 12px; }
    .stat-card-number { font-size: 36px; }
    .stat-card-label  { font-size: 13px; }
    .stat-card-desc   { font-size: 12px; }

    .case-metric { font-size: 24px; }
    .case-client { font-size: 18px; }
    .case-card   { padding: 22px 18px; gap: 12px; }
    .case-tag    { font-size: 11px; }
    .case-desc   { font-size: 13px; }

    .testimonial-card   { padding: 20px 16px; gap: 14px; }
    .testimonial-quote  { font-size: 13px; }
    .testimonial-name   { font-size: 13px; }
    .testimonial-avatar { width: 38px; height: 38px; font-size: 12px; }
    .testimonials-section .container { margin-bottom: 32px; }

    .faq-header   { gap: 10px; padding: 15px 0; }
    .faq-question { font-size: 13px; }
    .faq-num      { font-size: 12px; min-width: 22px; }
    .faq-icon     { width: 28px; height: 28px; font-size: 15px; }
    .faq-body p   { padding-left: 28px; padding-bottom: 14px; font-size: 13px; }
    .faq-header-row { margin-bottom: 28px; }

    .contact-form   { padding: 20px 14px; border-radius: 16px; gap: 14px; }
    .form-group input,
    .form-group textarea,
    .form-group select,
    .ios-select-trigger,
    .ios-select-value { font-size: 16px !important; }
    .contact-badges { gap: 6px; }
    .contact-badge  { font-size: 13px; }
    .contact-info   { gap: 10px; }

    .footer            { padding: 48px 0 20px; }
    .footer-top        { gap: 28px; margin-bottom: 32px; }
    .footer-logo       { font-size: 20px; }
    .footer-tagline    { font-size: 13px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .footer-col a      { font-size: 12px; }
    .footer-col-title  { font-size: 11px; }
    .footer-bottom     { font-size: 11px; }
    .social-link       { width: 34px; height: 34px; border-radius: 8px; }

    .results-section,
    .work-section,
    .faq-section,
    .contact-section      { padding: 56px 0; }
    .process-section,
    .testimonials-section { padding: 56px 0 36px; }
    .services-section     { padding: 44px 0; }
}

/* --- 375px: small phones --- */
@media (max-width: 375px) {
    .container    { padding: 0 14px; }
    .navbar-inner { padding: 8px 12px 8px 16px; gap: 8px; }
    .logo         { font-size: 19px; }
    .hero         { padding: 88px 14px 40px; }
    .hero-title   { font-size: 24px; }
    .section-title    { font-size: 20px; }
    .section-subtitle { font-size: 13px; }
    .services-title   { font-size: 26px; }
    .service-card     { padding: 22px 16px 18px; }
    .service-icon     { width: 54px; height: 54px; }
    .service-name     { font-size: 16px; }
    .case-card        { padding: 18px 14px; }
    .case-metric      { font-size: 22px; }
    .testimonial-card { padding: 16px 12px; }
    .contact-form     { padding: 16px 12px; }
    .stat-card        { padding: 16px 14px; }
    .stat-card-number { font-size: 28px; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
    .footer-social    { gap: 8px; }
}


/* ══════════════════════════════════════════════
   INTRO / SPLASH ANIMATION
══════════════════════════════════════════════ */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: #05050A;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon: spins in on load */
.intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: introSpin 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}
@keyframes introSpin {
    0%   { transform: rotate(-180deg) scale(0.4); opacity: 0; }
    60%  { opacity: 1; }
    100% { transform: rotate(0deg) scale(1); opacity: 1; }
}

/* Text: hidden behind a clip, slides out to the right */
.intro-text-wrap {
    overflow: hidden;
    width: 0;
    opacity: 0;
    transition:
        width  0.52s cubic-bezier(0.4, 0, 0.2, 1) 0.08s,
        opacity 0.35s ease 0.08s;
}
.intro-overlay.phase-2 .intro-text-wrap {
    width: 168px;   /* wide enough for "dness." at 38px Outfit bold */
    opacity: 1;
}

.intro-text {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.02em;
    transform: translateX(-8px);
    transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}
.intro-overlay.phase-2 .intro-text {
    transform: translateX(0);
}
.intro-dot { color: var(--primary); }

/* ══════════════════════════════════════════════
   CUSTOM SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7C3AED 0%, #A78BFA 50%, #7C3AED 100%);
    border-radius: 10px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6D28D9 0%, #C084FC 100%);
}
::-webkit-scrollbar-corner { background: transparent; }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #7C3AED transparent;
}

/* ── Scroll reveal base ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.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; }


/* ═══════════════════════════════════════════════════════════
   SCROLL-DRIVEN TESTIMONIALS (shared: index + contact)
   ═══════════════════════════════════════════════════════════ */
.scroll-exp {
    position: relative;
    height: 480vh;
}
.scroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-main);
}
.scroll-box {
    position: absolute;
    background: #f5f4fa;
    overflow: hidden;
    left: 6%;
    right: 6%;
    top: 46vh;
    bottom: 0;
    border-radius: 28px 28px 0 0;
    will-change: left, right, top, border-radius;
    transition: none;
}
.scroll-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.sb-heading {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    transform-origin: center center;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    color: #0a0a14;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.03em;
    width: 75%;
    opacity: 0;
    will-change: transform, opacity;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .sb-heading { font-size: 26px; width: 88%; white-space: normal; top: 44%; }
}
.tcard {
    position: absolute;
    width: 260px;
    background: #7C3AED;
    border-radius: 20px;
    padding: 22px 22px 18px;
    opacity: 0;
    will-change: transform, opacity;
    z-index: 2;
}
.tcard-text {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    line-height: 1.65;
    margin-bottom: 16px;
}
.tcard-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tcard-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.tcard-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.tcard-role {
    font-size: 11.5px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.tcard-1 { left: 3%;  top: 6%;  }
.tcard-2 { right: 3%; top: 4%;  width: 270px; }
.tcard-3 { left: 2%;  top: 46%; }
.tcard-4 { right: 2%; top: 44%; width: 265px; }
.tcard-5 { left: 50%; top: 73%; width: 300px; }
@media (max-width: 900px) {
    .tcard { width: 200px; }
    .tcard-1 { left: 2%; }
    .tcard-2 { right: 2%; width: 200px; }
    .tcard-3 { left: 1%; }
    .tcard-4 { right: 2%; width: 200px; }
    .tcard-5 { width: 220px; }
}
@media (max-width: 560px) {
    .tcard { width: 160px; padding: 14px; }
    .tcard-text { font-size: 11.5px; }
}


/* ═══════════════════════════════ ASK ABOUT ADS (light band, matches reference) ═══════════════════════════════ */
.ask-ads {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 11vw, 128px) 24px clamp(80px, 12vw, 140px);
    text-align: center;
    /* Clean, essentially solid pale lavender — the only movement is a faint
       cool wash toward the base so it never reads as flat paint. */
    background:
        linear-gradient(180deg, #F4F1FF 0%, #F4F1FF 60%, #F1EDFC 100%);
}

/* Ambient purple glow sitting on the hero → light seam, so the two sections
   feel lit by the same source. Soft, wide, short-lived; no hard edge. */
.ask-ads::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    width: min(1200px, 130%);
    height: 300px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        60% 100% at 50% 0%,
        rgba(139, 92, 246, 0.20) 0%,
        rgba(139, 92, 246, 0.08) 42%,
        transparent 72%
    );
}
.ask-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}
.ask-mark {
    width: 34px;
    height: 34px;
    color: #17161C;
    margin-bottom: 20px;
}
.ask-mark svg { width: 100%; height: 100%; display: block; }
.ask-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: #17161C;
    margin-bottom: 30px;
}
.ask-title .gradient-text {
    background: linear-gradient(90deg, #4F7CF7 0%, #8B5CF6 48%, #E0518A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ask-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 620px;
    background: #FFFFFF;
    border: 1px solid #E2DFF0;
    border-radius: 999px;
    padding: 7px 7px 7px 22px;
    box-shadow: 0 6px 26px rgba(83, 55, 176, 0.10);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.ask-box:focus-within {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}
.ask-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: #2A2833;
    padding: 12px 0;
}
.ask-input::placeholder { color: #9A97A8; }
.ask-submit {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #6D28D9;
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .25s ease, transform .25s ease;
}
.ask-submit svg { width: 18px; height: 18px; }
.ask-submit:hover { background: #5B21B6; transform: translateX(2px); }
.ask-submit:active { transform: translateX(0); }
.ask-hint {
    font-size: 14px;
    color: #6B6879;
    margin: 15px 0 26px;
}
.ask-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
}
.ask-chip {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #403E52;
    background: #E9E6F7;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 16px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ask-chip:hover {
    background: #DFDBF3;
    border-color: #CFC8EC;
    transform: translateY(-1px);
}
@media (max-width: 560px) {
    .ask-box { padding-left: 18px; }
    .ask-chip { font-size: 12px; padding: 8px 13px; }
}

/* ═══════════════════════════════ ADS CHAT PORTAL (ChatGPT-style, white) ═══════════════════════════════ */
html.chat-open { overflow: hidden; }

.chat-portal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: #FFFFFF;
    visibility: hidden;
    clip-path: circle(0px at var(--cx, 50%) var(--cy, 50%));
    transition: clip-path .72s cubic-bezier(.66, 0, .34, 1);
}
.chat-portal.is-armed { visibility: visible; }
.chat-portal.is-open {
    clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%));
}

.chat-shell {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity .3s ease;
}
.chat-portal.is-open .chat-shell { opacity: 1; transition-delay: .34s; }

/* Top bar */
.chat-top {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #ECECF1;
    background: #FFFFFF;
}
.chat-brand { display: flex; align-items: center; }
.chat-brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: #17161C;
}
.chat-brand__name em {
    font-style: normal;
    font-weight: 500;
    color: #8A8795;
    margin-left: 4px;
}
.chat-close {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 8px;
    color: #4A4857;
    transition: background .2s ease, color .2s ease;
}
.chat-close svg { width: 20px; height: 20px; }
.chat-close:hover { background: #F1F0F5; color: #17161C; }

/* Message thread */
.chat-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 28px 20px 32px;
}
.chat-thread {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.chat-msg {
    display: flex;
    gap: 13px;
    font-size: 15px;
    line-height: 1.62;
    color: #2B2A33;
    opacity: 0;
    transform: translateY(8px);
    animation: chatMsgIn .32s ease forwards;
}
@keyframes chatMsgIn { to { opacity: 1; transform: none; } }
.chat-msg__avatar {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 7px;
    display: grid; place-items: center;
    background: #17161C;
    color: #fff;
}
.chat-msg__avatar svg { width: 17px; height: 17px; display: block; }
.chat-msg--user { flex-direction: row-reverse; }
.chat-msg__body { padding-top: 4px; }
.chat-msg__body p { margin: 0 0 10px; }
.chat-msg__body p:last-child { margin-bottom: 0; }
.chat-msg__body strong { color: #17161C; font-weight: 650; }
.chat-msg__body ul { margin: 0 0 10px; padding-left: 18px; }
.chat-msg__body li { margin: 3px 0; }
.chat-msg--user .chat-msg__body {
    background: #F4F4F5;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

/* Inline CTA button inside a bot message */
.chat-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #6D28D9;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.chat-cta:hover { background: #5B21B6; transform: translateY(-1px); }

/* Service card (rendered from an [[CARD:x]] marker) */
.chat-card {
    max-width: 430px;
    margin: 12px 0 2px;
    padding: 16px 16px 14px;
    border: 1px solid #E4E0F2;
    border-radius: 16px;
    background: linear-gradient(180deg, #FBFAFF 0%, #F4F1FD 100%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Four-card "pick your path" pack (rendered from [[PACK]]) */
.chat-pack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 560px;
    margin: 14px 0 4px;
}
.chat-pack .chat-card {
    margin: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
}
.chat-pack .chat-card p { flex: 1; }
.chat-pack .chat-card:hover {
    border-color: #C9BEF0;
    box-shadow: 0 10px 30px rgba(83, 55, 176, 0.12);
    transform: translateY(-2px);
}
.chat-pack .chat-card__cta { width: 100%; justify-content: center; }
@media (max-width: 560px) {
    .chat-pack { grid-template-columns: 1fr; }
}

/* Inline lead form after choosing a card */
.chat-lead {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    margin: 10px 0 2px;
    padding: 16px;
    border: 1px solid #E4E0F2;
    border-radius: 16px;
    background: linear-gradient(180deg, #FBFAFF 0%, #F4F1FD 100%);
}
.chat-lead label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #6B6879;
}
.chat-lead input[type="text"],
.chat-lead input[type="tel"] {
    border: 1px solid #DEDAF0;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #2A2833;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-lead input:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}
.chat-lead button {
    margin-top: 2px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #6D28D9;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.chat-lead button:hover { background: #5B21B6; transform: translateY(-1px); }
.chat-lead button:disabled { background: #C4C1D0; transform: none; }
.chat-lead__err { margin: 0; font-size: 12px; color: #C0392B; }
.chat-lead__done {
    margin: 10px 0 2px;
    padding: 13px 15px;
    border-radius: 13px;
    background: #ECFDF3;
    border: 1px solid #C6EED5;
    color: #1B7A43;
    font-size: 13.5px;
    line-height: 1.55;
}
.chat-card__icon {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: #6D28D9;
    color: #fff;
    margin-bottom: 11px;
}
.chat-card__icon svg { width: 18px; height: 18px; display: block; }
.chat-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #17161C;
    margin: 0 0 5px;
}
.chat-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #55525F;
    margin: 0 0 13px;
}
.chat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #6D28D9;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.chat-card__cta:hover { background: #5B21B6; transform: translateY(-1px); }

/* Typing indicator */
.chat-typing { display: inline-flex; gap: 5px; padding-top: 9px; }
.chat-typing span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #B9B7C6;
    animation: chatBlink 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Compose bar */
.chat-compose {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 12px 12px 20px;
    margin-bottom: 22px;
    background: #FFFFFF;
    border: 1px solid #E2E0E9;
    border-radius: 26px;
    box-shadow: 0 6px 24px rgba(20, 15, 45, 0.08);
}
.chat-compose__input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: #2A2833;
    padding: 10px 0;
}
.chat-compose__input::placeholder { color: #9C99A8; }
.chat-compose__send {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #17161C;
    color: #fff;
    display: grid; place-items: center;
    transition: background .2s ease, transform .2s ease;
}
.chat-compose__send svg { width: 17px; height: 17px; }
.chat-compose__send:hover { background: #000; transform: translateY(-1px); }
.chat-compose__send:disabled { background: #C9C7D2; cursor: default; transform: none; }

/* Replay of the Adness splash when closing */
.intro-overlay.intro-replay { z-index: 99995; }

@media (max-width: 560px) {
    .chat-scroll { padding: 20px 14px 24px; }
    .chat-compose { margin-bottom: 14px; padding-left: 16px; border-radius: 22px; }
    .chat-msg { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .chat-portal { transition-duration: .01s; }
    .chat-msg { animation-duration: .01s; }
}
