@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f4f5f7;
  --panel: rgba(255, 255, 255, 0.86);
  --line: rgba(19, 28, 44, 0.12);
  --line-strong: rgba(19, 28, 44, 0.2);
  --text-main: #080b12;
  --text-sub: #647084;
  --accent: #0a84ff;
  --accent-soft: #6bb7ff;
  --ink-dark: #0a0e16;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Manrope", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 700px at 90% -10%, rgba(110, 172, 255, 0.2), rgba(110, 172, 255, 0)),
    radial-gradient(1000px 680px at -10% 20%, rgba(206, 224, 255, 0.36), rgba(206, 224, 255, 0)),
    linear-gradient(180deg, #fafbfc 0%, #f0f2f6 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(13, 22, 37, 0.08) 0.55px, transparent 0.55px);
  background-size: 2px 2px;
  z-index: -1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 14px 2px;
  background: rgba(244, 247, 251, 0.66);
  backdrop-filter: blur(12px) saturate(1.06);
  border-bottom: 1px solid rgba(17, 28, 48, 0.08);
}

.brand {
  font-family: "Space Grotesk", "SF Pro Display", sans-serif;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-decoration: none;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page {
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 26px 0 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101722;
  background: rgba(255, 255, 255, 0.84);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 132, 255, 0.45);
  box-shadow: 0 12px 24px rgba(20, 34, 58, 0.12);
}

.btn-primary {
  border-color: rgba(10, 132, 255, 0.46);
  color: #073a70;
  background: linear-gradient(180deg, rgba(233, 245, 255, 0.98), rgba(204, 228, 255, 0.96));
}

.btn-subtle {
  color: rgba(15, 25, 40, 0.82);
  background: rgba(255, 255, 255, 0.68);
}

.btn-large {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 15px;
}

.hero {
  position: relative;
  padding: 30px 0 10px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(21, 35, 54, 0.56);
}

.hero h1 {
  margin: 12px 0 14px;
  max-width: 17ch;
  font-family: "Space Grotesk", "SF Pro Display", sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.042em;
  color: #05080f;
}

.hero-copy {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 2.1vw, 21px);
  color: #4f5c72;
  font-weight: 540;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-visual {
  margin: 34px 0 0;
  padding: 0;
}

.sim-shell {
  position: relative;
  border: 1px solid rgba(19, 32, 52, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(900px 420px at 30% -10%, rgba(118, 176, 255, 0.22), rgba(118, 176, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.94));
  box-shadow: 0 42px 84px rgba(16, 28, 46, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.sim-toolbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(22, 33, 52, 0.08);
  background: rgba(246, 249, 253, 0.86);
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 40, 61, 0.16);
  font-size: 12px;
  font-weight: 670;
  color: rgba(18, 30, 48, 0.72);
  background: rgba(255, 255, 255, 0.78);
}

.tool-chip.active {
  border-color: rgba(10, 132, 255, 0.45);
  color: #0a5ea8;
  background: linear-gradient(180deg, rgba(227, 241, 255, 0.98), rgba(210, 233, 255, 0.94));
}

.sim-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.sim-sidebar {
  border: 1px solid rgba(28, 44, 68, 0.13);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.96), rgba(238, 242, 248, 0.94));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.side-block {
  border: 1px solid rgba(31, 48, 74, 0.12);
  border-radius: 12px;
  height: 70px;
  background: rgba(255, 255, 255, 0.74);
}

.side-block.side-head {
  height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 255, 0.9));
}

.sim-stage-wrap {
  min-width: 0;
}

.sim-stage {
  position: relative;
  border: 1px solid rgba(27, 42, 66, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 29, 47, 0.94), rgba(11, 24, 40, 0.96));
  padding: 12px;
  animation: stage-float 7s ease-in-out infinite;
}

.sim-stage svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  overflow: hidden;
}

.sim-legend {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 208, 236, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(14, 26, 42, 0.82);
  font-size: 12px;
  font-weight: 650;
}

.legend-dot {
  width: 12px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 5px;
}

.legend-dot.mask {
  background: rgba(255, 113, 175, 0.7);
}

.legend-dot.contour {
  background: rgba(18, 26, 44, 0.85);
}

.legend-dot.aerial {
  background: linear-gradient(90deg, rgba(255, 199, 85, 0.95), rgba(255, 104, 60, 0.9));
}

.contour-line {
  fill: none;
  stroke-width: 2.2;
  filter: url(#contourGlow);
}

.contour-main {
  stroke: rgba(230, 244, 255, 0.96);
  stroke-dasharray: 1;
}

.contour-alt {
  stroke: rgba(96, 220, 255, 0.9);
  animation: contour-breath 4.8s ease-in-out infinite;
}

.contour-fade {
  stroke: rgba(255, 198, 76, 0.92);
  animation: contour-breath 4.8s ease-in-out infinite reverse;
}

.sweep-probe {
  stroke: rgba(255, 137, 66, 0.94);
  fill: rgba(255, 183, 75, 0.95);
  animation: probe-shift 4.4s ease-in-out infinite;
}

.sweep-probe text {
  fill: rgba(255, 193, 97, 0.95);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.sim-status {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 85, 0.36);
  background: linear-gradient(180deg, rgba(255, 244, 220, 0.9), rgba(255, 228, 178, 0.84));
  color: rgba(95, 54, 14, 0.9);
  font-size: 12px;
  font-weight: 650;
}

.opclab-band {
  margin-top: 54px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 34px;
  border: 1px solid rgba(238, 246, 255, 0.16);
  background:
    radial-gradient(120% 120% at 20% -20%, rgba(87, 151, 255, 0.18), rgba(87, 151, 255, 0)),
    linear-gradient(145deg, #05080e 0%, #0b121d 54%, #0f1724 100%);
  box-shadow: 0 40px 70px rgba(5, 12, 20, 0.4);
}

.eyebrow.invert {
  color: rgba(212, 228, 251, 0.64);
}

.opclab-band h2 {
  margin: 10px 0 10px;
  max-width: 25ch;
  font-family: "Space Grotesk", "SF Pro Display", sans-serif;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.opclab-band p {
  margin: 0;
  max-width: 56ch;
  color: rgba(223, 234, 252, 0.8);
  font-size: clamp(16px, 2vw, 20px);
}

.showcase {
  margin-top: 54px;
  display: grid;
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 44px rgba(18, 31, 52, 0.1);
  padding: 18px;
}

.feature-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", "SF Pro Display", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #060b12;
}

.feature-copy p {
  margin: 8px 0 0;
  color: #5f6c80;
  font-size: 15px;
  max-width: 28ch;
}

.feature-media {
  border-radius: 20px;
  border: 1px solid rgba(21, 34, 53, 0.12);
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.9), rgba(236, 242, 251, 0.9));
  overflow: hidden;
  min-height: 242px;
  display: grid;
  place-items: center;
}

