:root {
  --bg: #07090d;
  --bg-soft: #0c1119;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f6f7fb;
  --muted: #a5afc3;
  --blue: #58b8ff;
  --mint: #55f2c3;
  --coral: #ff7f70;
  --gold: #ffd166;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 15% 12%, rgba(88, 184, 255, 0.25), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(85, 242, 195, 0.16), transparent 32%),
    radial-gradient(circle at 55% 80%, rgba(255, 127, 112, 0.14), transparent 34%),
    linear-gradient(145deg, #05070b 0%, #0c1119 46%, #080b10 100%);
}

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

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.68;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: #061016;
  box-shadow: 0 10px 40px rgba(88, 184, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a,
.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 0 16px;
  color: var(--muted);
}

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

.nav-cta {
  justify-self: end;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-panel,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 100vh;
  padding: 132px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.08;
}

.hero-text,
.section-heading p,
.immersive-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.primary-btn {
  min-width: 160px;
  padding: 0 24px;
  border: 0;
  background: linear-gradient(135deg, var(--text), #cfefff);
  color: #071018;
  box-shadow: 0 20px 60px rgba(88, 184, 255, 0.28);
}

.secondary-btn {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-proof,
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span,
.logo-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof span {
  padding: 10px 13px;
}

.hero-product {
  perspective: 1400px;
}

.product-shell {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transform: rotateX(4deg) rotateY(-7deg);
  transform-style: preserve-3d;
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(255, 255, 255, 0.22) 38%, transparent 52%),
    radial-gradient(circle at 80% 10%, rgba(85, 242, 195, 0.24), transparent 28%);
  opacity: 0.55;
  pointer-events: none;
}

.product-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.product-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.product-topbar span:nth-child(2) {
  background: var(--gold);
}

.product-topbar span:nth-child(3) {
  background: var(--mint);
}

.product-topbar strong {
  margin-left: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.product-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 12, 18, 0.68);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border 220ms ease;
}

.product-card:hover,
.product-card.active {
  transform: translateY(-4px);
  border-color: rgba(85, 242, 195, 0.42);
  background: rgba(14, 26, 31, 0.86);
}

.product-card p,
.case-card p,
.price-card p {
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint));
}

.phone-preview {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.phone-frame {
  width: 240px;
  min-height: 420px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  background: #05080d;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.5);
}

.phone-status {
  width: 72px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.app-screen {
  min-height: 350px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(88, 184, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #111927, #071018);
}

.app-chip {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(85, 242, 195, 0.16);
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.app-screen h4 {
  margin: 46px 0 14px;
  font-size: 30px;
  line-height: 1;
}

.app-screen p {
  color: var(--muted);
  line-height: 1.5;
}

.app-screen button {
  width: 100%;
  min-height: 46px;
  margin-top: 28px;
  border: 0;
  border-radius: 14px;
  background: var(--text);
  color: #071018;
  font-weight: 900;
}

.notification-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 50px;
}

.notification-stack span {
  width: 150px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.logo-strip {
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 90px;
}

.logo-strip span {
  padding: 14px 22px;
}

.section {
  padding: 94px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.two-col .section-heading {
  position: static;
}

.section-heading.wide {
  position: static;
  max-width: 860px;
}

.feature-stack,
.pricing-grid,
.case-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.feature-card,
.price-card,
.timeline-item,
.contact-card,
.lab,
.case-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.feature-card {
  min-height: 210px;
  padding: 30px;
}

.feature-card span,
.timeline-item span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.timeline-item p,
.price-card li,
.price-card span,
.case-card span,
.lab-output p {
  color: var(--muted);
  line-height: 1.6;
}

.immersive {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 0;
  box-shadow: var(--shadow);
}

.immersive-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.02), rgba(7, 9, 13, 0.9)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=80")
      center/cover;
  transform: scale(1.04);
}

.immersive-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 54px;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.case-card {
  overflow: hidden;
}

.case-card div:last-child {
  padding: 24px;
}

.case-visual {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.case-visual.clinic {
  background-image: linear-gradient(rgba(7, 9, 13, 0.08), rgba(7, 9, 13, 0.35)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=900&q=80");
}

.case-visual.trade {
  background-image: linear-gradient(rgba(7, 9, 13, 0.08), rgba(7, 9, 13, 0.35)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=900&q=80");
}

.case-visual.fitness {
  background-image: linear-gradient(rgba(7, 9, 13, 0.08), rgba(7, 9, 13, 0.35)),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=900&q=80");
}

.system-lab {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 38px;
  align-items: center;
}

.lab {
  padding: 20px;
}

.lab-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tab {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: var(--text);
  color: #071018;
}

.lab-output {
  padding: 38px 10px 10px;
}

.lab-output h3 {
  font-size: clamp(28px, 4vw, 48px);
}

.lab-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.lab-flow span {
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.timeline-item {
  min-height: 250px;
  padding: 30px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.market-note {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(85, 242, 195, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(85, 242, 195, 0.11), rgba(88, 184, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.market-note span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-note p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.price-card {
  padding: 30px;
}

.price-card.highlighted {
  border-color: rgba(85, 242, 195, 0.44);
  background: linear-gradient(180deg, rgba(85, 242, 195, 0.16), rgba(255, 255, 255, 0.07));
  transform: translateY(-12px);
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: 48px;
}

.price-line {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.was-price {
  color: rgba(246, 247, 251, 0.48);
  font-size: 16px;
  font-weight: 900;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.monthly {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(85, 242, 195, 0.28);
  border-radius: 999px;
  background: rgba(85, 242, 195, 0.1);
  color: var(--mint);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 24px 0 0;
  list-style: none;
}

.price-card li::before {
  content: "•";
  margin-right: 10px;
  color: var(--mint);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 42px;
  padding: 42px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  outline: none;
}

input {
  height: 52px;
  padding: 0 16px;
}

textarea {
  min-height: 120px;
  padding: 16px;
  resize: vertical;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.form-actions button {
  cursor: pointer;
  font-family: inherit;
}

.email-direct {
  width: 100%;
  min-height: 50px;
}

.form-mail {
  width: 100%;
  min-height: 50px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.form-status.error {
  color: var(--coral);
}

.request-preview {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.request-preview span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 50px;
  color: var(--muted);
  font-size: 14px;
}

.response-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.response-card {
  width: min(760px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.response-card h1 {
  font-size: clamp(44px, 7vw, 84px);
}

.response-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.response-card pre {
  overflow: auto;
  max-height: 340px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  white-space: pre-wrap;
}

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

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

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

  .nav-links {
    display: none;
  }

  .hero,
  .two-col,
  .system-lab,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .product-shell {
    min-height: 620px;
    transform: none;
  }

  .two-col .section-heading {
    position: static;
  }

  .case-grid,
  .pricing-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .price-card.highlighted {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .section-panel,
  .section,
  .logo-strip {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 38px;
  }

  .product-grid,
  .lab-tabs,
  .lab-flow,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .product-shell {
    min-height: auto;
  }

  .phone-preview {
    position: relative;
    right: auto;
    bottom: auto;
    flex-direction: column;
    align-items: center;
    padding: 8px 18px 24px;
  }

  .notification-stack {
    width: 100%;
    margin: 0;
  }

  .notification-stack span {
    width: 100%;
  }

  .immersive {
    min-height: 520px;
  }

  .immersive-copy,
  .contact-card {
    padding: 26px;
  }

  footer {
    display: grid;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
  }

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