/* ============================================================
   Elsie AI — Futuristic redesign
   Dark, neon, glassmorphism. All original class names preserved.
   ============================================================ */

:root {
  --bg: #06060f;
  --bg-2: #0a0a1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.09);
  --ink: #f2f3ff;
  --muted: #9aa0c4;

  --violet: #7b5cff;
  --indigo: #5b3cff;
  --cyan: #22d3ee;
  --lime: #c6f24e;
  --pink: #ff5ca8;

  --grad: linear-gradient(120deg, #7b5cff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(123, 92, 255, 0.18), rgba(34, 211, 238, 0.14));
  --line: rgba(123, 92, 255, 0.22);

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(123, 92, 255, 0.25), 0 18px 50px rgba(123, 92, 255, 0.25);
  --radius: 18px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Futuristic background: grid + drifting neon orbs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 15% 12%, rgba(123, 92, 255, 0.18), transparent 38%),
    radial-gradient(circle at 85% 8%, rgba(34, 211, 238, 0.16), transparent 36%),
    radial-gradient(circle at 70% 88%, rgba(255, 92, 168, 0.12), transparent 40%),
    linear-gradient(180deg, #08081a 0%, var(--bg) 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 35%, transparent 78%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(8, 8, 22, 0.72);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}

.brand-parent {
  font-weight: 600;
  color: var(--muted);
  opacity: 0.85;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
  background: var(--grad);
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(123, 92, 255, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-contact {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-2);
}

.nav-contact:hover {
  box-shadow: var(--glow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Layout helpers ===== */
.section,
.hero-grid,
.footer-inner,
.final-cta-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-band {
  overflow: hidden;
}

.hero-grid {
  min-height: min(760px, calc(100vh - 110px));
  padding: 64px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--grad-soft);
  color: #c6c2ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 35%, #b4b0e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.14rem;
  font-weight: 700;
}

/* gradient accent for emphasis words wrapped later if needed */
.hero-copy h1 {
  position: relative;
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.hero-actions,
.demo-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 36px rgba(123, 92, 255, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 50px rgba(123, 92, 255, 0.6);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--violet);
  box-shadow: var(--glow);
}

/* ===== Trust row ===== */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-row svg,
.card-icon svg,
.service-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Hero art / phone ===== */
.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 620px;
  align-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% 2% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(123, 92, 255, 0.5), rgba(34, 211, 238, 0.4), rgba(255, 92, 168, 0.35), rgba(123, 92, 255, 0.5));
  filter: blur(60px);
  opacity: 0.55;
  animation: spin 22s linear infinite;
}

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

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: contain;
  opacity: 0.5;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 16%, transparent 0 30%, rgba(6, 6, 15, 0.35) 82%);
  pointer-events: none;
}

.hero-art.phone-cutout {
  align-items: flex-end;
  justify-content: center;
}

.hero-art.phone-cutout::after {
  display: none;
}

.hero-art.phone-cutout .hero-phone-mockup {
  position: relative;
  inset: auto;
  z-index: 2;
  width: min(158%, 920px);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 28px 60px rgba(34, 211, 238, 0.18)) drop-shadow(0 22px 58px rgba(123, 92, 255, 0.2));
  --phone-y: 22px;
  animation: heroPhoneFloat 6s ease-in-out infinite;
}

@keyframes heroPhoneFloat {
  0%, 100% { transform: translateY(var(--phone-y)); }
  50% { transform: translateY(calc(var(--phone-y) - 12px)); }
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(360px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: rgba(14, 14, 32, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--glow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(198, 242, 78, 0.16);
}

.call-time {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.conversation {
  display: grid;
  gap: 10px;
}

.bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.91rem;
  line-height: 1.45;
}

.bubble.ai {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
}

.bubble.caller {
  margin-left: auto;
  color: #fff;
  background: var(--grad);
  border-bottom-right-radius: 4px;
}

/* ===== Stats band ===== */
.stats-band {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.06), rgba(34, 211, 238, 0.03));
}

.stats-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  border-left: 2px solid var(--line);
}

.stat strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== Integrations strip ===== */
.integrations {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.015);
}

.integrations-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
  text-align: center;
}

.integrations-label {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.integrations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.integration-chip:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--glow);
}

.integration-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Glass cards (shared) ===== */
.summary-card,
.notification-card,
.demo-summary-card,
.demo-card,
.price-card,
.service-card,
.niche-card,
.problem-card,
.step,
.guardrail,
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.summary-card {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.summary-title {
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

dl {
  display: grid;
  gap: 9px;
}

dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

dd {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

/* ===== Section headers ===== */
.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  margin-top: 16px;
}

.section-header p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.05), rgba(34, 211, 238, 0.03));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-soft > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ===== Grids ===== */
.problem-grid,
.steps,
.service-grid,
.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.problem-card,
.step,
.service-card,
.guardrail {
  padding: 28px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.problem-card:hover,
.step:hover,
.service-card:hover,
.guardrail:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--glow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cyan);
  background: var(--grad-soft);
  box-shadow: inset 0 0 18px rgba(123, 92, 255, 0.18);
}

.problem-card p,
.step p,
.service-card p,
.guardrail p,
.niche-card p {
  margin-top: 10px;
  color: var(--muted);
}

.problem-note {
  max-width: 740px;
  margin: 34px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--grad-soft);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--grad);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(123, 92, 255, 0.4);
}

