:root {
  --bg-deep: #030504;
  --bg-black: #070807;
  --bg-soft: #f7f8f6;
  --surface: #ffffff;
  --text: #07100b;
  --inverse: #ffffff;
  --muted: #647067;
  --muted-dark: #a5b0aa;
  --green: #0b9b78;
  --green-hover: #07765e;
  --lime: #8bd9a8;
  --royal-light: #82d39b;
  --royal-mid: #16a77f;
  --royal-dark: #045640;
  --royal-gradient: linear-gradient(135deg, var(--royal-light) 0%, var(--royal-mid) 48%, var(--royal-dark) 100%);
  --warning: #ffb020;
  --danger: #ff4d4d;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(5, 8, 6, 0.62);
  --glass-border: rgba(255, 255, 255, 0.18);
  --border-soft: rgba(7, 16, 11, 0.1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  --glow: 0 0 80px rgba(10, 160, 120, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--inverse);
  font-family: Inter, Manrope, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.top-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: #050505;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.top-bar a {
  color: var(--green);
  font-weight: 800;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 65;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(3, 5, 4, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  transition: transform 260ms var(--ease), background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 5, 4, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

.brand,
.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 140px;
  height: 140px;
  margin-right: -34px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.desktop-nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.desktop-nav a,
.login-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.login-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-actions {
  gap: 8px;
}

.header-cta,
.button,
.mobile-cta,
.signup-row button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.button.primary,
.mobile-cta,
.signup-row button {
  background: var(--royal-gradient);
  color: #031006;
  box-shadow: 0 0 34px rgba(11, 155, 120, 0.22);
}

.button.primary.hero-primary {
  position: relative;
  min-width: 190px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(10, 160, 120, 0.52);
  background: #020403;
  color: var(--green);
  font-size: 14px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(10, 160, 120, 0.16);
}

.button.primary.hero-primary span {
  position: relative;
  z-index: 2;
}

.button.primary.hero-primary i {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--royal-light);
  box-shadow:
    0 0 10px rgba(11, 155, 120, 0.82),
    0 0 22px rgba(10, 160, 120, 0.55);
  offset-path: inset(3px round 999px);
  offset-distance: 0%;
  animation: borderDot 3.2s linear infinite;
}

.header-cta {
  padding: 0 20px;
}

.cta-short {
  display: none;
}

.header-cta:hover,
.button:hover,
.mobile-cta:hover,
.signup-row button:hover {
  transform: translateY(-2px) scale(1.01);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  color: #fff;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 96px 24px 32px;
  background: rgba(3, 5, 4, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity 260ms ease, transform 260ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 32px;
  font-weight: 900;
}

.mobile-menu-actions {
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10px;
  margin-top: 16px;
}

.mobile-menu .mobile-login,
.mobile-menu .mobile-cta {
  width: 100%;
  font-size: 17px;
}

.mobile-menu .mobile-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 142px clamp(20px, 6vw, 64px) 74px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, rgba(10, 160, 120, 0.12), transparent 22%),
    radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0) 0 24%, rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(180deg, rgba(3, 5, 4, 0.04), rgba(3, 5, 4, 0.92) 92%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(10, 160, 120, 0.16) 0 6%, transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(10, 160, 120, 0.14), transparent 38%),
    #000;
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: #000;
  animation: blackReveal 1.35s var(--ease) forwards;
}

.prism-scene {
  position: absolute;
  inset: -18% -14%;
  transform: translateZ(0);
  opacity: 0;
  animation: prismIntro 2.15s var(--ease) forwards;
}

.prism-scene::before,
.prism-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prism-scene::before {
  opacity: 0;
  background:
    linear-gradient(64deg, transparent 0 41%, rgba(255, 255, 255, 0.2) 41.3%, transparent 42%),
    linear-gradient(116deg, transparent 0 41%, rgba(255, 255, 255, 0.2) 41.3%, transparent 42%),
    linear-gradient(244deg, transparent 0 41%, rgba(255, 255, 255, 0.16) 41.3%, transparent 42%),
    linear-gradient(296deg, transparent 0 41%, rgba(255, 255, 255, 0.16) 41.3%, transparent 42%);
  animation: ghostLines 1.85s 0.12s var(--ease) forwards;
}

.prism-scene::after {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.18), transparent 3%),
    radial-gradient(circle at 50% 50%, rgba(10, 160, 120, 0.16), transparent 18%);
  opacity: 0;
  animation: coreFlash 2.1s 0.08s var(--ease) forwards;
}

.prism-panel,
.prism-streak {
  position: absolute;
  left: 50%;
  top: 48%;
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
}

.prism-panel {
  width: 112vw;
  height: clamp(132px, 17vw, 250px);
  transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.02);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(25, 245, 255, 0.78) 8%,
      rgba(30, 78, 255, 0.86) 18%,
      rgba(5, 13, 35, 0.24) 35%,
      rgba(255, 255, 255, 0.52) 50%,
      rgba(255, 222, 62, 0.62) 58%,
      rgba(255, 54, 103, 0.48) 65%,
      rgba(10, 160, 120, 0.28) 74%,
      transparent 94%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.54),
      rgba(55, 137, 255, 0.2) 34%,
      rgba(0, 0, 0, 0.08) 56%,
      rgba(0, 0, 0, 0.54)
    );
  animation: panelIntro 2.35s var(--delay, 0.12s) var(--ease) forwards;
}

.prism-panel::before,
.prism-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prism-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent 12% 86%, rgba(255, 255, 255, 0.8)),
    linear-gradient(90deg, rgba(10, 160, 120, 0.64), rgba(45, 122, 255, 0.78), rgba(255, 255, 255, 0.5), transparent 58%);
  opacity: 0.6;
}

.prism-panel::after {
  inset: -2px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent 3px),
    linear-gradient(0deg, rgba(10, 160, 120, 0.76), transparent 4px);
  opacity: 0.78;
}

.panel-top-left {
  --angle: 216deg;
  --offset: -26px;
  --delay: 0.08s;
}

.panel-top-right {
  --angle: 324deg;
  --offset: -18px;
  --delay: 0.12s;
}

.panel-bottom-left {
  --angle: 144deg;
  --offset: 32px;
  --delay: 0.16s;
}

.panel-bottom-right {
  --angle: 36deg;
  --offset: 28px;
  --delay: 0.2s;
}

.prism-streak {
  width: 112vw;
  height: var(--height, 3px);
  transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.02);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(0, 244, 150, 0.78) 14%, rgba(40, 110, 255, 0.88) 36%, rgba(255, 255, 255, 0.56) 52%, transparent 88%);
  animation: streakIntro 2.05s var(--delay, 0.15s) var(--ease) forwards;
}

.prism-streak.a {
  --height: 3px;
  --offset: -82px;
}

.prism-streak.b {
  --height: 7px;
  --offset: 88px;
}

.prism-streak.c {
  --height: 2px;
  --offset: 145px;
}

.streak-top-left {
  --angle: 222deg;
  --delay: 0.26s;
}

.streak-top-right {
  --angle: 318deg;
  --delay: 0.3s;
}

.streak-bottom-left {
  --angle: 138deg;
  --delay: 0.34s;
}

.streak-bottom-right {
  --angle: 42deg;
  --delay: 0.38s;
}

.streak-top-left.b {
  --angle: 228deg;
}

.streak-top-right.b {
  --angle: 312deg;
}

.streak-bottom-left.b {
  --angle: 132deg;
}

.streak-bottom-right.b {
  --angle: 48deg;
}

.beam {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 82vw;
  height: 82px;
  transform-origin: 0 50%;
  opacity: 0;
  transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.02);
  animation: beamIntro 2.05s var(--delay, 0.25s) var(--ease) forwards;
}

.beam.wide {
  --beam-opacity: 0.34;
  height: 104px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(10, 160, 120, 0.42) 12%, rgba(47, 126, 255, 0.38) 26%, rgba(255, 255, 255, 0.08) 42%, transparent 76%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%);
}

.beam.slim {
  --beam-opacity: 0.74;
  height: 10px;
  opacity: 0.86;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(10, 160, 120, 0.55) 18%, rgba(42, 122, 255, 0.56) 42%, transparent 88%);
  box-shadow: none;
}

.beam-top-left {
  --angle: 214deg;
  --delay: 0.38s;
}

