/* ==========================================================================
   RenoBeam — AI Renovation Estimator
   Dark charcoal base · amber-to-orange scanning-beam accent
   ========================================================================== */

:root {
  --bg-0: #0a0a0d;
  --bg-1: #0e0e13;
  --bg-2: #131319;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f3ef;
  --text-muted: rgba(245, 243, 239, 0.62);
  --text-faint: rgba(245, 243, 239, 0.55);
  --amber: #fbbf24;
  --orange: #f97316;
  --ember: #ea580c;
  --beam-grad: linear-gradient(135deg, #fde68a 0%, #fbbf24 30%, #f97316 75%, #ea580c 100%);
  --beam-grad-flat: linear-gradient(135deg, #fbbf24, #f97316);
  --glow-amber: rgba(251, 191, 36, 0.28);
  --glow-orange: rgba(249, 115, 22, 0.32);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --nav-h: 72px;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

section { scroll-margin-top: calc(var(--nav-h) + 16px); }

::selection { background: rgba(249, 115, 22, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--bg-2);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Aurora background + noise
   -------------------------------------------------------------------------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
  will-change: transform;
}

.aurora-blob--a {
  width: 55vw; height: 55vw;
  min-width: 480px; min-height: 480px;
  top: -18%; left: -12%;
  background: radial-gradient(circle, #fbbf24, transparent 65%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.aurora-blob--b {
  width: 48vw; height: 48vw;
  min-width: 420px; min-height: 420px;
  bottom: -22%; right: -14%;
  background: radial-gradient(circle, #ea580c, transparent 65%);
  animation: aurora-drift 20s ease-in-out infinite alternate-reverse;
}

.aurora-blob--c {
  width: 36vw; height: 36vw;
  min-width: 340px; min-height: 340px;
  top: 34%; left: 42%;
  background: radial-gradient(circle, #f97316, transparent 65%);
  opacity: 0.09;
  animation: aurora-drift 24s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vh, 0) scale(1.15); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(10, 10, 13, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 13, 0.82);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo .logo-beam-word {
  background: var(--beam-grad-flat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a:not(.btn) {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
  background: var(--surface);
}

.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--beam-grad-flat);
  color: #1a1206;
  box-shadow: 0 4px 22px var(--glow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--beam-grad-flat);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
}

.grad-text {
  background: var(--beam-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: clamp(64px, 10vh, 120px) 0 60px;
  position: relative;
}

.hero-inner {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 640px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-faint);
}

.hero-note strong { color: var(--text-muted); font-weight: 600; }

/* ---- Hero mockup -------------------------------------------------------- */

.hero-mockup {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.mockup-frame {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 90px rgba(249, 115, 22, 0.07);
}

.room-viz {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(249, 115, 22, 0.06), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--border);
  min-height: 300px;
  display: flex;
  align-items: center;
}

.room-viz svg { width: 100%; height: auto; }

.room-line {
  stroke: rgba(245, 243, 239, 0.26);
  stroke-width: 1.5;
  fill: none;
}

.room-line--accent {
  stroke: rgba(251, 191, 36, 0.55);
}

.room-measure {
  stroke: rgba(251, 191, 36, 0.5);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  fill: none;
}

.room-measure-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: rgba(251, 191, 36, 0.85);
  letter-spacing: 0.05em;
}

.room-node {
  fill: var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}

.room-node:nth-of-type(2) { animation-delay: 0.4s; }
.room-node:nth-of-type(3) { animation-delay: 0.8s; }
.room-node:nth-of-type(4) { animation-delay: 1.2s; }

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(249, 115, 22, 0.05) 45%,
    rgba(249, 115, 22, 0.16) 82%,
    rgba(251, 191, 36, 0.5) 97%,
    rgba(253, 230, 138, 0.95) 100%);
  animation: beam-sweep 6.8s ease-in-out infinite;
}

@keyframes beam-sweep {
  0%   { transform: translateX(-110%); opacity: 0; }
  6%   { opacity: 1; }
  72%  { transform: translateX(430%); opacity: 1; }
  80%  { transform: translateX(430%); opacity: 0; }
  100% { transform: translateX(-110%); opacity: 0; }
}

.room-status {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.room-status .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---- Estimate card ------------------------------------------------------ */

.estimate-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estimate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.estimate-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
}

.estimate-title small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--amber);
  background: rgba(251, 191, 36, 0.08);
  white-space: nowrap;
}

.estimate-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  opacity: 1;
}

