/* ==========================================================================
   Corevix Technology — site styles
   Brand tokens follow the Corevix Brand Book v1.0 (Core Orbit identity).
   ========================================================================== */
:root {
  --navy: #0B1F3A;
  --navy-2: #102A4C;
  --teal: #0E7C86;
  --teal-deep: #085158;
  --teal-bright: #3FC1C9;
  --mist: #D9EFF1;
  --saffron: #FF7A1A;
  --saffron-dark: #E8650A;
  --ink: #0A0F1A;
  --slate: #33435A;
  --graphite: #4A5566;
  --cloud: #EEF1F5;
  --line: #D9DFE7;
  --white: #FFFFFF;
  --on-navy: #C9D4E2;

  --font-display: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  --radius: 8px;
  --radius-lg: 14px;
  --max: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(10, 15, 26, .06), 0 8px 24px rgba(10, 15, 26, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal-deep); }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--navy); padding: 10px 14px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * 40px);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) { .container { padding-left: 40px; padding-right: 40px; } }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--cloud { background: var(--cloud); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep);
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--teal-bright); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.125rem; color: var(--graphite); }
.section--navy .section-head p { color: var(--on-navy); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.signal { display: block; width: 48px; height: 3px; background: var(--saffron); border-radius: 2px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--saffron); color: var(--navy); }
.btn--primary:hover { background: var(--saffron-dark); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--cloud); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--teal-deep); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header ----------------------------------------------------------------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--navy); z-index: 60;
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy); color: var(--white);
  transition: background .2s, box-shadow .2s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { height: 38px; width: auto; display: block; }
.logo-ring, .logo-word { transition: stroke .2s, fill .2s; }
.site-header .logo-ring { stroke: var(--white); }
.site-header .logo-word { fill: var(--white); }
.site-header .logo-sub { fill: var(--on-navy); }
.site-header .logo-dot2 { fill: var(--teal-bright); }
.site-header.is-scrolled .logo-ring { stroke: var(--navy); }
.site-header.is-scrolled .logo-word { fill: var(--navy); }
.site-header.is-scrolled .logo-sub { fill: var(--graphite); }
.site-header.is-scrolled .logo-dot2 { fill: var(--teal); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.site-header.is-scrolled .nav a { color: var(--slate); }
.site-header.is-scrolled .nav a:hover, .site-header.is-scrolled .nav a[aria-current="page"] { color: var(--navy); background: var(--cloud); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,.08); color: var(--white); align-items: center; justify-content: center;
}
.site-header.is-scrolled .menu-toggle { background: var(--cloud); color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); padding: 12px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 32px rgba(10,15,26,.15); border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a, .site-header.is-scrolled .nav a { color: var(--navy); font-size: 17px; padding: 14px 12px; }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--cloud); color: var(--navy); }
  .nav .btn { display: flex; margin-top: 10px; }
}
@media (min-width: 961px) { .nav .nav-cta { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(14,124,134,.45), transparent 60%), var(--navy);
  padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 112px);
}
.hero-orbit { position: absolute; right: -180px; bottom: -220px; width: 640px; height: 640px; opacity: .12; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero-lede { font-size: 1.15rem; max-width: 34rem; margin-bottom: 32px; }
.hero-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; font-size: 14px; }
.hero-steps span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--white); }
.hero-steps i { color: var(--teal-bright); font-style: normal; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.page-hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); margin: 14px 0 16px; max-width: 18ch; }
.page-hero p { font-size: 1.15rem; max-width: 40rem; }
.page-hero .hero-orbit { width: 480px; height: 480px; right: -140px; bottom: -200px; }

/* Product mock in hero */
.mock {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--cloud); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C7CFDA; }
.mock-url { margin-left: 10px; flex: 1; background: var(--white); border-radius: 6px; padding: 4px 10px; font: 500 12px var(--font-mono); color: var(--graphite); }
.mock-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; }
.mock-side { background: var(--navy); padding: 16px 12px; display: grid; align-content: start; gap: 4px; font-size: 13px; color: var(--on-navy); }
.mock-side b { color: var(--white); font: 600 14px var(--font-display); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.mock-side b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); }
.mock-side span { padding: 7px 10px; border-radius: 6px; }
.mock-side span.on { background: rgba(63,193,201,.16); color: var(--white); }
.mock-main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-row strong { font: 600 15px var(--font-display); color: var(--navy); }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--teal-deep); background: var(--mist); padding: 4px 10px; border-radius: 999px; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-stats div { border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 11.5px; color: var(--graphite); }
.mock-stats b { display: block; font: 600 16px var(--font-display); color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 2px; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.mock-chart i { flex: 1; background: var(--mist); border-radius: 3px 3px 0 0; }
.mock-chart i.hi { background: var(--teal); }
.mock-chart i.top { background: var(--saffron); }
.mock-note { font-size: 11px; color: var(--graphite); text-align: right; }
@media (max-width: 520px) { .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; } }

