/* ===================== DADOOH · LANDING ===================== */
:root {
  --navy: #162835;
  --navy-2: #102230;
  --navy-3: #0b1825;
  --navy-card: #19314400;
  --neon: #56F99E;
  --mint: #7DD588;
  --orange: #E76F51;

  --ink: #162835;
  --ink-2: #45596a;
  --ink-3: #7e909b;
  --paper: #f3f6f7;
  --surface: #ffffff;
  --line: #dce5e7;
  --line-2: #e7eef0;

  --d-text: #eaf0f2;
  --d-text-2: #9fb4c0;
  --d-text-3: #6c8392;
  --d-line: rgba(255,255,255,0.12);
  --d-line-2: rgba(255,255,255,0.06);
  --d-card: rgba(255,255,255,0.04);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--orange); display: inline-block;
}
.eyebrow.on-dark { color: var(--neon); }
.eyebrow.on-dark::before { background: var(--neon); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 11px;
  font-family: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--neon); color: #0b2118; box-shadow: 0 8px 28px rgba(86,249,158,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(86,249,158,0.44); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #1d3447; }
.btn-ghost-d { background: rgba(255,255,255,0.04); color: var(--d-text); border-color: var(--d-line); }
.btn-ghost-d:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 10px; }

/* ===================== HEADER ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,24,37,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--d-line-2);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: #fff; }
.brand-sub { font-size: 10.5px; color: var(--d-text-3); letter-spacing: 0.08em; margin-top: -3px; }
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--d-text-2); white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { color: var(--d-text); font-weight: 600; font-size: 14.5px; padding: 9px 8px; }
.nav-signin:hover { color: var(--neon); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(86,249,158,0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(45,79,114,0.55), transparent 58%),
    linear-gradient(180deg, #0b1825 0%, #102230 60%, #14283a 100%);
  color: var(--d-text);
  padding: 76px 0 96px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 600px at 60% 30%, #000 0%, transparent 80%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 62px); color: #fff; margin: 22px 0 0;
}
.hero h1 .accent { color: var(--neon); }
.hero p.lede {
  font-size: 19px; line-height: 1.55; color: var(--d-text-2); margin: 22px 0 0; max-width: 510px;
}
.hero-cta { display: flex; gap: 13px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta-item { }
.hero-meta-num { font-size: 23px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-meta-num .u { color: var(--neon); }
.hero-meta-label { font-size: 12.5px; color: var(--d-text-3); margin-top: 1px; }

/* Hero product art */
.hero-art { position: relative; }
.hero-glow {
  position: absolute; inset: -8% -12% -12% -8%;
  background: radial-gradient(closest-side, rgba(86,249,158,0.22), transparent);
  filter: blur(8px); pointer-events: none;
}
.device {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #0e1f2c; border: 1px solid var(--d-line);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 6px 20px rgba(0,0,0,0.4);
  transform:
    perspective(1700px)
    rotateY(calc(-13deg + var(--tx, 0deg)))
    rotateX(calc(5deg + var(--ty, 0deg)))
    rotateZ(0.4deg)
    translateY(var(--py, 0px));
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.device-bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  background: #0c1b27; border-bottom: 1px solid var(--d-line-2);
}
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3f4d; display: inline-block; }
.device-bar i:nth-child(1) { background: #e8705b; }
.device-bar i:nth-child(2) { background: #e6b24a; }
.device-bar i:nth-child(3) { background: #4fb96f; }
.device-url {
  margin-left: 12px; font-size: 11.5px; color: var(--d-text-3);
  background: rgba(255,255,255,0.04); padding: 4px 12px; border-radius: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.device img { width: 100%; display: block; background: #f3f6f7; }
.device-screen { position: relative; width: 100%; aspect-ratio: 1280 / 760; overflow: hidden; background: #f3f6f7 url("assets/twin-2d.png") center/cover no-repeat; }
.app-embed { position: absolute; top: 0; left: 0; width: 1280px; height: 760px; border: 0; transform-origin: top left; pointer-events: none; }

.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(16,32,46,0.78); backdrop-filter: blur(10px);
  border: 1px solid var(--d-line); border-radius: 13px;
  padding: 11px 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  animation: floaty 5s ease-in-out infinite;
}
.chip .chip-ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
}
.chip .chip-num { font-size: 16px; font-weight: 800; color: #fff; line-height: 1; }
.chip .chip-lbl { font-size: 11px; color: var(--d-text-2); margin-top: 2px; }
.chip-a { top: 14%; left: -42px; animation-delay: 0s; }
.chip-b { bottom: 18%; left: -30px; animation-delay: 1.4s; }
.chip-c { top: 60%; right: -26px; animation-delay: 0.7s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.pulse-dot { position: relative; width: 11px; height: 11px; }
.pulse-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--neon); }
.pulse-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--neon); opacity: 0; animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===================== TRUST STRIP ===================== */
.strip { background: var(--navy-3); border-top: 1px solid var(--d-line-2); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.strip-label { font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--d-text-3); }
.strip-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.strip-chip {
  font-size: 14px; font-weight: 600; color: var(--d-text-2);
  border: 1px solid var(--d-line); border-radius: 999px; padding: 7px 16px;
}

/* ===================== SECTION SHELL ===================== */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head { max-width: 700px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 16px; }
.section-head p { font-size: 18px; color: var(--ink-2); margin: 18px 0 0; }

/* The big idea */
.idea { background: var(--surface); border-top: 1px solid var(--line); }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.idea h2 { font-size: clamp(30px, 3.8vw, 46px); }
.idea h2 .hl { color: var(--orange); }
.idea p { font-size: 18px; color: var(--ink-2); margin-top: 20px; }
.idea-points { margin-top: 26px; display: grid; gap: 14px; }
.idea-point { display: flex; gap: 13px; align-items: flex-start; }
.idea-point .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.idea-point .dot svg { width: 13px; height: 13px; color: var(--success, #1f9d57); }
.idea-point b { font-weight: 700; }
.idea-point span { color: var(--ink-2); }

/* Isometric space visual (CSS only) */
.iso-stage {
  position: relative; aspect-ratio: 1 / 0.86; border-radius: 20px;
  background:
    radial-gradient(700px 360px at 60% 10%, rgba(86,249,158,0.10), transparent 60%),
    linear-gradient(170deg, #14283a, #0d1d2b);
  border: 1px solid var(--line); overflow: hidden;
  display: grid; place-items: center;
}
.iso-plane {
  width: 78%; aspect-ratio: 1 / 0.62; position: relative;
  transform: rotateX(56deg) rotateZ(-44deg);
  transform-style: preserve-3d;
  background:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px) 0 0 / 100% 11.11%,
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px) 0 0 / 11.11% 100%;
  border: 1.5px solid rgba(86,249,158,0.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.iso-zone { position: absolute; border-radius: 4px; }
.iso-z1 { left: 8%; top: 8%; width: 30%; height: 30%; background: rgba(86,249,158,0.18); border: 1px solid rgba(86,249,158,0.5); }
.iso-z2 { right: 10%; top: 12%; width: 26%; height: 38%; background: rgba(231,111,81,0.18); border: 1px solid rgba(231,111,81,0.5); }
.iso-z3 { left: 14%; bottom: 10%; width: 38%; height: 26%; background: rgba(125,213,136,0.16); border: 1px solid rgba(125,213,136,0.5); }
.iso-z4 { right: 12%; bottom: 12%; width: 22%; height: 22%; background: rgba(47,79,114,0.4); border: 1px solid rgba(120,150,180,0.5); }
.iso-totem { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 4px rgba(86,249,158,0.18), 0 0 14px rgba(86,249,158,0.9); }
.iso-t1 { left: 30%; top: 46%; } .iso-t2 { left: 62%; top: 34%; } .iso-t3 { left: 44%; top: 70%; } .iso-t4 { left: 76%; top: 62%; }

/* ===================== FEATURE ROWS ===================== */
.features { background: var(--paper); }
.frow { display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: center; padding: 64px 0; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow.flip .frow-media { order: -1; }
.frow h3 { font-size: clamp(26px, 3vw, 36px); margin-top: 15px; }
.frow p { font-size: 17.5px; color: var(--ink-2); margin: 16px 0 0; }
.flist { margin: 22px 0 0; display: grid; gap: 11px; }
.flist li { display: flex; gap: 11px; align-items: center; font-size: 15.5px; font-weight: 600; color: var(--ink); list-style: none; }
.flist .ck { width: 20px; height: 20px; border-radius: 6px; background: rgba(86,249,158,0.16); display: grid; place-items: center; flex-shrink: 0; }
.flist .ck svg { width: 12px; height: 12px; color: #1f9d57; }
ul.flist { padding: 0; }

.shot {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-lg, 0 24px 60px rgba(22,40,53,0.14));
  position: relative;
}
.shot .device-bar { background: #f1f5f6; border-bottom: 1px solid var(--line); }
.shot .device-bar i { background: #cdd9dc; }
.shot .device-bar i:nth-child(1){background:#e8705b;} .shot .device-bar i:nth-child(2){background:#e6b24a;} .shot .device-bar i:nth-child(3){background:#4fb96f;}
.shot .device-url { color: var(--ink-3); background: rgba(22,40,53,0.05); }
.shot img { width: 100%; display: block; }
.shot-tag {
  position: absolute; z-index: 2; bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(16,32,46,0.86); backdrop-filter: blur(8px); color: #fff;
  border-radius: 11px; padding: 9px 13px; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.shot-tag .pulse-dot { width: 9px; height: 9px; }

/* placeholder while screenshots load / if missing */
.ph {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(135deg, #eaf0f1, #eaf0f1 10px, #e2eaec 10px, #e2eaec 20px);
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-3);
}

/* ===================== CARD GRID (more features) ===================== */
.cards { background: var(--surface); border-top: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.fcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.fcard:hover { transform: translateY(-4px); border-color: var(--border-strong, #c3d0d3); box-shadow: 0 18px 44px rgba(22,40,53,0.09); }
.fcard-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--navy); color: var(--neon);
}
.fcard-ico svg { width: 22px; height: 22px; }
.fcard h4 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.fcard p { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; }

/* ===================== METRICS BAND ===================== */
.band {
  background:
    radial-gradient(700px 360px at 88% 0%, rgba(86,249,158,0.14), transparent 60%),
    linear-gradient(120deg, #0b1825, #16293b);
  color: var(--d-text); padding: 70px 0;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.band-item { border-left: 1px solid var(--d-line); padding-left: 22px; }
.band-num { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.band-num .u { color: var(--neon); }
.band-lbl { font-size: 14.5px; color: var(--d-text-2); margin-top: 6px; line-height: 1.4; }

/* ===================== HOW IT WORKS ===================== */
.how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.step-n {
  font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 500;
  color: var(--neon); background: var(--navy); width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h4 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.step p { font-size: 15px; color: var(--ink-2); margin: 9px 0 0; }
.step-line { position: absolute; top: 47px; right: -16px; width: 22px; height: 1.5px; background: var(--line); z-index: 2; }
.steps .step:last-child .step-line { display: none; }

/* ===================== CTA ===================== */
.cta {
  background:
    radial-gradient(700px 380px at 50% -20%, rgba(86,249,158,0.18), transparent 62%),
    linear-gradient(160deg, #0b1825, #15293b);
  color: var(--d-text); text-align: center; padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); color: #fff; max-width: 760px; margin: 16px auto 0; }
.cta p { font-size: 18.5px; color: var(--d-text-2); max-width: 540px; margin: 20px auto 0; }
.cta-actions { margin-top: 34px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 13.5px; color: var(--d-text-3); }

/* ===================== FOOTER ===================== */
.foot { background: var(--navy-3); color: var(--d-text-2); padding: 54px 0 30px; border-top: 1px solid var(--d-line-2); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand-name { font-size: 18px; }
.foot-tag { font-size: 14px; color: var(--d-text-3); margin-top: 14px; max-width: 280px; line-height: 1.5; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--d-text-3); margin: 0 0 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 14.5px; color: var(--d-text-2); padding: 5px 0; transition: color 0.15s; white-space: nowrap; }
.foot-col a:hover { color: var(--neon); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--d-line-2); font-size: 13px; color: var(--d-text-3); flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-dir="left"] { transform: translateX(-40px); }
.reveal[data-dir="right"] { transform: translateX(40px); }
.reveal[data-dir="scale"] { transform: scale(0.92); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner, .idea-grid, .frow, .frow.flip { grid-template-columns: 1fr; }
  .frow.flip .frow-media { order: 0; }
  .hero { padding: 52px 0 70px; }
  .hero-art { margin-top: 18px; }
  .device { transform: none; }
  .chip-a, .chip-b, .chip-c { display: none; }
  .card-grid, .band-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .step-line { display: none; }
  .band-item { border-left: none; padding-left: 0; border-top: 1px solid var(--d-line); padding-top: 18px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section-pad { padding: 64px 0; }
  .hero-meta { gap: 18px; }
  .nav-cta .nav-signin { display: none; }
}

/* ===================== MOTION LAYER ===================== */

/* scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--mint), var(--neon)); box-shadow: 0 0 12px rgba(86,249,158,0.6); transition: width 0.1s linear; }

/* nav condenses on scroll */
.nav { transition: height 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.nav.scrolled { background: rgba(11,24,37,0.9); border-bottom-color: var(--d-line); }
.nav.scrolled .nav-inner { height: 60px; }
.nav-inner { transition: height 0.3s var(--ease); }

/* hero aurora blobs */
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.aurora-1 { width: 540px; height: 540px; top: -160px; right: -80px; background: radial-gradient(closest-side, rgba(86,249,158,0.5), transparent); animation: aur1 18s ease-in-out infinite; }
.aurora-2 { width: 620px; height: 620px; bottom: -240px; left: -120px; background: radial-gradient(closest-side, rgba(47,79,114,0.8), transparent); animation: aur2 22s ease-in-out infinite; }
.aurora-3 { width: 360px; height: 360px; top: 30%; left: 40%; background: radial-gradient(closest-side, rgba(125,213,136,0.32), transparent); animation: aur3 16s ease-in-out infinite; }
@keyframes aur1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,50px) scale(1.12); } }
@keyframes aur2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-40px) scale(1.1); } }
@keyframes aur3 { 0%,100% { transform: translate(0,0) scale(1); opacity: 0.3; } 50% { transform: translate(40px,30px) scale(1.18); opacity: 0.5; } }
.hero-copy, .hero-art { position: relative; z-index: 2; }

/* shimmering accent word */
.hero h1 .accent {
  background: linear-gradient(100deg, #56F99E 0%, #b9ffd9 30%, #56F99E 60%, #7DD588 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* chips: no wrap + entrance */
.chip .chip-num, .chip .chip-lbl { white-space: nowrap; }
.chip { opacity: 0; transform: translateY(14px) scale(0.94); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hero-art.in .chip { opacity: 1; transform: none; }
.hero-art.in .chip.chip-a { transition-delay: 0.5s; }
.hero-art.in .chip.chip-b { transition-delay: 0.72s; }
.hero-art.in .chip.chip-c { transition-delay: 0.62s; }
/* keep the gentle float once revealed */
.hero-art.in .chip { animation: floaty 5s ease-in-out infinite; }
.hero-art.in .chip.chip-a { animation-delay: 0.9s; }
.hero-art.in .chip.chip-b { animation-delay: 2.3s; }
.hero-art.in .chip.chip-c { animation-delay: 1.6s; }

/* button sheen */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* card icon micro-motion */
.fcard-ico { transition: transform 0.3s var(--ease), background 0.3s; }
.fcard:hover .fcard-ico { transform: translateY(-3px) rotate(-6deg); }

/* feature shot hover */
.shot { transition: transform 0.4s var(--ease), box-shadow 0.4s; will-change: transform; }
.frow-media:hover .shot { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(22,40,53,0.2); }

/* marquee trust strip */
.marquee { overflow: hidden; -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; gap: 10px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* count-up monospacing so width doesn't jump */
[data-count] { font-variant-numeric: tabular-nums; }

/* ===================== SCROLL-DRIVEN DIGITAL TWIN ===================== */
.twinscroll { background: linear-gradient(180deg, #0b1825, #0e2030 50%, #0b1825); color: var(--d-text); position: relative; }
.twinscroll-track { height: 260vh; position: relative; }
.twinscroll-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 48px; align-items: center;
}
.ts-copy { max-width: 480px; }
.ts-copy h2 { font-size: clamp(30px, 3.8vw, 46px); color: #fff; margin-top: 16px; }
.ts-copy h2 .hl { color: var(--neon); }
.ts-copy > p { font-size: 18px; color: var(--d-text-2); margin-top: 18px; }
.ts-steps { margin-top: 30px; display: grid; gap: 6px; }
.ts-step {
  display: flex; gap: 14px; padding: 14px 16px; border-radius: 13px;
  border: 1px solid transparent; transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.ts-step.active { background: rgba(86,249,158,0.07); border-color: rgba(86,249,158,0.25); transform: translateX(4px); }
.ts-step .ts-num {
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--d-text-3);
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--d-line); display: grid; place-items: center; flex-shrink: 0;
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.ts-step.active .ts-num { color: #0b2118; background: var(--neon); border-color: var(--neon); }
.ts-step b { color: #fff; font-weight: 700; font-size: 15.5px; }
.ts-step span { display: block; color: var(--d-text-2); font-size: 14px; margin-top: 2px; }
.ts-step.active b { color: var(--neon); }

/* the transparent twin stage */
.ts-stage {
  position: relative; height: 78vh; perspective: 1500px;
  display: grid; place-items: center;
}
.ts-stage-glow {
  position: absolute; width: 70%; height: 56%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(86,249,158,0.28), transparent);
  filter: blur(40px); opacity: calc(0.35 + var(--p, 0) * 0.65); transition: opacity 0.2s;
}
.ts-twin {
  position: relative; width: 64%; aspect-ratio: 1 / 0.72;
  transform-style: preserve-3d;
  transform:
    rotateX(60deg)
    rotateZ(calc(-62deg + var(--p, 0) * 50deg))
    scale(calc(0.82 + var(--p, 0) * 0.2));
  transition: transform 0.12s linear;
}
.ts-floor {
  position: absolute; inset: 0; transform-style: preserve-3d;
  background:
    linear-gradient(rgba(86,249,158,0.13) 1px, transparent 1px) 0 0 / 100% 10%,
    linear-gradient(90deg, rgba(86,249,158,0.13) 1px, transparent 1px) 0 0 / 10% 100%;
  border: 1.5px solid rgba(86,249,158,0.45);
  box-shadow: 0 0 60px rgba(86,249,158,0.15) inset;
  border-radius: 3px;
}
.ts-zone { position: absolute; border-radius: 4px; backdrop-filter: blur(1px); }
.ts-zone b {
  position: absolute; top: 6%; left: 8%; font-family: 'Geist Mono', monospace; font-size: 9px; font-weight: 500;
  color: rgba(255,255,255,0.7); transform: rotateZ(0deg); white-space: nowrap; letter-spacing: 0.04em;
}
.ts-z1 { left: 6%; top: 8%; width: 32%; height: 30%; background: rgba(86,249,158,0.12); border: 1px solid rgba(86,249,158,0.55); }
.ts-z2 { right: 8%; top: 10%; width: 28%; height: 40%; background: rgba(231,111,81,0.13); border: 1px solid rgba(231,111,81,0.55); }
.ts-z3 { left: 10%; bottom: 9%; width: 40%; height: 28%; background: rgba(125,213,136,0.12); border: 1px solid rgba(125,213,136,0.55); }
.ts-z4 { right: 10%; bottom: 12%; width: 24%; height: 24%; background: rgba(120,160,200,0.13); border: 1px solid rgba(150,180,210,0.5); }

/* totems rise out of the plane as you scroll */
.ts-totem { position: absolute; width: 8px; height: 8px; transform-style: preserve-3d; }
.ts-totem .head {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--neon);
  box-shadow: 0 0 0 4px rgba(86,249,158,0.18), 0 0 16px rgba(86,249,158,0.95);
  transform: translate(-50%,-50%) translateZ(calc(var(--p, 0) * 46px)) rotateX(-60deg);
}
.ts-totem .stem {
  position: absolute; left: 50%; top: 50%; width: 2px; height: calc(var(--p, 0) * 46px);
  background: linear-gradient(to top, rgba(86,249,158,0), rgba(86,249,158,0.9));
  transform: translateX(-50%) rotateX(-60deg); transform-origin: bottom center;
}
.ts-totem .ring {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(86,249,158,0.5); transform: translate(-50%,-50%);
  animation: tsring 2.4s ease-out infinite;
}
@keyframes tsring { 0% { transform: translate(-50%,-50%) scale(0.3); opacity: 0.8; } 100% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; } }
.ts-tA { left: 30%; top: 46%; } .ts-tB { left: 64%; top: 32%; } .ts-tC { left: 44%; top: 72%; } .ts-tD { left: 78%; top: 64%; }
.ts-tB .ring { animation-delay: 0.6s; } .ts-tC .ring { animation-delay: 1.2s; } .ts-tD .ring { animation-delay: 1.8s; }

/* radar sweep across the plane */
.ts-sweep {
  position: absolute; inset: 0; border-radius: 3px; overflow: hidden; pointer-events: none;
}
.ts-sweep::before {
  content: ""; position: absolute; top: -50%; left: 50%; width: 50%; height: 200%;
  background: conic-gradient(from 0deg at left center, rgba(86,249,158,0.22), transparent 40%);
  transform-origin: left center; animation: sweep 5s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* floating data tags above the twin (screen space) */
.ts-tag {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px;
  background: rgba(12,24,36,0.78); backdrop-filter: blur(10px); border: 1px solid var(--d-line);
  border-radius: 11px; padding: 9px 12px; font-size: 12.5px; color: var(--d-text); box-shadow: 0 14px 36px rgba(0,0,0,0.4);
  will-change: transform; white-space: nowrap;
}
.ts-tag .pulse-dot { width: 8px; height: 8px; }
.ts-tag b { color: #fff; font-weight: 700; }
.ts-tag-1 { top: 12%; right: 4%; }
.ts-tag-2 { bottom: 16%; left: 2%; }
.ts-tag-3 { top: 54%; right: -2%; }

@media (max-width: 980px) {
  .twinscroll-track { height: auto; }
  .twinscroll-sticky { position: static; height: auto; grid-template-columns: 1fr; gap: 30px; padding: 64px 0; }
  .ts-stage { height: 60vw; }
  .ts-twin { width: 78%; }
}

/* ===================== CONVERSATIONAL ATTENDANT ===================== */
.attendant { position: relative; overflow: hidden; color: var(--d-text); padding: 102px 0;
  background: linear-gradient(170deg, #0b1825, #13283a 58%, #0b1825); }
.att-aurora { position: absolute; width: 620px; height: 620px; border-radius: 50%; top: -180px; left: -140px;
  background: radial-gradient(closest-side, rgba(86,249,158,0.16), transparent); filter: blur(64px); pointer-events: none; animation: aur2 21s ease-in-out infinite; }
.attendant-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.att-copy h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; margin-top: 16px; line-height: 1.08; }
.att-copy h2 .hl { color: var(--neon); }
.att-copy > p { font-size: 18px; color: var(--d-text-2); margin-top: 18px; max-width: 480px; }
.att-copy .flist { margin-top: 26px; }
.flist.on-dark li { color: var(--d-text); }
.flist.on-dark .ck { background: rgba(86,249,158,0.16); }

.att-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.totem { width: 296px; height: 516px; border-radius: 34px; background: #0a1722; border: 1px solid var(--d-line);
  padding: 12px; box-shadow: 0 44px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(86,249,158,0.06); position: relative; z-index: 2; }
.totem::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); z-index: 3; }
.totem-screen { height: 100%; border-radius: 25px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #102234, #0b1826); border: 1px solid rgba(255,255,255,0.04); }
.totem-head { display: flex; align-items: center; gap: 10px; padding: 24px 16px 14px; border-bottom: 1px solid var(--d-line-2); }
.totem-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(86,249,158,0.16); display: grid; place-items: center; flex-shrink: 0; }
.totem-name { font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; }
.totem-status { font-size: 11px; color: var(--neon); }
.totem-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 16px 13px; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4;
  opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--bd, 0ms); }
.att-stage.in .bubble { opacity: 1; transform: none; }
.bubble.user { align-self: flex-end; background: rgba(255,255,255,0.1); color: var(--d-text); border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: rgba(86,249,158,0.12); border: 1px solid rgba(86,249,158,0.26); color: #e9fff3; border-bottom-left-radius: 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 12px 13px; align-self: flex-start; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); animation: typing 1.2s ease-in-out infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

.ins-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 230px;
  background: rgba(12,24,36,0.86); backdrop-filter: blur(10px); border: 1px solid var(--d-line); border-radius: 13px;
  padding: 10px 13px; box-shadow: 0 16px 40px rgba(0,0,0,0.4); opacity: 0; transition: opacity .6s ease; animation: floaty 5.5s ease-in-out infinite; }
.att-stage.in .ins-card { opacity: 1; }
.att-stage.in .ins-1 { transition-delay: 1.5s; }
.att-stage.in .ins-2 { transition-delay: 1.9s; }
.att-stage.in .ins-3 { transition-delay: 2.3s; }
.ins-ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(86,249,158,0.14); color: var(--neon); display: grid; place-items: center; flex-shrink: 0; }
.ins-ico svg { width: 16px; height: 16px; }
.ins-card b { display: block; font-size: 12.5px; color: #fff; font-weight: 700; white-space: nowrap; }
.ins-card span { font-size: 11px; color: var(--d-text-2); white-space: nowrap; }
.ins-1 { top: 6%; right: -14px; animation-delay: 0s; }
.ins-2 { top: 46%; right: -22px; animation-delay: 1.2s; }
.ins-3 { bottom: 7%; left: -14px; animation-delay: .6s; }

@media (max-width: 980px) {
  .attendant-grid { grid-template-columns: 1fr; gap: 40px; }
  .ins-1, .ins-2 { right: 0; }
  .ins-3 { left: 0; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .chip { opacity: 1 !important; transform: none !important; }
  .ts-twin { transform: rotateX(60deg) rotateZ(-30deg) scale(0.95) !important; }
  .marquee-track { animation: none !important; }
  .bubble, .ins-card { opacity: 1 !important; transform: none !important; }
}

