@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #04213f;
  --ink-strong: #010f20;
  --muted: #3a6080;
  --soft: #f0f8ff;
  --ice: rgba(255, 255, 255, 0.72);
  --ice-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(82, 162, 240, 0.18);
  --blue: #1a6fff;
  --blue-deep: #0a43c4;
  --blue-mid: #1558e0;
  --cyan: #3dd6f5;
  --cyan-pale: rgba(61, 214, 245, 0.28);
  --sky: #c8efff;
  --sapphire: #0831a0;
  --glass-edge: rgba(255, 255, 255, 0.95);
  --glass-fill: rgba(255, 255, 255, 0.55);
  --glass-fill-strong: rgba(255, 255, 255, 0.80);
  --shadow-sm: 0 4px 24px rgba(18, 80, 190, 0.10);
  --shadow: 0 24px 80px rgba(14, 68, 170, 0.14), 0 4px 18px rgba(14, 68, 170, 0.08);
  --shadow-xl: 0 40px 120px rgba(10, 54, 160, 0.18), 0 8px 32px rgba(10, 54, 160, 0.12);
  --inner-light: inset 0 1.5px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(26, 111, 255, 0.07);
  --glow-blue: 0 0 60px rgba(26, 111, 255, 0.22), 0 0 20px rgba(61, 214, 245, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  background: #f3faff;
  overflow-x: hidden;
}

/* Atmospheric layered background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 140% 80% at 10% -10%, rgba(188, 230, 255, 0.70) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 90% 110%, rgba(26, 111, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(240, 252, 255, 1) 30%, rgba(210, 242, 255, 0.8) 100%);
}

/* Fine grid layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(26, 111, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating orbs */
.bg-orb-1,
.bg-orb-2,
.bg-orb-3 {
  display: none;
}

a {
  color: inherit;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(230, 248, 255, 0.72) 100%);
  box-shadow: var(--shadow), var(--inner-light), 0 0 0 1px rgba(26, 111, 255, 0.06);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  transform: translateX(-50%);
  transition: box-shadow 200ms ease;
}

.site-header:hover {
  box-shadow: var(--shadow-xl), var(--inner-light), 0 0 0 1px rgba(26, 111, 255, 0.08);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  padding: 0 10px;
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(187, 236, 255, 0.5) 40%, rgba(26, 111, 255, 0.8) 100%);
  box-shadow: 0 0 0 1px rgba(26, 111, 255, 0.2), 0 4px 20px rgba(26, 111, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.90rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(26, 111, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 2.5px 0;
  border-radius: 99px;
  background: var(--blue-deep);
  transition: transform 200ms ease, opacity 200ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  padding: 136px max(28px, calc((100vw - 1160px) / 2)) 100px;
  align-items: end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("/assets/hero-appliance.png");
  background-position: center right;
  background-size: cover;
  filter: saturate(0.65) brightness(1.15) contrast(0.9);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(100deg,
      rgba(243, 250, 255, 0.99) 0%,
      rgba(235, 248, 255, 0.93) 35%,
      rgba(220, 243, 255, 0.60) 62%,
      rgba(200, 237, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(230, 248, 255, 0.88) 100%);
}

.hero-content {
  width: min(780px, 100%);
  animation: heroReveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-mid);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Segoe", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 11ch;
  font-size: 5.6rem;
  background: linear-gradient(155deg, #010f20 10%, #0a43c4 65%, #1a6fff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.98;
}

h2 {
  max-width: 22ch;
  font-size: 3.4rem;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 600px;
  margin-top: 24px;
  font-size: 1.12rem;
  color: #355070;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue) 50%, var(--cyan) 100%);
  box-shadow: 0 8px 32px rgba(26, 111, 255, 0.32), 0 2px 8px rgba(26, 111, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-primary:hover {
  box-shadow: 0 14px 42px rgba(26, 111, 255, 0.42), 0 4px 14px rgba(26, 111, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-ghost {
  color: var(--blue-deep);
  border-color: rgba(26, 111, 255, 0.22);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm), var(--inner-light);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow), var(--inner-light);
}

/* ─── HERO DOCK ─── */
.hero-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 56px));
  margin: 60px auto -44px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background: rgba(26, 111, 255, 0.08);
  box-shadow: var(--shadow-xl), var(--inner-light);
  backdrop-filter: blur(32px) saturate(200%);
  overflow: hidden;
}

.hero-dock div {
  min-width: 0;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.68);
  transition: background 200ms ease;
}