.feature-media svg {
  width: min(100%, 440px);
  height: auto;
}

.sweep-media rect,
.compare-media rect {
  fill: rgba(15, 28, 46, 0.06);
  stroke: rgba(22, 37, 58, 0.16);
}

.sweep-media .axis {
  stroke: rgba(18, 32, 50, 0.34);
  stroke-width: 1.2;
  fill: none;
}

.sweep-media .trend {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.sweep-media .trend.main {
  stroke: rgba(9, 132, 255, 0.95);
}

.sweep-media .trend.ghost {
  stroke: rgba(114, 160, 215, 0.8);
  animation: trend-fade 4.5s ease-in-out infinite;
}

.sweep-media .probe {
  fill: rgba(255, 140, 70, 0.96);
  animation: probe-hop 3.8s ease-in-out infinite;
}

.compare-media .mask-frame {
  fill: rgba(255, 136, 190, 0.1);
  stroke: rgba(255, 138, 188, 0.78);
}

.compare-media .ab-line {
  fill: none;
  stroke-width: 2.3;
}

.compare-media .ab-line.a {
  stroke: #2f7dff;
}

.compare-media .ab-line.b {
  stroke: #f17f56;
  animation: compare-drift 4.2s ease-in-out infinite;
}

.panel-stack {
  position: relative;
  width: 100%;
  height: 240px;
  display: grid;
  place-items: center;
}

.panel-tile {
  position: absolute;
  width: min(390px, 90%);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(21, 34, 53, 0.18);
  box-shadow: 0 18px 34px rgba(14, 26, 44, 0.16);
}

.panel-tile.two-d {
  background:
    radial-gradient(120% 120% at 15% 6%, rgba(62, 112, 198, 0.34), rgba(62, 112, 198, 0)),
    linear-gradient(180deg, #163050 0%, #0f2239 100%);
  transform: translate(-24px, -8px);
}

.panel-tile.three-d {
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(158, 208, 255, 0.3), rgba(158, 208, 255, 0)),
    linear-gradient(180deg, #1d324c 0%, #142338 100%);
  transform: translate(22px, 16px) rotate(-5deg);
  animation: tile-float 5.5s ease-in-out infinite;
}

.cta-band {
  margin-top: 56px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 30px;
  border: 1px solid rgba(18, 31, 50, 0.14);
  background:
    radial-gradient(120% 180% at 10% 0%, rgba(98, 160, 255, 0.24), rgba(98, 160, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92));
  box-shadow: 0 32px 62px rgba(16, 30, 49, 0.14);
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-family: "Space Grotesk", "SF Pro Display", sans-serif;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.034em;
  color: #060a11;
}

.cta-band p {
  margin: 10px auto 18px;
  max-width: 48ch;
  color: #5c6880;
  font-size: 17px;
}

.foot {
  width: min(1280px, 96vw);
  margin: 0 auto 24px;
  color: #6d7890;
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 720ms ease, transform 720ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes stage-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -6px, 0) scale(1.01);
  }
}

@keyframes contour-breath {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes probe-shift {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(12px);
  }
}

@keyframes trend-fade {
  0%,
  100% {
    opacity: 0.56;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes probe-hop {
  0%,
  100% {
    transform: translate(0, 0);
  }
  45% {
    transform: translate(8px, -10px);
  }
}

@keyframes compare-drift {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(8px);
  }
}

@keyframes tile-float {
  0%,
  100% {
    transform: translate(22px, 16px) rotate(-5deg);
  }
  50% {
    transform: translate(20px, 8px) rotate(-3.5deg);
  }
}

@media (max-width: 1100px) {
  .sim-layout {
    grid-template-columns: 1fr;
  }

  .sim-sidebar {
    display: none;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-copy p {
    max-width: 54ch;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px 0;
  }

  .brand {
    font-size: 22px;
  }

  .top-actions {
    gap: 7px;
  }

  .btn {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12.5px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .showcase,
  .opclab-band,
  .cta-band {
    margin-top: 34px;
  }

  .sim-shell {
    border-radius: 24px;
  }

  .sim-toolbar-row {
    padding: 12px;
    gap: 6px;
  }

  .tool-chip {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .sim-layout {
    padding: 10px;
  }

  .sim-stage {
    padding: 8px;
    border-radius: 16px;
  }

  .sim-legend {
    top: 10px;
    left: 10px;
    font-size: 10.5px;
    gap: 8px;
    padding: 5px 8px;
  }

  .panel-stack {
    height: 200px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
