:root {
  --bg: #04080c;
  --bg-soft: #08131b;
  --panel: rgba(9, 24, 34, 0.72);
  --panel-strong: rgba(11, 38, 52, 0.86);
  --text: #f4fbff;
  --muted: #b0c4cf;
  --muted-strong: #d7e6ed;
  --cyan: #50e5ff;
  --blue: #1d7cff;
  --green: #72ffd2;
  --amber: #ffd36b;
  --line: rgba(80, 229, 255, 0.22);
  --border: rgba(150, 226, 255, 0.18);
  --border-strong: rgba(150, 226, 255, 0.34);
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 15vh;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(29, 124, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 9%, rgba(80, 229, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #020508 0%, #071017 52%, #030609 100%);
}

/* Page Loader */
body.loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-top-color: var(--cyan);
  animation: loaderSpin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

:focus:not(:focus-visible) {
  outline: none;
}

:target {
  outline: none;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #ffffff 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(80, 229, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 229, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1280px, calc(100% - 64px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(3, 10, 15, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: translateX(-50%) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.brand,
.nav-links,
.hero-actions,
.mission-card-header,
.pipeline {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(80, 229, 255, 0.25);
  border: 1px solid rgba(80, 229, 255, 0.15);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 22px;
  color: var(--muted-strong);
  font-size: 0.93rem;
}

.nav-links a,
.nav-cta,
.button {
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover,
.button:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(80, 229, 255, 0.48);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(80, 229, 255, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 130px 24px 70px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

#ops-floor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 39%, rgba(1, 7, 10, 0.72) 0%, rgba(1, 7, 10, 0.42) 28%, rgba(1, 7, 10, 0.08) 52%, transparent 68%),
    radial-gradient(circle at 50% 54%, transparent 0%, transparent 24%, rgba(4, 8, 12, 0.08) 48%, rgba(4, 8, 12, 0.76) 100%),
    linear-gradient(90deg, rgba(4, 8, 12, 0.9), transparent 28%, transparent 72%, rgba(4, 8, 12, 0.9));
}

.orb {
  position: absolute;
  width: 32vw;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.26;
}

.orb-one {
  left: 4%;
  bottom: 18%;
  background: var(--blue);
  animation: drift 9s ease-in-out infinite;
}

.orb-two {
  right: 2%;
  top: 16%;
  background: var(--cyan);
  animation: drift 11s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin-top: 46px;
  text-align: center;
}

.hero-copy::before {
  position: absolute;
  inset: -76px -180px -70px;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(2, 9, 14, 0.9) 0%, rgba(2, 10, 15, 0.72) 30%, rgba(2, 10, 15, 0.34) 55%, transparent 78%),
    radial-gradient(ellipse at 50% 62%, rgba(80, 229, 255, 0.08), transparent 62%);
  filter: blur(26px);
}

.hero-copy::after {
  position: absolute;
  inset: -18px -48px -22px;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1) 48%, transparent 76%);
  filter: blur(18px);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  letter-spacing: -0.075em;
}

h1 {
  font-size: clamp(3.15rem, 8.8vw, 7.8rem);
  line-height: 0.88;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.74);
  text-wrap: balance;
}

h1 span {
  display: block;
}

.title-accent {
  color: transparent;
  background: linear-gradient(100deg, #ffffff 0%, #c9f8ff 48%, #72ffd2 100%);
  background-clip: text;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.9;
}

.hero-lede {
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.75vw, 1.24rem);
  line-height: 1.65;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72);
}

