/* ==========================================================================
   nexbee — AI-native software studio
   ========================================================================== */

:root {
  --bg: #06070b;
  --bg-alt: #090b11;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text: #f3f4f8;
  --text-2: #b5bacb;
  --muted: #7c8297;

  --honey: #ffc23d;
  --amber: #ffb020;
  --orange: #ff7a1a;
  --violet: #8b6cff;
  --cyan: #3ad7ff;
  --green: #2ee6a6;

  --grad: linear-gradient(135deg, #ffd76a 0%, #ffb020 45%, #ff7a1a 100%);
  --grad-text: linear-gradient(100deg, #ffe08a 0%, #ffb020 40%, #ff7a1a 70%, #b48cff 100%);

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;

  --font-display: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hex-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0L56 16.17V48.5L28 64.67L0 48.5V16.17ZM28 64.67V97' fill='none' stroke='white' stroke-opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 176, 32, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }

.nowrap { white-space: nowrap; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #1a1204;
  box-shadow: 0 10px 30px -10px rgba(255, 150, 30, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 150, 30, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.btn--ghost .ico-play { fill: currentColor; stroke: none; }
.btn--ghost:hover .ico-play { transform: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--honey);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 11px;
  background: var(--grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.eyebrow--plain { margin-bottom: 6px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0;
  transition: padding .3s var(--ease), background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; filter: drop-shadow(0 4px 14px rgba(255, 160, 30, 0.45)); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; }

.nav__links {
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav__links a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__mobile-cta { display: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface);
  cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--text);
  border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; isolation: isolate; }

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.blob--honey {
  width: 620px; height: 620px; right: -120px; top: -80px;
  background: radial-gradient(circle, rgba(255, 160, 30, 0.55), rgba(255, 110, 30, 0) 70%);
  animation: float 16s ease-in-out infinite;
}
.blob--violet {
  width: 560px; height: 560px; left: -220px; top: 260px;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.45), rgba(139, 108, 255, 0) 70%);
  animation: float 20s ease-in-out infinite reverse;
}
.grid-lines {
  position: absolute; inset: 0;
  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: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.08); }
}

.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  min-height: calc(100vh - 260px);
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  font-size: 0.86rem; color: var(--text-2);
  transition: border-color .25s, background .25s;
}
.pill:hover { border-color: rgba(255, 176, 32, 0.5); background: rgba(255, 176, 32, 0.06); }
.pill__tag {
  padding: 3px 10px; border-radius: 999px;
  background: var(--grad); color: #1a1204;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
}
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero__title {
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 1.03; letter-spacing: -0.045em; font-weight: 600;
  margin-bottom: 24px;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 540px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__trust { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 0.92rem; }
.hero__trust strong { color: var(--text); font-weight: 600; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 0.92rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 9px; }
.hero__points li::before {
  content: ""; width: 9px; height: 10px; background: var(--grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700; color: #0b0b0f;
  background: var(--c);
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }

/* ---- hive visual ---- */
.hero__visual { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 1; }
.hive { width: 100%; height: 100%; overflow: visible; }

.orbit circle:first-child { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-dasharray: 2 8; }
.orbit { transform-origin: 260px 260px; }
.orbit--a { animation: spin 60s linear infinite; }
.orbit--b { animation: spin 40s linear infinite reverse; }
.orbit__dot { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.orbit__dot--v { fill: var(--violet); filter: drop-shadow(0 0 6px var(--violet)); }
@keyframes spin { to { transform: rotate(360deg); } }

.cell use { fill: rgba(255, 255, 255, 0.025); stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.2; stroke-linejoin: round; }
.cell--ghost use { fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-dasharray: 3 6; }
.cell {
  transform-box: fill-box; transform-origin: center;
  transition: transform .4s var(--ease);
}
.cell__ico { fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cell__ico .fill { fill: var(--text-2); stroke: none; }
.cell text {
  fill: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-anchor: middle; text-transform: uppercase;
}
.cell--active use { fill: rgba(255, 176, 32, 0.06); stroke: url(#gEdge); stroke-width: 1.6; animation: cellPulse 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.cell--active .cell__ico { stroke: var(--honey); }
.cell--active .cell__ico .fill { fill: var(--honey); }
.cell--active text { fill: var(--text); }
@keyframes cellPulse {
  0%, 100% { stroke-opacity: 1; fill: rgba(255, 176, 32, 0.05); }
  50% { stroke-opacity: 0.35; fill: rgba(255, 176, 32, 0.12); }
}

.core { animation: corePulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.core__shape { fill: url(#gHoney); stroke: rgba(255, 230, 160, 0.6); stroke-width: 1; filter: drop-shadow(0 0 40px rgba(255, 150, 30, 0.6)); }
.core__n { fill: none; stroke: #1a1204; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.core__node { fill: #1a1204; }
@keyframes corePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* floating glass cards */
.float-card {
  position: absolute;
  background: rgba(14, 16, 24, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.float-card--metric { top: 4%; right: -2%; width: 190px; padding: 16px 16px 14px; animation: bob 7s ease-in-out infinite; }
.float-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.float-card .label { font-size: 0.74rem; color: var(--muted); }
.delta { font-size: 0.7rem; font-weight: 600; color: var(--green); background: rgba(46, 230, 166, 0.1); padding: 2px 7px; border-radius: 999px; }
.float-card__value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.float-card__value small { font-size: 1rem; color: var(--text-2); margin-left: 2px; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.spark i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(to top, rgba(255, 176, 32, 0.25), var(--amber)); }

.float-card--console { left: -12%; bottom: -9%; width: 330px; overflow: hidden; animation: bob 8s ease-in-out infinite -3s; }
.console__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.console__bar span:first-child { background: #ff5f57; }
.console__bar span:nth-child(2) { background: #febc2e; }
.console__bar span:nth-child(3) { background: #28c840; }
.console__bar em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.console__body {
  padding: 14px 16px 16px;
  font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.75;
  height: calc(0.74rem * 1.75 * 5 + 30px);
  color: var(--text-2);
}
.console__body .ln { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.console__body .cmd { color: var(--text); }
.console__body .cmd::before { content: "❯ "; color: var(--amber); }
.console__body .dim { color: var(--muted); }
.console__body .ok { color: var(--green); }
.console__body .hl { color: var(--honey); font-weight: 500; }
.console__body .caret { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--amber); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float-card--status {
  right: 2%; bottom: 20%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; color: var(--text-2);
  animation: bob 6s ease-in-out infinite -1.5s;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex: none;
  box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.6); animation: ping 2s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(46, 230, 166, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- logos marquee ---- */
.logos { padding: 70px 0 30px; text-align: center; }
.logos__title { font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; letter-spacing: 0.01em; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; padding-right: 64px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.42); white-space: nowrap;
  transition: color .3s;
}
.logo-item:hover { color: rgba(255, 255, 255, 0.85); }
.lg { width: 20px; height: 20px; display: inline-block; background: currentColor; opacity: 0.9; }
.lg--hex { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.lg--circle { border-radius: 50%; }
.lg--sq { border-radius: 5px; transform: rotate(45deg) scale(0.8); }
.lg--tri { clip-path: polygon(50% 5%, 100% 95%, 0 95%); }
.lg--ring { background: none; border: 4px solid currentColor; border-radius: 50%; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding: 40px 0 20px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.stats .container.stats__grid { padding: 0; max-width: calc(var(--container) - 48px); }
.stat { padding: 34px 32px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--border); }
.stat__num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__num--word { font-size: clamp(1.6rem, 2.5vw, 2.15rem); letter-spacing: -0.03em; line-height: 1.15; }
.stat p { color: var(--muted); font-size: 0.92rem; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 130px 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 176, 32, 0.06), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}
.section__head { max-width: 640px; margin-bottom: 64px; }
.section__head h2 { margin-bottom: 18px; }
.section__head p { color: var(--text-2); font-size: 1.08rem; }
.section__head--center { margin-inline: auto; text-align: center; max-width: 780px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }

/* ---------- Card base with spotlight ---------- */
.card {
  position: relative; overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  transition: border-color .35s, transform .35s var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 176, 32, 0.1), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.97rem; max-width: 460px; }

.card__icon {
  width: 48px; height: 52px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255, 176, 32, 0.2), rgba(255, 122, 26, 0.05));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative;
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento__a, .bento__b { min-height: 360px; display: flex; flex-direction: column; }
.bento__a { grid-column: span 2; }
.bento__f { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* flow */
.flow { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.flow__node {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2);
}
.flow__node--hl { background: rgba(255, 176, 32, 0.1); border-color: rgba(255, 176, 32, 0.5); color: var(--honey); box-shadow: 0 0 30px -6px rgba(255, 176, 32, 0.45); }
.flow__node .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.flow__line { flex: 1; min-width: 18px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 4px, transparent 4px 8px); position: relative; }
.flow__line i {
  position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
  animation: travel 1.8s linear infinite;
}
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 5px); opacity: 0; } }

/* chat */
.chat { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { padding: 11px 14px; border-radius: 14px; font-size: 0.84rem; line-height: 1.5; max-width: 92%; }
.chat__msg--user { align-self: flex-end; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); border-bottom-right-radius: 4px; color: var(--text); }
.chat__msg--ai { background: rgba(255, 176, 32, 0.07); border: 1px solid rgba(255, 176, 32, 0.25); border-bottom-left-radius: 4px; color: var(--text-2); }
.chat__src { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; background: rgba(255, 176, 32, 0.15); color: var(--honey); font-family: var(--font-mono); font-size: 0.68rem; vertical-align: 1px; }

/* scan */
.scan {
  margin-top: 26px; height: 118px; border-radius: 14px; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}
.scan__box { position: absolute; left: 12%; top: 22%; width: 34%; height: 56%; border: 1.5px solid var(--amber); border-radius: 6px; box-shadow: 0 0 20px -4px rgba(255, 176, 32, 0.6) inset; }
.scan__box--2 { left: 56%; top: 30%; width: 28%; height: 48%; border-color: var(--green); box-shadow: 0 0 20px -4px rgba(46, 230, 166, 0.5) inset; }
.scan__box span { position: absolute; top: -10px; left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--amber); color: #1a1204; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; }
.scan__box--2 span { background: var(--green); }
.scan__line { position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(255, 176, 32, 0.25)); border-bottom: 1px solid var(--amber); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0% { top: -40px; } 100% { top: 100%; } }

/* bars */
.bars { margin-top: 26px; height: 118px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, 0.12); transform-origin: bottom; transition: transform 1s var(--ease); }
.bars i.is-pred { background: repeating-linear-gradient(135deg, rgba(255, 176, 32, 0.9) 0 4px, rgba(255, 176, 32, 0.45) 4px 8px); box-shadow: 0 0 20px -4px rgba(255, 176, 32, 0.6); }
.js .bars i { transform: scaleY(0.1); }
.js .reveal.in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; }
.bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; }

/* status */
.status { margin-top: 26px; display: grid; gap: 8px; }
.status li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-2);
}
.status b { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.status em { margin-left: auto; font-style: normal; color: var(--green); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.chips li {
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-strong);
  font-size: 0.88rem; color: var(--text-2);
  transition: border-color .25s, color .25s, background .25s;
}
.chips li:hover { border-color: rgba(255, 176, 32, 0.5); color: var(--honey); background: rgba(255, 176, 32, 0.06); }

/* ==========================================================================
   WORK
   ========================================================================== */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work__item {
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border);
  transition: border-color .35s, transform .45s var(--ease);
}
.work__item:hover { border-color: var(--border-strong); transform: translateY(-6px); }

.work__art {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 55%),
    radial-gradient(circle at 80% 85%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 55%),
    #0d0f17;
}
.work__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hex-pattern); background-size: 42px 72.75px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 80%);
  opacity: 1.4;
}
.work__art::after {
  content: ""; position: absolute; width: 62%; aspect-ratio: 0.866; right: -12%; top: -18%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .8s var(--ease);
}
.work__item:hover .work__art::after { transform: rotate(30deg) scale(1.05); }

.work__panel {
  position: relative; z-index: 1;
  width: min(260px, 70%); padding: 18px 20px;
  border-radius: 18px;
  background: rgba(10, 11, 17, 0.6); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transition: transform .6s var(--ease);
}
.work__item:hover .work__panel { transform: translateY(-6px) scale(1.02); }
.work__panel-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 8px; }
.work__panel strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.work__panel > span:not(.work__panel-label) { display: block; color: var(--text-2); font-size: 0.85rem; margin-bottom: 14px; }
.meter { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); }

