/* ============================================================
   VERITAS — Design System
   Dark premium theme · navy + layered cyan · corporate sans
   ============================================================ */

:root {
  /* Surfaces (cool near-black navy) */
  --bg:          #060a12;
  --bg-2:        #080d17;
  --surface:     #0d1422;
  --surface-2:   #111b2c;
  --surface-3:   #16223a;
  --border:      rgba(126,165,214,0.13);
  --border-strong: rgba(130,180,230,0.26);

  /* Text */
  --text:   #e9f0fd;
  --muted:  #98a9c6;
  --dim:    #62748f;

  /* Brand */
  --navy:   #0e2a52;

  /* Accent (overridable by Tweaks) */
  --accent:    #22d3ee;
  --accent-2:  #2f7bff;
  --accent-ink:#04212b;            /* text on accent fills */
  --glow: 34,211,238;              /* rgb of accent for glows */

  /* Type */
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Geometry */
  --radius:   16px;
  --radius-sm:11px;
  --radius-lg:24px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .55s;

  /* Shadow */
  --shadow: 0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-soft: 0 12px 40px -24px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

/* Ambient background: subtle grid + corner glows */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(var(--glow), .10), transparent 60%),
    radial-gradient(800px 600px at 100% 8%, rgba(47,123,255,.10), transparent 55%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(130,170,220,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,170,220,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none; z-index: 0;
}

main, header, footer, .layer { position: relative; z-index: 1; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(var(--glow), .06);
}
.eyebrow::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 1px rgba(var(--glow), .8); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 18px; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-top: 16px; text-wrap: pretty; }

.text-grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--accent-2)));
  box-shadow: 0 10px 30px -10px rgba(var(--glow), .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(var(--glow), .75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.02);
  border-color: var(--border-strong); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); background: rgba(var(--glow), .06); }
.btn-lg { --pad: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-text { color: var(--accent); font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.btn-text svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn-text:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .chevrons { width: 42px; height: auto; }
.brand .word { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .12em; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  color: var(--muted); padding: 10px 13px; border-radius: 10px;
  background: none; border: none; cursor: pointer; font-family: var(--font-head);
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-trigger:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--accent); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .25s; }

.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 264px; padding: 10px; border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface-2) 96%, transparent);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .nav-trigger svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px;
  color: var(--muted); transition: background .18s, color .18s;
}
.dropdown a:hover { background: rgba(var(--glow), .08); color: var(--text); }
.dropdown a .di { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(var(--glow), .1); border: 1px solid var(--border); color: var(--accent); }
.dropdown a .di svg { width: 18px; height: 18px; }
.dropdown a b { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: var(--text); display: block; }
.dropdown a span.ds { font-size: .78rem; color: var(--dim); line-height: 1.35; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(14px);
  padding: 88px var(--gutter) 40px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav .sub a { font-size: 1rem; color: var(--muted); padding-left: 18px; }
.mobile-nav .sub-label { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding: 22px 4px 6px; }
.mobile-nav .btn { margin-top: 28px; }
.mobile-close { position: absolute; top: 22px; right: var(--gutter); width: 44px; height: 44px; border-radius: 10px; background: none; border: 1px solid var(--border-strong); color: var(--text); cursor: pointer; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.card-glow:hover { box-shadow: 0 28px 64px -30px rgba(var(--glow), .45); border-color: rgba(var(--glow), .4); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(var(--glow), .22), rgba(var(--glow), .05));
  border: 1px solid var(--border-strong); color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Reveal animations (progressive enhancement) ---------- */
.reveal { will-change: opacity, transform; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
body.motion-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 64px 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h5 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
.footer-grid a { color: var(--muted); display: block; padding: 6px 0; font-size: .95rem; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--dim); font-size: .88rem; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--muted); transition: all .22s; }
.social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Sticky WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2bd47a, #18a558); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37,178,99,.65); border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-fab:hover { transform: scale(1.07) translateY(-2px); }
.wa-fab svg { width: 31px; height: 31px; }
.wa-fab .pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(43,212,122,.55); animation: wapulse 2.4s infinite; }
@keyframes wapulse { 70% { box-shadow: 0 0 0 16px rgba(43,212,122,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,122,0); } }
body.motion-off .wa-fab .pulse { animation: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text); }
.field label .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--glow), .14); background: var(--surface); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2398a9c6' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field-error .input, .field-error .textarea, .field-error .select { border-color: #f87171; }
.err-msg { color: #fca5a5; font-size: .82rem; display: none; }
.field-error .err-msg { display: block; }

/* ---------- Placeholder (image drop zones) ---------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(130,170,220,.05) 0 12px, transparent 12px 24px),
    var(--surface);
  border: 1px dashed var(--border-strong);
  display: grid; place-items: center; min-height: 200px;
}
.ph span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem; letter-spacing: .04em; color: var(--dim); text-align: center; padding: 12px; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.kicker-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items:center; gap: 7px; font-size: .82rem; color: var(--muted); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.pill svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Responsive ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1180px) { .nav-cta .btn-ghost { display: none; } }
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ============================================================
   COMPONENTS — hero, dashboard mockup, cards, steps, faq, cta
   ============================================================ */

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.04; margin-top: 22px; }
.hero h1 .text-grad { display: inline; }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-top: 22px; max-width: 560px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