.hero-note,
.cta-note {
  margin: 14px 0 0;
  color: #c8eaf1;
  font-size: 0.94rem;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.button.primary {
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 60px rgba(80, 229, 255, 0.24);
}

.button.secondary {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(114, 255, 210, 0.22);
  border-radius: 999px;
  color: #d9fff5;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(2, 18, 20, 0.66);
}

.mission-card {
  position: absolute;
  right: clamp(28px, 5vw, 108px);
  bottom: 88px;
  z-index: 4;
  width: min(320px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background: rgba(6, 21, 30, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.mission-card-header {
  justify-content: space-between;
  color: var(--muted-strong);
  font-size: 0.85rem;
}

.mission-card-header strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.mission-card-header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(114, 255, 210, 0.78);
  animation: statusPulse 1.5s ease-in-out infinite;
}

.mission-meter {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mission-meter span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 24px rgba(114, 255, 210, 0.46);
  animation: queueProgress 4.8s ease-in-out infinite;
}

.task-feed {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.task-feed span,
.agent-stack span {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(80, 229, 255, 0.16);
  border-radius: 16px;
  color: #effcff;
  background: rgba(80, 229, 255, 0.1);
}

.task-feed span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  animation: taskLift 4.8s ease-in-out infinite;
}

.task-feed span:nth-child(2) {
  animation-delay: 1.6s;
}

.task-feed span:nth-child(3) {
  animation-delay: 3.2s;
}

.task-feed span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0%, rgba(114, 255, 210, 0.2) 48%, transparent 74%);
  transform: translateX(-120%);
  animation: taskScan 4.8s ease-in-out infinite;
}

.task-feed span:nth-child(2)::after {
  animation-delay: 1.6s;
}

.task-feed span:nth-child(3)::after {
  animation-delay: 3.2s;
}

.task-feed strong {
  color: var(--green);
  font-size: 0.76rem;
}

.task-feed em {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.task-feed b {
  position: relative;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 999px;
  color: #041117;
  font-size: 0.68rem;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  opacity: 0.78;
}

.mission-caption {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.signal-strip {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  margin: 160px auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.signal-strip div {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(5, 18, 26, 0.8);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--text);
  font-family: "Archivo", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.signal-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.story-grid {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 160px 0 80px;
}

.story-panel,
.cta-band {
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.story-panel {
  min-height: 520px;
  padding: 30px;
  overflow: hidden;
}

.story-panel h2 {
  max-width: 100%;
  font-size: clamp(2.4rem, 3.35vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}

.story-panel p:not(.panel-kicker) {
  max-width: 29ch;
}

.story-panel.featured {
  background:
    radial-gradient(circle at 50% 22%, rgba(80, 229, 255, 0.18), transparent 18rem),
    var(--panel-strong);
}

.story-panel p:not(.panel-kicker),
.cta-band p:not(.eyebrow) {
  color: var(--muted-strong);
  line-height: 1.7;
}

.panel-visual,
.pipeline,
.agent-stack {
  margin-top: 48px;
}

.blueprint {
  position: relative;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.blueprint span {
  position: absolute;
  border: 1px solid rgba(80, 229, 255, 0.44);
  border-radius: 18px;
  background: rgba(80, 229, 255, 0.09);
  box-shadow: 0 0 36px rgba(80, 229, 255, 0.16);
}

.blueprint span:nth-child(1) {
  inset: 26px auto auto 28px;
  width: 86px;
  height: 86px;
}

.blueprint span:nth-child(2) {
  inset: 78px 32px auto auto;
  width: 118px;
  height: 72px;
}

.blueprint span:nth-child(3) {
  inset: auto auto 26px 68px;
  width: 148px;
  height: 54px;
}

.pipeline {
  justify-content: space-between;
  gap: 14px;
  min-height: 210px;
}

.pipeline span {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(80, 229, 255, 0.32);
  border-radius: 50%;
  color: #dffaff;
  font-weight: 800;
  text-align: center;
  background: rgba(80, 229, 255, 0.08);
  box-shadow: 0 0 54px rgba(80, 229, 255, 0.2);
}

.pipeline i {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: rgba(80, 229, 255, 0.18);
}

.pipeline i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: flow 2.4s linear infinite;
}

.agent-stack {
  display: grid;
  gap: 12px;
}

.agent-stack span {
  min-height: 58px;
  transform: rotate(-2deg);
}

.agent-stack span:nth-child(2) {
  transform: rotate(2deg) translateX(16px);
}

.agent-stack span:nth-child(3) {
  transform: rotate(-1deg) translateX(6px);
}

.cta-band {
  width: min(1280px, calc(100% - 64px));
  margin: 56px auto 96px;
  padding: clamp(34px, 7vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(114, 255, 210, 0.16), transparent 24rem),
    linear-gradient(145deg, rgba(80, 229, 255, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.cta-band h2 {
  font-size: clamp(2.55rem, 5.6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.052em;
  max-width: 920px;
  margin-inline: auto;
}

.cta-band p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 22px auto 0;
}

.cta-band .cta-note {
  margin-top: 18px;
  color: #d9fff5;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(24px, -26px, 0) scale(1.08);
  }
}

@keyframes flow {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.24);
  }
}

@keyframes queueProgress {
  0% {
    width: 24%;
    transform: translateX(0);
  }

  45% {
    width: 86%;
    transform: translateX(0);
  }

  70% {
    width: 96%;
    transform: translateX(0);
  }

  100% {
    width: 32%;
    transform: translateX(178%);
  }
}

@keyframes taskScan {
  0%,
  42% {
    transform: translateX(-120%);
  }

  62% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes taskLift {
  0%,
  100% {
    border-color: rgba(80, 229, 255, 0.16);
    transform: translateY(0);
  }

  48% {
    border-color: rgba(114, 255, 210, 0.5);
    transform: translateY(-2px);
  }
}

@media (max-width: 880px) {
  .nav {
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    align-items: start;
    padding-top: 132px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy::before {
    inset: -48px -42px -42px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-proof {
    justify-content: flex-start;
  }

  .mission-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(390px, 100%);
    margin-top: 34px;
    transform: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .story-panel {
    min-height: auto;
  }
}

@media (max-width: 1240px) {
  .mission-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(390px, 100%);
    margin-top: 32px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .button {
    width: 100%;
  }

  .story-grid,
  .cta-band {
    width: calc(100% - 24px);
  }

  .story-panel {
    padding: 24px;
  }
}

.pricing-preview {
  position: relative;
  width: min(1280px, calc(100% - 64px));
  margin: 160px auto;
  text-align: center;
}

.pricing-preview::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 100vw;
  height: 200%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.pricing-header {
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: clamp(2.4rem, 3.35vw, 3.9rem);
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.pricing-header p {
  color: var(--muted-strong);
  font-size: 1.1rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent), var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(80, 229, 255, 0.1);
}

.pricing-card.featured-pricing {
  background: radial-gradient(circle at 100% 0%, rgba(114, 255, 210, 0.1), transparent 18rem), var(--panel-strong);
  border-color: rgba(114, 255, 210, 0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: white;
  margin-bottom: 8px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  vertical-align: middle;
}

.pricing-card .desc {
  color: var(--muted-strong);
  margin-bottom: 30px;
  min-height: 48px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card ul li {
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.pricing-card.featured-pricing ul li::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.product-feature.zigzag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  width: min(1280px, calc(100% - 64px));
  margin: 160px auto;
}

.product-feature.zigzag::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  width: 100vw;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(80, 229, 255, 0.04) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.product-feature.zigzag.reverse {
  flex-direction: row-reverse;
}

.product-feature.zigzag.reverse::before {
  left: 70%;
  background: radial-gradient(circle at center, rgba(114, 255, 210, 0.035) 0%, transparent 50%);
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: clamp(2.4rem, 3.35vw, 3.9rem);
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.feature-content p {
  color: var(--muted-strong);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--text-muted);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
  font-size: 1.05rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.zigzag.reverse .feature-list li::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.feature-visual {
  flex: 1;
  position: relative;
  width: 100%;
}

/* Code Window */
.code-window {
  background: rgba(10, 20, 28, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.window-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.window-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}
.window-header span:nth-child(2) { background: #ffbd2e; }
.window-header span:nth-child(3) { background: #27c93f; }
.window-body {
  padding: 24px;
  font-family: monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e2e8f0;
  white-space: pre-wrap;
}
.window-body .kw { color: #f472b6; }
.window-body .str { color: #34d399; }

/* Agent Cards Stack */
.agent-cards-stack {
  position: relative;
  height: 360px;
}

.stack-card {
  position: absolute;
  background: rgba(10, 20, 28, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, top 0.4s ease, filter 0.4s ease;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background-image: url('./bot-avatar.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.card-avatar.green { background-color: #10b981; border: 1px solid #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
.card-avatar.purple { background-color: #8b5cf6; border: 1px solid #8b5cf6; box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }
.card-avatar.cyan { background-color: #06b6d4; border: 1px solid #06b6d4; box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }

.card-info {
  flex: 1;
}

.card-info h4 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.card-info p { color: var(--muted); font-size: 0.85rem; margin: 0; }

.card-rating span {
  background: rgba(255, 211, 107, 0.1);
  color: var(--amber);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 211, 107, 0.2);
}

.card-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat .val { color: var(--text); font-size: 1.1rem; font-weight: 600; }
.stat .lbl { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

.card-1 { top: 0; left: 0; z-index: 3; }
.card-2 { top: 70px; left: 30px; z-index: 2; opacity: 0.7; transform: scale(0.95); filter: blur(1px); }
.card-3 { top: 140px; left: 60px; z-index: 1; opacity: 0.4; transform: scale(0.9); filter: blur(2px); }

/* Hover Interaction */
.agent-cards-stack:hover .card-1 { transform: translateY(-10px); }
.agent-cards-stack:hover .card-2 { top: 50px; left: 40px; opacity: 0.9; transform: scale(0.98); filter: blur(0); }
.agent-cards-stack:hover .card-3 { top: 100px; left: 80px; opacity: 0.7; transform: scale(0.95); filter: blur(1px); }

/* Mobile Menu & Responsiveness */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .mobile-menu-btn {
    display: block;
    order: 2;
  }
  .brand {
    order: 1;
  }
  .nav-container {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
  }
  .nav-container.open {
    display: flex;
  }
  .nav-links {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .product-feature.zigzag,
  .product-feature.zigzag.reverse {
    flex-direction: column;
    gap: 40px;
  }
  
  .story-grid,
  .pricing-cards,
  .signal-strip {
    grid-template-columns: 1fr;
  }
  
  .agent-cards-stack {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .stack-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
  }
}

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