/* TerriScape website — shared styles
   Brand: Terri Ink #12302B · Brand Teal #0E7C66 · Leaf Green #1E8A34 · Fresh Green #63B83A · Leaf Lime #9ACD32 · Mist #E4F3DC */

:root {
  --bg: #050d0b;
  --bg-2: #08140f;
  --ink: #12302b;
  --surface: rgba(18, 48, 43, 0.38);
  --surface-2: rgba(18, 48, 43, 0.62);
  --line: rgba(154, 205, 50, 0.14);
  --line-2: rgba(228, 243, 220, 0.1);
  --text: #eef7ea;
  --muted: #9fb8ad;
  --dim: #6f8a80;
  --teal: #0e7c66;
  --teal-2: #14a386;
  --leaf: #1e8a34;
  --fresh: #63b83a;
  --lime: #9acd32;
  --mist: #e4f3dc;
  --cyan: #3ad6c4;
  --amber: #f2c14e;
  --danger: #ff7a6b;
  --grad: linear-gradient(100deg, #9acd32 0%, #63b83a 35%, #14a386 70%, #3ad6c4 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(154, 205, 50, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }

/* Ambient background */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(120px); opacity: 0.16;
}
.ambient::before { background: #0e7c66; top: 40%; left: -20vmax; animation: drift 26s ease-in-out infinite alternate; }
.ambient::after { background: #63b83a; top: 110%; right: -25vmax; animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(10vmax, -30vmax); } }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  color: #04130d;
  background: linear-gradient(135deg, #b7e04a 0%, #63b83a 45%, #14a386 100%);
  box-shadow: 0 10px 30px -8px rgba(99, 184, 58, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 150% 0; transition: background-position 0.8s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(99, 184, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover::after { background-position: -50% 0; }
.btn-ghost { background: rgba(228, 243, 220, 0.05); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(228, 243, 220, 0.1); border-color: rgba(154, 205, 50, 0.4); transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 13, 11, 0.72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line-2); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 84px; }
@media (max-width: 600px) { .brand img, .logo-live { height: 40px; } .nav-inner { height: 72px; } }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 50px; width: auto; }

/* Animated logo (nav) */
.logo-live { display: inline-block; height: 50px; }
.logo-live svg { height: 100%; width: auto; overflow: visible; }
.logo-live path { transform-box: fill-box; }
.logo-live .lg-t { animation: lgT 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.logo-live .lg-leaf {
  transform-origin: 0% 100%;
  animation: lgGrow 1.1s 0.35s cubic-bezier(0.3, 1.5, 0.5, 1) both, lgSway 5s 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(154, 205, 50, 0));
}
.logo-live .lg-sw1, .logo-live .lg-sw2 { clip-path: inset(0 100% 0 0); animation: lgWipe 0.9s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.logo-live .lg-sw1 { animation-delay: 0.2s; }
.logo-live .lg-sw2 { animation-delay: 0.4s; }
.logo-live .lg-terri, .logo-live .lg-scape { animation: lgUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.logo-live .lg-terri { animation-delay: 0.55s; }
.logo-live .lg-scape { animation-delay: 0.7s; }
.logo-live .lg-shine { transform-box: fill-box; transform: skewX(-20deg) translateX(-150%); animation: lgShine 6s 1.8s ease-in-out infinite; }
.brand:hover .lg-leaf { animation: lgGrow 0s both, lgWiggle 0.9s ease-in-out; filter: drop-shadow(0 0 18px rgba(154, 205, 50, 0.75)); }
.brand:hover .logo-live svg { filter: drop-shadow(0 0 14px rgba(99, 184, 58, 0.35)); }
.logo-live svg { transition: filter 0.4s ease; }
@keyframes lgT { from { opacity: 0; transform: translateY(-30%); } to { opacity: 1; transform: none; } }
@keyframes lgGrow { from { opacity: 0; transform: scale(0.1) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes lgSway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg); } }
@keyframes lgWiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg) scale(1.05); } 65% { transform: rotate(6deg); } }
@keyframes lgWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes lgUp { from { opacity: 0; transform: translateY(25%); } to { opacity: 1; transform: none; } }
@keyframes lgShine { 0% { transform: skewX(-20deg) translateX(-150%); } 35%, 100% { transform: skewX(-20deg) translateX(750%); } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(228, 243, 220, 0.06); }
.nav .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#terrain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 70% 85%, rgba(14, 124, 102, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(99, 184, 58, 0.25), transparent 60%),
    var(--bg);
}
.hero-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 13, 11, 0.92) 0%, rgba(5, 13, 11, 0.55) 45%, rgba(5, 13, 11, 0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 13, 11, 0) 22%);
}
.hero-inner { padding-top: 120px; padding-bottom: 120px; }
.hero-copy { max-width: 800px; }
.hero-copy .lead { max-width: 600px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(18, 48, 43, 0.6); border: 1px solid var(--line); font-size: 13.5px; color: var(--mist);
  backdrop-filter: blur(10px); transition: border-color 0.2s;
}
.pill:hover { border-color: rgba(154, 205, 50, 0.5); }
.pill .tag { background: var(--grad); color: #04130d; font-weight: 700; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em; }
.hero h1 {
  font-size: clamp(34px, 3.8vw, 56px); line-height: 1.08; max-width: 800px; letter-spacing: -0.045em; font-weight: 800;
  margin: 26px 0 22px;
}
.hero h1 .line { display: block; }
@media (max-width: 900px) { .br-wide { display: none; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 590px; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14px; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 17px; height: 17px; color: var(--lime); }

.readout {
  position: absolute; left: 24px; bottom: 26px; font-size: 12px; color: var(--dim); letter-spacing: 0.04em;
  display: flex; gap: 18px; align-items: center;
}
.readout .live { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); }
.readout .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Floating glass cards in the hero */
.float-stack { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); top: 50%; transform: translateY(-38%); width: 300px; display: grid; gap: 16px; }
.glass {
  background: linear-gradient(160deg, rgba(30, 70, 60, 0.55), rgba(10, 26, 22, 0.55));
  border: 1px solid rgba(228, 243, 220, 0.12); border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(1.3); box-shadow: var(--shadow);
}
.toast { padding: 16px 18px; display: flex; gap: 14px; align-items: center; animation: bob 7s ease-in-out infinite; }
.toast:nth-child(2) { margin-left: -48px; animation-delay: -2.3s; }
.toast:nth-child(3) { margin-left: 22px; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.toast .badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.toast .badge .icon { width: 22px; height: 22px; }
.toast small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.toast strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.toast span.sub { display: block; color: var(--muted); font-size: 12.5px; }
.grade { font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bar { height: 5px; border-radius: 4px; background: rgba(228, 243, 220, 0.08); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; animation: fillbar 2.4s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes fillbar { to { width: var(--w, 92%); } }

/* Marquee */
.strip { border-block: 1px solid var(--line-2); background: rgba(8, 20, 15, 0.7); overflow: hidden; position: relative; }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 22px 0; }
.marquee li { display: flex; align-items: center; gap: 12px; padding: 0 30px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--lime); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.section { padding: 130px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; margin: 18px 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Workflow */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow-line { position: absolute; left: 6%; right: 6%; top: 38px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.flow-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 18px var(--fresh); }
.step { position: relative; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(160deg, #163d35, #0a1d18); border: 1px solid var(--line); margin-bottom: 26px;
  box-shadow: 0 0 0 8px var(--bg), 0 20px 40px -15px rgba(14, 124, 102, 0.6);
}
.step-num .icon { width: 30px; height: 30px; color: var(--lime); }
.step-num b { position: absolute; top: -9px; right: -9px; font-family: var(--mono); font-size: 11px; background: var(--grad); color: #04130d; border-radius: 999px; padding: 2px 8px; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(154, 205, 50, 0.08); border: 1px solid var(--line); color: var(--mist); }

/* Tools */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  border: 1px solid var(--line-2); background: rgba(228, 243, 220, 0.03); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: all 0.25s;
}
.tab:hover { color: var(--text); border-color: rgba(154, 205, 50, 0.35); }
.tab[aria-selected="true"] { background: var(--grad); color: #04130d; border-color: transparent; box-shadow: 0 8px 24px -10px rgba(99, 184, 58, 0.7); }
.tab .n { opacity: 0.6; margin-left: 6px; font-family: var(--mono); font-size: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tool {
  --mx: 50%; --my: 50%;
  position: relative; padding: 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(20, 52, 45, 0.5), rgba(8, 20, 16, 0.6));
  border: 1px solid var(--line-2);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, opacity 0.35s;
  transform-style: preserve-3d;
}
.tool::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(154, 205, 50, 0.16), transparent 45%);
}
.tool::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(154, 205, 50, 0.85), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tool:hover::before, .tool:hover::after { opacity: 1; }
.tool.hide { display: none; }
.tool-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--c, var(--lime)); background: color-mix(in srgb, var(--c, #9acd32) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, #9acd32) 30%, transparent); }
.tool-icon .icon { width: 24px; height: 24px; }
.tool h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.tool .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c, var(--lime)); }
.tool p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tool .new { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--grad); color: #04130d; letter-spacing: 0.04em; }

/* Spotlight rows */
.spot { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; margin-bottom: 140px; }
.spot:last-child { margin-bottom: 0; }
.spot.flip .spot-copy { order: 2; }
.spot h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin: 16px 0; }
.spot p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); font-size: 15.5px; }
.ticks .icon { width: 20px; height: 20px; color: #04130d; background: var(--grad); border-radius: 50%; padding: 3px; stroke-width: 3; margin-top: 2px; }

/* Media frame = placeholder for demo videos */
.media {
  position: relative; border-radius: var(--radius-lg); padding: 1px; overflow: hidden;
  background: linear-gradient(140deg, rgba(154, 205, 50, 0.55), rgba(14, 124, 102, 0.15) 40%, rgba(58, 214, 196, 0.4));
  box-shadow: 0 50px 100px -40px rgba(14, 124, 102, 0.55);
}
.media-inner { position: relative; border-radius: calc(var(--radius-lg) - 1px); background: #071310; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: rgba(18, 48, 43, 0.45); font-size: 12px; color: var(--dim); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(228, 243, 220, 0.15); }
.win-bar i:nth-child(1) { background: #ff6b5f; opacity: 0.8; }
.win-bar i:nth-child(2) { background: #f2c14e; opacity: 0.8; }
.win-bar i:nth-child(3) { background: #63b83a; opacity: 0.8; }
.win-bar span { margin-left: 10px; font-family: var(--mono); }
.stage { position: relative; aspect-ratio: 16 / 10; background:
  linear-gradient(rgba(154, 205, 50, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(154, 205, 50, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
  radial-gradient(ellipse at 50% 120%, rgba(14, 124, 102, 0.35), transparent 70%); }
.stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage video { width: 100%; height: 100%; object-fit: cover; }
.soon {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; z-index: 2;
  font-size: 12px; font-weight: 600; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(5, 13, 11, 0.75); border: 1px solid var(--line-2); backdrop-filter: blur(8px); color: var(--mist);
}
.soon .play { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.soon .play .icon { width: 10px; height: 10px; color: #04130d; margin-left: 1px; }

/* SVG scene animations */
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.in .draw { animation: draw 2.6s cubic-bezier(0.5, 0, 0.2, 1) forwards; animation-delay: var(--dl, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pop { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.in .pop { animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; animation-delay: var(--dl, 0s); }
@keyframes pop { to { transform: scale(1); } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; animation-delay: var(--dl, 0s); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.scan { animation: scan 4s linear infinite; }
@keyframes scan { from { transform: translateY(-10%); } to { transform: translateY(110%); } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Before / after slider */
.ba { position: absolute; inset: 0; --pos: 50%; touch-action: none; user-select: none; cursor: ew-resize; }
.ba > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lime); box-shadow: 0 0 20px var(--lime); }
.ba .knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #04130d; box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6); }
.ba .knob .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.ba .lbl { position: absolute; top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(5, 13, 11, 0.75); border: 1px solid var(--line-2); }
.ba .lbl.l { left: 14px; color: var(--danger); }
.ba .lbl.r { right: 14px; color: var(--lime); }

/* Film */
.film-frame { position: relative; max-width: 1040px; margin: 0 auto; }
.film-frame .media-inner video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.film-glow { position: absolute; inset: 10% 5% -10%; background: var(--grad); filter: blur(90px); opacity: 0.25; z-index: -1; border-radius: 50%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(20, 52, 45, 0.45), rgba(8, 20, 16, 0.5)); }
.stat b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; display: block; margin-top: 10px; }

/* About */
.about {
  display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center;
  padding: 56px; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(20, 163, 134, 0.16), transparent 70%), linear-gradient(170deg, rgba(20, 52, 45, 0.5), rgba(6, 18, 15, 0.6));
}
.founder { text-align: center; }
.founder-photo { position: relative; width: 240px; height: 240px; margin: 0 auto 26px; border-radius: 50%; isolation: isolate; }
.founder-photo::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #9acd32, #14a386, #3ad6c4, #63b83a, #9acd32); animation: rotate 8s linear infinite;
}
.founder-photo::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; z-index: -2; background: radial-gradient(circle, rgba(154, 205, 50, 0.28), transparent 65%); }
.founder-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid #0b1d18; }
.founder h3 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 4px; }
.founder-role { color: var(--lime); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 22px; }
.founder-link { height: 44px; font-size: 14px; }
.story { padding-left: 56px; border-left: 1px solid var(--line-2); }
.story p { color: #c3d6cc; font-size: 17px; line-height: 1.8; margin: 0 0 20px; }
.story p:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px; }
  .story { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--line-2); }
}
@media (max-width: 600px) { .founder-photo { width: 200px; height: 200px; } .story p { font-size: 16px; } }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.price-card {
  position: relative; border-radius: var(--radius-lg); padding: 2px; overflow: hidden; isolation: isolate;
}
.price-card::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, #9acd32, #14a386, #3ad6c4, #12302b 40%, #12302b 60%, #63b83a, #9acd32);
  animation: rotate 6s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.price-body { position: relative; height: 100%; border-radius: calc(var(--radius-lg) - 2px); background: linear-gradient(170deg, #0f2a24, #06120f 70%); padding: 44px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.ribbon { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(154, 205, 50, 0.12); color: var(--lime); border: 1px solid var(--line); }
.amount { display: flex; align-items: flex-end; gap: 8px; margin: 26px 0 6px; }
.amount b { font-size: clamp(60px, 7vw, 84px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 800; }
.amount b sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.25em; margin-right: 4px; letter-spacing: 0; color: var(--muted); font-weight: 700; }
.amount span { color: var(--muted); padding-bottom: 8px; font-weight: 500; }
.price-note { color: var(--dim); font-size: 14px; margin: 0 0 30px; }
.price-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.price-list li { display: flex; gap: 12px; color: var(--mist); font-size: 15.5px; }
.price-list .icon { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 2px; stroke-width: 2.4; }
.side-card { border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(20, 52, 45, 0.4), rgba(8, 20, 16, 0.5)); display: flex; flex-direction: column; gap: 22px; }
.side-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.side-item { display: flex; gap: 14px; }
.side-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(154, 205, 50, 0.08); border: 1px solid var(--line); color: var(--lime); flex: none; }
.side-item b { display: block; font-size: 15.5px; }
.side-item span { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(18, 48, 43, 0.22); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line); background: rgba(18, 48, 43, 0.4); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; transition: transform 0.35s, background 0.35s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--grad); color: #04130d; border-color: transparent; }
.faq summary .pm .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.faq .ans { padding: 0 26px 24px; color: var(--muted); margin: 0; }

/* Final CTA */
.final { position: relative; text-align: center; border-radius: 36px; padding: 100px 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(99, 184, 58, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% -20%, rgba(20, 163, 134, 0.35), transparent 70%),
    #07130f;
}
.final .contours { position: absolute; inset: 0; z-index: -1; opacity: 0.35; width: 100%; height: 100%; }
.final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.final p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.final .cta-row { justify-content: center; }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--line-2); margin-top: 130px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.foot img { height: 34px; width: auto; margin-bottom: 16px; }
.foot p { color: var(--dim); font-size: 14px; max-width: 320px; margin: 0; }
.foot h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.foot a:hover { color: var(--lime); }
.foot-ic { display: inline-flex; align-items: center; gap: 9px; word-break: break-all; }
.foot-ic .icon { width: 18px; height: 18px; flex: none; }
.legal { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--dim); font-size: 13px; }
.legal small { font-size: 12px; }

/* Toast notice (used by checkout + demo slots) */
.notice {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 90;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; max-width: calc(100vw - 32px);
  background: rgba(12, 32, 27, 0.95); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14.5px;
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.notice.show { transform: translate(-50%, 0); }
.notice .icon { color: var(--lime); }

/* Responsive */
@media (max-width: 1100px) {
  .float-stack { display: none; }
  .hero-fade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 13, 11, 0.35) 40%, rgba(5, 13, 11, 0.7) 100%); }
}
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .flow-line { display: none; }
  .spot, .spot.flip { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; }
  .spot.flip .spot-copy { order: 0; }
  .price-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; padding: 12px; border-radius: 18px; background: rgba(8, 20, 15, 0.97); border: 1px solid var(--line-2); }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: rgba(5, 13, 11, 0.95); }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 90px 0; }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 18px; }
  .price-body, .side-card { padding: 28px 22px; }
  .final { padding: 70px 20px; border-radius: 26px; }
  .foot { grid-template-columns: 1fr; }
  .readout { display: none; }
  .hero-fade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 13, 11, 0.55) 35%, rgba(5, 13, 11, 0.8) 100%); }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-inner { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
