/* Smart AI Home — premium design system (Stripe-level landing) */
:root {
  --obsidian: #0a0f1d;
  --obsidian-elevated: #111827;
  --slate-deep: #0f172a;
  --off-white: #f8fafc;
  --surface-light: #ffffff;
  --ink: #0b1220;
  --muted: #64748b;
  --muted-on-dark: rgba(248, 250, 252, 0.68);
  --border-light: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --violet: #7c3aed;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --mint: #6ee7b7;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 45%, #22d3ee 100%);
  --eco-gradient: linear-gradient(135deg, #059669 0%, #34d399 50%, #a7f3d0 100%);
  --security-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0ea5e9 100%);
  --media-gradient: linear-gradient(135deg, #4c1d95 0%, #db2777 55%, #f59e0b 100%);
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.75rem;
  --shadow-soft: 0 24px 60px -24px rgba(10, 15, 29, 0.45);
  --shadow-card: 0 20px 50px -28px rgba(10, 15, 29, 0.55);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.theme-premium {
  margin: 0;
  font-family: var(--font);
  background: var(--off-white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.theme-premium ::selection {
  background: rgba(124, 58, 237, 0.22);
  color: var(--ink);
}

section[id] {
  scroll-margin-top: 5.5rem;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border-dark);
}

.site-nav a {
  text-decoration: none;
}

.nav-link {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}

.nav-link:hover {
  color: #fff;
}

/* —— Buttons —— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--accent-gradient);
  background-size: 180% 180%;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px -12px rgba(37, 99, 235, 0.65);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-position 0.45s var(--ease-out);
  text-decoration: none;
  will-change: transform;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  background-position: 100% 50%;
  box-shadow: 0 18px 40px -14px rgba(34, 211, 238, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(248, 250, 252, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-secondary:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
  transform: translateX(2px);
}

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--accent-gradient);
  background-size: 180% 180%;
  box-shadow: 0 14px 34px -16px rgba(37, 99, 235, 0.55);
  transition: transform 0.25s var(--ease-out), background-position 0.45s var(--ease-out), box-shadow 0.25s var(--ease-out);
  text-decoration: none;
}

.btn-primary-light:hover {
  transform: translateY(-2px) scale(1.015);
  background-position: 100% 50%;
}

/* —— Hero: copy left, robot right (stable, natural image size) —— */
.hero-premium {
  position: relative;
  overflow: hidden;
  background: var(--obsidian);
  color: #fff;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
  animation: mesh-drift 18s var(--ease-out) infinite alternate;
}

.hero-mesh__blob--1 {
  width: 48vw;
  height: 48vw;
  max-width: 640px;
  max-height: 640px;
  top: -18%;
  right: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.85), transparent 68%);
  animation-duration: 22s;
}

.hero-mesh__blob--2 {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.7), transparent 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.hero-mesh__blob--3 {
  width: 36vw;
  height: 36vw;
  max-width: 480px;
  max-height: 480px;
  top: 35%;
  left: 35%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.45), transparent 70%);
  animation-duration: 20s;
  animation-delay: -3s;
}

.hero-mesh__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
}

@keyframes mesh-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -4%, 0) scale(1.06); }
  100% { transform: translate3d(-4%, 3%, 0) scale(0.96); }
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-stage {
    padding: 3rem 1.75rem 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding: 3.5rem 2rem 4.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-stage {
    max-width: 80rem;
    gap: 3.75rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.62);
  margin: 0 0 1rem;
}

.hero-eyebrow__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.65rem, 1.2vw + 1.2rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 1.1rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 36rem;
  margin: 0 0 0.9rem;
}

