/* ============================================================
   Greetro — AI Voice Receptionist
   Dark aurora / glassmorphism design system (2026)
   ============================================================ */

:root {
  --bg: #050510;
  --bg-2: #0a0a1a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --violet: #a29bfe;
  --violet-deep: #6c5ce7;
  --cyan: #00f0ff;
  --pink: #f093fb;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.52);
  --success: #00d4aa;
  --warning: #ffa502;
  --error: #ff4757;
  --grad: linear-gradient(135deg, var(--violet), var(--cyan));
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

/* ---------- Reset & base ---------- */

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

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

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

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

img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }

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

ul { list-style: none; }

::selection { background: rgba(162, 155, 254, 0.35); }

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

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Aurora background ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(108, 92, 231, 0.12), transparent 60%),
    var(--bg);
}

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

.aurora-violet {
  width: 55vw; height: 55vw;
  min-width: 480px; min-height: 480px;
  top: -18%; left: -12%;
  background: var(--violet-deep);
  animation: aurora-drift 11s ease-in-out infinite alternate;
}

.aurora-cyan {
  width: 45vw; height: 45vw;
  min-width: 400px; min-height: 400px;
  bottom: -20%; right: -10%;
  background: var(--cyan);
  opacity: 0.10;
  animation: aurora-drift 14s ease-in-out infinite alternate-reverse;
}

.aurora-pink {
  width: 34vw; height: 34vw;
  min-width: 320px; min-height: 320px;
  top: 38%; left: 42%;
  background: var(--pink);
  opacity: 0.07;
  animation: aurora-drift 17s 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); }
}

/* ---------- Glass ---------- */

.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(162, 155, 254, 0.08);
  border: 1px solid rgba(162, 155, 254, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  box-shadow: 0 4px 20px rgba(162, 155, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(162, 155, 254, 0.5);
}

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

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: rgba(162, 155, 254, 0.5);
}

.btn-sm { padding: 0.6rem 1.35rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 30%, var(--violet) 75%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links > a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s ease;
}

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

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

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s 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); }

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

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 6.5rem) clamp(2rem, 5vh, 4rem);
}

.hero-copy .eyebrow { margin-bottom: 1.4rem; }

.hero-sub {
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 34rem;
  margin-top: 1.4rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.hero-facts li { display: grid; gap: 0.1rem; }

.hero-facts strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-facts span {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Phone mockup */

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(400px, 100%);
}

.phone {
  position: relative;
  border-radius: 30px;
  border: 1px solid var(--border-strong);
  padding: 1.4rem 1.25rem 1.25rem;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(108, 92, 231, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-2);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.phone-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 56px;
  margin: 1rem 0 1.1rem;
}

.waveform span {
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: var(--grad);
  transform-origin: center;
  transform: scaleY(0.18);
  animation: wave 1.3s ease-in-out calc(var(--i) * -0.09s) infinite;
}

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

.transcript {
  display: grid;
  gap: 0.6rem;
}

.msg {
  max-width: 88%;
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  animation: msg-in 0.5s ease-out forwards;
}

.msg-who {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.18rem;
  color: var(--text-3);
}

.msg-caller {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}

.msg-ai {
  justify-self: end;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.28), rgba(0, 240, 255, 0.10));
  border-color: rgba(162, 155, 254, 0.3);
  border-bottom-right-radius: 4px;
}

.msg-ai .msg-who { color: var(--violet); }

.transcript .msg:nth-child(1) { animation-delay: 0.6s; }
.transcript .msg:nth-child(2) { animation-delay: 1.7s; }
.transcript .msg:nth-child(3) { animation-delay: 2.8s; }
.transcript .msg:nth-child(4) { animation-delay: 3.9s; }

@keyframes msg-in {
  to { opacity: 1; transform: translateY(0); }
}

.call-outcome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--success);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.25);
  opacity: 0;
  transform: translateY(10px);
  animation: msg-in 0.5s ease-out 5s forwards;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: chip-float 5s ease-in-out infinite;
}

.float-chip svg { color: var(--cyan); flex-shrink: 0; }

.float-chip-1 { top: 9%; right: -6%; animation-delay: 0s; }
.float-chip-2 { bottom: -3%; left: -8%; animation-delay: 2.5s; color: var(--text-2); }
.float-chip-2 svg { color: var(--violet); }

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

/* ---------- Pain strip ---------- */

.pain { padding-block: 1rem 0; }

.pain-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  border-color: rgba(162, 155, 254, 0.18);
}

.pain-card p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 52rem;
  margin-inline: auto;
  text-wrap: balance;
}

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

.section { padding-block: clamp(4rem, 9vh, 6.5rem); }

.section-narrow { max-width: 820px; }

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.4rem, 5vh, 3.6rem);
}

.section-head .eyebrow { margin-bottom: 1.1rem; }

.section-sub {
  color: var(--text-2);
  margin-top: 1rem;
  font-size: 1.05rem;
}

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

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.bento-cell {
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 155, 254, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 34px rgba(108, 92, 231, 0.14);
}

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

.cell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(162, 155, 254, 0.14), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(162, 155, 254, 0.25);
  margin-bottom: 0.35rem;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  margin-top: auto;
  padding-top: 1rem;
}