@media (max-width: 900px) {
  .hero { padding-top: clamp(32px, 6vw, 56px); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .dash-wrap { max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .dash-wrap .float-chip { display: none; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Dashboard mockup (CSS) ---------- */
.dash-wrap { position: relative; }
.dash-wrap .float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in oklab, var(--surface-2) 92%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 9px 13px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--text);
  box-shadow: var(--shadow-soft);
}
.dash-wrap .float-chip svg { width: 16px; height: 16px; color: var(--accent); }
.dash-wrap .float-chip.fc1 { top: -18px; left: -22px; animation: floaty 6s ease-in-out infinite; }
.dash-wrap .float-chip.fc2 { bottom: 38px; right: -26px; animation: floaty 7s ease-in-out infinite .8s; }
.dash-wrap .float-chip.fc3 { bottom: -16px; left: 30px; animation: floaty 6.5s ease-in-out infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
body.motion-off .dash-wrap .float-chip { animation: none; }

.dash {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--glow), .05);
}
.dash::after { content:""; position:absolute; inset:0; background: radial-gradient(120% 80% at 80% -10%, rgba(var(--glow), .14), transparent 55%); pointer-events:none; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.18); }
.dash-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.dash-bar .dot:nth-child(2) { background: #2a3a55; } .dash-bar .dot:nth-child(3) { background: #36507a; }
.dash-bar b { margin-left: 10px; font-family: var(--font-head); font-size: .82rem; color: var(--muted); font-weight: 600; }
.dash-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: #34d399; }
.dash-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.dash-body { padding: 18px; display: grid; gap: 16px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--bg-2); border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; }
.kpi .lab { font-size: .72rem; color: var(--dim); letter-spacing: .04em; }
.kpi .val { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin-top: 4px; }
.kpi .chg { font-size: .72rem; font-weight: 600; margin-top: 2px; display: inline-flex; align-items: center; gap: 3px; }
.kpi .chg.up { color: #34d399; } .kpi .chg.down { color: #34d399; }
.dash-chart { background: var(--bg-2); border: 1px solid var(--border); border-radius: 13px; padding: 14px 14px 6px; }
.dash-chart .ct-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dash-chart .ct-head b { font-family: var(--font-head); font-size: .85rem; }
.dash-chart .ct-head span { font-size: .72rem; color: var(--dim); }
.dash-chart svg { width: 100%; height: 96px; display: block; }
.lead-list { display: grid; gap: 8px; }
.lead-row { display: flex; align-items: center; gap: 11px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 11px; padding: 9px 12px; }
.lead-row .av { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.lead-row .nm { font-family: var(--font-head); font-weight: 600; font-size: .84rem; }
.lead-row .src { font-size: .72rem; color: var(--dim); }
.lead-row .st { margin-left: auto; font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; font-family: var(--font-head); }
.st.new { color: var(--accent); background: rgba(var(--glow), .14); }
.st.won { color: #34d399; background: rgba(52,211,153,.14); }
.st.warm { color: #fbbf24; background: rgba(251,191,36,.14); }

/* ---------- Stat bar ---------- */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; background: linear-gradient(180deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lab { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- Service cards ---------- */
.svc-card { display: flex; flex-direction: column; overflow: hidden; }
.svc-card .svc-media { height: 168px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.svc-card .svc-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card .svc-ico { position: absolute; top: 16px; left: 16px; z-index: 2; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { color: var(--muted); font-size: .96rem; }
.svc-card .svc-benefits { display: grid; gap: 7px; margin: 4px 0 6px; }
.svc-card .svc-benefits li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.svc-card .svc-benefits li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.svc-card .svc-foot { margin-top: auto; padding-top: 8px; }

/* mini visual fills for service media (CSS only) */
.viz { position: absolute; inset: 0; background: var(--bg-2); }
.viz::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 1px 1px, rgba(var(--glow), .18) 1px, transparent 0); background-size: 18px 18px; opacity:.5; }
.viz-glow { position:absolute; inset:0; background: radial-gradient(60% 80% at 70% 30%, rgba(var(--glow), .28), transparent 60%); }

/* ---------- Result cards ---------- */
.result-card { padding: 26px 24px; }
.result-card .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--accent); }
.result-card h4 { font-size: 1.08rem; margin: 14px 0 8px; }
.result-card p { color: var(--muted); font-size: .92rem; }
.result-card .icon-badge { width: 44px; height: 44px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; }
.step .sn { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 1.12rem; margin: 14px 0 9px; }
.step p { color: var(--muted); font-size: .92rem; }
.step .conn { position: absolute; top: 44px; right: -10px; width: 20px; color: var(--border-strong); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .step .conn { display: none; } }
@media (max-width: 640px) { .steps, .stat-bar { grid-template-columns: 1fr; } .kpi-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Why cards ---------- */
.why-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.why-card .icon-badge { flex: none; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; border: 1px solid var(--border-strong); background: linear-gradient(150deg, var(--surface-2), var(--surface)); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 50% -20%, rgba(var(--glow), .22), transparent 60%); pointer-events:none; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); position: relative; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; position: relative; }
.cta-assure { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; margin-top: 26px; position: relative; }
.cta-assure span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.cta-assure svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pl { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform .25s; }
.faq-item[open] summary .pl { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; }

/* ---------- Service detail hero ---------- */
.svc-hero { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 64px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--dim); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; }
.prob-sol { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ps-card { padding: 30px 28px; }
.ps-card.prob { border-color: rgba(248,113,113,.22); }
.ps-card .ps-tag { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items:center; gap: 8px; }
.ps-card.prob .ps-tag { color: #f87171; }
.ps-card.sol .ps-tag { color: var(--accent); }
.ps-card h3 { font-size: 1.3rem; margin: 14px 0 12px; }
.ps-card ul { display: grid; gap: 10px; }
.ps-card li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; align-items: flex-start; }
.ps-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ps-card.prob li svg { color: #f87171; }
.ps-card.sol li svg { color: var(--accent); }
@media (max-width: 820px) { .svc-hero-grid, .prob-sol { grid-template-columns: 1fr; } }

/* ---------- Section bg variants ---------- */
.bg-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.list-check { display: grid; gap: 13px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.list-check li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.list-check li b { color: var(--text); font-family: var(--font-head); }

/* ---------- About / values ---------- */
.lead-text { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; color: var(--text); font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
.value-card { padding: 26px 24px; }
.value-card h4 { margin: 16px 0 8px; font-size: 1.1rem; }
.value-card p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   ANIMATED SERVICE SCENES (replace static media placeholders)
   ============================================================ */
.svc-scene { position: absolute; inset: 0; z-index: 1; padding: 18px 20px; }
.svc-card .svc-ico { z-index: 3; }
.svc-card .svc-media .viz, .svc-card .svc-media .viz-glow { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .svc-scene * { animation: none !important; } }
body.motion-off .svc-scene * { animation: none !important; opacity: 1 !important; }
body.motion-off .svc-scene .sweep { opacity: .5 !important; }
body.motion-off .sc-ads .aline path { stroke-dashoffset: 0 !important; }
@media (prefers-reduced-motion: reduce) { .sc-ads .aline path { stroke-dashoffset: 0 !important; } .svc-scene .sweep { opacity: .5; } }

/* ---- Chat Bot AI ---- */
.sc-chat { display: flex; flex-direction: column; gap: 7px; justify-content: flex-end; height: 100%; padding-bottom: 2px; }
.sc-chat .cb { font-size: .72rem; line-height: 1.25; padding: 7px 10px; border-radius: 12px; max-width: 82%; }
.sc-chat .cb-in { align-self: flex-start; background: var(--surface-3); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 3px; animation: cbIn .5s .25s backwards; }
.sc-chat .cb-out { align-self: flex-end; text-align: right; font-weight: 600; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-bottom-right-radius: 3px; animation: cbIn .5s 1.05s backwards; }
.sc-chat .cb-type { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--surface-3); border: 1px solid var(--border); border-radius: 12px; border-bottom-left-radius: 3px; animation: cbIn .5s 1.75s backwards; }
.sc-chat .cb-type span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: cbDot 1.3s 2.1s infinite; }
.sc-chat .cb-type span:nth-child(2) { animation-delay: 2.25s; }
.sc-chat .cb-type span:nth-child(3) { animation-delay: 2.4s; }
@keyframes cbIn { from { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes cbDot { 0%,55%,100% { transform: translateY(0); opacity: .4; } 28% { transform: translateY(-5px); opacity: 1; } }

/* ---- CRM Automation ---- */
.sc-crm { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; height: 100%; position: relative; overflow: hidden; padding-bottom: 2px; }
.sc-crm .crow { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; padding: 7px 9px; animation: crmRow .6s backwards; }
.sc-crm .crow:nth-child(1) { animation-delay: .2s; }
.sc-crm .crow:nth-child(2) { animation-delay: .45s; }
.sc-crm .crow:nth-child(3) { animation-delay: .7s; }
.sc-crm .cdot { width: 20px; height: 20px; border-radius: 6px; flex: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.sc-crm .cbar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); }
.sc-crm .cpill { font-family: var(--font-head); font-style: normal; font-weight: 700; font-size: .58rem; padding: 3px 8px; border-radius: 999px; flex: none; }
.sc-crm .p-new { color: var(--accent); background: rgba(var(--glow), .16); }
.sc-crm .p-warm { color: #fbbf24; background: rgba(251,191,36,.16); }
.sc-crm .p-won { color: #34d399; background: rgba(52,211,153,.16); }
.sc-crm .crm-scan { position: absolute; left: -20px; right: -20px; top: 0; height: 26px; background: linear-gradient(180deg, rgba(var(--glow), .22), transparent); animation: crmScan 3.2s 1s ease-in-out infinite; pointer-events: none; }
@keyframes crmRow { from { opacity: 0; transform: translateX(-12px); } }
@keyframes crmScan { 0% { transform: translateY(-12px); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateY(130px); opacity: 0; } }

/* ---- B2B Scrape AI Lead — radar ---- */
.sc-radar { display: grid; place-items: center; height: 100%; }
.sc-radar .radar { position: relative; width: 108px; height: 108px; border-radius: 50%; border: 1px solid var(--border-strong); background: radial-gradient(circle, rgba(var(--glow), .1), transparent 70%); }
.sc-radar .ring { position: absolute; inset: 26px; border: 1px solid var(--border); border-radius: 50%; }
.sc-radar .ring.r2 { inset: 12px; }
.sc-radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--glow), .5) 55deg, transparent 75deg); animation: radarSpin 2.8s linear infinite; }
.sc-radar .blip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px rgba(var(--glow), .9); animation: blip 2.8s infinite; }
.sc-radar .bA { top: 30%; left: 62%; }
.sc-radar .bB { top: 58%; left: 36%; animation-delay: 1s; }
.sc-radar .bC { top: 46%; left: 70%; animation-delay: 1.7s; }
@keyframes radarSpin { to { transform: rotate(360deg); } }
@keyframes blip { 0%,68% { opacity: 0; transform: scale(.4); } 74% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

/* ---- Website Creation ---- */
.sc-web { display: grid; place-items: end center; height: 100%; padding-bottom: 2px; }
.sc-web .win { width: 92%; max-width: 240px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-soft); }
.sc-web .win-bar { display: flex; gap: 5px; padding: 7px 9px; background: rgba(0,0,0,.25); border-bottom: 1px solid var(--border); }
.sc-web .win-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
.sc-web .win-bar i:first-child { background: var(--accent); }
.sc-web .win-body { padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.sc-web .wb { height: 8px; border-radius: 4px; background: var(--surface-3); transform-origin: left; animation: wbGrow 2.6s ease-in-out infinite; }
.sc-web .wbh { width: 55%; height: 10px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sc-web .wbt { width: 100%; animation-delay: .12s; }
.sc-web .wbt.s { width: 72%; animation-delay: .24s; }
.sc-web .wb-row { display: flex; gap: 7px; margin-top: 3px; }
.sc-web .wb-row span { flex: 1; height: 26px; border-radius: 6px; background: var(--surface-3); transform-origin: bottom; animation: wbPop 2.6s ease-in-out infinite; }
.sc-web .wb-row span:nth-child(1) { animation-delay: .36s; }
.sc-web .wb-row span:nth-child(2) { animation-delay: .48s; }
.sc-web .wb-row span:nth-child(3) { animation-delay: .6s; }
@keyframes wbGrow { 0% { transform: scaleX(0); opacity: .3; } 28%,100% { transform: scaleX(1); opacity: 1; } }
@keyframes wbPop { 0% { transform: scaleY(0); opacity: .3; } 34%,100% { transform: scaleY(1); opacity: 1; } }

/* ---- Paid Ads ---- */
.sc-ads { position: relative; display: grid; place-items: end center; height: 100%; padding-bottom: 8px; }
.sc-ads .bars { display: flex; align-items: flex-end; gap: 9px; height: 86px; }
.sc-ads .bars span { width: 16px; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: bottom; animation: adGrow 2.8s ease-in-out infinite; }
.sc-ads .bars span:nth-child(2) { animation-delay: .12s; }
.sc-ads .bars span:nth-child(3) { animation-delay: .24s; }
.sc-ads .bars span:nth-child(4) { animation-delay: .36s; }
.sc-ads .bars span:nth-child(5) { animation-delay: .48s; }
.sc-ads .aline { position: absolute; top: 20px; left: 22px; right: 22px; height: 44px; width: auto; overflow: visible; }
.sc-ads .aline path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(var(--glow), .7)); stroke-dasharray: 220; stroke-dashoffset: 220; animation: adLine 2.8s ease-in-out infinite; }
@keyframes adGrow { 0% { transform: scaleY(0); } 38%,100% { transform: scaleY(1); } }
@keyframes adLine { 0% { stroke-dashoffset: 220; } 48%,100% { stroke-dashoffset: 0; } }

/* ---- Integrime — network ---- */
.sc-flow { display: grid; place-items: center; height: 100%; }
.sc-flow .net { position: relative; width: 150px; height: 96px; }
.sc-flow .netlines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc-flow .netlines path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.sc-flow .node { position: absolute; width: 26px; height: 26px; border-radius: 8px; transform: translate(-50%,-50%); background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-soft); }
.sc-flow .n1 { left: 14%; top: 18%; } .sc-flow .n2 { left: 14%; top: 82%; }
.sc-flow .n3 { left: 86%; top: 18%; } .sc-flow .n4 { left: 86%; top: 82%; }
.sc-flow .hub { left: 50%; top: 50%; width: 34px; height: 34px; border-radius: 10px; border: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 16px 1px rgba(var(--glow), .55); animation: hubPulse 2.4s ease-in-out infinite; }
.sc-flow .pkt { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px rgba(var(--glow), .9); }
.sc-flow .p1 { animation: pkt1 2.4s linear infinite; }
.sc-flow .p2 { animation: pkt2 2.4s linear .6s infinite; }
.sc-flow .p3 { animation: pkt3 2.4s linear 1.2s infinite; }
.sc-flow .p4 { animation: pkt4 2.4s linear 1.8s infinite; }
@keyframes hubPulse { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.12); } }
@keyframes pkt1 { 0% { transform: translate(-50%,-50%) translate(-54px,-30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(-50%,-50%); opacity: 0; } }
@keyframes pkt2 { 0% { transform: translate(-50%,-50%) translate(-54px,30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(-50%,-50%); opacity: 0; } }
@keyframes pkt3 { 0% { transform: translate(-50%,-50%) translate(54px,-30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(-50%,-50%); opacity: 0; } }
@keyframes pkt4 { 0% { transform: translate(-50%,-50%) translate(54px,30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(-50%,-50%); opacity: 0; } }

/* ============================================================
   HOW-IT-WORKS step preview scenes
   ============================================================ */
.sv-glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 76% 28%, rgba(var(--glow), .16), transparent 60%); pointer-events: none; z-index: 0; }
.sv-head { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.sv-head .icon-badge { flex: none; }
.sv-scene { position: relative; height: 118px; margin-top: 10px; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .sv-scene * { animation: none !important; } }
body.motion-off .sv-scene * { animation: none !important; opacity: 1 !important; }
body.motion-off .sv-grow .gr-line path { stroke-dashoffset: 0 !important; }

/* 01 — analyze */
.sv-analyze { display: flex; align-items: flex-end; }
.sv-analyze .an-chart { position: relative; display: flex; align-items: flex-end; gap: 9px; width: 100%; height: 100%; overflow: hidden; }
.sv-analyze .an-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(var(--glow), .55), rgba(var(--glow), .12)); }
.sv-analyze .an-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 12px 2px rgba(var(--glow), .8); animation: anScan 3s ease-in-out infinite; }
@keyframes anScan { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* 02 — funnel */
.sv-funnel { display: grid; place-items: center; }
.sv-funnel .fn { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.sv-funnel .fb { height: 16px; border-radius: 5px; border: 1px solid var(--border-strong); background: linear-gradient(90deg, rgba(var(--glow), .5), rgba(47,123,255,.4)); }
.sv-funnel .fb1 { width: 80%; } .sv-funnel .fb2 { width: 54%; } .sv-funnel .fb3 { width: 30%; }
.sv-funnel .fdot { position: absolute; top: 0; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px rgba(var(--glow), .9); transform: translateX(-50%); animation: fnDrop 2.4s ease-in infinite; }
.sv-funnel .d2 { animation-delay: .8s; } .sv-funnel .d3 { animation-delay: 1.6s; }
@keyframes fnDrop { 0% { top: -6px; opacity: 0; } 14% { opacity: 1; } 82% { opacity: 1; } 100% { top: 100px; opacity: 0; } }

/* 03 — build / wire-up */
.sv-build { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 4px; }
.sv-build .bd-track { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--border-strong); transform: translateY(-50%); }
.sv-build .bd-mod { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-strong); animation: bdLite 3.2s ease-in-out infinite; }
.sv-build .m2 { animation-delay: .45s; } .sv-build .m3 { animation-delay: .9s; } .sv-build .m4 { animation-delay: 1.35s; }
@keyframes bdLite { 0%,100% { background: var(--bg-2); border-color: var(--border-strong); box-shadow: none; } 18%,42% { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 0 14px 1px rgba(var(--glow), .5); } }

