/* ═══════════════════════════════════════════════
   OGUM — design system
   ink navy base · signal red · electric blue · paper
═══════════════════════════════════════════════ */
:root {
  --ink: #060913;
  --ink-2: #0a1020;
  --ink-3: #101830;
  --navy: #0b1b3a;
  --blue: #2e5bff;
  --blue-soft: #7d9bff;
  --red: #ff2e4d;
  --red-deep: #c41230;
  --paper: #f3f5fb;
  --paper-2: #e9edf6;
  --white: #ffffff;
  --text: #eaf0fa;
  --muted: #97a3bd;
  --muted-dark: #5b6784;
  --line: rgba(151, 163, 189, 0.14);
  --line-light: rgba(11, 27, 58, 0.1);
  --grad: linear-gradient(135deg, var(--red) 0%, #a03df0 52%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,46,77,.16), rgba(46,91,255,.16));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--red); color: #fff; }

.container { width: min(1240px, 92vw); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.dot { color: var(--red); }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; width: min(360px, 80vw); }
.preloader__logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.preloader__bar {
  height: 2px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
}
.preloader__count {
  margin-top: 14px; font-family: var(--font-display);
  font-size: 0.85rem; color: var(--muted); letter-spacing: 0.2em;
}

/* ═══════════ CURSOR ═══════════ */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; z-index: 999; pointer-events: none;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: block; position: fixed; z-index: 998; pointer-events: none;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(255, 46, 77, 0.45);
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
  }
  body.cursor-hover .cursor-ring {
    width: 56px; height: 56px;
    border-color: rgba(125, 155, 255, 0.7);
  }
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform 0.45s var(--ease), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 9, 19, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  width: min(1320px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.nav__logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.35rem; letter-spacing: 0.05em;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 0.9rem; color: var(--muted); font-weight: 500;
  transition: color 0.25s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__login { font-size: 0.9rem; color: var(--muted); font-weight: 500; transition: color .25s; }
.nav__login:hover { color: var(--white); }
.nav__burger { display: none; flex-direction: column; gap: 6px; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  border-radius: 100px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
  padding: 12px 24px; font-size: 0.9rem;
}
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--xl { padding: 21px 42px; font-size: 1.1rem; }
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 32px -8px rgba(255, 46, 77, 0.55);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad); opacity: 0;
  transition: opacity 0.4s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 12px 44px -8px rgba(160, 61, 240, 0.6); }
.btn--primary > * { position: relative; z-index: 1; }
.btn--ghost {
  border: 1px solid rgba(234, 240, 250, 0.2); color: var(--text);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(234, 240, 250, 0.5); background: rgba(255,255,255,0.07); }
