:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-2: #0d1728;
  --panel: rgba(15, 27, 46, 0.78);
  --panel-strong: #0f1b2e;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #00c8ff;
  --blue-2: #2563eb;
  --mint: #18ddb3;
  --amber: #f59e0b;
  --coral: #fb7185;
  --lime: #a3e635;
  --red: #ef4444;
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(0, 200, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(24, 221, 179, 0.18), transparent 25rem),
    linear-gradient(180deg, #060c17 0%, var(--bg) 42%, #091525 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

img {
  max-width: 100%;
  display: block;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--mint), var(--amber));
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.55);
}

.scene-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    conic-gradient(from 160deg at 16% 22%, rgba(0, 200, 255, 0.22), transparent 28%, rgba(24, 221, 179, 0.14), transparent 62%),
    conic-gradient(from 25deg at 86% 16%, rgba(245, 158, 11, 0.16), transparent 26%, rgba(0, 200, 255, 0.12), transparent 64%),
    linear-gradient(180deg, transparent, rgba(6, 12, 23, 0.62));
  filter: saturate(1.15);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(6, 12, 23, 0.86), rgba(6, 12, 23, 0.36));
}

.brand img {
  width: 11.5rem;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.62);
}

.nav nav a,
.nav-cta {
  padding: 0.72rem 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
}

.nav nav a:hover,
.nav-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav nav a {
  position: relative;
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.38rem;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav nav a:hover::after,
.nav nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid rgba(0, 200, 255, 0.36);
  color: var(--blue);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}

.section-grid,
.panel-section,
.workflow-section,
.screens-section,
.signai-section,
.playbook-section,
.faq-section,
.final-cta {
  margin: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 8rem);
  position: relative;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-text,
.section-heading p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
}

.button.primary {
  color: #04111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 18px 50px rgba(0, 200, 255, 0.25);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-row span {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 36rem;
  margin-top: 1.1rem;
}

.hero-proof div {
  min-height: 5.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.05rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

.hero-proof span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
  min-height: 44rem;
  perspective: 1200px;
  isolation: isolate;
}

.stage-grid {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(92vw, 40rem);
  height: min(92vw, 40rem);
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-18deg);
  border-radius: 2rem;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 221, 179, 0.12) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem;
  opacity: 0.45;
  animation: gridDrift 9s ease-in-out infinite;
  mask-image: radial-gradient(circle, #000 0 44%, transparent 72%);
}

.orbit-ring {
  position: absolute;
  inset: 5% 10%;
  border: 1px solid rgba(0, 200, 255, 0.24);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-24deg);
}

.ring-two {
  inset: 14% 3%;
  border-color: rgba(24, 221, 179, 0.2);
  animation: orbit 9s linear infinite;
}

.ring-three {
  inset: 22% 20%;
  border-color: rgba(245, 158, 11, 0.22);
  transform: rotateX(72deg) rotateZ(26deg);
  animation: orbitReverse 12s linear infinite;
}

.phone-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 25rem);
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-16deg) rotateZ(3deg);
  transform-style: preserve-3d;
  animation: phoneFloat 7s ease-in-out infinite;
  will-change: transform;
}

.phone-shell,
.device-frame {
  border-radius: 2.4rem;
  padding: 0.75rem;
  background: linear-gradient(145deg, #1e293b, #020617);
  box-shadow: 0 40px 100px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-shell {
  position: relative;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0.6rem auto auto 50%;
  z-index: 3;
  width: 5rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.92);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  z-index: 2;
  border-radius: 1.8rem;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.22), transparent 20%, transparent 72%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
}

.phone-screen,
.device-frame {
  position: relative;
  overflow: hidden;
}

.phone-screen {
  aspect-ratio: 720 / 1640;
  border-radius: 1.8rem;
  background: #020617;
}

.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 900ms ease;
}

.screen-shot.active {
  opacity: 1;
  transform: scale(1);
}

.screen-label {
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  transform: translateX(-50%);
  min-width: 12rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.86);
  text-align: center;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 18px 50px var(--shadow);
}

.screen-stack {
  position: absolute;
  z-index: -1;
  display: grid;
  gap: 0.25rem;
  width: 10.5rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.2rem;
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
}

.screen-stack span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.screen-stack strong {
  font-size: 1.4rem;
}

.stack-one {
  left: 8%;
  bottom: 27%;
  transform: rotateY(28deg) rotateZ(-8deg);
  animation: cardFloat 6s ease-in-out infinite;
}

.stack-two {
  right: 4%;
  top: 25%;
  transform: rotateY(-28deg) rotateZ(7deg);
  animation: cardFloat 7.5s ease-in-out infinite reverse;
}