/* 04 — grow / scale */
.sv-grow { position: relative; }
.sv-grow .gr-bars { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 11px; height: 100%; }
.sv-grow .gr-bars span { width: 18px; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: bottom; animation: grGrow 2.8s ease-in-out infinite; }
.sv-grow .gr-bars span:nth-child(2) { animation-delay: .12s; } .sv-grow .gr-bars span:nth-child(3) { animation-delay: .24s; }
.sv-grow .gr-bars span:nth-child(4) { animation-delay: .36s; } .sv-grow .gr-bars span:nth-child(5) { animation-delay: .48s; }
.sv-grow .gr-line { position: absolute; inset: 4px 8px auto 8px; height: 72px; width: auto; overflow: visible; }
.sv-grow .gr-line path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(var(--glow), .7)); stroke-dasharray: 240; stroke-dashoffset: 240; animation: grLine 2.8s ease-in-out infinite; }
@keyframes grGrow { 0% { transform: scaleY(.15); } 45%,100% { transform: scaleY(1); } }
@keyframes grLine { 0% { stroke-dashoffset: 240; } 55%,100% { stroke-dashoffset: 0; } }

/* ============================================================
   HERO DASHBOARD — live animation
   ============================================================ */
.dash-bar, .dash-body { position: relative; z-index: 2; }
.dash::before { content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(var(--glow), .10), transparent); transform: skewX(-16deg); animation: dashSheen 6.5s ease-in-out infinite; }
@keyframes dashSheen { 0% { left: -65%; } 60%,100% { left: 130%; } }