.hero-dock div:hover {
  background: rgba(255, 255, 255, 0.88);
}

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

.hero-dock span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-dock strong {
  color: var(--ink-strong);
  font-size: 0.98rem;
  font-weight: 600;
}

/* ─── GLASS BAND ─── */
.glass-band {
  padding: 48px max(28px, calc((100vw - 1160px) / 2)) 0;
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: var(--shadow), var(--inner-light);
  backdrop-filter: blur(28px) saturate(180%);
}

.band-inner p {
  font-size: 1rem;
}

.band-inner a {
  white-space: nowrap;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.90rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.band-inner a::after {
  content: "→";
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px max(28px, calc((100vw - 1160px) / 2));
}

.section-copy {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-grid,
.pricing-grid,
.hardware-grid,
.integration-rail {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hardware-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.integration-rail {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ─── GLASS CARDS ─── */
.glass-card,
.glass-panel,
.glass-row {
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg,
      rgba(255, 255, 255, 0.90) 0%,
      rgba(236, 249, 255, 0.70) 45%,
      rgba(210, 242, 255, 0.40) 100%);
  box-shadow: var(--shadow), var(--inner-light);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover,
.glass-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--inner-light), 0 0 0 1px rgba(26, 111, 255, 0.08);
}

.glass-row:hover {
  box-shadow: var(--shadow), var(--inner-light), 0 0 0 1px rgba(26, 111, 255, 0.06);
}

.glass-card {
  min-width: 0;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26, 111, 255, 0.3), rgba(61, 214, 245, 0.4), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card p {
  font-size: 0.92rem;
}

.card-number,
.tier,
.demo-state,
.integration-rail span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── SPLIT BAND ─── */
.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.50) 0%, rgba(225, 247, 255, 0.30) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.glass-list {
  display: grid;
  gap: 14px;
}

.glass-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 20px 22px;
}

.glass-row strong {
  color: var(--ink-strong);
  font-weight: 600;
  font-size: 0.96rem;
}

.glass-row span {
  color: var(--muted);
  line-height: 1.60;
  font-size: 0.94rem;
}

/* ─── TOWER SECTION ─── */
.tower-section {
  position: relative;
  min-height: 440vh;
  padding: 0 max(28px, calc((100vw - 1160px) / 2));
}

.tower-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  min-height: 100vh;
  align-items: center;
  padding: 120px 0 70px;
}

.tower-copy {
  display: grid;
  gap: 20px;
  max-width: 480px;
}

.tower-copy p:last-child {
  font-size: 1.04rem;
}

/* ─── TOWER VIEWPORT (3D Box) ─── */
.tower-viewport {
  position: relative;
  min-height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 35%, rgba(220, 248, 255, 0.90) 0%, rgba(195, 235, 255, 0.60) 60%, rgba(170, 215, 255, 0.30) 100%);
  box-shadow:
    0 50px 140px rgba(10, 54, 160, 0.20),
    0 10px 40px rgba(10, 54, 160, 0.12),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.97),
    inset 0 -1px 0 rgba(26, 111, 255, 0.06);
  backdrop-filter: blur(32px) saturate(200%);
}