.work__meta { padding: 28px 30px 30px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tags li { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); }
.work__meta h3 { font-size: 1.35rem; margin-bottom: 10px; }
.work__meta p { color: var(--text-2); font-size: 0.96rem; margin-bottom: 22px; }
.work__results { display: flex; gap: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.work__results strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; }
.work__results span { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 32, 0.5), rgba(139, 108, 255, 0.5), transparent);
}
.step { position: relative; padding: 0 8px; text-align: center; }
.step__num {
  width: 64px; height: 72px; margin: 0 auto 26px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: var(--honey);
  position: relative; z-index: 0;
}
.step__num::before, .step__num::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.step__num::before { background: linear-gradient(145deg, rgba(255, 194, 61, 0.9), rgba(139, 108, 255, 0.7)); }
.step__num::after { inset: 1.5px; background: #0b0d14; }
.step:hover .step__num::after { background: #15120b; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step__time { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--text-2); font-size: 0.95rem; max-width: 260px; margin-inline: auto; }

/* ==========================================================================
   WHY + STACK
   ========================================================================== */
.why { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.why .section__head { margin-bottom: 40px; }
.why__list { display: grid; gap: 14px; }
.why__list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.why__list li:hover { background: rgba(255, 255, 255, 0.03); border-color: var(--border); }
.why__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255, 176, 32, 0.25); }
.why__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--honey); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why__list p { color: var(--text-2); font-size: 0.95rem; }