.beam-top-right {
  --angle: 326deg;
  --delay: 0.42s;
}

.beam-bottom-left {
  --angle: 146deg;
  --delay: 0.48s;
}

.beam-bottom-right {
  --angle: 34deg;
  --delay: 0.52s;
}

.beam.slim.one {
  top: 45.5%;
  --offset: -34px;
  --delay: 0.62s;
}

.beam.slim.two {
  top: 51%;
  --offset: 44px;
  --delay: 0.72s;
}

.beam-top-left.one,
.beam-top-left.two {
  --angle: 220deg;
}

.beam-top-right.one,
.beam-top-right.two {
  --angle: 320deg;
}

.beam-bottom-left.one,
.beam-bottom-left.two {
  --angle: 140deg;
}

.beam-bottom-right.one,
.beam-bottom-right.two {
  --angle: 40deg;
}

.center-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(10, 160, 120, 0.22) 22%, transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: centerIgnite 2.7s 0.2s var(--ease) forwards;
}

.prism-scene,
.prism-panel,
.prism-streak,
.beam,
.center-glow {
  display: none;
}

.signal-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  animation: signalReveal 1.25s var(--ease) forwards;
}

.signal-scene::before,
.signal-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.signal-scene::before {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(10, 160, 120, 0.05) 12.08%, transparent 12.18% 87.82%, rgba(10, 160, 120, 0.05) 87.92%, transparent 88%),
    linear-gradient(180deg, transparent 0 16%, rgba(255, 255, 255, 0.03) 16.08%, transparent 16.18% 84.82%, rgba(255, 255, 255, 0.025) 84.92%, transparent 85%);
}

.signal-scene::after {
  background:
    radial-gradient(circle at 50% 46%, transparent 0 9%, rgba(10, 160, 120, 0.09) 9.2% 9.7%, transparent 10% 17%, rgba(255, 255, 255, 0.05) 17.2% 17.45%, transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(10, 160, 120, 0.12), transparent 34%),
    radial-gradient(circle at 50% 74%, rgba(10, 160, 120, 0.08), transparent 28%);
}

.signal-aura {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(780px, 62vw);
  height: min(780px, 62vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(10, 160, 120, 0.24), rgba(10, 160, 120, 0.08) 28%, rgba(0, 0, 0, 0) 62%),
    conic-gradient(from 120deg, transparent, rgba(10, 160, 120, 0.12), transparent 34%, rgba(255, 255, 255, 0.08), transparent 58%, rgba(10, 160, 120, 0.14), transparent);
  opacity: 0.62;
}

.signal-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  border: 1px solid rgba(10, 160, 120, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
  box-shadow: inset 0 0 34px rgba(10, 160, 120, 0.08);
}

.ring-one {
  width: min(520px, 48vw);
  height: min(520px, 48vw);
  --tilt: -12deg;
}

.ring-two {
  width: min(760px, 68vw);
  height: min(360px, 31vw);
  --tilt: 11deg;
  border-color: rgba(255, 255, 255, 0.14);
}

.ring-three {
  width: min(980px, 86vw);
  height: min(460px, 42vw);
  --tilt: -18deg;
  border-color: rgba(10, 160, 120, 0.12);
}

.signal-line {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(760px, 56vw);
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(10, 160, 120, 0.44), transparent 78%);
}

.line-one {
  transform: rotate(24deg) translateX(90px);
}

.line-two {
  transform: rotate(153deg) translateX(110px);
}

.line-three {
  transform: rotate(206deg) translateX(120px);
  opacity: 0.65;
}

.line-four {
  transform: rotate(329deg) translateX(120px);
  opacity: 0.65;
}

.signal-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--royal-gradient);
  box-shadow: 0 0 18px rgba(11, 155, 120, 0.72);
}

.node-one {
  left: 24%;
  top: 35%;
}

.node-two {
  right: 21%;
  top: 32%;
}

.node-three {
  left: 29%;
  bottom: 25%;
}

.node-four {
  right: 28%;
  bottom: 29%;
}

.signal-core {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(10, 160, 120, 0.72) 16%, rgba(10, 160, 120, 0.18) 42%, transparent 70%);
  opacity: 0.6;
}

