/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #080808;
  --white: #f8f8f6;
  --accent: #c8ff00;
  --accent-dim: #a8d800;
  --gray-100: #131313;
  --gray-200: #242424;
  --gray-300: #3a3a3a;
  --gray-500: #888;
  --gray-700: #bbb;
  --radius: 16px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --transition: .3s var(--ease);
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; height: 100vh; }

/* (former skew-wrap is now a transparent layout wrapper) */
.skew-wrap { display: block; }

/* ─── CHAPTER RAIL ─────────────────────────────────────────── */
.chapter-rail {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0;
  pointer-events: auto;
}
.chapter-dot {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 18px;
  padding: 0;
  font: inherit;
}
.chapter-dot-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-left: 12px;
  transition: width .35s var(--ease-out), background .3s var(--ease), border-radius .35s var(--ease-out);
}
.chapter-dot.active .chapter-dot-mark {
  background: var(--accent);
  width: 26px;
  border-radius: 4px;
}
.chapter-dot:hover .chapter-dot-mark { background: var(--white); }
.chapter-dot.active:hover .chapter-dot-mark { background: var(--accent); }

.chapter-dot-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 14px;
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}
.chapter-dot:hover .chapter-dot-tag {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ─── COMET CURSOR TRAIL ───────────────────────────────────── */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 8500;
  mix-blend-mode: difference;
  filter: blur(3px);
  transition: opacity .3s var(--ease);
  will-change: transform;
}

@media (max-width: 768px) {
  .chapter-rail { display: none; }
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

/* ─── PRELOADER ────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--ease-out);
}
.preloader.done { transform: translateY(-100%); }

.preloader-inner { text-align: center; width: 280px; }

.preloader-logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}
.pl-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: plCharIn .6s var(--ease-out) forwards;
}
.pl-dot { color: var(--accent); }
.pl-char:nth-child(1){animation-delay:.05s}.pl-char:nth-child(2){animation-delay:.1s}
.pl-char:nth-child(3){animation-delay:.15s}.pl-char:nth-child(4){animation-delay:.2s}
.pl-char:nth-child(5){animation-delay:.25s}.pl-char:nth-child(6){animation-delay:.3s}
.pl-char:nth-child(7){animation-delay:.35s}.pl-char:nth-child(8){animation-delay:.4s}
.pl-char:nth-child(9){animation-delay:.45s}.pl-char:nth-child(10){animation-delay:.5s}
.pl-char:nth-child(11){animation-delay:.55s}.pl-char:nth-child(12){animation-delay:.6s}
@keyframes plCharIn { to { opacity: 1; transform: translateY(0); } }

.preloader-bar {
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-fill { height: 100%; width: 0%; background: var(--accent); }
.preloader-count {
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .1em;
}

/* ─── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--white);
  transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--white);
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.12);
  border-color: transparent;
}
.cursor-ring.view {
  width: 90px; height: 90px;
  background: var(--accent);
  border-color: transparent;
  mix-blend-mode: normal;
}
.cursor-ring.view::after {
  content: 'VIEW';
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.cursor-ring.hide, .cursor-dot.hide { opacity: 0; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ─── SCROLL PROGRESS ──────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-dim); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ─── Section common ───────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1.5px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.section-header { margin-bottom: 72px; }
.accent-word, .reveal-text em { color: var(--accent); font-style: italic; }

/* ─── Text reveal ──────────────────────────────────────────── */
.reveal-text .word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-text .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out);
}
.reveal-text.visible .word-inner { transform: translateY(0); }

.anim-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.anim-child.visible { opacity: 1; transform: translateY(0); }

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition), transform .4s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 40px;
}
.nav.hidden { transform: translateY(-100%); }

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
  color: var(--white);
  font-size: 1.55rem;
}
.logo-mark {
  font-family: 'Fredoka', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.04em;
}
.logo-dot {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin: 0 1px;
}
.logo-suffix {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .72em;
  letter-spacing: -.01em;
  color: var(--gray-700);
  align-self: baseline;
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .28;
  z-index: 0;
  pointer-events: none;
}