/* Trust strip -------------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.trust-item b { display: block; font: 600 15px var(--font-display); color: var(--navy); }
.trust-item span { font-size: 14px; color: var(--graphite); }
@media (max-width: 900px) { .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-inner { grid-template-columns: minmax(0, 1fr); } }

/* Generic grids & cards ---------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.card p { color: var(--graphite); }
.icon-badge {
  width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-badge svg { width: 22px; height: 22px; }
.section--navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.section--navy .card p { color: var(--on-navy); }
.section--navy .icon-badge { background: rgba(63,193,201,.14); color: var(--teal-bright); }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Product cards ------------------------------------------------------------ */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}
.product:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.product[hidden] { display: none; }
.product-top {
  position: relative; height: 120px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--navy), var(--teal-deep));
  display: flex; align-items: flex-end; justify-content: space-between; overflow: hidden;
}
.product-top::after {
  content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%;
  border: 18px solid rgba(63,193,201,.25); border-right-color: transparent; transform: rotate(-45deg);
}
.product-top .icon-badge { background: rgba(255,255,255,.12); color: var(--white); }
.discount { position: relative; z-index: 1; background: var(--saffron); color: var(--navy); font: 700 12px var(--font-body); padding: 5px 10px; border-radius: 999px; }
.product-body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.product h3 { font-size: 1.08rem; }
.product p { color: var(--graphite); font-size: 15px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--graphite); }
.rating .stars { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 600; }
.rating .stars svg { width: 15px; height: 15px; color: var(--saffron); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price b { font: 700 1.4rem var(--font-display); color: var(--navy); }
.price s { color: var(--graphite); font-size: 14px; }
.price .quote { font: 600 1.05rem var(--font-display); color: var(--navy); }
.delivery { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--graphite); }
.delivery svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.product-actions .btn { padding: 0 10px; min-height: 44px; font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: 500 14px var(--font-body); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--slate);
}
.chip:hover { border-color: var(--teal); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.result-count { font-size: 14px; color: var(--graphite); margin-bottom: 16px; }

/* Industries --------------------------------------------------------------- */
.industry { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px; }
.industry h3 { font-size: 1.05rem; margin-bottom: 4px; }
.industry p { font-size: 14.5px; }

/* Process ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--teal-bright); color: var(--white); font: 600 16px var(--font-mono); background: var(--navy);
  position: relative; z-index: 1;
}
.step:last-child .step-num { background: var(--saffron); border-color: var(--saffron); color: var(--navy); }
.steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: rgba(63,193,201,.3); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: 15px; color: var(--on-navy); }
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .step h3, .step p { grid-column: 2; }
  .step .step-num { grid-row: span 2; }
}

/* Split feature ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.split-copy { display: grid; gap: 18px; }
.split-copy p { font-size: 1.08rem; color: var(--graphite); }
.code-card { background: var(--ink); color: #E6EDF5; border-radius: var(--radius-lg); padding: 22px; font: 400 13.5px/1.75 var(--font-mono); overflow-x: auto; box-shadow: var(--shadow); }
.code-card .c { color: #6B7A90; } .code-card .k { color: var(--teal-bright); } .code-card .s { color: #FF9447; } .code-card .n { color: #E6EDF5; }

/* Testimonials ------------------------------------------------------------- */
.quote-card { gap: 18px; }
.quote-card blockquote { margin: 0; font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.quote-mark { font: 700 48px/0.6 var(--font-display); color: var(--saffron); height: 22px; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font: 600 14px var(--font-display); flex: none; }
.quote-by b { display: block; color: var(--navy); font-size: 15px; }
.quote-by span { font-size: 13px; color: var(--graphite); }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.verified svg { width: 14px; height: 14px; }

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 1.05rem var(--font-display); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--graphite); max-width: 70ch; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--teal-deep)); color: var(--on-navy); border-radius: 20px; padding: clamp(36px, 6vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { font-size: 1.1rem; max-width: 36rem; }
.cta-band .hero-orbit { width: 360px; height: 360px; right: -120px; bottom: -160px; opacity: .18; }
.cta-band .btn-row { position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Stats / values ----------------------------------------------------------- */
.value { border-left: 3px solid var(--saffron); padding: 4px 0 4px 20px; display: grid; gap: 8px; }
.value p { color: var(--graphite); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-row div { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.stat-row b { display: block; font: 700 2rem var(--font-display); color: var(--navy); margin-bottom: 4px; }
.stat-row span { color: var(--graphite); font-size: 15px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: minmax(0, 1fr); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font: 500 13px var(--font-mono); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; color: var(--slate); }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 14px; color: var(--navy); }
.field input, .field select, .field textarea {
  font: 400 16px var(--font-body); color: var(--ink); background: var(--white);
  border: 1px solid #B8C2CF; border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.18); }
.field .error { color: #B42318; font-size: 13px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #B42318; }
.field.invalid .error { display: block; }
.form-note { font-size: 13.5px; color: var(--graphite); }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; background: var(--mist); color: var(--teal-deep); font-weight: 500; }
.form-status.show { display: block; }
.contact-card { display: grid; gap: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line b { display: block; color: var(--navy); font-family: var(--font-display); }
.contact-line a, .contact-line span { color: var(--graphite); text-decoration: none; word-break: break-word; }
.contact-line a:hover { color: var(--teal-deep); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand svg { height: 40px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 30rem; }
.footer-tagline { margin-top: 10px; font: 600 15px var(--font-display); color: var(--white); }
.site-footer h4 { color: var(--white); font: 600 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #8E9DB2; }

/* WhatsApp floating button ------------------------------------------------- */
.wa-float {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(10,15,26,.25);
}
.wa-float:hover { color: var(--white); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal on scroll (content is visible by default; JS only adds motion) ---- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-pending { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 visual layer: motion, depth and richer cards
   ========================================================================== */

/* Aurora + dot grid backdrop (hero, page heroes) */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #0E7C86; top: -180px; right: -80px; }
.aurora span:nth-child(2) { width: 420px; height: 420px; background: #1B3F73; bottom: -200px; left: -120px; animation-duration: 22s; }
.aurora span:nth-child(3) { width: 260px; height: 260px; background: #FF7A1A; opacity: .22; top: 40%; right: 30%; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-60px, 40px) scale(1.12); } }
.dotgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
}
.hero { background: var(--navy); padding-bottom: 48px; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero-orbit { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero copy */
.pill-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--white);
  font-size: 13.5px; font-weight: 500; backdrop-filter: blur(6px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(255,122,26,.22); animation: pulse 2s infinite; flex: none; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
.hero h1 em {
  background: linear-gradient(90deg, #FF7A1A, #FFB36B 55%, #3FC1C9); -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 200% 100%; animation: sheen 8s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.btn--glow { box-shadow: 0 10px 30px -8px rgba(255,122,26,.65); }
.btn--glow:hover { box-shadow: 0 14px 36px -8px rgba(255,122,26,.8); transform: translateY(-1px); }
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats b { display: block; font: 700 1.75rem/1.1 var(--font-display); color: var(--white); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 14px; }
.hero .hero-steps { position: relative; z-index: 1; margin-top: 56px; justify-content: center; }

/* Hero mock: depth, float chips, animated chart */
.mock-wrap { position: relative; perspective: 1400px; padding: 28px 0; }
.mock { transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); transition: transform .4s ease-out; box-shadow: 0 50px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.mock-chart i { transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.mock-chart i:nth-child(2) { animation-delay: .08s } .mock-chart i:nth-child(3) { animation-delay: .16s } .mock-chart i:nth-child(4) { animation-delay: .24s }
.mock-chart i:nth-child(5) { animation-delay: .32s } .mock-chart i:nth-child(6) { animation-delay: .4s } .mock-chart i:nth-child(7) { animation-delay: .48s }
@keyframes grow { from { transform: scaleY(0); } }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); animation: bob 6s ease-in-out infinite; white-space: nowrap;
}
.float-chip b { display: block; font: 600 13.5px var(--font-display); color: var(--navy); }
.float-chip small { display: block; font-size: 12px; color: var(--graphite); }
.fc-ic { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--mist); color: var(--teal-deep); flex: none; }
.fc-ok { background: #FFE9D9; color: #C2410C; }
.fc-1 { top: 36%; left: -44px; }
.fc-2 { bottom: 0; right: 18%; animation-delay: -2s; }
.fc-3 { top: -4px; right: -16px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .fc-1 { left: -8px; } .fc-3 { right: -8px; } }
@media (max-width: 640px) { .fc-1, .fc-3 { display: none; } .fc-2 { right: 8px; bottom: 0; } .mock { transform: none; } }

/* Marquee */
.marquee { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; padding-block: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 44px; list-style: none; margin: 0; padding: 0 22px; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--font-display); color: var(--slate); white-space: nowrap; }
.marquee li svg { width: 20px; height: 20px; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust { background: var(--cloud); }

/* Section heads get the saffron signal line */
.section-head h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--saffron); margin-top: 18px; }
.section-head--center h2::after { margin-inline: auto; }
.section--cloud { background-image: radial-gradient(rgba(11,31,58,.07) 1px, transparent 1.2px); background-size: 24px 24px; }

/* Cards lift */
.card, .product { transition: border-color .2s, box-shadow .25s, transform .25s; }
a.card:hover, .card--hover:hover, .product:hover, .quote-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px rgba(11,31,58,.28); }

/* Product headers: per-category gradients with a mini UI */
.product-top { height: 150px; align-items: flex-start; padding: 20px; }
.product-top .discount { position: absolute; left: 20px; bottom: 16px; }
.discount--quote { background: rgba(255,255,255,.16); color: var(--white); }
.pt-ui {
  position: absolute; right: 22px; top: 26px; width: 46%; height: 98px; z-index: 1;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px;
  display: grid; gap: 7px; align-content: start; transition: transform .3s;
}
.pt-ui i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); width: 80%; }
.pt-ui i.pt-h { width: 50%; background: rgba(255,255,255,.75); }
.pt-ui i.pt-s { width: 60%; }
.pt-ui span { display: flex; align-items: flex-end; gap: 5px; height: 30px; margin-top: 2px; }
.pt-ui em { flex: 1; background: rgba(63,193,201,.7); border-radius: 2px 2px 0 0; }
.pt-ui em.pt-hi { background: var(--saffron); }
.product:hover .pt-ui { transform: translateY(-4px) rotate(-1.5deg); }
.pt-ecommerce  { background: radial-gradient(circle at 90% 120%, rgba(255,122,26,.35), transparent 45%), linear-gradient(135deg, #0B1F3A, #0E7C86); }
.pt-retail     { background: radial-gradient(circle at 10% 0%, rgba(63,193,201,.35), transparent 45%), linear-gradient(135deg, #0B1F3A, #33435A); }
.pt-healthcare { background: radial-gradient(circle at 90% 0%, rgba(217,239,241,.3), transparent 45%), linear-gradient(135deg, #085158, #0E7C86); }
.pt-education  { background: radial-gradient(circle at 80% 120%, rgba(255,122,26,.3), transparent 45%), linear-gradient(135deg, #102A4C, #085158); }
.pt-salon      { background: radial-gradient(circle at 15% 110%, rgba(255,122,26,.4), transparent 45%), linear-gradient(135deg, #0B1F3A, #085158); }
.pt-business   { background: radial-gradient(circle at 90% 0%, rgba(63,193,201,.35), transparent 45%), linear-gradient(135deg, #33435A, #0B1F3A); }
.pt-travel     { background: radial-gradient(circle at 20% 0%, rgba(255,179,107,.35), transparent 45%), linear-gradient(135deg, #0E7C86, #0B1F3A); }

/* Industries: icon fills and arrow slides in */
.industry { position: relative; padding-right: 44px; }
.industry .icon-badge { transition: background .2s, color .2s; }
.industry:hover .icon-badge { background: var(--teal); color: var(--white); }
.ind-arrow { position: absolute; right: 18px; top: 24px; color: var(--teal); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.ind-arrow svg { width: 18px; height: 18px; }
.industry:hover .ind-arrow { opacity: 1; transform: none; }

/* Process: gradient connecting line, glowing navy sections */
.steps::before { background: linear-gradient(90deg, rgba(63,193,201,.15), var(--teal-bright), rgba(255,122,26,.8)); }
@media (max-width: 960px) { .steps::before { background: linear-gradient(180deg, rgba(63,193,201,.15), var(--teal-bright), rgba(255,122,26,.8)); } }
.section--navy { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 0% 0%, rgba(14,124,134,.35), transparent 60%), var(--navy); }
.step-num { box-shadow: 0 0 0 6px var(--navy); }

/* Service cards: gradient icon square and top accent on hover */
.icon-square {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); box-shadow: 0 10px 24px -10px rgba(14,124,134,.8);
}
.icon-square svg { width: 24px; height: 24px; }
.card--service { position: relative; overflow: hidden; }
.card--service::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--teal), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card--service:hover::before { transform: scaleX(1); }

/* Code card window chrome + caret */
.code-card { position: relative; padding-top: 48px; background: linear-gradient(180deg, #0F1726, #0A0F1A); border: 1px solid #1E2A3D; }
.code-card::before { content: ""; position: absolute; top: 18px; left: 20px; width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; box-shadow: 16px 0 0 #FEBC2E, 32px 0 0 #28C840; }
.code-card::after { content: ""; display: inline-block; width: 8px; height: 16px; background: var(--teal-bright); vertical-align: -3px; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Testimonials */
.quote-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stars5 { display: inline-flex; gap: 2px; color: var(--saffron); }
.stars5 svg { width: 17px; height: 17px; }
.quote-card { position: relative; overflow: hidden; }
.quote-card::after { content: "\201C"; position: absolute; right: 18px; bottom: -60px; font: 700 160px/1 var(--font-display); color: var(--mist); z-index: 0; pointer-events: none; }
.quote-card > * { position: relative; z-index: 1; }
.avatar { background: linear-gradient(135deg, var(--navy), var(--teal)); }

/* FAQ hover */
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details:hover, .faq details[open] { border-color: var(--teal); box-shadow: 0 10px 30px -18px rgba(11,31,58,.35); }

/* CTA band */
.cta-band { background: radial-gradient(600px 300px at 100% 100%, rgba(255,122,26,.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--teal-deep)); box-shadow: 0 40px 80px -30px rgba(11,31,58,.6); }
.cta-band > div { position: relative; z-index: 1; }

/* Staggered reveal */
.js .reveal.is-pending { transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  .mock { transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   v3 motion layer: animated logo, draggable mark, intro, micro-interactions
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Animated logo: ring draws in, core pops, teal dot launches then orbits.
   Every movement ends with the opening facing right, as the brand book requires. */
.logo-ring { stroke-dasharray: 100; animation: ring-draw 1.2s cubic-bezier(.65,0,.35,1) .1s both; transform-box: view-box; transform-origin: 32px 32px; }
.logo-core { transform-box: fill-box; transform-origin: center; animation: core-pop .55s cubic-bezier(.34,1.56,.64,1) .85s both, core-pulse 3.2s ease-in-out 2.2s infinite; }
.logo-orbit { transform-box: view-box; transform-origin: 32px 32px; animation: dot-launch .7s cubic-bezier(.2,.8,.2,1) 1.15s both, dot-orbit 10s cubic-bezier(.65,0,.35,1) 4s infinite; }
.logo-word, .logo-sub { animation: word-in .8s cubic-bezier(.2,.8,.2,1) .45s both; }
.logo-sub { animation-delay: .65s; }
@keyframes ring-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes core-pop { from { transform: scale(0); } }
@keyframes core-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes dot-launch { from { transform: translateX(-27px); opacity: 0; } }
@keyframes dot-orbit { 0%, 78% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes word-in { from { opacity: 0; transform: translateX(-10px); } }
@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes dot-spin { to { transform: rotate(360deg); } }
.brand:hover .logo-ring { animation: ring-spin .9s cubic-bezier(.65,0,.35,1); }
.brand:hover .logo-orbit { animation: dot-spin .9s cubic-bezier(.65,0,.35,1); }

/* Draggable hero mark */
.hero-mark {
  position: absolute; z-index: 3; right: 13%; bottom: 40px; width: 110px; height: 110px;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transform: translate(calc(var(--dx, 0px) + var(--px, 0px)), calc(var(--dy, 0px) + var(--py, 0px))) rotate(var(--rot, 0deg));
  transition: transform .9s cubic-bezier(.34,1.56,.64,1); filter: drop-shadow(0 18px 30px rgba(0,0,0,.4));
}
.hero-mark svg { width: 100%; height: 100%; display: block; animation: mark-float 7s ease-in-out infinite; }
.hero-mark.is-dragging { cursor: grabbing; transition: none; }
.hero-mark .mark-orbit { animation: dot-launch .7s cubic-bezier(.2,.8,.2,1) 1.15s both, dot-spin 6s linear 2s infinite; }
.mark-hint {
  position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap;
  font: 600 12px var(--font-body); color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px; border-radius: 999px; transition: opacity .3s; animation: hint-bob 2.4s ease-in-out infinite;
}
.hero-mark.was-dragged .mark-hint { opacity: 0; }
@keyframes mark-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }
@keyframes hint-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
@media (max-width: 1100px) { .hero-mark { display: none; } }

/* Intro splash (added by JS once per visit) */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); display: flex; align-items: center; justify-content: center;
  transition: transform .8s cubic-bezier(.76,0,.24,1), opacity .8s; cursor: pointer;
}
.intro svg { width: min(360px, 70vw); height: auto; }
.intro .logo-word { fill: var(--white); }
.intro .logo-ring { stroke: var(--white); }
.intro .logo-sub { fill: var(--on-navy); }
.intro .logo-dot2 { fill: var(--teal-bright); }
.intro.is-done { transform: translateY(-100%); }

/* Scroll progress */
.scroll-progress {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, var(--teal-bright), var(--saffron)); transform-origin: left; transform: scaleX(0);
}

/* Hero entrance */
.hero-copy > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; } .hero-copy > :nth-child(2) { animation-delay: .2s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; } .hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .5s; }
.mock-wrap { animation: slide-in 1.1s cubic-bezier(.2,.8,.2,1) .25s both; }
.float-chip { animation: chip-in .6s cubic-bezier(.34,1.56,.64,1) both, bob 6s ease-in-out infinite; }
.fc-1 { animation-delay: 1s, 1.6s; } .fc-2 { animation-delay: 1.3s, -2s; } .fc-3 { animation-delay: 1.6s, -4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(60px); } }
@keyframes chip-in { from { opacity: 0; transform: scale(.6); } }

/* Rotating word in the headline */
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1); }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-70%); }

/* Button shine */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-130%);
}
.btn--primary:hover::after { transform: translateX(130%); transition: transform .75s ease; }
.btn--glow::after { animation: shine 4.5s ease-in-out 2.5s infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* Cursor spotlight on cards */
.card, .product { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(14,124,134,.10), transparent 45%); }
.section--navy .card { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(63,193,201,.16), transparent 45%); }

/* Icons wiggle on hover */
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.card:hover .icon-badge svg, .card:hover .icon-square svg, .product:hover .product-top .icon-badge svg, .trust-item:hover svg { animation: wiggle .5s ease-in-out; }

/* Process: line draws and numbers pop when the section scrolls into view */
.js .steps::before { transition: transform 1.6s cubic-bezier(.65,0,.35,1) .2s; transform-origin: left; }
.js .steps:not(.in-view)::before { transform: scaleX(0); }
.js .step-num { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.js .steps:not(.in-view) .step-num { transform: scale(0); }
.steps .step:nth-child(2) .step-num { transition-delay: .35s; } .steps .step:nth-child(3) .step-num { transition-delay: .65s; }
.steps .step:nth-child(4) .step-num { transition-delay: .95s; } .steps .step:nth-child(5) .step-num { transition-delay: 1.25s; }
@media (max-width: 960px) { .js .steps::before { transform-origin: top; } .js .steps:not(.in-view)::before { transform: scaleY(0); } }

/* Code card: keeps line breaks; lines type in when visible */
.code-card { white-space: pre; }
.code-card .ln { display: block; min-height: 1.75em; }
.js .code-card .ln { opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * 110ms); }
.js .code-card.in-view .ln { opacity: 1; transform: none; }

/* Marquee icons bounce on hover, chips glow */
.marquee li { transition: color .2s; }
.marquee li:hover { color: var(--navy); }
.marquee li:hover svg { animation: wiggle .5s; }
.hero-steps span { transition: background .2s, border-color .2s; }
.hero-steps span:hover { background: rgba(63,193,201,.15); border-color: var(--teal-bright); }

/* WhatsApp button: attention ring */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring-out 2.6s ease-out infinite; }
@keyframes ring-out { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .code-card .ln, .js .steps:not(.in-view) .step-num { opacity: 1; transform: none; }
  .js .steps:not(.in-view)::before { transform: none; }
  .rotator > span:not(.on) { display: none; }
  .hero-mark { transition: none; }
}

/* ==========================================================================
   v4 motion layer: live hero, moving testimonials, tilt, transitions
   ========================================================================== */

/* Particle network behind the hero */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }

/* Live dashboard values */
.mock-stats b { transition: color .3s; }
.mock-stats b.bump { animation: bump .6s ease; }
@keyframes bump { 30% { color: var(--teal); transform: translateY(-3px); } }
.mock-chart i { transition: height .8s cubic-bezier(.2,.8,.2,1), background .4s; }
.float-chip.fc-1.ping { animation: chip-ping .7s cubic-bezier(.34,1.56,.64,1), bob 6s ease-in-out infinite; }
@keyframes chip-ping { 0% { transform: scale(1); } 40% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255,122,26,.35), 0 18px 40px -12px rgba(0,0,0,.45); } 100% { transform: scale(1); } }

/* Testimonials: two rows sliding in opposite directions */
.t-rows { display: grid; gap: 20px; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.t-row { overflow: hidden; }
.t-track { display: flex; width: max-content; animation: t-scroll 70s linear infinite; }
.t-row--rev .t-track { animation-direction: reverse; animation-duration: 80s; }
.t-rows:hover .t-track { animation-play-state: paused; }
.t-set { display: flex; gap: 20px; padding-right: 20px; }
.t-set .quote-card { width: 380px; flex: none; }
@keyframes t-scroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .t-set .quote-card { width: 300px; } }

/* Section headings: words slide up, underline grows */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--w) * 60ms); }
.section-head h2::after { transition: transform .9s cubic-bezier(.65,0,.35,1) .3s; transform-origin: left; }
.section-head--center h2::after { transform-origin: center; }
.section-head.anim-pending .split-word > span { transform: translateY(105%); }
.section-head.anim-pending h2::after { transform: scaleX(0); }
.section-head .eyebrow { transition: opacity .6s, letter-spacing .8s; }
.section-head.anim-pending .eyebrow { opacity: 0; letter-spacing: .4em; }

/* Product cards tilt toward the cursor */
.products { perspective: 1200px; }
.product { transform-style: preserve-3d; }
.product.is-tilting { transition: border-color .2s, box-shadow .25s, transform .1s linear; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px); }
.product.pop { animation: pop-in .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* Industry icons float gently */
.industry .icon-badge { animation: idle-float 4s ease-in-out infinite; }
.industry:nth-child(even) .icon-badge { animation-delay: -2s; }
.industry:nth-child(3n) .icon-badge { animation-delay: -1s; }
@keyframes idle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Magnetic buttons */
.btn.is-magnetic { transition: transform .15s ease-out, background .15s, box-shadow .15s; }

/* CTA band: moving gradient */
.cta-band { background-size: 100% 100%, 220% 220%; animation: grad-move 12s ease-in-out infinite alternate; }
@keyframes grad-move { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }

/* FAQ answers slide open */
.faq details[open] p { animation: faq-in .4s cubic-bezier(.2,.8,.2,1); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* Page transitions */
body { animation: page-in .5s ease both; }
body.is-leaving { opacity: 0; transition: opacity .22s ease; }
@keyframes page-in { from { opacity: 0; } }

/* Trust items slide in on load */
.trust-item { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.trust-item:nth-child(2) { animation-delay: .1s; } .trust-item:nth-child(3) { animation-delay: .2s; } .trust-item:nth-child(4) { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-net { display: none; }
  .t-row { overflow-x: auto; }
  .section-head.anim-pending .split-word > span, .section-head.anim-pending h2::after { transform: none; }
  .section-head.anim-pending .eyebrow { opacity: 1; letter-spacing: .14em; }
  body.is-leaving { opacity: 1; }
}