/* Fine grid overlay */
.tower-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(26, 111, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Atmospheric spotlight glow */
.tower-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 45% at 55% 25%, rgba(61, 214, 245, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 35% at 25% 75%, rgba(26, 111, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.tower-scene {
  position: absolute;
  inset: 20px 20px 150px;
  z-index: 1;
  display: grid;
  place-items: center;
  perspective: 1100px;
  perspective-origin: 52% 44%;
}

/* Halo rings */
.halo {
  position: absolute;
  border-radius: 50%;
  transform: rotateX(76deg);
}

.halo-one {
  width: 520px;
  height: 520px;
  border: 1.5px solid rgba(26, 111, 255, 0.13);
  box-shadow:
    0 0 0 1px rgba(61, 214, 245, 0.07),
    0 0 100px rgba(26, 111, 255, 0.15),
    inset 0 0 60px rgba(61, 214, 245, 0.06);
  animation: haloPulse 4.5s ease-in-out infinite;
}

.halo-two {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 50px rgba(26, 111, 255, 0.08);
}

@keyframes haloPulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(61, 214, 245, 0.07), 0 0 100px rgba(26, 111, 255, 0.15);
  }

  50% {
    box-shadow: 0 0 0 2px rgba(61, 214, 245, 0.22), 0 0 160px rgba(26, 111, 255, 0.28);
  }
}

/* ─── 3D TOWER BUILD ─── */
.build-tower {
  position: relative;
  width: 310px;
  height: 510px;
  transform-style: preserve-3d;
  /* Isometric-ish angle — clearly 3D */
  transform: rotateX(52deg) rotateZ(-38deg) translateY(24px);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tower-section[data-step="2"] .build-tower,
.tower-section[data-step="3"] .build-tower {
  transform: rotateX(52deg) rotateZ(-26deg) translateY(16px);
}

.tower-section[data-step="4"] .build-tower,
.tower-section[data-step="5"] .build-tower {
  transform: rotateX(51deg) rotateZ(-14deg) translateY(6px);
}

/* ─── TOWER LAYERS ─── */
.tower-layer {
  position: absolute;
  left: 50%;
  /* Wider, shallower slabs look better at this perspective */
  width: 300px;
  height: 68px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  /* Base gradient – white → ice blue, overridden per layer */
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(225, 247, 255, 0.78) 45%,
      rgba(185, 232, 255, 0.55) 100%);
  box-shadow:
    /* top highlight */
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(26, 111, 255, 0.10),
    /* depth shadow cast downward */
    0 22px 55px rgba(15, 60, 180, 0.22),
    0 6px 16px rgba(26, 111, 255, 0.14);
  opacity: 0;
  transform: translateX(-50%) translateY(-160px) translateZ(0) scale(0.85);
  transform-style: preserve-3d;
  transition:
    opacity 500ms cubic-bezier(0.34, 1.48, 0.64, 1),
    transform 580ms cubic-bezier(0.34, 1.48, 0.64, 1),
    box-shadow 380ms ease,
    border-color 380ms ease;
  /* No overflow:hidden – we need ::after face to escape the box */
  overflow: visible;
}

/* TOP FACE SHIMMER — leading edge light */
.tower-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.72) 0%,
      transparent 40%,
      transparent 70%,
      rgba(61, 214, 245, 0.15) 100%);
  pointer-events: none;
}

/* RIGHT SIDE FACE — gives the slab its 3D depth */
.tower-layer::after {
  content: "";
  position: absolute;
  /* sits flush at the right edge */
  top: 2px;
  /* offset so top border of layer is visible */
  left: calc(100% - 2px);
  /* side face width */
  width: 32px;
  height: calc(100% - 2px);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg,
      rgba(150, 210, 255, 0.80) 0%,
      rgba(100, 175, 255, 0.60) 50%,
      rgba(70, 145, 235, 0.45) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.50);
  border-right: 1px solid rgba(26, 111, 255, 0.20);
  /* skew to align with the isometric view angle */
  transform: skewY(-46deg);
  transform-origin: top left;
  pointer-events: none;
}

/* BOTTOM FACE — shadow ledge under each slab */
.tower-layer .layer-bottom {
  display: none;
  /* handled via box-shadow */
}

/* Label text — corrected transform to match the two rotation axes */
.tower-layer span {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  color: #0a3fa0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  /* Un-rotate so text reads flat on the top face */
  /* transform: rotateZ(38deg) rotateX(-52deg); */
  transform-origin: left center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.90);
}

/* ─── LAYER POSITIONS ─── */
/* Gap = 76px so slabs don't overlap and side face is visible */
.layer-1 {
  bottom: 0;
}

.layer-2 {
  bottom: 76px;
}

.layer-3 {
  bottom: 152px;
}

.layer-4 {
  bottom: 228px;
}

.layer-5 {
  bottom: 304px;
}

.layer-6 {
  bottom: 380px;
}

/* ─── PER-LAYER COLORS — graduating cyan at top ─── */
.layer-1 {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96) 0%, rgba(228, 248, 255, 0.80) 55%, rgba(195, 238, 255, 0.55) 100%);
}

.layer-2 {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94) 0%, rgba(218, 244, 255, 0.78) 55%, rgba(178, 232, 255, 0.55) 100%);
}

.layer-2::after {
  background: linear-gradient(180deg, rgba(140, 200, 255, 0.78) 0%, rgba(100, 168, 255, 0.58) 100%);
}

.layer-3 {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92) 0%, rgba(205, 240, 255, 0.76) 55%, rgba(158, 225, 255, 0.58) 100%);
}

.layer-3::after {
  background: linear-gradient(180deg, rgba(120, 190, 255, 0.80) 0%, rgba(80, 155, 255, 0.58) 100%);
}