/* parallax decorative shapes */
.px-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.px-shape--ring { border: 1.5px solid var(--gray-300); opacity: .5; }
.px-shape--blur { filter: blur(70px); opacity: .35; }
.hero-blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #c8ff00, transparent 70%);
  top: -120px; right: -80px;
  animation: blob1 16s ease-in-out infinite;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #4facfe, transparent 70%);
  bottom: 0; left: -100px;
  animation: blob2 19s ease-in-out infinite;
}
.hero-blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #f093fb, transparent 70%);
  top: 35%; right: 20%;
  animation: blob3 13s ease-in-out infinite;
}
@keyframes blob1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,50px) scale(1.12)} }
@keyframes blob2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(50px,-40px) scale(1.1)} }
@keyframes blob3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,30px) scale(.9)} }

.hero-rows {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(.2rem, 1vw, 1rem);
}
.hero-row { overflow: hidden; }
.hero-row .hero-track span {
  opacity: 0;
  transform: translateY(110%);
}
body:not(.loading) .hero-row .hero-track span {
  animation: heroLineIn .9s var(--ease-out) forwards;
}
.hero-row:nth-child(1) .hero-track span { animation-delay: .1s; }
.hero-row:nth-child(2) .hero-track span { animation-delay: .25s; }
.hero-row:nth-child(3) .hero-track span { animation-delay: .4s; }
@keyframes heroLineIn { to { opacity: 1; transform: translateY(0); } }

.hero-track {
  display: flex;
  align-items: center;
  gap: .4em;
  width: max-content;
  white-space: nowrap;
}
.hero-track--ltr { animation: scrollLeft 32s linear infinite; }
.hero-track--ltr-slow { animation: scrollLeft 48s linear infinite; }
.hero-track--rtl { animation: scrollRight 38s linear infinite; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero-track span {
  font-size: clamp(3rem, 9.5vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.ht-fill { color: var(--white); }
.ht-accent { color: var(--accent); font-style: italic; }
.ht-outline { color: transparent; -webkit-text-stroke: 1.5px var(--gray-300); transition: -webkit-text-stroke .3s; }
.hero-track--rtl:hover .ht-outline { -webkit-text-stroke: 1.5px var(--accent); }
.ht-dot { color: var(--accent); font-size: clamp(1.5rem, 4vw, 4rem) !important; vertical-align: middle; }

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: clamp(48px, 8vw, 96px);
  padding: 0 40px;
}
.hero-statement { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--gray-700); line-height: 1.6; max-width: 520px; }

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll svg { width: 22px; height: 22px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ─── STRIP MARQUEE ────────────────────────────────────────── */
.strip-marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--black);
}
.strip-marquee--accent { background: var(--accent); border-color: var(--accent); }
.strip-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
}
.strip-track span {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-marquee--accent .strip-track span { color: #000; }
.strip-star { color: var(--accent); }
.strip-marquee--accent .strip-star { color: #000; }

/* ─── WHAT DEFINES US ──────────────────────────────────────── */
.defines { padding: 100px 0; }
.defines-title {
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  max-width: 1000px;
  margin-bottom: 72px;
}
.defines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.defines-item {
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.defines-item.visible { opacity: 1; transform: translateY(0); }
.defines-num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; }
.defines-item p { font-size: .95rem; color: var(--gray-700); line-height: 1.65; }

/* ─── SELECTED WORK — live previews ────────────────────────── */
.works { padding: 110px 0; position: relative; overflow: hidden; }
.works-head { max-width: 760px; margin-bottom: 56px; position: relative; z-index: 2; }
.works-lead { font-size: 1rem; color: var(--gray-700); line-height: 1.65; margin-top: 20px; }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.work-tile {
  display: flex;
  flex-direction: column;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(46px);
  transition: border-color .4s var(--ease), transform .6s var(--ease-out), box-shadow .5s var(--ease), opacity .6s var(--ease-out);
}
.work-tile.visible { opacity: 1; transform: translateY(0); }
.work-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(200,255,0,.08), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.work-tile.visible:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 30px 80px -30px rgba(200,255,0,.18); }
.work-tile:hover::before { opacity: 1; }

.work-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.work-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  padding: 4px 10px;
}
.work-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #43e97b;
  box-shadow: 0 0 0 0 rgba(67,233,123,.6);
  animation: livePulse 1.8s ease-out infinite;
}
.work-num {
  font-size: .7rem;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: .1em;
}