.mini-wave span {
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
  opacity: 0.75;
  height: 100%;
  transform: scaleY(0.3);
  animation: wave 1.6s ease-in-out infinite;
}

.mini-wave span:nth-child(odd)  { animation-delay: -0.5s; }
.mini-wave span:nth-child(3n)   { animation-delay: -1s; }
.mini-wave span:nth-child(4n)   { animation-delay: -0.25s; }

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
}

.lang-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.log-rows {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.log-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.log-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.log-booked  { color: var(--success); background: rgba(0, 212, 170, 0.1);  border: 1px solid rgba(0, 212, 170, 0.3); }
.log-msg     { color: var(--violet);  background: rgba(162, 155, 254, 0.1); border: 1px solid rgba(162, 155, 254, 0.3); }
.log-urgent  { color: var(--warning); background: rgba(255, 165, 2, 0.1);  border: 1px solid rgba(255, 165, 2, 0.3); }

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

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.7rem 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover { transform: translateY(-4px); border-color: rgba(0, 240, 255, 0.3); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  box-shadow: 0 4px 18px rgba(108, 92, 231, 0.4);
  margin-bottom: 1.1rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-2); font-size: 0.94rem; }

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

.use-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.use-case {
  padding: 1.6rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.use-case:hover { transform: translateY(-4px); border-color: rgba(240, 147, 251, 0.35); }

.use-case svg { color: var(--pink); margin-bottom: 0.9rem; }
.use-case h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.use-case p { color: var(--text-2); font-size: 0.9rem; }

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

.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.8rem 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.price-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(135deg, var(--violet), var(--cyan)) border-box;
  box-shadow: 0 0 50px rgba(108, 92, 231, 0.25);
}

.price-featured:hover { box-shadow: 0 10px 60px rgba(108, 92, 231, 0.4); }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a1a;
  background: var(--grad);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
}

.price-card h3 { font-size: 1.2rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.9rem;
}

.price-num {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-per { color: var(--text-3); font-size: 1rem; }

.price-tag {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  min-height: 2.7em;
}

.price-features {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  flex-grow: 1;
  align-content: start;
}

.price-features li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.92rem;
  color: var(--text-2);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%2300f0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.pricing-note {
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 2.2rem;
}

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

.faq-list { display: grid; gap: 0.9rem; }

.faq-item { overflow: hidden; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 1.2rem 1.4rem;
  transition: color 0.25s ease;
}

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

.faq-item summary:hover { color: var(--violet); }

.faq-chevron {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 4px; }

.faq-item[open] summary { color: var(--violet); }

.faq-item p {
  color: var(--text-2);
  font-size: 0.94rem;
  padding: 0 1.4rem 1.3rem;
  max-width: 62ch;
}

/* ---------- Final CTA / waitlist ---------- */

.cta-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  border-color: rgba(162, 155, 254, 0.22);
  background:
    radial-gradient(ellipse 70% 90% at 15% 0%, rgba(108, 92, 231, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 80% at 95% 100%, rgba(0, 240, 255, 0.08), transparent 60%),
    var(--surface);
}

.cta-copy h2 { margin-bottom: 1rem; }
.cta-copy > p { color: var(--text-2); max-width: 30rem; }

.cta-trust {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.cta-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.cta-trust svg { color: var(--success); flex-shrink: 0; margin-top: 0.2em; }

.waitlist-form {
  display: grid;
  gap: 1.1rem;
  align-content: center;
  background: rgba(5, 5, 16, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}

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

.form-field { display: grid; gap: 0.4rem; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.form-field input {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

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

.form-field input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(162, 155, 254, 0.2);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding-top: 3.2rem;
  background: rgba(5, 5, 16, 0.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
}

.footer-brand { max-width: 22rem; }

.footer-tag {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  align-content: start;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-2);
  transition: color 0.25s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-bottom a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

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

/* ---------- Scroll reveal (JS-gated) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .reveal.delay-1 { transition-delay: 0.1s; }
.js .reveal.delay-2 { transition-delay: 0.2s; }
.js .reveal.delay-3 { transition-delay: 0.3s; }
.js .reveal.delay-4 { transition-delay: 0.4s; }

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

/* ---------- Breakpoints ---------- */

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .span-2 { grid-column: span 3; }
  .bento .span-4 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    min-height: calc(92vh - var(--nav-h));
  }
  .bento .span-2 { grid-column: span 2; }
  .bento .span-4 { grid-column: span 4; }
  .use-cases { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
  .footer-links { justify-content: flex-end; }
}

@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: 0;
    padding: 0.6rem 1.25rem 1.25rem;
    background: rgba(5, 5, 16, 0.94);
    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: 0.9rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta { margin-top: 1rem; }

  .float-chip-1 { right: 0; }
  .float-chip-2 { left: 0; }
}

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

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

  .aurora-blob, .waveform span, .mini-wave span, .float-chip, .live-dot { animation: none !important; }

  .waveform span { transform: scaleY(0.6); }
  .mini-wave span { transform: scaleY(0.55); }

  .msg, .call-outcome {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

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