/* ===== Flow card (Step 2 example) ===== */
.flow-card {
  position: relative;
  margin-top: 22px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(123, 92, 255, 0.12), rgba(34, 211, 238, 0.06));
  box-shadow: inset 0 0 26px rgba(123, 92, 255, 0.12), 0 14px 34px rgba(6, 6, 15, 0.5);
  overflow: hidden;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.flow-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.flow-card-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.2);
}

.flow-card-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-card-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.flow-list {
  display: grid;
  gap: 9px;
  margin: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.flow-tick {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border-radius: 6px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
}

.flow-tick svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-note {
  margin: 13px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Tight 3-column desktop: show 3 questions + a "more" hint */
.flow-extra {
  display: none;
}

.flow-more {
  margin: 9px 0 0;
  padding-left: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
}

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

.service-card {
  padding: 34px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 22px rgba(34, 211, 238, 0.16);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

/* ===== Lists ===== */
.check-list,
.niche-card ul,
.price-card ul {
  display: grid;
  gap: 11px;
  margin-top: 20px;
  list-style: none;
}

.check-list li,
.niche-card li,
.price-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before,
.niche-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* ===== Split section ===== */
.section-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 108px;
}

.split-copy h2 {
  margin-top: 16px;
}

.split-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.niche-grid {
  display: grid;
  gap: 20px;
}

.niche-card {
  padding: 30px;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.12), rgba(34, 211, 238, 0.06));
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.niche-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.niche-headline {
  color: var(--ink);
  font-weight: 700;
}

/* ===== Summary layout ===== */
.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
}

.summary-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.summary-copy h2 {
  margin-top: 16px;
}

.summary-photo {
  display: block;
  width: min(138%, 760px);
  margin-top: 28px;
  margin-inline: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 24px 52px rgba(31, 180, 255, 0.18));
}

.notification-card {
  padding: 28px;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  font-weight: 800;
}

.notification-header strong {
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  font-size: 0.76rem;
}

/* ===== Ownership + pricing ===== */
.ownership-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ownership-strip span {
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

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

.price-card {
  padding: 34px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.price-card.featured {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(123, 92, 255, 0.16), rgba(34, 211, 238, 0.06));
  box-shadow: var(--glow);
}

.plan-name {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.plan-fit {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.plan-example {
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 700;
}

.price {
  margin-top: 14px;
  font-size: 2.7rem;
  line-height: 1.05;
  font-weight: 800;
}

.price span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.management {
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
  margin-top: 26px;
}

.pricing-note {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-soft);
  color: var(--muted);
}

.pricing-note h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.pricing-note p {
  margin-top: 8px;
  line-height: 1.7;
}

/* ===== Guardrails ===== */
.guardrails {
  padding-top: 48px;
}

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

/* ===== Demo ===== */
.demo-section {
  padding-top: 44px;
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 28px;
  align-items: center;
  padding: 38px;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.14), rgba(34, 211, 238, 0.06));
}

.demo-card h2 {
  margin-top: 16px;
}

.demo-card p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.demo-note {
  color: var(--cyan);
  font-weight: 700;
}

.demo-panel {
  display: grid;
  gap: 16px;
}

.demo-summary-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.audio-demo {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.audio-demo audio {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  accent-color: var(--violet);
}

.audio-demo small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
}

.demo-actions {
  grid-column: 1 / -1;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 22px;
}

.faq-item[open] {
  border-color: var(--line);
  box-shadow: var(--glow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item p {
  padding: 0 0 22px;
  color: var(--muted);
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 96px 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 16%, rgba(123, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(135deg, #0a0a1c, #0e0c24);
  border-top: 1px solid var(--glass-border);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.cta-copy h2 {
  margin-top: 16px;
}

.cta-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(6, 6, 15, 0.7);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form select option {
  color: #0a0a1c;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.25);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6f73a0;
}

.full-field,
.form-actions {
  grid-column: 1 / -1;
}

/* ===== Footer ===== */
.footer {
  padding: 46px 0;
  color: var(--muted);
  background: #050510;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-brand {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  color: var(--ink);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-disclaimer {
  max-width: 820px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-small {
  color: #6f73a0;
  font-size: 0.84rem;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  max-width: min(440px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 120px);
  transition: transform 260ms ease;
  font-weight: 700;
}

.toast.show {
  transform: translate(-50%, 0);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn, .reveal { transition: none; }
  .phone-shell, .hero-art::before { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-art {
    justify-content: flex-start;
    min-height: 620px;
  }

  .hero-art.phone-cutout {
    align-items: center;
    justify-content: center;
  }

  .hero-art.phone-cutout .hero-phone-mockup {
    width: min(122%, 740px);
    --phone-y: 0px;
  }

  .problem-grid,
  .steps,
  .guardrail-grid,
  .ownership-strip {
    grid-template-columns: 1fr;
  }

  /* Steps are full width when stacked: reveal all questions */
  .flow-extra {
    display: flex;
  }

  .flow-more {
    display: none;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split,
  .summary-layout,
  .final-cta-inner,
  .demo-card,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: rgba(10, 10, 28, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
  }

  .nav-contact {
    border: 0;
    background: var(--surface-2);
  }

  .section,
  .hero-grid,
  .footer-inner,
  .final-cta-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .section,
  .section-soft,
  .final-cta {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-grid {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .pricing-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .demo-card,
  .service-card,
  .price-card,
  .notification-card,
  .demo-summary-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    font-size: 0.98rem;
  }

  .hero-actions .btn,
  .demo-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
  }

  .bubble {
    max-width: 94%;
    font-size: 0.86rem;
  }
}