.hero-sub--quiet {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 1.6rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero-visual {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.hero-visual__frame {
  position: relative;
  width: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 32px 80px -36px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: #0b1220;
}

.hero-visual__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.hero-visual__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem;
  background: rgba(10, 15, 29, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .hero-visual__caption {
    right: auto;
    max-width: 17.5rem;
    left: 1.25rem;
    bottom: 1.25rem;
  }
}

.hero-visual__caption p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}

.device-float {
  position: relative;
  border-radius: var(--radius-3xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1rem;
  animation: float-y 7s var(--ease-out) infinite alternate;
  will-change: transform;
}

.device-float__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.device-float__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
}

.device-float__dot:nth-child(1) {
  background: #ff5f57;
}
.device-float__dot:nth-child(2) {
  background: #febc2e;
}
.device-float__dot:nth-child(3) {
  background: #28c840;
}

.device-float__screen {
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #111827 0%, #0a0f1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.15rem 1.25rem;
  overflow: hidden;
}

@keyframes float-y {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -10px, 0);
  }
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.25);
}

.spark-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 3.25rem;
}

.spark-bars span {
  flex: 1;
  border-radius: 0.3rem 0.3rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #22d3ee, #7c3aed);
  opacity: 0.85;
  transform-origin: bottom;
  animation: spark-pulse 2.8s ease-in-out infinite;
}

.spark-bars span:nth-child(1) { height: 42%; animation-delay: 0s; }
.spark-bars span:nth-child(2) { height: 68%; animation-delay: 0.15s; }
.spark-bars span:nth-child(3) { height: 52%; animation-delay: 0.3s; }
.spark-bars span:nth-child(4) { height: 88%; animation-delay: 0.45s; }
.spark-bars span:nth-child(5) { height: 64%; animation-delay: 0.6s; }
.spark-bars span:nth-child(6) { height: 76%; animation-delay: 0.75s; }
.spark-bars span:nth-child(7) { height: 58%; animation-delay: 0.9s; }

@keyframes spark-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.75; }
  50% { transform: scaleY(1.12); opacity: 1; }
}

/* —— Section shells —— */
.section-dark {
  background: var(--obsidian);
  color: #fff;
}

.section-light {
  background: var(--off-white);
  color: var(--ink);
}

.section-ink {
  background: var(--slate-deep);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6366f1;
}

.eyebrow-on-dark {
  color: #a5b4fc;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
}

.section-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.section-lede-on-dark {
  color: var(--muted-on-dark);
}

/* —— Bento —— */
.bento-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 1.25rem;
  }

  .bento-card--feature {
    grid-row: span 1;
  }
}

.bento-card {
  position: relative;
  border-radius: var(--radius-3xl);
  padding: 1.5rem 1.5rem 1.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 40%, rgba(34, 211, 238, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -28px rgba(34, 211, 238, 0.35);
  border-color: rgba(255, 255, 255, 0.18);
}

.bento-card__visual {
  height: 9.5rem;
  border-radius: var(--radius-2xl);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-card__visual--eco {
  background: radial-gradient(ellipse at 20% 20%, rgba(110, 231, 183, 0.35), transparent 50%),
    linear-gradient(160deg, #064e3b, #0f172a 60%, #022c22);
}

.bento-card__visual--security {
  background: radial-gradient(ellipse at 80% 10%, rgba(56, 189, 248, 0.3), transparent 45%),
    linear-gradient(160deg, #1e1b4b, #0a0f1d 55%, #0c4a6e);
}

.bento-card__visual--media {
  background: radial-gradient(ellipse at 30% 80%, rgba(244, 114, 182, 0.35), transparent 50%),
    linear-gradient(160deg, #4c1d95, #0a0f1d 55%, #7c2d12);
}

.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.55rem;
}

.bento-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-on-dark);
}

/* Mini visuals inside bento */
.eco-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px solid rgba(110, 231, 183, 0.35);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.25);
}

.eco-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #6ee7b7, #22d3ee, transparent 70%);
  opacity: 0.85;
  animation: spin-slow 12s linear infinite;
}

.security-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 1rem;
  opacity: 0.7;
}

.security-grid i {
  display: block;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.12);
  animation: cell-glow 3.2s ease-in-out infinite;
}

.security-grid i:nth-child(3n) {
  background: rgba(124, 58, 237, 0.25);
  animation-delay: 0.4s;
}