.floating-card {
  position: absolute;
  max-width: 13rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(15, 27, 46, 0.84);
  box-shadow: 0 24px 60px var(--shadow);
  backdrop-filter: blur(14px);
  animation: cardFloat 6.5s ease-in-out infinite;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-bottom: 0.35rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.card-hot {
  left: 0;
  top: 19%;
}

.card-ai {
  right: 0;
  bottom: 17%;
}

.panel-section,
.workflow-section,
.screens-section,
.signai-section,
.playbook-section,
.faq-section,
.final-cta {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(15, 27, 46, 0.76), rgba(8, 17, 31, 0.68));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.panel-section::before,
.workflow-section::before,
.screens-section::before,
.signai-section::before,
.playbook-section::before,
.faq-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 78%, rgba(0, 200, 255, 0.08));
  opacity: 0.75;
}

.section-heading {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.path-layout,
.screen-detail,
.builder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.3rem;
  position: relative;
  z-index: 1;
}

.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.checklist button,
.screen-tabs button,
.builder-controls button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.checklist button {
  padding: 1rem 1.1rem;
}

.checklist li.active button,
.screen-tabs button.active,
.builder-controls button.active {
  color: var(--text);
  border-color: rgba(0, 200, 255, 0.62);
  background: rgba(0, 200, 255, 0.13);
}

.checklist button:hover,
.screen-tabs button:hover,
.builder-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 221, 179, 0.44);
}

.step-card,
.screen-copy,
.builder-output,
.playbook-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
}

.step-card {
  min-height: 100%;
  padding: 1.5rem;
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease;
}

.step-card:hover,
.screen-copy:hover,
.builder-output:hover,
.playbook-grid article:hover,
.workflow-node:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 255, 0.48);
}

.step-kicker {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.step-card p,
.screen-copy p,
.builder-output p,
.playbook-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.mini-metric,
.output-row {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(0, 200, 255, 0.1);
}

.mini-metric span,
.mini-metric strong,
.output-row strong,
.output-row span {
  display: block;
}

.mini-metric span,
.output-row strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-metric strong,
.output-row span {
  margin-top: 0.3rem;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr 3rem 1fr 3rem 1fr 3rem 1fr;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.workflow-node {
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  transform-style: preserve-3d;
}

.workflow-node span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #06101f;
  background: var(--blue);
  font-weight: 900;
}

.workflow-node p {
  color: var(--muted);
  line-height: 1.55;
}

.connector {
  position: relative;
}

.connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.45rem;
  right: 0.45rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  background-size: 200% 100%;
  animation: flowLine 2.8s linear infinite;
}

.connector::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.28rem);
  right: 0.35rem;
  width: 0.58rem;
  height: 0.58rem;
  border-top: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
  transform: rotate(45deg);
}

.motion-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.motion-strip span {
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--mint), transparent);
  background-size: 220% 100%;
  animation: flowLine 3.2s linear infinite;
  opacity: 0.75;
}

.motion-strip span:nth-child(2) {
  animation-delay: -0.8s;
}

.motion-strip span:nth-child(3) {
  animation-delay: -1.6s;
}

.screen-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.screen-tabs button {
  padding: 0.9rem 1rem;
  text-align: center;
}

.device-frame.compact {
  max-width: 22rem;
  justify-self: center;
  transform: perspective(1000px) rotateY(8deg) rotateX(2deg);
  transition: transform 260ms ease;
}

.device-frame.compact:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-3px);
}

.device-frame.compact img {
  width: 100%;
  aspect-ratio: 720 / 1640;
  object-fit: cover;
  border-radius: 1.8rem;
}

.screen-copy {
  padding: 1.5rem;
}

.screen-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.builder-controls {
  display: grid;
  gap: 0.7rem;
}

.builder-controls button {
  padding: 1rem;
}

.builder-output {
  position: relative;
  min-height: 20rem;
  padding: 2rem;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease;
}

.builder-output::before {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -4rem;
  top: -4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.24), transparent 70%);
}

.signal-dot {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(24, 221, 179, 0.7);
  animation: pulse 1.8s infinite;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.playbook-grid article {
  padding: 1.2rem;
  transition: transform 220ms ease, border-color 220ms ease;
}

.playbook-grid span {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0.9rem 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(24, 221, 179, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(0, 200, 255, 0.12), rgba(15, 27, 46, 0.78));
}

.final-cta h2 {
  max-width: 20ch;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.experience-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 5rem;
}

.experience-band article {
  min-height: 17rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 17, 31, 0.54);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 260ms ease, border-color 260ms ease;
}