.terminal-row,
.analytics-card,
.pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.hero-content {
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(46px, 5.05vw, 82px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-copy,
.section-copy p:not(.eyebrow),
.section-center p,
.editorial-card p:not(.eyebrow),
.final-inner p {
  color: var(--muted-dark);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 0 auto 28px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  padding: 0 24px;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.ghost-dark {
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.trust-list span {
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.ticker-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050705;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-track span {
  padding: 18px 36px;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
  font-weight: 800;
}

.ticker-track span:nth-child(3n + 1) {
  color: var(--green);
}

.feature-grid,
.api-section,
.dashboard-section,
.autopilot-section,
.analytics-section,
.mobile-section,
.trust-section,
.pricing-section,
.faq-section,
.final-cta {
  padding: clamp(82px, 9vw, 140px) clamp(20px, 5vw, 64px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--bg-deep);
}

.editorial-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 40px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.editorial-card:hover,
.analytics-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.22), 0 0 60px rgba(10, 160, 120, 0.16);
}

.editorial-card.light {
  background: var(--bg-soft);
  color: var(--text);
}

.editorial-card.light .eyebrow,
.faq-section .eyebrow,
.dashboard-section .eyebrow,
.pricing-section .eyebrow {
  color: var(--green-hover);
}

.editorial-card.light p:not(.eyebrow) {
  color: var(--muted);
}

.editorial-card.dark {
  background:
    radial-gradient(circle at 80% 80%, rgba(10, 160, 120, 0.2), transparent 34%),
    #07100b;
}

.timeline-mockup,
.chat-mockup {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.timeline-mockup div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #fff;
}

.timeline-mockup b {
  color: var(--green-hover);
}

.timeline-mockup span {
  color: var(--muted);
  font-weight: 700;
}

.chat-mockup .bubble {
  width: fit-content;
  max-width: 82%;
  padding: 15px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.chat-mockup .outbound {
  justify-self: end;
  background: rgba(10, 160, 120, 0.18);
  border: 1px solid rgba(10, 160, 120, 0.24);
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-actions span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.api-section,
.autopilot-section,
.mobile-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  min-height: 92svh;
}

.terminal-panel {
  border: 1px solid var(--glass-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: none;
  padding: 22px;
  box-shadow: var(--shadow), var(--glow);
}

.terminal-head,
.terminal-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.terminal-head {
  padding: 0 4px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.terminal-head b,
.terminal-row b {
  color: var(--green);
}

.terminal-row {
  margin-top: 10px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.24);
}

.dashboard-section,
.analytics-section,
.pricing-section,
.faq-section {
  background: var(--bg-soft);
  color: var(--text);
}

.section-center {
  width: min(880px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.section-center p {
  color: var(--muted);
}

.desktop-mockup {
  width: min(1120px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
}

.desktop-mockup aside {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  background: #07100b;
  color: #fff;
}

.desktop-mockup aside span {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.mock-content {
  padding: 28px;
}

.mock-top,
.mock-board,
.analytics-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.mock-top {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.mock-top div,
.mock-board div {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 20px;
  background: #f7f8f6;
}

.mock-top small {
  color: var(--muted);
}

.mock-top strong {
  display: block;
  margin-top: 10px;
  color: var(--green-hover);
  font-size: 30px;
}

.mock-board {
  grid-template-columns: repeat(4, 1fr);
}

.mock-board span {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 64px;
  margin-top: 12px;
  padding: 12px 12px 12px 42px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border-soft);
}

.mock-board span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--royal-gradient);
}

.mock-board span strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.1;
}

.mock-board span small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.automation-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.automation-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.automation-line article {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(10, 160, 120, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: none;
}

.automation-line small {
  width: max-content;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #041008;
  background: var(--royal-gradient);
  font-weight: 900;
}

.automation-line b {
  color: var(--green);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
}

.automation-line p {
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.42;
}

.automation-line article > span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  line-height: 1.32;
}

.analytics-grid {
  width: min(1120px, 100%);
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
}

.analytics-card {
  min-height: 300px;
  padding: 30px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.analytics-card b {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.mini-chart {
  display: block;
  height: 150px;
  margin-top: 44px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, transparent 0 16%, rgba(10, 160, 120, 0.18) 16% 38%, transparent 38%),
    linear-gradient(90deg, rgba(10, 160, 120, 0.14), rgba(10, 160, 120, 0.02));
}

.mini-chart.danger {
  background:
    linear-gradient(135deg, transparent 0 16%, rgba(255, 77, 77, 0.2) 16% 38%, transparent 38%),
    linear-gradient(90deg, rgba(255, 77, 77, 0.12), rgba(10, 160, 120, 0.04));
}

.mini-chart.hot {
  background:
    radial-gradient(circle at 30% 50%, rgba(10, 160, 120, 0.35), transparent 18%),
    radial-gradient(circle at 68% 42%, rgba(255, 176, 32, 0.34), transparent 15%),
    #f7f8f6;
}

.mobile-section {
  background: var(--bg-soft);
  color: var(--text);
}

.mobile-section .section-copy p:not(.eyebrow) {
  color: var(--muted);
}

.phone-device {
  justify-self: center;
  width: min(340px, 100%);
  aspect-ratio: 0.52;
  border: 12px solid #07100b;
  border-radius: 48px;
  background: #07100b;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.28), var(--glow);
  padding: 16px;
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  padding: 24px;
  background: linear-gradient(180deg, #0c1711, #030504);
}

.phone-screen b {
  display: block;
  font-size: 32px;
}

.phone-screen > span {
  display: block;
  margin: 8px 0 28px;
  color: var(--muted-dark);
}

.phone-task {
  margin-top: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.phone-task.hot {
  border: 1px solid rgba(10, 160, 120, 0.32);
  background: rgba(10, 160, 120, 0.16);
}

.trust-section {
  background: #030504;
}

.trust-list {
  width: min(940px, 100%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.pricing-grid {
  width: min(1120px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.pricing-card.featured {
  border-color: rgba(10, 160, 120, 0.48);
  box-shadow: 0 30px 90px rgba(10, 160, 120, 0.16);
}

.pricing-card p {
  margin: 0;
  color: var(--green-hover);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card span,
.pricing-card li {
  color: var(--muted);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 auto;
  padding-left: 20px;
}

.faq-list {
  width: min(920px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.faq-item summary::after {
  content: "+";
  color: var(--green-hover);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.final-cta {
  min-height: 78svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(10, 160, 120, 0.26), transparent 34%),
    linear-gradient(180deg, #07100b, #030504);
}

.final-inner {
  width: min(900px, 100%);
  text-align: center;
}

.lead-form {
  position: relative;
  width: min(780px, 100%);
  min-height: 530px;
  margin: 38px auto 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(139, 217, 168, 0.2);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
  backdrop-filter: blur(22px);
}

body.form-modal-open {
  overflow: hidden;
}

.lead-form.is-modal {
  position: fixed;
  inset: 24px;
  z-index: 101;
  width: min(820px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  min-height: 0;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  animation: formModalIn 360ms var(--ease) both;
}

@keyframes formModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.form-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 5, 3, 0.78);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity 260ms ease;
}

body.form-modal-open .form-modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.lead-form.is-modal .form-modal-close {
  display: grid;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-progress-track {
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.form-progress-track i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--royal-gradient);
  box-shadow: 0 0 20px rgba(22, 167, 127, 0.7);
  transition: width 420ms var(--ease);
}

.form-step {
  animation: formStepIn 420ms var(--ease) both;
}

.form-step[hidden] {
  display: none;
}

@keyframes formStepIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step-head {
  margin-bottom: 26px;
}

.form-step-head small {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-step-head h3 {
  max-width: 620px;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.form-field-full {
  margin-top: 18px;
}

.form-field span small {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  outline: 0;
  padding: 15px 16px;
  background: rgba(1, 7, 4, 0.62);
  color: #fff;
  font: inherit;
  font-weight: 650;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field select {
  color-scheme: dark;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(139, 217, 168, 0.72);
  box-shadow: 0 0 0 4px rgba(22, 167, 127, 0.12);
  transform: translateY(-1px);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid,
.form-choice-group.is-invalid {
  border-color: rgba(255, 77, 77, 0.78);
}

.form-choice-group {
  min-width: 0;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.form-choice-group legend {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  min-height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 12px 15px;
  background: rgba(1, 7, 4, 0.52);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.choice-grid input:checked + span {
  border-color: var(--lime);
  background: rgba(22, 167, 127, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.choice-grid input:focus-visible + span {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.form-consent {
  margin-top: 18px;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent input {
  margin-top: 2px;
  accent-color: var(--royal-mid);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.form-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-actions button:hover {
  transform: translateY(-2px);
}

.form-next,
.form-submit {
  background: var(--royal-gradient);
  color: #031006 !important;
  box-shadow: 0 0 28px rgba(11, 155, 120, 0.25);
}

.form-back {
  background: rgba(255, 255, 255, 0.09);
}

.form-status {
  min-height: 18px;
  margin: 16px 0 0 !important;
  color: #ff9898 !important;
  font-size: 12px !important;
  text-align: center;
}

footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 38px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030504;
  color: rgba(255, 255, 255, 0.62);
}

footer div {
  display: grid;
  gap: 8px;
}

footer b {
  color: #fff;
}

.thank-you-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 24%, rgba(10, 160, 120, 0.28), transparent 34%),
    linear-gradient(180deg, #07100b, #030504);
}

.thank-you-card {
  width: min(700px, 100%);
  padding: clamp(32px, 7vw, 68px);
  border: 1px solid rgba(139, 217, 168, 0.22);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.38);
  text-align: center;
  backdrop-filter: blur(22px);
}

.thank-you-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(139, 217, 168, 0.45);
  border-radius: 50%;
  background: rgba(22, 167, 127, 0.15);
  color: var(--lime);
  font-size: 30px;
  box-shadow: 0 0 42px rgba(22, 167, 127, 0.2);
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.thank-you-card p {
  max-width: 560px;
  margin: 22px auto 30px;
  color: var(--muted-dark);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-hover);
  font-weight: 900;
}

.reveal,
.reveal-load {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal-load {
  transform: translateY(-18px);
}

.reveal.is-visible,
.reveal-load.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes borderDot {
  to {
    offset-distance: 100%;
  }
}

@keyframes blackReveal {
  0% {
    opacity: 1;
  }
  18% {
    opacity: 0.48;
  }
  56% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes prismIntro {
  0% {
    opacity: 0;
    transform: scale(0.58);
  }
  18% {
    opacity: 0.26;
    transform: scale(0.66);
  }
  58% {
    opacity: 0.9;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ghostLines {
  0% {
    opacity: 0;
  }
  22% {
    opacity: 0.18;
  }
  64% {
    opacity: 0.44;
  }
  100% {
    opacity: 0.5;
  }
}

@keyframes coreFlash {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  35% {
    opacity: 0.34;
    transform: scale(0.52);
  }
  62% {
    opacity: 0.8;
    transform: scale(0.82);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes beamIntro {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.01);
  }
  24% {
    opacity: 0.22;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.2);
  }
  68% {
    opacity: var(--beam-opacity, 0.62);
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.86);
  }
  100% {
    opacity: var(--beam-opacity, 0.82);
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(1);
  }
}

@keyframes panelIntro {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.02);
  }
  18% {
    opacity: 0.28;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.22);
  }
  62% {
    opacity: 0.9;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.92);
  }
  100% {
    opacity: 0.98;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(1);
  }
}

@keyframes streakIntro {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.02);
  }
  20% {
    opacity: 0.46;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.28);
  }
  70% {
    opacity: 0.84;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(0.9);
  }
  100% {
    opacity: 0.88;
    transform: rotate(var(--angle, 0deg)) translateY(var(--offset, 0px)) scaleX(1);
  }
}

@keyframes centerIgnite {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18);
  }
  34% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(0.36);
  }
  64% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.72);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes signalReveal {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
  }

  .login-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    font-size: 13px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .feature-grid,
  .api-section,
  .autopilot-section,
  .analytics-grid,
  .mobile-section,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .desktop-mockup {
    grid-template-columns: 1fr;
  }

  .desktop-mockup aside {
    display: none;
  }

  .mock-top,
  .mock-board,
  .automation-line {
    grid-template-columns: 1fr;
  }

  .automation-line::before {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    min-height: 40px;
    font-size: 12px;
  }

  .top-bar a {
    display: none;
  }

  .site-header {
    top: 0;
    height: 64px;
    gap: 10px;
    padding-inline: 10px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(17px, 4.8vw, 21px);
    white-space: nowrap;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
    margin-right: -18px;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .login-link {
    padding-inline: 9px;
    font-size: 12px;
  }

  .header-cta {
    padding-inline: 10px;
    font-size: 12px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    min-height: 0;
    border-radius: 22px;
  }

  .lead-form.is-modal {
    inset: 10px;
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    padding: 24px 18px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .form-progress {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .form-progress-track {
    width: 100%;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions button {
    flex: 1;
  }

  .editorial-card {
    min-height: auto;
  }

  .desktop-mockup {
    min-height: auto;
  }

  .mock-content {
    padding: 16px;
  }

  .feature-grid,
  .api-section,
  .dashboard-section,
  .autopilot-section,
  .analytics-section,
  .mobile-section,
  .trust-section,
  .pricing-section,
  .faq-section,
  .final-cta {
    padding-inline: 20px;
  }
}

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

/* Fresh hero direction */
.hero-reborn {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: 142px clamp(22px, 6vw, 84px) 82px;
  background:
    radial-gradient(circle at 74% 48%, rgba(10, 160, 120, 0.18), transparent 26%),
    radial-gradient(circle at 16% 18%, rgba(10, 160, 120, 0.1), transparent 24%),
    linear-gradient(135deg, #000 0%, #020704 54%, #000 100%);
}

.hero-reborn::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.22;
}

.hero-reborn .hero-visual {
  position: relative;
  inset: auto;
  z-index: 1;
  min-height: min(620px, 62vw);
  order: 2;
  overflow: visible;
  background: transparent;
}

.hero-reborn .hero-visual::after,
.hero-reborn .hero-canvas,
.hero-reborn .signal-scene {
  display: none;
}

.hero-reborn .hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0;
  text-align: left;
}

.hero-reborn .eyebrow {
  width: max-content;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(10, 160, 120, 0.28);
  border-radius: 999px;
  background: rgba(10, 160, 120, 0.08);
  color: #8ad9a8;
  font-size: 12px;
  letter-spacing: 0;
}

.hero-reborn h1 {
  max-width: 740px;
  margin: 0 0 24px;
  font-size: clamp(52px, 6.6vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.058em;
}

.hero-reborn .hero-copy {
  width: min(620px, 100%);
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.42;
}

.hero-reborn .hero-actions {
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-reborn .button.primary.hero-primary {
  min-width: 0;
  min-height: 56px;
  padding: 0 24px 0 28px;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #bfe6c9 0%, #16a77f 50%, #045640 100%);
  color: #021006;
  font-size: 15px;
  box-shadow:
    0 20px 55px rgba(10, 160, 120, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.8);
}

.hero-reborn .button.primary.hero-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: buttonSheen 3.4s ease-in-out infinite;
}

.hero-reborn .button.primary.hero-primary i {
  position: relative;
  inset: auto;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #031006;
  color: var(--royal-light);
  font-style: normal;
  box-shadow: none;
  offset-path: none;
  animation: none;
}

.hero-secondary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metrics span {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.liquid-stage {
  position: absolute;
  inset: -5% -4% -7%;
  overflow: hidden;
  border-radius: 34px;
  transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.liquid-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    conic-gradient(from 60deg, transparent, rgba(10, 160, 120, 0.22), transparent 24%, rgba(255, 255, 255, 0.18), transparent 44%, rgba(10, 160, 120, 0.18), transparent 72%),
    radial-gradient(circle, rgba(10, 160, 120, 0.24), transparent 56%);
  animation: liquidSpin 12s linear infinite;
}

.liquid-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(10, 160, 120, 0.16) 18.2%, transparent 18.7% 58%, rgba(255, 255, 255, 0.1) 58.2%, transparent 58.6%),
    linear-gradient(22deg, transparent 0 34%, rgba(10, 160, 120, 0.11) 34.2%, transparent 34.8%);
  animation: stageDrift 6.5s ease-in-out infinite alternate;
}

.liquid-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
}

.glow-one {
  left: 16%;
  top: 14%;
  width: 62%;
  height: 62%;
  background: radial-gradient(circle, rgba(10, 160, 120, 0.34), transparent 65%);
  animation: floatGlow 7s ease-in-out infinite;
}

.glow-two {
  right: -8%;
  bottom: 0;
  width: 58%;
  height: 48%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(10, 160, 120, 0.12), transparent 68%);
  animation: floatGlow 8s ease-in-out infinite reverse;
}

.liquid-path {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84%;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, transparent, rgba(10, 160, 120, 0.84), rgba(255, 255, 255, 0.42), transparent);
}

.path-one {
  transform: rotate(-18deg) translateX(-34%);
  animation: pulsePath 2.8s ease-in-out infinite;
}

.path-two {
  transform: rotate(38deg) translateX(-44%);
  animation: pulsePath 3.4s 0.4s ease-in-out infinite;
}

.path-three {
  transform: rotate(112deg) translateX(-28%);
  animation: pulsePath 4s 0.8s ease-in-out infinite;
}

.command-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 78%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.core-ring {
  position: absolute;
  inset: var(--inset, 0);
  border-radius: 50%;
  border: 1px solid rgba(10, 160, 120, 0.18);
  animation: coreOrbit 9s linear infinite;
}

.ring-a {
  --inset: 2%;
}

.ring-b {
  --inset: 15%;
  border-color: rgba(255, 255, 255, 0.14);
  animation-duration: 13s;
  animation-direction: reverse;
}

.ring-c {
  --inset: 29%;
  border-color: rgba(10, 160, 120, 0.28);
  animation-duration: 7s;
}

.core-panel {
  position: absolute;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 10, 7, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.main-panel {
  left: 50%;
  top: 50%;
  width: min(330px, 76%);
  padding: 24px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.main-panel b,
.mini-panel b {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.main-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.05em;
}

.main-panel span,
.mini-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.mini-panel {
  width: 174px;
  padding: 16px;
  border-radius: 18px;
  animation: panelFloat 5s ease-in-out infinite;
}

.panel-a {
  left: 2%;
  top: 24%;
}

.panel-b {
  right: 1%;
  bottom: 19%;
  animation-delay: -2s;
}

@keyframes liquidSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes stageDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.62;
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.04);
    opacity: 0.9;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(5%, -4%, 0) scale(1.08);
  }
}

@keyframes pulsePath {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes coreOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes buttonSheen {
  0%,
  45% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 980px) {
  .hero-reborn {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .hero-reborn .hero-visual {
    order: 1;
    min-height: 390px;
  }

  .hero-reborn .hero-content {
    order: 2;
    text-align: center;
    margin-inline: auto;
  }

  .hero-reborn .eyebrow,
  .hero-reborn .hero-copy {
    margin-inline: auto;
  }

  .hero-reborn .hero-actions,
  .hero-metrics {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-reborn {
    padding-top: 122px;
  }

  .hero-reborn h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-reborn .hero-visual {
    min-height: 330px;
  }

  .liquid-stage {
    transform: none;
  }

  .mini-panel {
    display: none;
  }
}

/* Imported 3D Royal Leads table from project zip */
.hero-reborn .royal-device {
  position: absolute;
  inset: 38px 0 auto auto;
  width: min(96%, 610px);
  min-height: 500px;
  transform: rotateX(7deg) rotateY(-13deg) rotateZ(1deg);
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 20, 27, 0.95), rgba(8, 11, 16, 0.96));
  box-shadow:
    0 54px 120px rgba(0, 0, 0, 0.48),
    0 0 80px rgba(50, 210, 150, 0.08),
    0 0 120px rgba(223, 185, 107, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: importedDeviceFloat 7s ease-in-out infinite;
}

.hero-reborn .device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 18px;
}

.hero-reborn .dots {
  display: flex;
  gap: 7px;
}

.hero-reborn .dots i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-reborn .dots i:nth-child(1) {
  background: #ff5f7e;
}

.hero-reborn .dots i:nth-child(2) {
  background: #dfb96b;
}

.hero-reborn .dots i:nth-child(3) {
  background: var(--royal-light);
}

.hero-reborn .screen-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 14px;
  padding: 18px;
}

.hero-reborn .screen-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-reborn .metric {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-reborn .metric strong {
  white-space: nowrap;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 38px);
  letter-spacing: -0.05em;
}

.hero-reborn .muted {
  color: rgba(255, 255, 255, 0.58);
}

.hero-reborn .bar-stack {
  display: grid;
  gap: 10px;
}

.hero-reborn .bar {
  overflow: hidden;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-reborn .bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal-mid), var(--royal-light));
}

.hero-reborn .lead-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.hero-reborn .lead-row:last-child {
  border-bottom: 0;
}

.hero-reborn .avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--royal-gradient);
}

.hero-reborn .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.hero-reborn .orbital {
  position: absolute;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(223, 185, 107, 0.46);
  border-radius: 50%;
  transform-style: preserve-3d;
  box-shadow:
    0 0 34px rgba(223, 185, 107, 0.16),
    inset 0 0 28px rgba(50, 210, 150, 0.08);
  animation: importedOrbit 10s linear infinite;
}

.hero-reborn .orbital.one {
  top: 18px;
  left: 16px;
}

.hero-reborn .orbital.two {
  right: 24px;
  top: 4px;
  width: 72px;
  height: 72px;
  border-color: rgba(50, 210, 150, 0.36);
  box-shadow:
    0 0 30px rgba(50, 210, 150, 0.16),
    inset 0 0 22px rgba(223, 185, 107, 0.08);
  animation-duration: 13s;
}

.hero-reborn .orbital::after {
  position: absolute;
  top: 14px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dfb96b;
  content: "";
  box-shadow: 0 0 30px rgba(223, 185, 107, 0.56);
}

@keyframes importedDeviceFloat {
  0%,
  100% {
    transform: rotateX(7deg) rotateY(-13deg) rotateZ(1deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotateX(9deg) rotateY(-10deg) rotateZ(0deg) translate3d(0, -14px, 0);
  }
}

@keyframes importedOrbit {
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

@media (max-width: 980px) {
  .hero-reborn .royal-device {
    inset: 46px auto auto 50%;
    width: min(720px, 100%);
    transform: translateX(-50%) rotateX(7deg) rotateY(-8deg) rotateZ(1deg);
  }

  @keyframes importedDeviceFloat {
    0%,
    100% {
      transform: translateX(-50%) rotateX(7deg) rotateY(-8deg) rotateZ(1deg) translate3d(0, 0, 0);
    }

    50% {
      transform: translateX(-50%) rotateX(9deg) rotateY(-6deg) rotateZ(0deg) translate3d(0, -14px, 0);
    }
  }
}

@media (max-width: 640px) {
  .hero-reborn .screen-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 9px;
    padding: 11px;
  }

  .hero-reborn .royal-device {
    inset: 76px auto auto -7%;
    width: 114%;
    min-height: 338px;
    border-radius: 16px;
  }

  .hero-reborn .device-bar {
    padding: 11px 12px;
  }

  .hero-reborn .screen-panel {
    min-width: 0;
    padding: 11px;
    border-radius: 13px;
  }

  .hero-reborn .metric {
    display: block;
    margin-bottom: 12px;
  }

  .hero-reborn .metric strong {
    font-size: 22px;
  }

  .hero-reborn .bar {
    height: 9px;
  }

  .hero-reborn .lead-row {
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
  }

  .hero-reborn .avatar {
    width: 30px;
    height: 30px;
  }

  .hero-reborn .orbital {
    display: none;
  }
}

/* Fit imported 3D table inside this layout */
.hero-reborn .hero-visual {
  overflow: hidden;
}

.hero-reborn .royal-device {
  right: 50%;
  left: auto;
  width: min(560px, 92%);
  min-height: 460px;
  transform: translateX(50%) rotateX(6deg) rotateY(-9deg) rotateZ(1deg);
}

@keyframes importedDeviceFloat {
  0%,
  100% {
    transform: translateX(50%) rotateX(6deg) rotateY(-9deg) rotateZ(1deg) translate3d(0, 0, 0);
  }

  50% {
    transform: translateX(50%) rotateX(8deg) rotateY(-6deg) rotateZ(0deg) translate3d(0, -12px, 0);
  }
}

.hero-reborn .metric {
  align-items: flex-start;
  flex-direction: column;
}

.hero-reborn .metric strong {
  max-width: 100%;
  white-space: normal;
  font-size: clamp(28px, 3vw, 36px);
}

@media (max-width: 980px) {
  .hero-reborn .hero-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .hero-reborn .royal-device {
    inset: 28px auto auto 50%;
    width: min(620px, 92vw);
    min-height: 450px;
    transform: translateX(-50%) rotateX(5deg) rotateY(-6deg) rotateZ(0.5deg);
  }

  @keyframes importedDeviceFloat {
    0%,
    100% {
      transform: translateX(-50%) rotateX(5deg) rotateY(-6deg) rotateZ(0.5deg) translate3d(0, 0, 0);
    }

    50% {
      transform: translateX(-50%) rotateX(7deg) rotateY(-4deg) rotateZ(0deg) translate3d(0, -10px, 0);
    }
  }
}

@media (max-width: 640px) {
  .hero-reborn .hero-visual {
    min-height: 440px;
    width: 100%;
  }

  .hero-reborn .royal-device {
    inset: 34px auto auto 50%;
    width: min(420px, 94vw);
    min-height: 370px;
    transform: translateX(-50%) rotateX(0deg) rotateY(0deg) rotateZ(-1.5deg);
  }

  .hero-reborn .screen-grid {
    grid-template-columns: 1fr;
  }

  .hero-reborn .screen-panel:nth-child(2) {
    display: none;
  }

  .hero-reborn .screen-panel[style] {
    grid-column: auto !important;
  }

  .hero-reborn .metric strong {
    font-size: 26px;
  }

  .hero-reborn .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hero-reborn .lead-row {
    grid-template-columns: 30px 1fr auto;
  }

  .hero-reborn .lead-row b,
  .hero-reborn .lead-row span {
    min-width: 0;
  }

  @keyframes importedDeviceFloat {
    0%,
    100% {
      transform: translateX(-50%) rotateZ(-1.5deg) translate3d(0, 0, 0);
    }

    50% {
      transform: translateX(-50%) rotateZ(-0.6deg) translate3d(0, -8px, 0);
    }
  }
}

/* Force table visibility in the current hero */
.hero-reborn {
  position: relative;
}

.hero-reborn .hero-visual {
  position: absolute;
  top: 120px;
  right: clamp(18px, 4vw, 72px);
  bottom: 64px;
  width: min(720px, 48vw);
  min-height: 0;
  z-index: 3;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.hero-reborn .royal-device {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: min(660px, 100%);
  min-height: 500px;
  transform: translateY(-50%) rotateX(6deg) rotateY(-10deg) rotateZ(1deg);
}

.hero-reborn .orbital {
  z-index: 4;
}

@keyframes importedDeviceFloat {
  0%,
  100% {
    transform: translateY(-50%) rotateX(6deg) rotateY(-10deg) rotateZ(1deg) translate3d(0, 0, 0);
  }

  50% {
    transform: translateY(-52%) rotateX(8deg) rotateY(-7deg) rotateZ(0deg) translate3d(0, -10px, 0);
  }
}

@media (max-width: 980px) {
  .hero-reborn .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(720px, 100%);
    min-height: 460px;
    margin: 0 auto;
    order: 1;
  }

  .hero-reborn .royal-device {
    top: 32px;
    left: 50%;
    right: auto;
    width: min(620px, 92vw);
    min-height: 430px;
    transform: translateX(-50%) rotateX(4deg) rotateY(-5deg) rotateZ(0.5deg);
  }

  @keyframes importedDeviceFloat {
    0%,
    100% {
      transform: translateX(-50%) rotateX(4deg) rotateY(-5deg) rotateZ(0.5deg) translate3d(0, 0, 0);
    }

    50% {
      transform: translateX(-50%) rotateX(6deg) rotateY(-3deg) rotateZ(0deg) translate3d(0, -8px, 0);
    }
  }
}

@media (max-width: 640px) {
  .hero-reborn .hero-visual {
    min-height: 410px;
  }

  .hero-reborn .royal-device {
    width: min(400px, 94vw);
    min-height: 360px;
  }
}

/* Final hero scale pass: keep the same layout, just give it room to breathe. */
@media (min-width: 981px) {
  .hero-reborn {
    grid-template-columns: minmax(400px, 0.88fr) minmax(500px, 1.12fr);
    gap: clamp(30px, 4vw, 70px);
    padding: 132px clamp(92px, 12vw, 320px) 72px;
  }

  .hero-reborn .hero-content {
    width: min(590px, 100%);
  }

  .hero-reborn h1 {
    max-width: 610px;
    font-size: clamp(58px, 5.15vw, 94px);
    line-height: 0.95;
    letter-spacing: -0.052em;
  }

  .hero-reborn .hero-copy {
    width: min(550px, 100%);
    font-size: clamp(17px, 1.22vw, 21px);
  }

  .hero-reborn .hero-actions {
    margin-top: 36px;
  }

  .hero-reborn .hero-visual {
    top: 130px;
    right: clamp(96px, 10vw, 270px);
    bottom: 84px;
    width: min(620px, 41vw);
  }

  .hero-reborn .royal-device {
    width: min(560px, 100%);
    min-height: 430px;
    transform: translateY(-50%) rotateX(6deg) rotateY(-8deg) rotateZ(1deg);
  }

  .hero-reborn .screen-grid {
    gap: 12px;
    padding: 16px;
  }

  .hero-reborn .screen-panel {
    padding: 14px;
  }

  .hero-reborn .metric strong {
    font-size: clamp(26px, 2.35vw, 34px);
  }

  .hero-reborn .lead-row {
    padding: 8px 0;
  }

  .hero-reborn .avatar {
    width: 30px;
    height: 30px;
  }

  @keyframes importedDeviceFloat {
    0%,
    100% {
      transform: translateY(-50%) rotateX(6deg) rotateY(-8deg) rotateZ(1deg) translate3d(0, 0, 0);
    }

    50% {
      transform: translateY(-51.5%) rotateX(7deg) rotateY(-6deg) rotateZ(0deg) translate3d(0, -8px, 0);
    }
  }
}

@media (min-width: 981px) and (max-width: 1350px) {
  .hero-reborn {
    padding-inline: clamp(54px, 6vw, 92px);
  }

  .hero-reborn .hero-visual {
    right: clamp(38px, 5vw, 76px);
    width: min(560px, 43vw);
  }

  .hero-reborn h1 {
    font-size: clamp(52px, 5.8vw, 78px);
  }
}

/* Hero video background */
.hero-reborn .hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.05) brightness(0.72);
  pointer-events: none;
}

.hero-reborn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 67% 46%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.66));
}

.hero-reborn::after {
  z-index: 1;
  pointer-events: none;
}

/* Clean centered hero requested for the video background version */
.hero-reborn {
  display: grid;
  grid-template-columns: 1fr !important;
  place-items: center;
  min-height: 100svh;
  padding: 136px clamp(22px, 6vw, 84px) 84px !important;
  text-align: center;
}

.hero-reborn .hero-visual,
.hero-reborn .hero-metrics,
.hero-reborn .eyebrow,
.hero-reborn .hero-secondary {
  display: none !important;
}

.hero-reborn .hero-content {
  width: min(1080px, 100%) !important;
  margin: 0 auto;
  text-align: center;
}

.hero-reborn h1 {
  max-width: 1060px !important;
  margin: 0 auto 24px;
  font-size: clamp(56px, 5.9vw, 106px) !important;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.hero-reborn .hero-copy {
  width: min(760px, 100%) !important;
  margin: 0 auto 34px;
  font-size: clamp(18px, 1.35vw, 24px) !important;
  line-height: 1.42;
}

.hero-reborn .hero-actions {
  justify-content: center !important;
  margin: 0;
}

.hero-reborn .button.primary.hero-primary {
  min-height: 58px;
  padding-inline: 30px 18px;
}

@media (max-width: 760px) {
  .hero-reborn {
    padding-top: 126px !important;
  }

  .hero-reborn h1 {
    font-size: clamp(46px, 13.5vw, 70px) !important;
  }

  .hero-reborn .hero-copy {
    font-size: 18px !important;
  }
}

/* Captura do produto real: substitui a antiga dashboard ilustrativa. */
.dashboard-section .desktop-mockup[hidden] {
  display: none !important;
}

.real-dashboard-showcase {
  width: min(1380px, 100%);
  margin: 38px auto 0;
  overflow: hidden;
  border: 1px solid rgba(89, 197, 158, 0.28);
  border-radius: 22px;
  background: #030504;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.68), 0 0 90px rgba(10, 160, 120, 0.14);
}

.real-dashboard-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.real-dashboard-showcase figcaption {
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .real-dashboard-showcase {
    width: 100%;
    margin-top: 26px;
    overflow-x: auto;
    border-radius: 16px;
  }

  .real-dashboard-showcase img {
    width: 900px;
    max-width: none;
  }

  .real-dashboard-showcase figcaption {
    position: sticky;
    left: 0;
    width: 100vw;
    max-width: 100%;
  }
}

/* Keep the Cadencias / Assistente Royal pair side by side on mobile */
@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(16px, 3vw, 24px);
    align-items: stretch;
    padding: clamp(58px, 8vw, 86px) clamp(16px, 4vw, 34px);
  }

  .feature-grid .editorial-card {
    min-height: 600px;
    border-radius: 32px;
    padding: clamp(24px, 3.8vw, 34px);
  }

  .feature-grid .eyebrow {
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .feature-grid h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 6vw, 54px);
    line-height: 0.94;
    letter-spacing: -0.048em;
  }

  .feature-grid .editorial-card p:not(.eyebrow) {
    font-size: clamp(17px, 2.45vw, 22px);
    line-height: 1.38;
  }

  .timeline-mockup,
  .chat-mockup {
    gap: 10px;
    margin-top: 24px;
  }

  .timeline-mockup div {
    min-height: 58px;
    padding: 14px;
    border-radius: 18px;
  }

  .timeline-mockup b,
  .timeline-mockup span {
    font-size: clamp(14px, 2vw, 18px);
  }

  .chat-mockup .bubble {
    max-width: 100%;
    padding: 13px 15px;
    border-radius: 18px;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.3;
  }

  .chat-mockup .meta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
  }

  .ai-actions span {
    padding: 8px 10px;
    font-size: clamp(11px, 1.65vw, 14px);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    padding-inline: 12px !important;
    gap: 12px;
  }

  .feature-grid .editorial-card {
    min-height: 520px;
    border-radius: 24px;
    padding: 22px 14px;
  }

  .feature-grid .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .feature-grid h2 {
    margin-bottom: 14px;
    font-size: clamp(26px, 8.8vw, 38px);
    line-height: 0.95;
    letter-spacing: -0.045em;
  }

  .feature-grid .editorial-card p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.34;
  }

  .timeline-mockup,
  .chat-mockup {
    gap: 8px;
    margin-top: 22px;
  }

  .timeline-mockup div {
    min-height: 48px;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-mockup b,
  .timeline-mockup span {
    font-size: 13px;
  }

  .chat-mockup .bubble {
    max-width: 100%;
    padding: 10px 11px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.28;
  }

  .ai-actions {
    gap: 6px;
  }

  .ai-actions span {
    padding: 7px 8px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .feature-grid .editorial-card {
    min-height: 480px;
    padding: 18px 10px;
  }

  .feature-grid h2 {
    font-size: clamp(22px, 8vw, 31px);
  }

  .feature-grid .editorial-card p:not(.eyebrow) {
    font-size: 12px;
  }

  .timeline-mockup div {
    padding: 10px;
  }

  .timeline-mockup b,
  .timeline-mockup span {
    font-size: 11px;
  }
}

/* Mobile dashboard keeps the desktop panel shape instead of stacking every card */
@media (max-width: 980px) {
  .dashboard-section {
    overflow: hidden;
  }

  .dashboard-section .section-center {
    margin-bottom: 30px;
  }

  .dashboard-section .desktop-mockup {
    width: 100%;
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 26px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dashboard-section .desktop-mockup::-webkit-scrollbar {
    display: none;
  }

  .dashboard-section .mock-content {
    min-width: 760px;
    padding: 18px;
  }

  .dashboard-section .mock-top {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
    margin-bottom: 14px;
  }

  .dashboard-section .mock-board {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .dashboard-section .mock-top div,
  .dashboard-section .mock-board div {
    border-radius: 18px;
    padding: 14px;
  }

  .dashboard-section .mock-top strong {
    font-size: 24px;
  }

  .dashboard-section .mock-board b {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    white-space: nowrap;
  }

  .dashboard-section .mock-board span {
    min-height: 54px;
    margin-top: 8px;
    padding: 10px 10px 10px 34px;
    border-radius: 14px;
  }

  .dashboard-section .mock-board span::before {
    left: 10px;
    top: 13px;
    width: 14px;
    height: 14px;
    border-radius: 5px;
  }

  .dashboard-section .mock-board span strong,
  .dashboard-section .mock-board span small,
  .dashboard-section .mock-top small {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .dashboard-section {
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .dashboard-section .section-center h2 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.96;
  }

  .dashboard-section .section-center p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.35;
  }

  .dashboard-section .desktop-mockup {
    margin-inline: -6px;
    width: calc(100% + 12px);
  }

  .dashboard-section .mock-content {
    min-width: 690px;
    padding: 14px;
  }
}

/* Trading-style dashboard, dark like the reference */
.dashboard-section {
  background:
    radial-gradient(circle at 50% 28%, rgba(10, 160, 120, 0.14), transparent 32%),
    radial-gradient(circle at 78% 70%, rgba(10, 160, 120, 0.1), transparent 30%),
    #000 !important;
  color: #fff !important;
}

.dashboard-section .section-center .eyebrow {
  color: var(--green) !important;
}

.dashboard-section .section-center h2 {
  color: #fff;
}

.dashboard-section .section-center p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-section .desktop-mockup {
  width: min(1080px, 100%);
  min-height: 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #080a0a;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), 0 0 90px rgba(10, 160, 120, 0.12);
}

.dashboard-section .trade-sidebar {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 10px;
  background: #050707;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.dashboard-section .trade-sidebar img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-section .trade-sidebar span {
  width: 100%;
  height: auto;
  display: block;
  padding: 8px 4px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-align: center;
}

.dashboard-section .trade-sidebar span:nth-of-type(2) {
  color: var(--green);
  background: rgba(10, 160, 120, 0.1);
}

.dashboard-section .mock-content {
  min-width: 0 !important;
  padding: clamp(16px, 2.5vw, 28px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0d0f10;
  background-size: 58px 58px;
}

.dashboard-section .trade-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-section .trade-top > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-section .trade-top small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  white-space: nowrap;
}

.dashboard-section .trade-top strong,
.dashboard-section .trade-top b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: clamp(17px, 2vw, 23px);
  white-space: nowrap;
}

.dashboard-section .trade-top div:nth-child(3) strong {
  color: var(--green);
}

.dashboard-section .pair-pill {
  position: relative;
  padding-left: 42px !important;
}

.dashboard-section .pair-pill::before {
  content: "R";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--royal-gradient);
  color: #050707;
  font-weight: 900;
}

.dashboard-section .trade-chart {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.26);
}

.dashboard-section .chart-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-section .chart-tabs span {
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-section .chart-tabs span:first-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.dashboard-section .signal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.dashboard-section .signal-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.24);
}

.dashboard-section .signal-card.is-hot {
  background:
    radial-gradient(circle at 82% 18%, rgba(10, 160, 120, 0.24), transparent 34%),
    rgba(10, 160, 120, 0.08);
}

.dashboard-section .signal-card.is-money {
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 255, 225, 0.2), transparent 32%),
    rgba(255, 255, 255, 0.06);
}