.btn--dark { background: var(--ink); color: #fff; padding: 15px 30px; font-size: 0.95rem; }
.btn--dark:hover { background: var(--navy); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn__pill {
  background: rgba(255,255,255,0.18); border-radius: 100px;
  padding: 3px 10px; font-size: 0.72rem; font-weight: 500;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(6,9,19,0.9), transparent 60%),
    linear-gradient(180deg, rgba(6,9,19,0.55) 0%, transparent 30%, transparent 62%, var(--ink) 100%);
}
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(151,163,189,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,163,189,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
}
.hero__content {
  position: relative; z-index: 2; max-width: 780px;
  margin-left: calc((100% - min(1240px, 92vw)) / 2);
  margin-right: auto;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-soft);
  border: 1px solid rgba(125,155,255,0.25); border-radius: 100px;
  padding: 8px 18px; margin-bottom: 34px;
  background: rgba(46,91,255,0.07);
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--red);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hero__title {
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  font-weight: 700; margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char { display: inline-block; }
.line--gradient .char, .line--gradient {
  background: linear-gradient(115deg, var(--red) 0%, #b06bff 55%, var(--blue-soft) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted); max-width: 620px; margin-bottom: 42px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__micro { font-size: 0.85rem; color: var(--muted-dark); }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted-dark); z-index: 2;
}
.hero__scroll span {
  width: 1px; height: 44px;
  background: linear-gradient(var(--red), transparent);
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* floating cards */
.hero__floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-card {
  position: absolute;
  background: rgba(16, 24, 48, 0.55);
  border: 1px solid rgba(151,163,189,0.16);
  border-radius: var(--r-md);
  padding: 18px;
  width: 250px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.float-card--1 { right: 6%; top: 22%; }
.float-card--2 { right: 15%; top: 55%; width: 270px; }
.float-card--3 { right: 3%; top: 76%; width: 230px; }
.float-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.float-card__time { font-size: 0.72rem; color: var(--muted); font-family: var(--font-display); }
.float-card__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.float-card__foot { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 12px; }
.chip {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase;
}
.chip--done { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.chip--run { background: rgba(255, 46, 77, 0.14); color: var(--red); }
.progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress span { display: block; height: 100%; width: 62%; border-radius: 4px; background: var(--grad); animation: prog 3s var(--ease) infinite alternate; }
@keyframes prog { from { width: 40%; } to { width: 78%; } }

/* mini deck thumb inside float card */
.float-card .thumb { height: 84px; margin: 0; }

/* ═══════════ TRUST ═══════════ */
.trust { border-block: 1px solid var(--line); background: var(--ink-2); position: relative; z-index: 3; }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 44px 0; gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  background: linear-gradient(180deg, #fff, #93a5cc);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__unit { font-size: 0.6em; }
.stat__label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ═══════════ MARQUEE ═══════════ */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  color: var(--muted);
}
.marquee__track i { color: var(--red); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--navy); }
.section--light .section__sub { color: var(--muted-dark); }
.section__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section__eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700;
  margin-bottom: 22px;
}
.section__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section__sub { color: var(--muted); font-size: 1.05rem; max-width: 600px; }

/* ═══════════ AGENTS ═══════════ */
.agents { background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(46,91,255,0.09), transparent 60%), var(--ink); }
.agents__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.agent-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(16,24,48,0.5), rgba(10,16,32,0.6));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.agent-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,46,77,0.1), rgba(46,91,255,0.07) 45%, transparent 70%);
  transition: opacity 0.4s;
}
.agent-card:hover::before { opacity: 1; }
.agent-card:hover { transform: translateY(-6px); border-color: rgba(151,163,189,0.32); }
.agent-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--grad-soft);
  border: 1px solid rgba(151,163,189,0.18);
  margin-bottom: 22px;
}
.agent-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.agent-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.agent-card__tasks { display: flex; flex-direction: column; gap: 8px; }
.agent-card__tasks span {
  display: flex; justify-content: space-between; font-size: 0.84rem;
  color: var(--muted); padding: 7px 0;
  border-bottom: 1px dashed rgba(151,163,189,0.12);
}
.agent-card__tasks b { color: var(--blue-soft); font-weight: 600; font-family: var(--font-display); }
.agent-card__count {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-display); font-size: 0.75rem;
  color: var(--muted-dark); letter-spacing: 0.08em;
}

/* ═══════════ TASK CATALOG ═══════════ */
.tasks__toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 36px;
}
.tasks__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-display); font-weight: 500; font-size: 0.86rem;
  padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line-light); color: var(--muted-dark);
  transition: 0.3s;
  background: #fff;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tasks__search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line-light);
  border-radius: 100px; padding: 10px 18px; color: var(--muted-dark);
  min-width: 240px;
}
.tasks__search input { border: 0; outline: 0; background: none; font: inherit; color: var(--navy); width: 100%; }
.tasks__search input::placeholder { color: var(--muted-dark); }