.has-js .estimate-item { animation: item-in 6.8s ease-out infinite; }

.estimate-item:nth-child(3)  { animation-delay: 0.5s; }
.estimate-item:nth-child(4)  { animation-delay: 1.1s; }
.estimate-item:nth-child(5)  { animation-delay: 1.7s; }
.estimate-item:nth-child(6)  { animation-delay: 2.3s; }
.estimate-item:nth-child(7)  { animation-delay: 2.9s; }

@keyframes item-in {
  0%   { opacity: 0; transform: translateY(8px); }
  6%   { opacity: 1; transform: translateY(0); }
  88%  { opacity: 1; transform: translateY(0); }
  96%  { opacity: 0; }
  100% { opacity: 0; }
}

.estimate-item .item-name {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.35;
}

.estimate-item .item-name small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.estimate-item .item-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber);
  white-space: nowrap;
}

.estimate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
}

.estimate-total .total-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.925rem;
}

.estimate-total .total-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--beam-grad-flat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */

.section { padding: 88px 0; }

/* --------------------------------------------------------------------------
   Bento feature grid
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-cell {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35), 0 0 44px rgba(249, 115, 22, 0.08);
}

.bento-cell--wide { grid-column: span 2; }

.bento-cell--full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.bento-cell--full .bento-icon { margin-bottom: 0; flex: none; }
.bento-cell--full p { max-width: 62ch; }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.22);
  margin-bottom: 18px;
}

.bento-icon svg { width: 22px; height: 22px; stroke: var(--amber); }

.bento-cell h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.bento-cell p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.bento-mini-rows {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 14px;
  background: rgba(10, 10, 13, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.bento-mini-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: var(--text-muted);
}

.bento-mini-rows div + div { border-top: 1px dashed var(--border); }
.bento-mini-rows span:last-child { color: var(--amber); }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-num::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.step p { font-size: 0.94rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usecase {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.usecase:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.3);
}

.usecase-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--beam-grad-flat);
  box-shadow: 0 0 12px var(--glow-orange);
}

.usecase strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
}

.usecase span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */

.founder-card {
  background:
    radial-gradient(100% 140% at 85% 0%, rgba(249, 115, 22, 0.09), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.founder-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 18px auto 22px;
  max-width: 680px;
}

.founder-card p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
}

.founder-sig {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.founder-sig strong { color: var(--amber); font-weight: 500; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover { transform: translateY(-4px); }

.price-card--featured {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.12);
}

.price-card--featured:hover {
  box-shadow: 0 14px 70px rgba(249, 115, 22, 0.2);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--beam-grad-flat);
  color: #1a1206;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 18px var(--glow-orange);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-for {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-amount sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-faint);
  vertical-align: baseline;
}

.price-features {
  list-style: none;
  margin: 24px 0 28px;
  display: grid;
  gap: 11px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-features li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(251, 191, 36, 0.12);
}

.pricing-note {
  text-align: center;
  margin-top: 34px;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.pricing-note strong { color: var(--amber); font-weight: 600; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.25s ease;
}

.faq-item[open] { border-color: rgba(251, 191, 36, 0.3); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--amber);
  font-weight: 400;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Final CTA + waitlist form
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(249, 115, 22, 0.14), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--orange), transparent);
  opacity: 0.7;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-panel > p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

.waitlist-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  text-align: left;
}

.form-field { display: grid; gap: 7px; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 13, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.975rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23f5f3ef' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.form-field input::placeholder { color: var(--text-faint); }

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 4px;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: rgba(10, 10, 13, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  margin-top: 14px;
}

.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: grid; gap: 10px; }

.footer ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.footer ul a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.has-js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--wide { grid-column: span 2; }
  .bento-cell--full { grid-column: auto; display: block; }
  .bento-cell--full .bento-icon { margin-bottom: 18px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card--featured { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 20px 22px;
    background: rgba(10, 10, 13, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; }

  .mockup-frame { grid-template-columns: 1fr; }
  .room-viz { min-height: 240px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell--wide { grid-column: span 1; }
  .usecases { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-ctas .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

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

  .scan-beam { display: none; }
  .aurora-blob { animation: none; }
  .has-js .estimate-item { animation: none; opacity: 1; }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