.experience-band article:hover {
  transform: perspective(900px) rotateX(3deg) rotateY(-4deg) translateY(-6px);
  border-color: rgba(24, 221, 179, 0.42);
}

.experience-band span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.25rem;
  border-radius: 0.9rem;
  color: #06101f;
  background: linear-gradient(135deg, var(--mint), var(--amber));
  font-weight: 950;
}

.experience-band h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.04;
}

.experience-band p {
  color: var(--muted);
  line-height: 1.65;
}

.icp-visual {
  position: relative;
  z-index: 1;
  height: 19rem;
  margin-top: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.6rem;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.025);
  background-size: 34px 34px;
  overflow: hidden;
  perspective: 900px;
}

.icp-card,
.icp-center {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 8rem;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  background: rgba(15, 27, 46, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  font-weight: 900;
  animation: nodeHover 5s ease-in-out infinite;
}

.icp-center {
  left: 50%;
  top: 50%;
  min-width: 9rem;
  min-height: 5rem;
  color: #06101f;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  transform: translate(-50%, -50%) rotateX(8deg);
}

.icp-a {
  left: 8%;
  top: 16%;
}

.icp-b {
  right: 10%;
  top: 20%;
  animation-delay: -1s;
}

.icp-c {
  left: 16%;
  bottom: 15%;
  animation-delay: -2s;
}

.icp-d {
  right: 13%;
  bottom: 14%;
  animation-delay: -3s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translate(-50%, -50%) rotateX(8deg) rotateY(-16deg) rotateZ(3deg);
  }
  50% {
    transform: translate(-50%, -53%) rotateX(10deg) rotateY(-9deg) rotateZ(-1deg);
  }
}

@keyframes cardFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.75rem;
  }
}

@keyframes gridDrift {
  0%, 100% {
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-18deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-15deg) translateY(-1rem);
  }
}

@keyframes orbit {
  to {
    transform: rotateX(68deg) rotateZ(336deg);
  }
}

@keyframes orbitReverse {
  to {
    transform: rotateX(72deg) rotateZ(-334deg);
  }
}

@keyframes flowLine {
  to {
    background-position: -200% 0;
  }
}

@keyframes nodeHover {
  0%, 100% {
    transform: translateZ(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-0.55rem) translateZ(24px) rotateX(4deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 1rem rgba(24, 221, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 221, 179, 0);
  }
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
  }

  .nav nav {
    display: none;
  }

  .hero,
  .path-layout,
  .screen-detail,
  .builder-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1rem;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: 38rem;
  }

  .experience-band {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .connector {
    height: 2rem;
  }

  .connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
  }

  .connector::after {
    top: auto;
    right: auto;
    bottom: 0.2rem;
    left: calc(50% - 0.28rem);
    transform: rotate(135deg);
  }

  .playbook-grid,
  .screen-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .motion-strip {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .nav {
    padding: 0.85rem 1rem;
  }

  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.5vw, 2.85rem);
    line-height: 0.98;
  }

  .hero-copy,
  .hero-actions,
  .trust-row {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .hero-copy > * {
    max-width: calc(100vw - 2rem);
  }

  .hero-text {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    font-size: 1rem;
  }

  .trust-row {
    display: none;
  }

  .brand img {
    width: 9.5rem;
  }

  .nav-cta {
    display: none;
  }

  .section-grid,
  .experience-band,
  .panel-section,
  .workflow-section,
  .screens-section,
  .signai-section,
  .playbook-section,
  .faq-section,
  .final-cta {
    margin: 3rem 0;
  }

  .hero-stage {
    min-height: 32rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: calc(100vw - 3rem);
    max-width: none;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  .screen-stack {
    display: none;
  }

  .phone-3d {
    width: min(76vw, 18rem);
    transform: translate(-50%, -50%) rotateX(4deg) rotateY(-7deg) rotateZ(2deg);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .playbook-grid,
  .screen-tabs {
    grid-template-columns: 1fr;
  }

  .panel-section,
  .workflow-section,
  .screens-section,
  .signai-section,
  .playbook-section,
  .faq-section,
  .final-cta {
    border-radius: 1.35rem;
  }

  .icp-visual {
    height: 24rem;
  }

  .icp-card,
  .icp-center {
    left: 50%;
    right: auto;
    min-width: 11rem;
    transform: translateX(-50%);
  }

  .icp-a {
    top: 8%;
  }

  .icp-b {
    top: 28%;
  }

  .icp-center {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .icp-c {
    bottom: 24%;
  }

  .icp-d {
    bottom: 7%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