.tasks__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.task-card {
  background: #fff; border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity .3s;
  will-change: transform;
}
.task-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(11, 27, 58, 0.25);
}
.task-card__thumbwrap { position: relative; padding: 14px 14px 0; }
.thumb {
  height: 130px; border-radius: var(--r-sm); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* thumbnail scenes per agent */
.thumb--business { background: linear-gradient(135deg, #0b1b3a, #2e5bff); }
.thumb--hr { background: linear-gradient(135deg, #c41230, #ff2e4d); }
.thumb--financial { background: linear-gradient(135deg, #081428, #0e5f76); }
.thumb--marketing { background: linear-gradient(135deg, #ff2e4d, #a03df0); }
.thumb--design { background: linear-gradient(135deg, #a03df0, #2e5bff); }
.thumb--developer { background: linear-gradient(135deg, #101830, #3b0f1e); }
/* generative SVG thumbnails */
.thumb--svg { background: var(--ink-2); }
.thumb--svg svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.task-card:hover .thumb--svg svg { transform: scale(1.05); }
.thumb--svg::after { content: none; }
/* agent marks */
.agent-card__icon--mark { background: rgba(255,255,255,0.04); }
.agent-card__icon--mark svg { display: block; }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 90% at 20% 0%, rgba(255,255,255,0.16), transparent 55%);
}
/* mini-document illustrations */
.doc-mini {
  background: rgba(255,255,255,0.95); border-radius: 6px;
  width: 64%; height: 78%; padding: 10px 12px;
  transform: translateY(12%) rotate(-2deg);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.4s var(--ease);
}
.task-card:hover .doc-mini { transform: translateY(6%) rotate(0deg); }
.doc-mini i { display: block; height: 5px; border-radius: 3px; background: #cfd8ea; }
.doc-mini i.t { height: 8px; width: 55%; background: #0b1b3a; }
.doc-mini i.a { background: linear-gradient(90deg, #ff2e4d, #2e5bff); width: 40%; }
.doc-mini i.w60 { width: 60%; } .doc-mini i.w80 { width: 80%; } .doc-mini i.w90 { width: 90%; }
.doc-mini .bars { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: auto; }
.doc-mini .bars b { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #2e5bff, #7d9bff); }
.doc-mini .bars b:nth-child(1) { height: 40%; } .doc-mini .bars b:nth-child(2) { height: 65%; }
.doc-mini .bars b:nth-child(3) { height: 50%; background: linear-gradient(180deg,#ff2e4d,#ff7d92); } .doc-mini .bars b:nth-child(4) { height: 90%; }
.doc-mini .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 2px; }
.doc-mini .grid b { height: 10px; border-radius: 2px; background: #e4e9f4; }
.doc-mini .grid b:nth-child(2) { background: #ffd3db; } .doc-mini .grid b:nth-child(6) { background: #d3ddff; }
.doc-mini.deck { aspect-ratio: 16/10; height: auto; width: 70%; justify-content: center; }
.thumb .badge-fmt {
  position: absolute; bottom: 10px; right: 10px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  background: rgba(6,9,19,0.55); color: #fff; backdrop-filter: blur(6px);
  padding: 4px 8px; border-radius: 5px; font-family: var(--font-display);
}
.task-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.task-card__agent {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 7px;
  display: flex; align-items: center; gap: 6px;
}
.task-card__agent::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--agent-c, var(--red)); }
.task-card__agent { color: var(--muted-dark); }
.task-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; line-height: 1.25; }
.task-card__desc { font-size: 0.83rem; color: var(--muted-dark); flex: 1; }
.task-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-light);
}
.task-card__price { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.task-card__price small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted-dark); }
.task-card__run {
  display: inline-block; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  padding: 9px 16px; border-radius: 100px;
  background: var(--navy); color: #fff;
  transition: 0.3s; position: relative; overflow: hidden;
  white-space: nowrap;
}
.task-card__run:hover { background: var(--red); box-shadow: 0 8px 20px -6px rgba(255,46,77,0.5); }
.task-card__actions { display: flex; align-items: center; gap: 12px; }
.task-card__details {
  font-size: 0.76rem; font-weight: 500; color: var(--muted-dark);
  text-decoration: none; white-space: nowrap; opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.task-card__details:hover { opacity: 1; color: #fff; }
.tier-tag {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.92); color: var(--navy);
  font-family: var(--font-display);
}
.tier-tag--premium { background: var(--navy); color: #fff; }
.tasks__more { text-align: center; margin-top: 52px; }
.tasks__more p { color: var(--muted-dark); margin-bottom: 20px; font-size: 0.95rem; }

/* ═══════════ HOW ═══════════ */
.how { background: radial-gradient(ellipse 50% 40% at 15% 20%, rgba(255,46,77,0.07), transparent 60%), var(--ink); }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 32px;
  background: linear-gradient(180deg, rgba(16,24,48,0.5), rgba(10,16,32,0.4));
  position: relative; overflow: hidden;
}
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--red); letter-spacing: 0.14em; margin-bottom: 60px;
}
.step__num::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--grad); margin-top: 12px; border-radius: 2px;
}
.step h3 { font-size: 1.45rem; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 0.93rem; margin-bottom: 30px; }
.step__visual {
  border-radius: var(--r-sm); padding: 18px;
  background: rgba(6,9,19,0.5); border: 1px solid var(--line);
  min-height: 118px; display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 7px; background: rgba(151,163,189,0.07); }
.mini-row span { display: block; height: 6px; width: 48%; border-radius: 3px; background: rgba(151,163,189,0.3); }
.mini-row b { font-family: var(--font-display); font-size: 0.72rem; color: var(--muted); }
.mini-row--hl { background: rgba(255,46,77,0.12); outline: 1px solid rgba(255,46,77,0.35); }
.mini-row--hl b { color: var(--red); }
.mini-field { height: 30px; border-radius: 7px; border: 1px solid rgba(151,163,189,0.2); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.mini-field i { display: block; height: 5px; width: 40%; border-radius: 3px; background: rgba(151,163,189,0.3); }
.mini-field--active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,91,255,0.15); }
.mini-field--active em { display: block; width: 1.5px; height: 14px; background: var(--blue-soft); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mini-doc { background: rgba(255,255,255,0.94); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.mini-doc i { display: block; height: 5px; border-radius: 3px; background: #cfd8ea; }
.mini-doc i:first-child { width: 50%; height: 7px; background: #0b1b3a; }
.mini-doc i.short { width: 35%; }
.step__visual--doc { position: relative; }
.step__visual--doc .chip { position: absolute; top: 12px; right: 12px; }

/* ═══════════ VERSUS ═══════════ */
.versus { background: var(--ink-2); border-block: 1px solid var(--line); }
.versus__card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.versus__copy { color: var(--muted); margin-bottom: 20px; }
.versus__punch {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.versus__right { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.versus__row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  padding: 16px 24px; gap: 12px; align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.versus__row:last-child { border-bottom: 0; }
.versus__row span { color: var(--muted); }
.versus__row b { font-weight: 500; color: var(--muted); }
.versus__row b.og { color: var(--white); font-weight: 600; position: relative; }
.versus__row--head { background: rgba(151,163,189,0.05); font-family: var(--font-display); }
.versus__row--head b { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em; }
.versus__row--head b.og { color: var(--red); }
.versus__row:not(.versus__row--head) b.og::before { content: "✓ "; color: var(--red); }

/* ═══════════ PRICING ═══════════ */
.pricing__toggle {
  display: flex; align-items: center; gap: 16px; margin-top: 30px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  color: var(--muted-dark);
}
.pricing__toggle span.active { color: var(--navy); }
.pricing__toggle em {
  font-style: normal; font-size: 0.7rem; font-weight: 700;
  background: rgba(255,46,77,0.12); color: var(--red);
  padding: 3px 8px; border-radius: 100px; margin-left: 6px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.toggle {
  width: 52px; height: 28px; border-radius: 100px;
  background: var(--navy); position: relative; flex-shrink: 0;
}
.toggle i {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff;
  transition: transform 0.35s var(--ease);
}
.toggle.on i { transform: translateX(24px); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line-light);
  border-radius: var(--r-lg); padding: 34px 30px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(11,27,58,0.2); }
.plan--featured {
  background: var(--ink); color: var(--text);
  border-color: transparent;
  background-image: linear-gradient(var(--ink), var(--ink)), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 32px 64px -24px rgba(160,61,240,0.35);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan__blurb { font-size: 0.83rem; color: var(--muted-dark); margin-bottom: 24px; min-height: 40px; }
.plan--featured .plan__blurb { color: var(--muted); }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.plan--featured .plan__price { color: #fff; }
.plan__price small { font-size: 0.9rem; font-weight: 500; color: var(--muted-dark); }
.plan__credits {
  font-size: 0.82rem; font-weight: 600; color: var(--red);
  margin-bottom: 24px; font-family: var(--font-display);
}
.plan__feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; flex: 1; }
.plan__feats li { font-size: 0.86rem; color: var(--muted-dark); padding-left: 24px; position: relative; }
.plan--featured .plan__feats li { color: var(--muted); }
.plan__feats li::before {
  content: "✓"; position: absolute; left: 0; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.plan .btn { justify-content: center; width: 100%; padding: 14px; font-size: 0.92rem; }
.plan__cta-dark { background: var(--navy); color: #fff; }
.plan__cta-dark:hover { background: var(--ink); }
.pricing__topup {
  margin-top: 40px; border-radius: var(--r-lg);
  background: var(--navy); color: #fff;
  padding: 34px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background-image: radial-gradient(ellipse 40% 90% at 90% 50%, rgba(255,46,77,0.25), transparent 65%);
}
.pricing__topup h4 { font-size: 1.25rem; margin-bottom: 6px; }
.pricing__topup p { color: rgba(234,240,250,0.65); font-size: 0.9rem; max-width: 440px; }
.pricing__packs { display: flex; gap: 12px; flex-wrap: wrap; }
.pricing__packs span {
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  padding: 10px 20px; font-size: 0.88rem; font-family: var(--font-display);
  transition: 0.3s; cursor: default;
}
.pricing__packs span:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }
.pricing__packs b { color: #ffb3c0; }

/* ═══════════ QUOTES ═══════════ */
.quotes { background: radial-gradient(ellipse 55% 45% at 85% 80%, rgba(46,91,255,0.08), transparent 60%), var(--ink); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(16,24,48,0.5), rgba(10,16,32,0.35));
}
.quote blockquote { font-size: 1.02rem; line-height: 1.65; color: var(--text); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: 0.6; margin-bottom: 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.quote figcaption { margin-top: 26px; }
.quote figcaption b { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.quote figcaption span { font-size: 0.8rem; color: var(--muted); }
.quote__meta {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 0.75rem; color: var(--muted-dark); font-family: var(--font-display);
}

/* ═══════════ FAQ ═══════════ */
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__inner .section__head { margin-bottom: 0; position: sticky; top: 120px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 26px 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--blue-soft); }
.faq__q .ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: 0.35s var(--ease); font-weight: 400; font-size: 1.1rem;
}
.faq__item.open .ico { transform: rotate(45deg); border-color: var(--red); color: var(--red); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a p { padding: 0 40px 26px 0; color: var(--muted); font-size: 0.95rem; }

/* ═══════════ CTA ═══════════ */
.cta { text-align: center; overflow: hidden; position: relative; }
.cta__glow {
  position: absolute; inset: -20% -10%;
  background:
    radial-gradient(ellipse 40% 45% at 30% 60%, rgba(255,46,77,0.16), transparent 65%),
    radial-gradient(ellipse 40% 45% at 70% 40%, rgba(46,91,255,0.16), transparent 65%);
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; margin-bottom: 24px;
}
.cta__title .line { display: block; }
.cta__sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 70px 0 30px; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
}
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 0.88rem; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h5 {
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-dark); margin-bottom: 6px;
}
.footer__col a { font-size: 0.88rem; color: var(--muted); transition: color 0.25s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted-dark);
}

/* ═══════════ REVEAL PRIMITIVES ═══════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; }
html:not(.has-gsap) .reveal, html:not(.has-gsap) .reveal-hero { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .tasks__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__floats { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: flex; }
  .how__steps, .quotes__grid { grid-template-columns: 1fr; }
  .versus__card { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__inner .section__head { position: static; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); padding: 32px 0; }
  .tasks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tasks__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .agents__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* QA screenshot mode: fixed hero height so full-page captures don't stretch it */
html.qa .hero { min-height: 900px; height: 900px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