.work-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--black);
  position: relative;
  z-index: 2;
}
.work-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #181818;
  border-bottom: 1px solid var(--gray-200);
}
.work-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
}
.work-dot:nth-child(1) { background: #ff5f57; }
.work-dot:nth-child(2) { background: #febc2e; }
.work-dot:nth-child(3) { background: #28c840; }
.work-url {
  flex: 1;
  margin-left: 14px;
  background: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .68rem;
  color: var(--gray-500);
  font-family: ui-monospace, monospace;
  text-align: center;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black);
}
.work-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.work-fallback span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.85);
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.work-iframe {
  position: absolute;
  top: 0; left: 0;
  width: 250%;
  height: 250%;
  border: 0;
  transform: scale(0.4);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 2;
  background: transparent;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease);
  opacity: 0;
}
.work-iframe.loaded { opacity: 1; }
.work-tile:hover .work-iframe.loaded { transform: scale(0.44); }

.work-shine {
  position: absolute;
  top: -50%; left: -60%;
  width: 60%; height: 220%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  transition: transform .9s var(--ease-out);
}
.work-tile:hover .work-shine { transform: translateX(220%); }

.work-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 6px 4px;
  position: relative;
  z-index: 2;
}
.work-info-text { flex: 1; }
.work-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.work-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.work-info p { font-size: .88rem; color: var(--gray-700); line-height: 1.55; max-width: 360px; }

.work-arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  color: var(--white);
}
.work-tile:hover .work-arrow-btn { background: var(--accent); color: #000; border-color: var(--accent); transform: rotate(-10deg); }
.work-arrow-btn svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-tile { padding: 18px; }
  .work-info h3 { font-size: 1.15rem; }
}

/* ─── REQUEST A DEMO (storytelling) ────────────────────────── */
.demo { padding: 110px 0; position: relative; overflow: hidden; }
.demo-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,0,.1) 0%, transparent 70%);
  top: 10%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: blob3 18s ease-in-out infinite;
}

.demo-intro { max-width: 760px; margin-bottom: 30px; position: relative; z-index: 2; }
.demo-lead { font-size: 1.05rem; color: var(--gray-700); line-height: 1.65; margin-top: 22px; }

/* story spine + acts */
.demo-story { position: relative; padding: 40px 0; z-index: 2; }
.demo-thread {
  position: absolute;
  left: 7px; top: 30px; bottom: 30px;
  width: 2px;
  background: var(--gray-200);
}
.demo-thread-fill { width: 100%; height: 0%; background: var(--accent); transition: height .15s linear; }

.demo-act {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 56px 0 56px 60px;
  position: relative;
  opacity: 0;
  transform: translateX(-46px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.demo-act--rev { transform: translateX(46px); }
.demo-act.visible { opacity: 1; transform: translateX(0); }
.demo-act::before {
  content: '';
  position: absolute;
  left: 0; top: 78px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--gray-300);
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.demo-act.visible::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(200,255,0,.12);
}
.demo-act--rev .demo-act-text { order: 2; }

.demo-act-num {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.demo-act-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.demo-act-text p { font-size: .95rem; color: var(--gray-700); line-height: 1.7; max-width: 420px; }

.demo-act-visual { display: flex; justify-content: center; }

/* visual: chat */
.demo-chat {
  width: 100%;
  max-width: 340px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: .9rem;
  max-width: 80%;
}
.demo-bubble--you { align-self: flex-end; background: var(--accent); color: #000; border-bottom-right-radius: 4px; font-weight: 500; }
.demo-bubble--us { align-self: flex-start; background: var(--gray-200); color: var(--white); border-bottom-left-radius: 4px; }
.demo-typing { display: flex; gap: 5px; }
.demo-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-500);
  display: block;
  animation: typing 1.3s ease-in-out infinite;
}
.demo-typing i:nth-child(2) { animation-delay: .2s; }
.demo-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }

/* visual: canvas */
.demo-canvas {
  width: 100%;
  max-width: 360px;
  height: 260px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.demo-shape { position: absolute; opacity: 0; animation: shapeIn 6s ease-in-out infinite; }
.demo-shape--1 {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg,#4facfe,#00f2fe);
  top: 36px; left: 40px;
  animation-delay: .3s;
}
.demo-shape--2 {
  width: 110px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg,#f093fb,#f5576c);
  bottom: 44px; right: 44px;
  animation-delay: 1.3s;
}
.demo-shape--3 {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--accent);
  top: 110px; left: 130px;
  animation-delay: 2.3s;
}
@keyframes shapeIn {
  0%,8% { opacity: 0; transform: scale(.4) rotate(-12deg); }
  20%,72% { opacity: 1; transform: scale(1) rotate(0); }
  88%,100% { opacity: 0; transform: scale(.4) rotate(12deg); }
}
.demo-cursor { position: absolute; top: 0; left: 0; animation: cursorMove 6s ease-in-out infinite; }
.demo-cursor svg { width: 26px; height: 26px; }
.demo-cursor-tag {
  position: absolute;
  left: 20px; top: 20px;
  background: var(--accent);
  color: #000;
  font-size: .6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
@keyframes cursorMove {
  0% { transform: translate(60px,56px); }
  30% { transform: translate(90px,80px); }
  55% { transform: translate(260px,150px); }
  80% { transform: translate(170px,140px); }
  100% { transform: translate(60px,56px); }
}

/* visual: player */
.demo-player {
  width: 100%;
  max-width: 360px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.demo-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.demo-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.demo-play svg { width: 30px; height: 30px; margin-left: 3px; }
.demo-player-bar { width: 100%; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.demo-player-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  border-radius: 3px;
  animation: playFill 5s linear infinite;
}
@keyframes playFill { 0% { width: 0%; } 90%,100% { width: 100%; } }
.demo-player-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }

/* CTA card */
.demo-cta {
  position: relative;
  margin-top: 50px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.demo-cta-orb {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,0,.16) 0%, transparent 70%);
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.demo-cta-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
  position: relative;
}
.demo-cta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200,255,0,.6);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,0,.6); } 100% { box-shadow: 0 0 0 10px rgba(200,255,0,0); } }
.demo-cta-title {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 14px;
  position: relative;
}
.demo-cta-title em { color: var(--accent); font-style: italic; }
.demo-cta-sub { font-size: 1rem; color: var(--gray-700); margin-bottom: 36px; position: relative; }

.demo-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
  position: relative;
}
.demo-form input {
  flex: 1;
  background: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 16px 22px;
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.demo-form input::placeholder { color: var(--gray-500); }
.demo-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,255,0,.08); }
.demo-cta-fine { font-size: .78rem; color: var(--gray-500); position: relative; }

/* ─── CLIENTS MARQUEE ──────────────────────────────────────── */
.clients { padding: 60px 0 100px; }
.clients-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 36px;
}
.clients-marquee { overflow: hidden; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 32px 0; }
.clients-track { display: flex; gap: 80px; width: max-content; animation: scrollLeft 30s linear infinite; }
.clients-track span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gray-300);
  transition: color var(--transition), transform var(--transition);
}
.clients-track span:hover { color: var(--accent); transform: scale(1.15); }

/* ─── SERVICES ─────────────────────────────────────────────── */
.services { padding: 100px 0; background: var(--gray-100); position: relative; }
.services-list { display: flex; flex-direction: column; position: relative; z-index: 2; }

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 40px;
  padding: 38px 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  transition: padding var(--transition);
}
.service-item:first-child { border-top: 1px solid var(--gray-200); }
.service-item::before {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  transition: left .45s var(--ease-out);
  z-index: -1;
}
.service-item.active::before { left: 0; }
.service-item.active { padding-left: 32px; padding-right: 32px; }
.service-item.active .service-number,
.service-item.active .service-body h3,
.service-item.active .service-body p,
.service-item.active .service-icon { color: #000; }
.service-item.active .service-icon { transform: scale(1.1) rotate(8deg); }

.service-number { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--gray-500); transition: color var(--transition); }
.service-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; transition: color var(--transition); }
.service-body p { font-size: .875rem; color: var(--gray-700); line-height: 1.6; max-width: 520px; transition: color var(--transition); }
.service-icon { display: flex; justify-content: flex-end; color: var(--gray-500); transition: color var(--transition), transform var(--transition); }
.service-icon svg { width: 32px; height: 32px; }