.layer-4 {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.90) 0%, rgba(192, 236, 255, 0.74) 55%, rgba(135, 215, 255, 0.62) 100%);
}

.layer-4::after {
  background: linear-gradient(180deg, rgba(100, 178, 255, 0.82) 0%, rgba(60, 140, 255, 0.60) 100%);
}

.layer-5 {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88) 0%, rgba(175, 228, 255, 0.72) 55%, rgba(105, 200, 255, 0.68) 100%);
}

.layer-5::after {
  background: linear-gradient(180deg, rgba(80, 165, 255, 0.84) 0%, rgba(45, 128, 255, 0.65) 100%);
}

.layer-6 {
  background: linear-gradient(140deg, rgba(245, 252, 255, 0.88) 0%, rgba(155, 220, 255, 0.75) 45%, rgba(61, 214, 245, 0.65) 100%);
}

.layer-6::after {
  background: linear-gradient(180deg, rgba(61, 214, 245, 0.85) 0%, rgba(26, 111, 255, 0.70) 100%);
}

/* ─── LAYER VISIBILITY PER SCROLL STEP ─── */
.tower-section[data-step="0"] .layer-1,
.tower-section[data-step="1"] .layer-1,
.tower-section[data-step="1"] .layer-2,
.tower-section[data-step="2"] .layer-1,
.tower-section[data-step="2"] .layer-2,
.tower-section[data-step="2"] .layer-3,
.tower-section[data-step="3"] .layer-1,
.tower-section[data-step="3"] .layer-2,
.tower-section[data-step="3"] .layer-3,
.tower-section[data-step="3"] .layer-4,
.tower-section[data-step="4"] .layer-1,
.tower-section[data-step="4"] .layer-2,
.tower-section[data-step="4"] .layer-3,
.tower-section[data-step="4"] .layer-4,
.tower-section[data-step="4"] .layer-5,
.tower-section[data-step="5"] .tower-layer {
  opacity: 1;
  transform: translateX(-50%) translateY(0) translateZ(0) scale(1);
}

/* ─── ACTIVE LAYER — vivid cyan/blue glow ─── */
.tower-section[data-step="0"] .layer-1,
.tower-section[data-step="1"] .layer-2,
.tower-section[data-step="2"] .layer-3,
.tower-section[data-step="3"] .layer-4,
.tower-section[data-step="4"] .layer-5,
.tower-section[data-step="5"] .layer-6 {
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(195, 242, 255, 0.92) 40%,
      rgba(61, 214, 245, 0.70) 100%) !important;
  border-color: rgba(61, 214, 245, 0.70);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 0 0 1.5px rgba(61, 214, 245, 0.50),
    0 0 35px rgba(26, 111, 255, 0.42),
    0 0 80px rgba(61, 214, 245, 0.28),
    0 0 130px rgba(61, 214, 245, 0.14),
    0 24px 60px rgba(15, 73, 185, 0.28);
  z-index: 10;
}

/* Tower base platform */
.tower-base {
  position: absolute;
  bottom: 22px;
  width: 400px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 50%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(185, 228, 255, 0.30) 100%);
  box-shadow:
    0 0 80px rgba(26, 111, 255, 0.20),
    0 30px 80px rgba(26, 111, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Component readout panel */
.component-readout {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  padding: 20px 24px;
  border-radius: 14px;
}

.component-readout span,
.component-readout strong {
  display: block;
}

.component-readout span {
  margin-bottom: 8px;
  color: var(--blue-mid);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.component-readout strong {
  margin-bottom: 8px;
  color: var(--ink-strong);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.50rem;
  font-weight: 400;
  line-height: 1.1;
}

.component-readout p {
  font-size: 0.90rem;
  line-height: 1.58;
}

/* Tower scroll spacers */
.tower-steps {
  display: grid;
  gap: 70vh;
  padding-bottom: 60vh;
}

.tower-steps div {
  min-height: 20vh;
}

/* ─── DEMO CONSOLE ─── */
.demo-console {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.intake-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  width: 100%;
}

.demo-sidebar,
.demo-stage,
.roi-panel,
.intake-form,
.sales-flow {
  padding: 20px;
}

.demo-sidebar {
  display: grid;
  gap: 10px;
  align-content: start;
}

.demo-tab {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(26, 111, 255, 0.14);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-weight: 600;
  font-size: 0.90rem;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 160ms ease;
}

.demo-tab:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(2px);
}

.demo-tab.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue), var(--cyan));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(26, 111, 255, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.demo-stage {
  min-height: 380px;
}

.demo-copy {
  display: none;
  margin-top: 40px;
  max-width: 640px;
}

.demo-copy.is-active {
  display: block;
  animation: fadeUp 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-copy p {
  margin-bottom: 22px;
  font-size: 1.04rem;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 13px 16px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: 0.94rem;
  transition: background 160ms ease;
}

.clean-list li:hover {
  background: rgba(255, 255, 255, 0.88);
}

.is-featured {
  border-color: rgba(26, 111, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(210, 242, 255, 0.72));
  box-shadow:
    var(--shadow-xl), var(--inner-light),
    0 0 0 1px rgba(26, 111, 255, 0.10);
}

/* ─── ROI PANEL ─── */
.roi-panel {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr;
  gap: 24px;
  margin-top: 16px;
  align-items: center;
}

.roi-controls {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 111, 255, 0.16);
  border-radius: 10px;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(26, 111, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(26, 111, 255, 0.10);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(4, 33, 63, 0.38);
}

input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--blue);
}

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