.dash-bar .live i { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 6px #34d399; opacity: 1; } 50% { box-shadow: 0 0 13px 2px #34d399; opacity: .55; } }

html.js .dash .kpi { animation: dKpi .6s backwards; }
html.js .dash .kpi:nth-child(1) { animation-delay: .2s; }
html.js .dash .kpi:nth-child(2) { animation-delay: .34s; }
html.js .dash .kpi:nth-child(3) { animation-delay: .48s; }
@keyframes dKpi { from { opacity: 0; transform: translateY(12px); } }
.dash .kpi .chg { animation: chgPulse 2.8s ease-in-out infinite; }
@keyframes chgPulse { 0%,100% { opacity: .7; } 50% { opacity: 1; } }

.dash-chart { position: relative; overflow: hidden; }
html.js .dash-chart .darea { opacity: 0; animation: dArea 1.1s 1.4s ease forwards; }
@keyframes dArea { to { opacity: 1; } }
html.js .dash-chart .dline { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dLine 1.9s .45s ease-out forwards; }
@keyframes dLine { to { stroke-dashoffset: 0; } }
.dash-chart .ct-scan { position: absolute; top: 36px; bottom: 6px; left: 0; width: 44px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(var(--glow), .2), transparent); animation: ctScan 3.8s 2.2s ease-in-out infinite; }
@keyframes ctScan { 0% { left: -44px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

html.js .dash .lead-row { animation: dLead .6s backwards; }
html.js .dash .lead-row:nth-child(1) { animation-delay: 1.5s; }
html.js .dash .lead-row:nth-child(2) { animation-delay: 1.7s; }
html.js .dash .lead-row:nth-child(3) { animation-delay: 1.9s; }
@keyframes dLead { from { opacity: 0; transform: translateX(14px); } }

body.motion-off .dash::before, body.motion-off .dash-chart .ct-scan { display: none; }
body.motion-off .dash .kpi, body.motion-off .dash .lead-row, body.motion-off .dash .kpi .chg, body.motion-off .dash-bar .live i { animation: none !important; opacity: 1 !important; }
body.motion-off .dash-chart .darea { opacity: 1 !important; animation: none !important; }
body.motion-off .dash-chart .dline { stroke-dashoffset: 0 !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .dash::before, .dash-chart .ct-scan { display: none; }
  .dash-chart .dline { stroke-dashoffset: 0 !important; animation: none !important; }
  .dash-chart .darea { opacity: 1 !important; animation: none !important; }
  .dash .kpi, .dash .lead-row, .dash .kpi .chg, .dash-bar .live i { animation: none !important; opacity: 1 !important; }
}