.service-follow {
  position: fixed;
  width: 220px; height: 150px;
  border-radius: 12px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.7);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
  background-size: cover;
}
.service-follow.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ─── PROCESS ──────────────────────────────────────────────── */
.process { padding: 100px 0; background: var(--gray-100); }
.process-wrap { position: relative; }
.process-line {
  position: absolute;
  left: 0; right: 0;
  top: 20px;
  height: 2px;
  background: var(--gray-200);
}
.process-line-fill { height: 100%; width: 0%; background: var(--accent); transition: width .1s linear; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  padding: 32px;
  background: var(--black);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(40px);
}
.process-step.visible { opacity: 1; transform: translateY(0); transition: border-color var(--transition), transform .6s var(--ease-out), opacity .6s var(--ease-out); }
.process-step:hover { border-color: var(--accent); transform: translateY(-6px); }
.process-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: .875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.process-step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: .85rem; color: var(--gray-700); line-height: 1.6; }

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { padding: 100px 0; overflow: hidden; position: relative; }
.testi-stage { padding: 0 32px; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .7s var(--ease-out);
}
.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--accent); }
.testimonial-stars { font-size: .9rem; color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p { font-size: .9rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .875rem; font-weight: 700; }
.testimonial-author span { font-size: .75rem; color: var(--gray-500); }

.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

/* ─── CONTACT ──────────────────────────────────────────────── */
.contact { padding: 100px 0; overflow: hidden; position: relative; }
.contact-inner {
  position: relative;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  padding: 80px;
  overflow: hidden;
}
.contact-orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,0,.14) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
  animation: blob3 14s ease-in-out infinite;
}
.contact-title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 16px; }
.contact-sub { font-size: 1rem; color: var(--gray-700); line-height: 1.6; max-width: 480px; margin-bottom: 48px; }
.contact-form { max-width: 640px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; position: relative; }
.form-group label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--gray-700); transition: color var(--transition); }
.form-group:focus-within label { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,255,0,.08); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--black); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--gray-200); }
.footer-cta-big {
  font-size: clamp(2.4rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}
.fcb-line { display: block; overflow: hidden; }
.fcb-line span, .fcb-line em { display: inline-block; }
.footer-cta-big em { color: var(--accent); }
.fcb-line > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out);
}
.footer-cta-big.visible .fcb-line > * { transform: translateY(0); }
.footer-cta-big.visible .fcb-line:nth-child(2) > * { transition-delay: .1s; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 1.25rem;
  line-height: 1;
}
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: .85rem; font-weight: 500; color: var(--gray-500); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: #000; background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .defines-grid { grid-template-columns: 1fr; gap: 0; }
  .defines-item { padding: 24px 0; }
  .defines-item:not(:first-child) { border-top: 1px solid var(--gray-200); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .testimonial-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 120px 0 48px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; padding: 0 20px; }
  .hero-scroll { flex-direction: row; }
  .demo-act { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 40px 44px; }
  .demo-act--rev .demo-act-text { order: 0; }
  .demo-act::before { top: 46px; }
  .demo-act-visual { justify-content: flex-start; }
  .demo-cta { padding: 48px 24px; }
  .demo-form { flex-direction: column; }
  .demo-form input { border-radius: var(--radius-sm); }
  .demo-form .btn { justify-content: center; border-radius: var(--radius-sm); }
  .service-item { grid-template-columns: 48px 1fr; gap: 20px; }
  .service-item.active { padding-left: 16px; padding-right: 16px; }
  .service-icon { display: none; }
  .clients-track { gap: 48px; }
  .clients-track span { font-size: 1.2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .contact-inner { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .section-header { margin-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track, .clients-track, .strip-track, .hero-blob, .contact-orb,
  .demo-glow, .demo-shape, .demo-cursor, .demo-player-fill, .demo-typing i { animation: none !important; }
}