.stack {
  position: relative; overflow: hidden;
  padding: 36px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 176, 32, 0.08), rgba(139, 108, 255, 0.06) 60%, rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border-strong);
}
.stack__head { margin-bottom: 26px; position: relative; z-index: 1; }
.stack__head p { color: var(--text-2); }
.stack__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 1; }
.stack__grid li {
  padding: 13px 8px; text-align: center; border-radius: 12px;
  background: rgba(8, 9, 14, 0.55); border: 1px solid var(--border);
  font-size: 0.84rem; font-weight: 500; color: var(--text-2);
  transition: transform .25s var(--ease), border-color .25s, color .25s;
}
.stack__grid li:hover { transform: translateY(-3px); border-color: rgba(255, 176, 32, 0.5); color: var(--text); }
.stack__hex {
  position: absolute; width: 340px; aspect-ratio: 0.866; right: -110px; bottom: -150px;
  background: var(--grad); opacity: 0.22; filter: blur(60px);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 20px;
}
.quote--hl {
  background: linear-gradient(180deg, rgba(255, 176, 32, 0.09), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 176, 32, 0.3);
  transform: translateY(-14px);
}
.quote__stars { color: var(--amber); letter-spacing: 3px; font-size: 0.9rem; }
.quote blockquote { font-size: 1.05rem; line-height: 1.65; color: var(--text); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #0b0b0f; font-size: 0.78rem; font-weight: 700; }
.quote figcaption strong { display: block; font-size: 0.95rem; }
.quote figcaption span:not(.quote__av) { font-size: 0.84rem; color: var(--muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-wrap { padding-top: 40px; padding-bottom: 100px; }
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  padding: 64px; border-radius: 36px;
  border: 1px solid var(--border-strong);
  background: #0a0b11;
}
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 176, 32, 0.22), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(139, 108, 255, 0.18), transparent 50%);
}
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hex-pattern); background-size: 48px 83.14px;
  mask-image: linear-gradient(120deg, #000, transparent 55%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 55%);
}
.contact__copy h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3rem); }
.contact__copy p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 32px; max-width: 420px; }
.contact__info { display: grid; gap: 14px; }
.contact__info li { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.contact__info svg { width: 20px; height: 20px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact__info a:hover { color: var(--text); }

.form {
  display: grid; gap: 16px;
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(6, 7, 11, 0.6); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 0.84rem; font-weight: 500; color: var(--text-2); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-strong);
  font-size: 0.95rem; color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: #5d6377; }
.form input:focus, .form textarea:focus { outline: none; border-color: rgba(255, 176, 32, 0.7); background: rgba(255, 176, 32, 0.04); box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.12); }
.form .is-invalid { border-color: #ff5f57 !important; }

.form__chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: 0.84rem; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.form__chips label { display: inline-flex; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span {
  padding: 8px 14px; border-radius: 999px; font-size: 0.84rem;
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); color: var(--text-2);
  transition: all .2s;
}
.form__chips label:hover span { border-color: rgba(255, 255, 255, 0.3); }
.form__chips input:checked + span { background: rgba(255, 176, 32, 0.14); border-color: rgba(255, 176, 32, 0.6); color: var(--honey); }
.form__chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.form__status { min-height: 1.4em; font-size: 0.9rem; text-align: center; color: var(--green); }
.form__status.is-error { color: #ff7a72; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding: 90px 0 0; border-top: 1px solid var(--border); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 64px; padding-bottom: 56px; }
.footer__brand p { margin: 18px 0 24px; color: var(--muted); max-width: 340px; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  transition: color .2s, border-color .2s, transform .25s var(--ease);
}
.socials a:hover { color: var(--honey); border-color: rgba(255, 176, 32, 0.5); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 0.82rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer__cols a { display: block; color: var(--muted); font-size: 0.94rem; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 0; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.86rem;
  position: relative; z-index: 1;
}
.footer__bottom div { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--text); }
.footer__word {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.75;
  font-size: clamp(6rem, 22vw, 20rem); text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; margin-top: -10px;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .quote--hl.reveal.in { transform: translateY(-14px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 70px; }
  .hero__copy { max-width: 720px; }
  .hero__visual { margin: 0 auto; max-width: 520px; }
  .why { grid-template-columns: 1fr; gap: 48px; }
  .bento__f { grid-template-columns: 1fr; gap: 28px; }
  .chips { justify-content: flex-start; }
  .contact { grid-template-columns: 1fr; padding: 48px; gap: 40px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 20px;
    background: rgba(12, 13, 20, 0.96); border-color: var(--border-strong);
    backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 16px; border-radius: 12px; font-size: 1rem; }
  .nav__mobile-cta { display: block; margin-top: 6px; text-align: center; background: var(--grad); color: #1a1204 !important; font-weight: 600; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__a { grid-column: span 2; }
  .bento__b { grid-column: span 2; min-height: 0; }
  .bento__f { grid-column: span 2; }

  .work { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .quote--hl, .js .quote--hl.reveal.in { transform: none; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .stats .container.stats__grid { max-width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 44px; }

  h2 br { display: none; }
  .logos__title { padding-inline: 16px; }
  .hero__visual { margin-bottom: 90px; }
  .float-card--metric { width: 136px; padding: 10px 12px; right: -2%; top: -8%; }
  .float-card .label { font-size: 0.66rem; }
  .delta { font-size: 0.62rem; }
  .float-card__value { font-size: 1.5rem; }
  .spark { height: 24px; }
  .float-card--console { width: 270px; left: 0; bottom: -26%; }
  .console__body { font-size: 0.64rem; height: calc(0.64rem * 1.75 * 5 + 30px); }
  .float-card--status { display: none; }

  .stat { padding: 26px 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento__a, .bento__b, .bento__f { grid-column: auto; }
  .card { padding: 26px; }
  .flow { flex-wrap: wrap; gap: 10px; }
  .flow__line { display: none; }

  .work__meta { padding: 24px; }
  .work__results { gap: 28px; }
  .process { grid-template-columns: 1fr; }
  .stack { padding: 26px; }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .contact { padding: 28px 20px; border-radius: 28px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
