/* ============================================================
   OKOMMERCE — Marketing site styles
   Display: Sora · Body: Hanken Grotesk
   ============================================================ */

:root {
  /* Brand */
  --blue: #1F77C0;
  --blue-bright: #2E93E6;
  --blue-700: #185f9a;
  --orange: #F2641E;
  --orange-soft: #ff7a38;
  --charcoal: #14181B;
  --mist: #F5F7FA;
  --navy: #0B1822;
  --navy-2: #0E2233;
  --white: #ffffff;

  /* Neutrals */
  --ink: #14181B;
  --ink-2: #3a4248;
  --ink-3: #5b656d;
  --line: #e4e9ef;
  --line-soft: #eef2f6;

  /* Dark section text */
  --d-fg: #eef4fa;
  --d-fg-2: #9fb3c4;
  --d-line: rgba(255,255,255,0.10);
  --d-card: rgba(255,255,255,0.04);
  --d-card-2: rgba(255,255,255,0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20,24,27,.06), 0 4px 14px rgba(20,24,27,.05);
  --shadow-md: 0 10px 30px rgba(20,24,27,.10), 0 2px 8px rgba(20,24,27,.06);
  --shadow-lg: 0 30px 70px rgba(11,24,34,.28);

  --maxw: 1480px;
  --gutter: 48px;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* icon default sizing (injected inline SVGs) */
svg { display: block; }
.pillar__ic svg, .fcard__ic svg, .ptype__ic svg, .icard__ic svg,
.agent__ic svg, .ed__list .ck svg, .anchor svg { width: 24px; height: 24px; }
.mod__ic svg { width: 18px; height: 18px; }
.agz__ic svg, .wa__num svg, .step__n svg { width: 20px; height: 20px; }
.chip-fraud .ic svg { width: 18px; height: 18px; }
.link-arrow svg, .btn svg { width: 17px; height: 17px; }
.ck svg { width: 18px; height: 18px; }
.hero__arrow svg { width: 18px; height: 18px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 74px 0; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow.center { justify-content: center; }
.dark .eyebrow { color: var(--blue-bright); }

.h-sec { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-3); max-width: 620px; line-height: 1.55; }
.dark .lead { color: var(--d-fg-2); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head .h-sec { margin-bottom: 18px; }
.amp { color: var(--orange); }
.blue-ink { color: var(--blue); }

/* Dark backdrop treatment */
.dark { background: var(--navy); color: var(--d-fg); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.bg-mist { background: var(--mist); }
.mesh {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 12% -10%, rgba(46,147,230,.20), transparent 60%),
    radial-gradient(900px 600px at 95% 8%, rgba(242,100,30,.12), transparent 55%),
    radial-gradient(1000px 700px at 70% 120%, rgba(31,119,192,.20), transparent 60%),
    var(--navy);
}
.grid-lines::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.grain::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: overlay; pointer-events: none; z-index: 0;
}
.mesh > .wrap { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: #fff; --bd: var(--charcoal);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(3px); }
.btn-orange { --bg: var(--orange); --fg: #fff; --bd: var(--orange); }
.btn-orange:hover { --bg: #e1571a; box-shadow: 0 12px 28px rgba(242,100,30,.34); }
.btn-blue { --bg: var(--blue); --fg:#fff; --bd: var(--blue); }
.btn-blue:hover { --bg: var(--blue-700); }
.btn-ghost { --bg: transparent; --fg: var(--charcoal); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--charcoal); }
.btn-light { --bg: #fff; --fg: var(--charcoal); --bd:#fff; }
.btn-outline-d { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn-outline-d:hover { --bd: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }

.link-arrow { display:inline-flex; align-items:center; gap:7px; font-weight:700; color: var(--blue); }
.dark .link-arrow { color: var(--blue-bright); }
.link-arrow .ar { transition: transform .2s; }
.link-arrow:hover .ar { transform: translateX(4px); }

/* ---------- Pills / badges ---------- */
.pill { display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:13px;
  padding:6px 12px; border-radius:999px; background: var(--line-soft); color: var(--ink-2); }
.pill .dot { width:7px; height:7px; border-radius:50%; background: var(--orange); }
.dark .pill { background: var(--d-card-2); color: var(--d-fg-2); border:1px solid var(--d-line); }
.badge-ee { font-family: var(--font-body); font-weight:800; font-size:11px; letter-spacing:.06em;
  padding:3px 7px; border-radius:6px; background: var(--orange); color:#fff; }
.badge-ce { font-weight:800; font-size:11px; letter-spacing:.06em; padding:3px 7px; border-radius:6px;
  background: rgba(31,119,192,.12); color: var(--blue); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(20,24,27,.04), 0 8px 24px rgba(20,24,27,.05); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: 14px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--orange); transition: right .25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav__burger span { display:block; width:22px; height:2px; background: var(--ink); margin:4px 0; border-radius:2px; transition:.25s; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero { min-height: 760px; display: flex; align-items: center; padding: 96px 0 84px; }
.hero__track { position: relative; }
.banner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.banner.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.banner__eye { margin-bottom: 22px; }
.banner__h { font-size: clamp(40px, 5.4vw, 70px); letter-spacing: -0.035em; color: #fff; line-height: 1.0; }
.banner__h .grad { background: linear-gradient(100deg, var(--blue-bright), #7cc0ff); -webkit-background-clip: text; background-clip:text; color: transparent; }
.banner__h .o { color: var(--orange-soft); }
.banner__sub { margin: 24px 0 0; font-size: clamp(17px,1.55vw,20px); color: var(--d-fg-2); max-width: 540px; line-height: 1.55; }
.banner__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.banner__meta { display:flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.banner__meta .m { display:flex; flex-direction:column; gap:2px; }
.banner__meta .m b { font-family: var(--font-display); font-size: 22px; color:#fff; font-weight:700; letter-spacing:-0.02em; }
.banner__meta .m span { font-size: 13px; color: var(--d-fg-2); }
.banner__meta .m + .m { padding-left: 26px; border-left: 1px solid var(--d-line); }

/* hero controls */
.hero__ctrl { display:flex; align-items:center; gap: 18px; margin-top: 54px; }
.hero__dots { display:flex; gap: 10px; }
.hero__dot { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); border:none; cursor:pointer; padding:0; overflow:hidden; position:relative; }
.hero__dot .fill { position:absolute; inset:0; width:0; background: var(--orange); border-radius:4px; }
.hero__dot.active .fill { width:100%; transition: width 6s linear; }
.hero__arrows { display:flex; gap:8px; margin-left: 6px; }
.hero__arrow { width:42px; height:42px; border-radius:50%; border:1px solid var(--d-line); background: var(--d-card);
  color:#fff; cursor:pointer; display:grid; place-items:center; transition:.2s; }
.hero__arrow:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

/* hero visual panels */
.viz { position: relative; }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12); border-radius: 22px; backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px rgba(0,0,0,.4); padding: 22px; }
.viz-float { position:absolute; }
@keyframes floaty { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-9px)} }
.float-anim { animation: floaty 5s ease-in-out infinite; }

/* dashboard viz */
.dash__top { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.dash__title { font-weight:700; color:#fff; font-size:15px; display:flex; align-items:center; gap:9px; }
.dash__dot { width:9px;height:9px;border-radius:50%; background: #36d27a; box-shadow:0 0 0 4px rgba(54,210,122,.18); }
.dash__stats { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.stat { background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:14px; }
.stat .k { font-size:11.5px; color: var(--d-fg-2); letter-spacing:.04em; text-transform:uppercase; font-weight:600; }
.stat .v { font-family: var(--font-display); font-size: 24px; color:#fff; font-weight:700; margin-top:6px; letter-spacing:-0.02em; }
.stat .delta { font-size:12px; color:#36d27a; font-weight:700; margin-top:2px; }
.bars { display:flex; align-items:flex-end; gap:7px; height:74px; margin-top:18px; padding:0 2px; }
.bars .bar { flex:1; background: linear-gradient(var(--blue-bright), rgba(46,147,230,.25)); border-radius:5px 5px 2px 2px; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.bars .bar.hot { background: linear-gradient(var(--orange-soft), rgba(242,100,30,.3)); }
.chip-fraud { display:inline-flex; align-items:center; gap:9px; background: rgba(54,210,122,.12);
  border:1px solid rgba(54,210,122,.3); color:#67e89c; font-weight:700; font-size:13px; padding:9px 13px; border-radius:11px; }
.chip-fraud .ic { width:18px;height:18px; }
.pill-orders { position:absolute; right:-14px; top:-18px; background: var(--orange); color:#fff; font-weight:800;
  font-size:13px; padding:10px 15px; border-radius:13px; box-shadow: 0 16px 34px rgba(242,100,30,.4); }

/* agents viz */
.agz { display:flex; flex-direction:column; gap:11px; }
.agz__row { display:flex; align-items:center; gap:13px; background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08); border-radius:13px; padding:13px 15px; }
.agz__ic { width:38px;height:38px; border-radius:10px; display:grid; place-items:center; flex:none;
  background: rgba(46,147,230,.16); color: var(--blue-bright); }
.agz__ic.o { background: rgba(242,100,30,.16); color: var(--orange-soft); }
.agz__ic.g { background: rgba(54,210,122,.16); color:#5fe39a; }
.agz__nm { font-weight:700; color:#fff; font-size:14.5px; }
.agz__st { font-size:12.5px; color: var(--d-fg-2); }
.agz__thr { margin-left:auto; text-align:right; }
.agz__thr b { font-family:var(--font-display); color:#fff; font-size:15px; }
.agz__thr span { display:block; font-size:11px; color: var(--d-fg-2); }
.agz__live { width:7px;height:7px;border-radius:50%; background:#36d27a; box-shadow:0 0 0 0 rgba(54,210,122,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(54,210,122,.5)} 70%{ box-shadow:0 0 0 7px rgba(54,210,122,0)} 100%{ box-shadow:0 0 0 0 rgba(54,210,122,0)} }

/* compliance checklist viz */
.chk { display:flex; flex-direction:column; gap:12px; }
.chk__row { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:13px;
  background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); }
.chk__tick { width:26px;height:26px;border-radius:50%; background:#36d27a; color:#06301a; display:grid; place-items:center; flex:none; font-weight:900; }
.chk__nm { font-weight:700; color:#fff; font-size:15px; }
.chk__sub { font-size:12.5px; color: var(--d-fg-2); }
.chk__tag { margin-left:auto; font-size:11px; font-weight:800; letter-spacing:.05em; color:#67e89c; padding:4px 9px; border-radius:7px; background: rgba(54,210,122,.12); }

/* terminal viz */
.term { background: #0a141d; border:1px solid rgba(255,255,255,.1); border-radius:16px; overflow:hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.term__bar { display:flex; align-items:center; gap:7px; padding:13px 16px; background: rgba(255,255,255,.03); border-bottom:1px solid rgba(255,255,255,.07); }
.term__bar i { width:11px;height:11px;border-radius:50%; display:block; }
.term__bar .r{ background:#ff5f57 } .term__bar .y{ background:#febc2e } .term__bar .g{ background:#28c840 }
.term__bar span { margin-left:8px; font-size:12.5px; color: var(--d-fg-2); font-family: ui-monospace, monospace; }
.term__body { padding:18px 18px 22px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size:13.5px; line-height:1.9; }
.term__body .l { white-space:pre-wrap; }
.term .pr { color:#5fe39a; } .term .cmd { color:#fff; } .term .mut { color:#7e93a3; } .term .ok { color:#67e89c; } .term .bl { color: var(--blue-bright); }
.term .cursor { display:inline-block; width:8px; height:16px; background: var(--orange); vertical-align:-2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50%{ opacity:0 } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { padding: 30px 0; border-top:1px solid var(--d-line); border-bottom:1px solid var(--d-line); }
.trust__in { display:flex; align-items:center; gap: 34px; flex-wrap:wrap; }
.trust__lbl { font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--d-fg-2); white-space:nowrap; }
.trust__logos { display:flex; align-items:center; gap: 34px; flex-wrap:wrap; flex:1; }
.trust__logo { font-family: var(--font-display); font-weight:700; font-size:18px; color:#fff; opacity:.62; letter-spacing:-0.02em; transition:opacity .2s; }
.trust__logo:hover { opacity:1; }
.trust__more { font-size:13px; color: var(--d-fg-2); font-weight:600; }

/* ============================================================
   AGENTIC BAND
   ============================================================ */
.pillars { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 8px; }
.pillar { padding: 30px; border-radius: var(--radius); border:1px solid var(--line); background:#fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar__ic { width:50px;height:50px;border-radius:13px; display:grid; place-items:center; margin-bottom:18px;
  background: linear-gradient(150deg, rgba(31,119,192,.12), rgba(31,119,192,.04)); color: var(--blue); }
.pillar__ic.o { background: linear-gradient(150deg, rgba(242,100,30,.12), rgba(242,100,30,.04)); color: var(--orange); }
.pillar h3 { font-size: 21px; margin-bottom: 9px; }
.pillar p { color: var(--ink-3); font-size: 15.5px; }

/* ============================================================
   EDITIONS
   ============================================================ */
.editions { display:grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.ed { position:relative; border-radius: var(--radius-lg); padding: 38px; border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; }
.ed--ent { background: linear-gradient(170deg, #0e2233, #0b1822); border-color: transparent; color: var(--d-fg); box-shadow: var(--shadow-lg); }
.ed--ent h3, .ed--ent .ed__price b { color:#fff; }
.ed__ribbon { position:absolute; top:22px; right:22px; background: var(--orange); color:#fff; font-weight:800; font-size:12px; letter-spacing:.05em; padding:7px 13px; border-radius:999px; }
.ed__tag { font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color: var(--blue); }
.ed--ent .ed__tag { color: var(--blue-bright); }
.ed h3 { font-size: 30px; margin: 12px 0 6px; }
.ed__price { display:flex; align-items:baseline; gap:8px; margin: 14px 0 4px; flex-wrap:wrap; }
.ed__price b { font-family: var(--font-display); font-size: 42px; color: var(--ink); letter-spacing:-0.03em; }
.ed__price .per { color: var(--ink-3); font-size:15px; }
.ed--ent .ed__price .per { color: var(--d-fg-2); }
.ed__note { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.ed--ent .ed__note { color: var(--d-fg-2); }
.ed__list { list-style:none; padding:0; margin: 24px 0 28px; display:flex; flex-direction:column; gap: 12px; }
.ed__list li { display:flex; gap:11px; align-items:flex-start; font-size: 15px; }
.ed__list .ck { color: var(--blue); flex:none; margin-top:2px; }
.ed--ent .ed__list .ck { color: var(--orange-soft); }
.ed__cta { margin-top:auto; }
.ed__cta .btn { width:100%; justify-content:center; }
.ed__div { height:1px; background: var(--line); margin: 4px 0; }
.ed--ent .ed__div { background: var(--d-line); }

/* ============================================================
   GCC FEATURE CARDS
   ============================================================ */
.cards3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.fcard { padding: 28px; border-radius: var(--radius); border:1px solid var(--line); background:#fff; transition: transform .25s, box-shadow .25s; position:relative; overflow:hidden; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fcard__ic { width:46px;height:46px;border-radius:12px; display:grid; place-items:center; margin-bottom:16px; background: var(--mist); color: var(--blue); }
.fcard h3 { font-size: 19px; margin-bottom: 8px; }
.fcard p { color: var(--ink-3); font-size: 15px; }
.fcard__flag { position:absolute; top:24px; right:24px; font-size:20px; opacity:.5; }

/* ============================================================
   PRODUCT TYPES (dark)
   ============================================================ */
.ptypes { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ptype { padding: 28px; border-radius: var(--radius); background: var(--d-card); border:1px solid var(--d-line); transition:.25s; position:relative; }
.ptype:hover { background: var(--d-card-2); transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.ptype__ic { width:48px;height:48px;border-radius:12px; display:grid; place-items:center; margin-bottom:18px; background: rgba(46,147,230,.14); color: var(--blue-bright); }
.ptype--ee .ptype__ic { background: rgba(242,100,30,.16); color: var(--orange-soft); }
.ptype h3 { font-size: 20px; color:#fff; margin-bottom:8px; display:flex; align-items:center; gap:10px; }
.ptype p { color: var(--d-fg-2); font-size: 14.5px; }
.ptype__edge { position:absolute; top:24px; right:24px; }
.tag-ce { font-size:11px; font-weight:800; letter-spacing:.05em; padding:4px 8px; border-radius:7px; background: rgba(46,147,230,.16); color: var(--blue-bright); }
.tag-ee { font-size:11px; font-weight:800; letter-spacing:.05em; padding:4px 8px; border-radius:7px; background: var(--orange); color:#fff; }

/* ============================================================
   MODULES GRID
   ============================================================ */
.mod-legend { display:flex; gap: 20px; align-items:center; flex-wrap:wrap; margin-bottom: 36px; }
.mod-legend .lg { display:flex; align-items:center; gap:9px; font-size:14px; color: var(--ink-3); font-weight:600; }
.mod-legend .sw { width:14px;height:14px;border-radius:5px; }
.modules { display:grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mod { display:flex; align-items:center; gap: 12px; padding: 15px 16px; border-radius: 13px; border:1px solid var(--line); background:#fff; transition: transform .2s, box-shadow .2s, border-color .2s; position:relative; min-height: 64px; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(31,119,192,.4); }
.mod__ic { width:34px;height:34px;border-radius:9px; display:grid; place-items:center; flex:none; background: var(--mist); color: var(--blue); }
.mod--ee .mod__ic { background: rgba(242,100,30,.10); color: var(--orange); }
.mod__nm { font-size: 13.5px; font-weight:600; line-height:1.25; color: var(--ink); }
.mod__sub { font-size: 11.5px; color: var(--ink-3); }
.mod__ee { position:absolute; top:9px; right:9px; font-size:9.5px; font-weight:800; letter-spacing:.04em; color:#fff; background: var(--orange); padding:2px 5px; border-radius:5px; }
.mod__num { font-family: var(--font-display); font-size:11px; color: var(--ink-3); opacity:.5; font-weight:600; }

/* ============================================================
   AI AGENTS MOAT (dark)
   ============================================================ */
.agents { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.agent { padding: 26px; border-radius: var(--radius); background: var(--d-card); border:1px solid var(--d-line); transition:.25s; }
.agent:hover { transform: translateY(-5px); background: var(--d-card-2); border-color: rgba(255,255,255,.16); }
.agent__top { display:flex; justify-content:space-between; align-items:center; margin-bottom: 18px; }
.agent__ic { width:46px;height:46px;border-radius:12px; display:grid; place-items:center; background: rgba(46,147,230,.14); color: var(--blue-bright); }
.agent__ic.o { background: rgba(242,100,30,.16); color: var(--orange-soft); }
.agent__ic.g { background: rgba(54,210,122,.14); color:#5fe39a; }
.agent__edn { font-size:11px; font-weight:800; letter-spacing:.05em; padding:4px 8px; border-radius:6px; }
.edn-ce { background: rgba(46,147,230,.16); color: var(--blue-bright); }
.edn-ee { background: var(--orange); color:#fff; }
.agent h3 { color:#fff; font-size: 18px; margin-bottom: 7px; }
.agent p { color: var(--d-fg-2); font-size: 14px; min-height: 60px; }
.agent__thr { display:flex; align-items:center; gap:8px; margin-top: 14px; padding-top:14px; border-top:1px solid var(--d-line); font-size:13px; color: var(--d-fg-2); }
.agent__thr b { color:#fff; font-family: var(--font-display); }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.intg { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.icard { padding: 30px; border-radius: var(--radius); border:1px solid var(--line); background:#fff; }
.icard__top { display:flex; align-items:center; gap:14px; margin-bottom: 20px; }
.icard__ic { width:48px;height:48px;border-radius:12px; display:grid; place-items:center; background: var(--mist); color: var(--blue); flex:none; }
.icard h3 { font-size: 19px; }
.icard__n { font-size:13px; color: var(--ink-3); font-weight:600; }
.chips { display:flex; flex-wrap:wrap; gap: 9px; }
.chip { padding: 8px 13px; border-radius: 999px; background: var(--mist); border:1px solid var(--line); font-size: 13.5px; font-weight:600; color: var(--ink-2); transition:.2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.orange { background: rgba(242,100,30,.08); border-color: rgba(242,100,30,.25); color: var(--orange); }

/* ============================================================
   WHATSAPP COMMERCE
   ============================================================ */
.wa { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.wa__steps { list-style:none; padding:0; margin: 30px 0 0; display:flex; flex-direction:column; gap: 22px; }
.wa__steps li { display:flex; gap: 18px; }
.wa__num { width:40px;height:40px; border-radius:11px; flex:none; display:grid; place-items:center; font-family: var(--font-display); font-weight:700; background: rgba(31,119,192,.1); color: var(--blue); font-size:17px; }
.wa__steps h4 { font-size: 18px; margin-bottom:5px; }
.wa__steps p { color: var(--ink-3); font-size: 15px; }
.wa__phone-wrap { display:flex; justify-content:center; }
.phone { width: 320px; background:#0a1419; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); border:8px solid #05251f; position:relative; }
.phone__notch { position:absolute; top: 18px; left:50%; transform:translateX(-50%); width:120px; height:24px; background:#05251f; border-radius:0 0 16px 16px; z-index:3; }
.phone__screen { background: #e5ddd5; border-radius: 30px; overflow:hidden; height: 600px; display:flex; flex-direction:column;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='6' cy='6' r='1' fill='%23d6cdc2'/%3E%3C/svg%3E"); }
.wa__hd { background:#075e54; color:#fff; padding: 38px 16px 12px; display:flex; align-items:center; gap:11px; }
.wa__av { width:38px;height:38px;border-radius:50%; background:#25d366; display:grid; place-items:center; font-weight:800; color:#fff; flex:none; }
.wa__hd b { font-size:15px; display:block; }
.wa__hd span { font-size:11.5px; color: rgba(255,255,255,.7); }
.wa__chat { flex:1; padding: 14px 12px; display:flex; flex-direction:column; gap:9px; overflow:hidden; }
.bub { max-width: 80%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); position:relative; }
.bub.in { background:#fff; align-self:flex-start; border-top-left-radius:3px; color:#111; }
.bub.out { background:#dcf8c6; align-self:flex-end; border-top-right-radius:3px; color:#111; }
.bub .t { display:block; font-size:10px; color: rgba(0,0,0,.4); text-align:right; margin-top:3px; }
.bub.rtl { direction: rtl; text-align: right; font-size:14.5px; }
.wa__pcard { background:#fff; border-radius:12px; padding:10px; align-self:flex-start; max-width: 84%; box-shadow:0 1px 2px rgba(0,0,0,.12); }
.wa__pcard .img { height:90px; border-radius:8px; background: linear-gradient(135deg,#1F77C0,#2E93E6); display:grid; place-items:center; color:#fff; font-weight:700; font-size:13px; margin-bottom:8px; }
.wa__pcard .nm { font-weight:700; font-size:13px; color:#111; }
.wa__pcard .pr { color:#075e54; font-weight:800; font-size:14px; }
.wa__pcard .buy { margin-top:8px; background:#25d366; color:#fff; text-align:center; padding:7px; border-radius:8px; font-weight:700; font-size:12.5px; }
.wa__bot-tag { display:inline-flex; align-items:center; gap:5px; font-size:9.5px; font-weight:700; color:#075e54; background: rgba(37,211,102,.14); padding:2px 6px; border-radius:5px; margin-bottom:4px; }

/* ============================================================
   PRICING VALUE CASE (dark)
   ============================================================ */
.anchors { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 50px; }
.anchor { padding: 26px; border-radius: var(--radius); background: var(--d-card); border:1px solid var(--d-line); }
.anchor--win { background: linear-gradient(170deg, rgba(242,100,30,.16), rgba(31,119,192,.10)); border-color: rgba(242,100,30,.4); box-shadow: 0 24px 50px rgba(242,100,30,.16); }
.anchor__nm { font-weight:700; color:#fff; font-size:16px; margin-bottom:4px; }
.anchor__cat { font-size:12px; color: var(--d-fg-2); text-transform:uppercase; letter-spacing:.08em; font-weight:600; }
.anchor__price { font-family: var(--font-display); font-size: 26px; color:#fff; font-weight:700; margin:16px 0 4px; letter-spacing:-0.02em; }
.anchor__price small { font-size:14px; color: var(--d-fg-2); font-weight:500; }
.anchor__note { font-size:12.5px; color: var(--d-fg-2); line-height:1.45; }
.anchor--win .anchor__note { color: #ffd9c4; }

.cmp { width:100%; border-collapse: collapse; background: var(--d-card); border-radius: var(--radius); overflow:hidden; border:1px solid var(--d-line); }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp th, .cmp td { padding: 16px 18px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--d-line); }
.cmp thead th { font-family: var(--font-display); font-weight:700; color:#fff; font-size:14px; }
.cmp thead .ok-col { color: var(--orange-soft); }
.cmp tbody th { font-weight:600; color: var(--d-fg); }
.cmp td { text-align:center; color: var(--d-fg-2); }
.cmp .ok-col { background: rgba(242,100,30,.07); color:#fff; font-weight:700; }
.cmp tbody tr:hover { background: rgba(255,255,255,.02); }
.cmp tbody tr:hover .ok-col { background: rgba(242,100,30,.1); }
.yes { color:#5fe39a; font-weight:800; }
.no { color:#7e93a3; }
.cmp__note { font-size:12.5px; color: var(--d-fg-2); margin-top:14px; }

.sla { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 36px; }
.sla__c { padding: 24px; border-radius: var(--radius); background: var(--d-card); border:1px solid var(--d-line); text-align:center; }
.sla__v { font-family: var(--font-display); font-size: 30px; color:#fff; font-weight:700; letter-spacing:-0.02em; }
.sla__v.o { color: var(--orange-soft); }
.sla__l { font-size: 13.5px; color: var(--d-fg-2); margin-top:6px; }

/* ============================================================
   OPEN SOURCE (dark)
   ============================================================ */
.os__stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 44px; }
.os__t { padding: 26px; border-radius: var(--radius); background: var(--d-card); border:1px solid var(--d-line); text-align:center; }
.os__t b { font-family: var(--font-display); font-size: 30px; color:#fff; display:block; letter-spacing:-0.02em; }
.os__t span { font-size: 13.5px; color: var(--d-fg-2); }

/* ============================================================
   GETTING STARTED
   ============================================================ */
.steps4 { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: st; }
.step { padding: 28px; border-radius: var(--radius); border:1px solid var(--line); background:#fff; position:relative; }
.step__n { font-family: var(--font-display); font-weight:700; font-size: 15px; width:36px;height:36px; border-radius:10px; background: var(--charcoal); color:#fff; display:grid; place-items:center; margin-bottom:18px; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: 14.5px; }
.step__line { position:absolute; top: 46px; right:-22px; width: 22px; height:2px; background: var(--line); z-index:1; }
.steps4 .step:last-child .step__line { display:none; }

/* ============================================================
   DEMO CTA
   ============================================================ */
.demo { padding: 60px 0; }
.demo__card { border-radius: var(--radius-lg); padding: 64px; text-align:center; position:relative; overflow:hidden;
  background: linear-gradient(120deg, var(--blue-700), var(--blue) 45%, var(--blue-bright)); box-shadow: var(--shadow-lg); }
.demo__card::after { content:""; position:absolute; inset:0; background:
  radial-gradient(600px 300px at 85% 110%, rgba(242,100,30,.4), transparent 60%); pointer-events:none; }
.demo__card .wrap-in { position:relative; z-index:2; }
.demo__card h2 { color:#fff; font-size: clamp(32px,4vw,50px); margin-bottom:16px; }
.demo__card p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.demo__cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   ROYEX CREDIBILITY
   ============================================================ */
.royex { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.royex__stats { display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.rstat { padding: 26px; border-radius: var(--radius); background: var(--mist); border:1px solid var(--line); }
.rstat b { font-family: var(--font-display); font-size: 38px; color: var(--ink); display:block; letter-spacing:-0.02em; }
.rstat span { font-size: 14px; color: var(--ink-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--d-fg-2); padding: 80px 0 34px; }
.footer__top { display:grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer__logo img { height: 30px; margin-bottom: 18px; }
.footer__bl { font-size: 14.5px; max-width: 290px; line-height:1.6; }
.footer__news { margin-top: 22px; }
.footer__news form { display:flex; gap:8px; margin-top:10px; max-width: 300px; }
.footer__news input { flex:1; padding: 11px 14px; border-radius:10px; border:1px solid var(--d-line); background: var(--d-card); color:#fff; font-family: inherit; font-size:14px; }
.footer__news input::placeholder { color: var(--d-fg-2); }
.footer__news .lbl { font-size:13px; font-weight:700; color:#fff; letter-spacing:.04em; }
.footer__strip { display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap: 40px;
  margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--d-line); }
.footer__by .lbl { display:block; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color: var(--d-fg-2); margin-bottom:10px; }
.footer__by a { display:inline-block; }
.footer__by img { height: 34px; width:auto; opacity:.95; transition: opacity .2s; }
.footer__by a:hover img { opacity:1; }
.footer__by-desc { font-size:13.5px; color: var(--d-fg-2); max-width: 440px; line-height:1.55; border-left:1px solid var(--d-line); padding-left: 40px; }
.footer__contact { display:flex; flex-direction:column; gap:11px; }
.footer__contact a { display:flex; align-items:center; gap:9px; font-size:14px; color: var(--d-fg-2); font-weight:600; transition:color .2s; white-space:nowrap; }
.footer__contact a:hover { color:#fff; }
.footer__contact svg { width:17px; height:17px; color: var(--blue-bright); }
.footer__col h5 { font-family: var(--font-display); font-size: 14px; color:#fff; margin-bottom: 16px; letter-spacing:.02em; }
.footer__col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.footer__col a { font-size: 14.5px; color: var(--d-fg-2); transition: color .2s; }
.footer__col a:hover { color:#fff; }
.footer__bot { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
  margin-top: 0; padding-top: 24px; border-top: 1px solid var(--d-line); font-size: 13.5px; }
.footer__bot a:hover { color:#fff; }
.footer__legal { display:flex; gap:18px; flex-wrap:wrap; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.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 }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1 !important; transform:none !important; } .float-anim { animation:none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(3,1fr); }
  .agents { grid-template-columns: repeat(2,1fr); }
  .anchors { grid-template-columns: repeat(2,1fr); }
  .sla { grid-template-columns: repeat(2,1fr); }
  .os__stats { grid-template-columns: repeat(2,1fr); }
  .steps4 { grid-template-columns: repeat(2,1fr); }
  .step__line { display:none; }
}
@media (max-width: 920px) {
  .nav__links { display:none; }
  .nav__burger { display:block; }
  .banner { grid-template-columns: 1fr; gap: 40px; }
  .viz { display:none; }
  .hero { min-height: auto; padding: 70px 0 60px; }
  .pillars, .cards3, .ptypes { grid-template-columns: 1fr; }
  .editions { grid-template-columns: 1fr; }
  .intg { grid-template-columns: 1fr; }
  .wa { grid-template-columns: 1fr; gap: 40px; }
  .royex { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__strip { grid-template-columns: 1fr; gap: 22px; }
  .footer__by-desc { border-left:none; padding-left:0; }
  .cmp-wrap { overflow-x:auto; }
  .cmp { min-width: 720px; }
}
@media (max-width: 620px) {
  :root { --gutter: 22px; }
  .section { padding: 72px 0; }
  .banner__meta .m + .m { padding-left: 0; border-left:none; }
  .modules { grid-template-columns: repeat(2,1fr); }
  .agents, .anchors, .sla, .os__stats, .steps4 { grid-template-columns: 1fr; }
  .nav__cta .btn:first-child { display:none; }
  .demo__card { padding: 40px 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .royex__stats { grid-template-columns: 1fr 1fr; }
}