.roi-output div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(26, 111, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  transition: background 160ms ease;
}

.roi-output div:hover {
  background: rgba(255, 255, 255, 0.90);
}

.roi-output span {
  display: block;
  color: var(--ink-strong);
  font-size: 1.40rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.roi-output small {
  color: var(--muted);
  font-size: 0.80rem;
}

/* ─── INTAKE FORM ─── */
.intake-section {
  padding-bottom: 130px;
}

.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.step-dot {
  width: 36px;
  height: 5px;
  border-radius: 99px;
  background: rgba(26, 111, 255, 0.14);
  transition: background 300ms ease;
}

.step-dot.is-active {
  background: linear-gradient(90deg, var(--blue-mid), var(--cyan));
  box-shadow: 0 2px 8px rgba(26, 111, 255, 0.30);
}

.form-step {
  display: none;
  gap: 18px;
}

.form-step.is-active {
  display: grid;
  animation: fadeUp 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.sales-flow ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 0 max(28px, calc((100vw - 1160px) / 2)) 44px;
}

.footer-shell {
  display: grid;
  gap: 20px;
  padding-top: 38px;
  border-top: 1px solid rgba(26, 111, 255, 0.10);
}

.footer-brand {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.footer-brand .brand {
  padding: 0;
}

.footer-brand p {
  max-width: 620px;
  font-size: 0.94rem;
}

.footer-badges {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(26, 111, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--blue-deep);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.footer-grid div {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(225, 247, 255, 0.55));
  box-shadow: var(--shadow), var(--inner-light);
  backdrop-filter: blur(24px) saturate(170%);
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.90rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-grid a:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px 0;
  color: var(--muted);
  font-size: 0.83rem;
  border-top: 1px solid rgba(26, 111, 255, 0.07);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-dock,
  .feature-grid,
  .pricing-grid,
  .hardware-grid,
  .integration-rail,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .roi-panel,
  .split-band,
  .demo-console,
  .intake-layout,
  .tower-sticky,
  .footer-brand {
    grid-template-columns: 1fr;
  }

  .tower-sticky {
    position: relative;
    min-height: auto;
  }

  .tower-section {
    min-height: auto;
  }

  .tower-steps {
    display: none;
  }

  .tower-layer {
    opacity: 1;
    transform: translateX(-50%) translateY(0) translateZ(0) scale(1) !important;
  }

  .demo-console,
  .intake-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    top: 12px;
    min-height: 56px;
    align-items: start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
    grid-template-columns: 1fr;
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 8px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.4rem;
  }

  h2 {
    max-width: 100%;
    font-size: 2.2rem;
  }

  .hero-dock,
  .feature-grid,
  .pricing-grid,
  .hardware-grid,
  .integration-rail,
  .glass-row,
  .roi-output {
    grid-template-columns: 1fr;
  }

  .hero-dock {
    width: 100%;
    margin-bottom: -22px;
  }

  .band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }

  .tower-viewport {
    min-height: 560px;
  }

  .build-tower {
    width: 250px;
    height: 440px;
    transform: rotateX(52deg) rotateZ(-28deg) translateY(18px) scale(0.84);
  }

  .tower-layer {
    width: 248px;
    height: 64px;
  }

  .layer-2 {
    bottom: 68px;
  }

  .layer-3 {
    bottom: 136px;
  }

  .layer-4 {
    bottom: 204px;
  }

  .layer-5 {
    bottom: 272px;
  }

  .layer-6 {
    bottom: 340px;
  }
}