.dashboard-section .signal-card small {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-section .signal-card b {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1;
}

.dashboard-section .signal-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.28;
}

.dashboard-section .chart-grid {
  position: relative;
  height: clamp(120px, 15vw, 170px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 46% 48%, rgba(10, 160, 120, 0.16), transparent 38%);
  background-size: 64px 64px, 64px 64px, auto;
}

.dashboard-section .chart-grid::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 6%;
  top: 51%;
  border-top: 1px dashed rgba(239, 70, 111, 0.5);
}

.dashboard-section .chart-grid i {
  position: absolute;
  left: var(--x);
  top: var(--top);
  width: clamp(6px, 1vw, 10px);
  height: var(--h);
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 40%);
}

.dashboard-section .chart-grid i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  bottom: -16px;
  width: 1px;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--c), transparent 48%);
}

.dashboard-section .trade-orders {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-section .orders-head,
.dashboard-section .order-row {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-section .orders-head {
  color: rgba(255, 255, 255, 0.64);
}

.dashboard-section .order-row:last-child {
  border-bottom: 0;
}

.dashboard-section .order-row span,
.dashboard-section .order-row small,
.dashboard-section .orders-head span {
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.dashboard-section .order-row b {
  color: var(--green);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .dashboard-section {
    padding-inline: 0;
  }

  .dashboard-section .desktop-mockup {
    width: 690px;
    max-width: none;
    grid-template-columns: 58px 1fr;
    margin-left: 42px;
    margin-right: 0;
    overflow: hidden;
    border-radius: 16px;
  }

  .dashboard-section .trade-sidebar {
    display: flex !important;
    padding: 14px 7px;
    gap: 12px;
  }

  .dashboard-section .trade-sidebar img {
    width: 32px;
    height: 32px;
  }

  .dashboard-section .trade-sidebar span {
    font-size: 9px;
    padding: 6px 2px;
  }

  .dashboard-section .mock-content {
    min-width: 0 !important;
    padding: 14px;
  }

  .dashboard-section .trade-top {
    grid-template-columns: 1.08fr repeat(3, 0.86fr);
    gap: 8px;
    margin-bottom: 10px;
  }

  .dashboard-section .trade-top > div {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .dashboard-section .trade-top small {
    font-size: 10px;
  }

  .dashboard-section .trade-top strong,
  .dashboard-section .trade-top b {
    font-size: 15px;
  }

  .dashboard-section .pair-pill {
    padding-left: 34px !important;
  }

  .dashboard-section .pair-pill::before {
    left: 9px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .dashboard-section .chart-tabs {
    gap: 5px;
    padding: 8px;
  }

  .dashboard-section .chart-tabs span {
    padding: 5px 8px;
    font-size: 10px;
  }

  .dashboard-section .signal-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
  }

  .dashboard-section .signal-card {
    min-height: 104px;
    padding: 11px;
    border-radius: 14px;
  }

  .dashboard-section .signal-card small {
    font-size: 8px;
  }

  .dashboard-section .signal-card b {
    font-size: 16px;
  }

  .dashboard-section .signal-card span {
    font-size: 10px;
  }

  .dashboard-section .chart-grid {
    height: 118px;
    background-size: 42px 42px, 42px 42px, auto;
  }

  .dashboard-section .trade-orders {
    margin-top: 10px;
    border-radius: 14px;
  }

  .dashboard-section .orders-head,
  .dashboard-section .order-row {
    grid-template-columns: 1.28fr 0.72fr 0.72fr;
    gap: 7px;
    padding: 10px 11px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .dashboard-section .section-center {
    margin-bottom: 24px;
  }

  .dashboard-section .desktop-mockup {
    width: 650px;
    margin-left: 32px;
  }

  .dashboard-section .chart-grid {
    height: 104px;
  }

  .dashboard-section .order-row span,
  .dashboard-section .order-row small,
  .dashboard-section .orders-head span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Autopilot storytelling on mobile */
@media (max-width: 980px) {
  .autopilot-section {
    align-items: start;
    gap: 34px;
  }

  .autopilot-section .section-copy {
    max-width: 720px;
  }

  .automation-line {
    gap: 18px;
  }

  .automation-line article {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .autopilot-section {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .autopilot-section .section-copy h2 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 0.96;
  }

  .autopilot-section .section-copy p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.42;
  }

  .automation-line {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .automation-line article {
    min-height: 330px;
    border-radius: 28px;
    padding: 28px 24px;
    background:
      linear-gradient(135deg, rgba(10, 160, 120, 0.12), transparent 42%),
      rgba(255, 255, 255, 0.09);
  }

  .automation-line small {
    padding: 9px 13px;
    font-size: 14px;
  }

  .automation-line b {
    font-size: clamp(32px, 10vw, 46px);
  }

  .automation-line p {
    font-size: 18px;
  }

  .automation-line article > span {
    font-size: 16px;
  }
}

/* Clearer analytics section: forecast, alerts, and action metrics */
.analytics-section {
  background:
    radial-gradient(circle at 50% 12%, rgba(10, 160, 120, 0.16), transparent 30%),
    linear-gradient(180deg, #f6f8f4 0%, #eef4ef 100%) !important;
}

.analytics-section .section-center {
  width: min(1020px, 100%);
}

.analytics-section .section-center p:not(.eyebrow) {
  width: min(760px, 100%);
  margin-inline: auto;
  color: var(--muted);
}

.analytics-command {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-auto-rows: minmax(220px, auto);
}

.analytics-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(5, 18, 11, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.analytics-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(10, 160, 120, 0.14), transparent 62%);
  pointer-events: none;
}

.analytics-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-hover);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-forecast {
  grid-row: span 2;
  min-height: 520px;
}

.analytics-forecast > b,
.analytics-score > b {
  display: block;
  color: var(--text);
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.analytics-forecast p,
.analytics-score p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.forecast-bars {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.forecast-bars span {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 0 20px;
  border-radius: 18px;
  background: #edf1ed;
}

.forecast-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(10, 160, 120, 0.82), rgba(157, 223, 186, 0.58));
}

.forecast-bars small,
.forecast-bars strong {
  position: relative;
  z-index: 1;
}

.forecast-bars small {
  color: rgba(5, 18, 11, 0.72);
  font-weight: 900;
}

.forecast-bars strong {
  color: var(--text);
  font-size: 22px;
}

.analytics-alerts {
  min-height: 300px;
  background:
    radial-gradient(circle at 90% 10%, rgba(10, 160, 120, 0.18), transparent 34%),
    #07100b;
  color: #fff;
}

.analytics-alerts .analytics-label {
  color: var(--green);
}

.alert-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-row:last-child {
  border-bottom: 0;
}

.alert-row b {
  color: #fff;
  font-size: 16px;
}

.alert-row span {
  color: rgba(255, 255, 255, 0.64);
}

.alert-row small {
  padding: 7px 9px;
  border-radius: 999px;
  color: #041008;
  background: var(--royal-gradient);
  font-weight: 900;
}

.analytics-score {
  min-height: 230px;
}

.analytics-score > b {
  font-size: clamp(48px, 5vw, 70px);
  color: var(--green-hover);
}

@media (max-width: 980px) {
  .analytics-command {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .analytics-forecast {
    min-height: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .analytics-section {
    padding-top: 74px;
  }

  .analytics-section .section-center h2 {
    font-size: clamp(42px, 11vw, 62px);
    line-height: 0.96;
  }

  .analytics-card {
    border-radius: 24px;
    padding: 24px;
  }

  .analytics-forecast > b,
  .analytics-score > b {
    font-size: clamp(48px, 13vw, 72px);
  }

  .forecast-bars {
    margin-top: 30px;
  }

  .forecast-bars span {
    min-height: 58px;
    padding-inline: 14px;
  }

  .forecast-bars strong {
    font-size: 18px;
  }

  .alert-row {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
  }

  .alert-row span {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* Compact analytics grid on mobile */
@media (max-width: 640px) {
  .analytics-command {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .analytics-forecast,
  .analytics-alerts {
    grid-column: 1 / -1;
  }

  .analytics-card {
    min-height: auto;
    padding: 18px;
  }

  .analytics-label {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .analytics-forecast > b,
  .analytics-score > b {
    font-size: clamp(34px, 10vw, 48px);
  }

  .analytics-forecast p,
  .analytics-score p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.3;
  }

  .forecast-bars {
    gap: 8px;
    margin-top: 18px;
  }

  .forecast-bars span {
    min-height: 46px;
    border-radius: 14px;
  }

  .forecast-bars small {
    font-size: 11px;
  }

  .forecast-bars strong {
    font-size: 15px;
  }

  .analytics-alerts {
    display: grid;
    gap: 8px;
  }

  .alert-row {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .alert-row b {
    font-size: 13px;
  }

  .alert-row span {
    font-size: 12px;
  }

  .analytics-score {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* Realistic mobile device showcase */
.mobile-section {
  overflow: hidden;
}

.phone-device {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 0.49;
  border: 0;
  border-radius: 62px;
  background:
    linear-gradient(135deg, #f6f6f2, #818982 18%, #111 38%, #050505 70%, #b7beb8);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 0 70px rgba(10, 160, 120, 0.18);
  padding: 12px;
  transform: perspective(1100px) rotateX(7deg) rotateY(-12deg) rotateZ(-2deg);
  transform-style: preserve-3d;
}

.phone-device::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 58px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: visible;
  border-radius: 50px;
  padding: 28px 20px;
  background:
    radial-gradient(circle at 32% 18%, rgba(10, 160, 120, 0.3), transparent 22%),
    radial-gradient(circle at 78% 74%, rgba(157, 223, 186, 0.16), transparent 26%),
    linear-gradient(155deg, #07120c, #020403 58%, #0b1910);
}

.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 112px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030303;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lock-status {
  padding-top: 38px;
  text-align: center;
  color: #fff;
}

.lock-status span {
  display: block;
  font-size: clamp(52px, 8vw, 74px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.lock-status b {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.notification-stack {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 34px;
  display: grid;
  gap: 11px;
}

.phone-task {
  min-height: auto;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(245, 255, 250, 0.88);
  color: #07100b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.phone-task.hot {
  border-color: rgba(10, 160, 120, 0.42);
  background: linear-gradient(135deg, rgba(195, 255, 222, 0.94), rgba(255, 255, 255, 0.86));
}

.phone-task.offset {
  transform: translateX(26px);
}

.phone-task.offset-alt {
  transform: translateX(-18px);
}

.phone-task img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: #07100b;
  box-shadow: 0 0 0 1px rgba(10, 160, 120, 0.28);
}

.phone-task b {
  display: block;
  color: #07100b;
  font-size: 15px;
  line-height: 1.1;
}

.phone-task span {
  display: block;
  margin-top: 3px;
  color: rgba(7, 16, 11, 0.7);
  font-size: 12px;
  line-height: 1.24;
}

@media (max-width: 980px) {
  .phone-device {
    width: min(360px, 86vw);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .mobile-section {
    gap: 44px;
  }

  .phone-device {
    width: min(330px, 86vw);
    transform: perspective(900px) rotateX(6deg) rotateY(-8deg) rotateZ(-1.5deg);
  }

  .phone-screen {
    padding-inline: 16px;
  }

  .notification-stack {
    left: 13px;
    right: 13px;
  }

  .phone-task {
    grid-template-columns: 42px 1fr;
    padding: 12px;
  }

  .phone-task img {
    width: 42px;
    height: 42px;
  }
}

/* Final mobile ordering and section polish */
@media (max-width: 640px) {
  .mobile-section .section-copy {
    order: 1;
  }

  .mobile-section .phone-device {
    order: 2;
    width: min(280px, 76vw);
    margin-top: 6px;
  }

  .mobile-section {
    padding-top: 72px;
  }
}

/* Dark pricing section */
.pricing-section {
  background:
    radial-gradient(circle at 50% 12%, rgba(10, 160, 120, 0.16), transparent 30%),
    #000 !important;
  color: #fff !important;
}

.pricing-section .section-center h2 {
  color: #fff;
}

.pricing-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 80% 14%, rgba(10, 160, 120, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.055) !important;
  color: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.pricing-card.featured {
  background:
    radial-gradient(circle at 82% 14%, rgba(10, 160, 120, 0.25), transparent 36%),
    rgba(10, 160, 120, 0.08) !important;
}

.pricing-card h3 {
  color: #fff;
}

.pricing-card span,
.pricing-card li {
  color: rgba(255, 255, 255, 0.66) !important;
}

.pricing-card .ghost-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

/* Smaller FAQ scale */
.faq-section .section-center h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.faq-list {
  width: min(820px, 100%);
}

.faq-item summary {
  padding: 20px 0;
  font-size: clamp(18px, 2.2vw, 24px);
}

.faq-item p {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 15px;
}

@media (max-width: 640px) {
  .faq-section .section-center h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .faq-item summary {
    padding: 17px 0;
    font-size: 18px;
    line-height: 1.18;
  }

  .faq-item p {
    font-size: 14px;
  }
}

/* Mobile header mask: keep section text from bleeding behind the fixed nav */
@media (max-width: 760px) {
  .top-bar {
    z-index: 120;
    background: #000;
  }

  .site-header,
  .site-header.is-scrolled {
    z-index: 119;
    background: #000 !important;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
    backdrop-filter: none;
  }

  .site-header.nav-hidden {
    transform: translateY(-110%);
  }
}