.security-grid i:nth-child(5n) {
  background: rgba(34, 211, 238, 0.35);
  animation-delay: 0.8s;
}

.media-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 1.5rem;
}

.media-waves span {
  width: 4px;
  height: 40%;
  border-radius: 9999px;
  background: linear-gradient(180deg, #f472b6, #f59e0b);
  animation: wave 1.4s ease-in-out infinite;
}

.media-waves span:nth-child(odd) { animation-delay: 0.15s; height: 55%; }
.media-waves span:nth-child(3n) { animation-delay: 0.35s; height: 70%; }
.media-waves span:nth-child(4n) { animation-delay: 0.55s; height: 45%; }

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes cell-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.15); }
}

/* —— Dashboard mock —— */
.os-shell {
  border-radius: calc(var(--radius-3xl) + 0.25rem);
  background: linear-gradient(180deg, #1a2236, #0a0f1d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -36px rgba(10, 15, 29, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.os-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.os-url {
  flex: 1;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.os-body {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

@media (min-width: 768px) {
  .os-body {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 1.35rem;
  }
}

.os-panel {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.15rem;
}

.os-panel h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.os-panel p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

.toggle {
  position: relative;
  width: 3.1rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.25s var(--ease-out);
  flex-shrink: 0;
}

.toggle[aria-checked="true"] {
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
}

.toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-out);
}

.toggle[aria-checked="true"] .toggle__knob {
  transform: translateX(1.3rem);
}

.chart-line {
  width: 100%;
  height: 120px;
  display: block;
}

.chart-line path {
  fill: none;
  stroke: url(#chartGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line .area {
  fill: url(#chartFill);
  stroke: none;
  opacity: 0.9;
}

.ticker {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 9.5rem;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker__item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.72);
  animation: ticker-in 0.6s var(--ease-out) both;
}

.ticker__dot {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.35rem;
  border-radius: 9999px;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.7);
  flex-shrink: 0;
}

@keyframes ticker-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Marquee —— */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.38);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* —— Metrics —— */
.metric-card {
  border-radius: var(--radius-3xl);
  padding: 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px -28px rgba(10, 15, 29, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(37, 99, 235, 0.28);
}

.metric-card__value {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.5rem;
}

.metric-card__label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* —— Forms (book audit) —— */
.form-card {
  border-radius: var(--radius-3xl);
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 60px -32px rgba(10, 15, 29, 0.35);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.25rem;
  }
}

.form-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.step-chip {
  border-radius: var(--radius-2xl);
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.65rem 0.8rem;
}

.step-chip--active {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.06);
}

.step-chip span:first-child {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6366f1;
}

.step-chip--active span:first-child {
  color: #6d28d9;
}

.step-chip span:last-child {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

/* —— FAQ —— */
.faq-details {
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border-light);
  background: #fff;
  padding: 1.35rem 1.5rem;
}

.faq-details summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-right: 2rem;
}

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

.faq-details summary::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  font-weight: 600;
  color: #6366f1;
  line-height: 1.2;
}

.faq-details[open] summary::after {
  content: "\2212";
}

.faq-details[open] summary {
  margin-bottom: 0.75rem;
}

.faq-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* —— Footer —— */
.site-footer {
  background: var(--obsidian);
  color: rgba(248, 250, 252, 0.65);
  border-top: 1px solid var(--border-dark);
}

.site-footer a {
  color: #67e8f9;
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* —— Pricing card —— */
.pricing-card {
  border-radius: var(--radius-3xl);
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 60px -32px rgba(10, 15, 29, 0.3);
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .pricing-card {
    padding: 2.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh__blob,
  .device-float,
  .spark-bars span,
  .eco-ring::after,
  .security-grid i,
  .media-waves span,
  .marquee__track {
    animation: none !important;
  }

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

  .bento-card,
  .btn-primary,
  .btn-primary-light,
  .metric-card {
    transition: none !important;
  }
}
