/* ============================================================
   RentShepherd — rentshepherd.com
   Deep forest-black base · emerald-to-teal aurora · glass cards
   ============================================================ */

:root {
  --bg-0: #040a07;
  --bg-1: #06100b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(52, 211, 153, 0.35);
  --emerald: #34d399;
  --emerald-deep: #10b981;
  --teal: #2dd4bf;
  --text: #eef7f2;
  --muted: rgba(230, 244, 238, 0.66);
  --faint: rgba(230, 244, 238, 0.56);
  --grad: linear-gradient(135deg, #34d399, #2dd4bf);
  --grad-deep: linear-gradient(135deg, #10b981, #0d9488);
  --glow: 0 8px 32px rgba(16, 185, 129, 0.28);
  --radius: 18px;
  --font-head: "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-0);
  background-image: radial-gradient(1200px 800px at 70% -10%, rgba(16, 185, 129, 0.07), transparent 60%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

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

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

/* ---------- Aurora + noise ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  will-change: transform;
  animation: aurora-drift 14s ease-in-out infinite alternate;
}
.aurora-emerald {
  width: 55vw; height: 55vw;
  min-width: 480px; min-height: 480px;
  top: -18%; left: -12%;
  background: #10b981;
}
.aurora-teal {
  width: 48vw; height: 48vw;
  min-width: 420px; min-height: 420px;
  bottom: -22%; right: -10%;
  background: #14b8a6;
  animation-duration: 18s;
  animation-delay: -6s;
}
.aurora-sea {
  width: 34vw; height: 34vw;
  min-width: 320px; min-height: 320px;
  top: 38%; left: 42%;
  background: #059669;
  opacity: 0.10;
  animation-duration: 22s;
  animation-delay: -11s;
}
@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: 9999;
  pointer-events: none;
  opacity: 0.035;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--grad);
  color: #03130c;
  box-shadow: var(--glow);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.42);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-nav { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(4, 10, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links > a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s 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;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Without JS the toggle can't open anything — hide the dead control */
html:not(.js) .nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0 5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.1rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--faint);
}

/* ---------- Phone mockup ---------- */
.hero-mockup {
  position: relative;
  justify-self: center;
  padding: 1rem 0 4.5rem;
}
.phone {
  position: relative;
  width: min(320px, 86vw);
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(16, 185, 129, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 22px;
  border-radius: 12px;
  background: rgba(4, 10, 7, 0.9);
  z-index: 2;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #071009 0%, #04120c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 3.4rem 1.1rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #03130c;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.chat-meta { display: flex; flex-direction: column; line-height: 1.3; }
.chat-meta strong { font-size: 0.9rem; }
.chat-meta small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--emerald);
}
.online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem;
  flex: 1;
}
.msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  font-size: 0.83rem;
  line-height: 1.45;
}
.msg-tenant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.msg-ai {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(20, 184, 166, 0.18));
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-bottom-right-radius: 4px;
}
.msg-time {
  align-self: flex-start;
  font-size: 0.68rem;
  color: var(--faint);
  padding-left: 0.3rem;
}
.triage-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid var(--border-strong);
  margin: 0.25rem 0;
}
.triage-chip strong { color: var(--emerald); font-weight: 600; }
.triage-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.8s ease-out infinite;
}
.msg-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0.75rem 0.9rem;
}
.msg-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(238, 247, 242, 0.65);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

/* Approval card floating beside the phone */
.approval-card {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: min(280px, 82vw);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(9, 20, 14, 0.82);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.approval-head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.45rem;
}
.approval-body {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.approval-actions { display: flex; gap: 0.5rem; }
.chip-approve, .chip-edit {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 9px;
}
.chip-approve {
  background: var(--grad);
  color: #03130c;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.chip-edit {
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Mockup entrance animation sequence */
.anim {
  opacity: 0;
  transform: translateY(10px);
  animation: msg-in 0.5s ease-out forwards;
}
.anim-1 { animation-delay: 0.6s; }
.anim-2 { animation-delay: 1.5s; }
.anim-3 { animation-delay: 2.3s; }
.anim-4 { animation-delay: 3.4s; }
.anim-5 { animation-delay: 4s; }
@keyframes msg-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-narrow { max-width: 820px; }
.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Glass cards ---------- */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.bento-cell {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.bento-cell:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}
.bento-cell h3 {
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.bento-cell p { color: var(--muted); font-size: 0.95rem; }
.cell-icon {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--emerald);
  margin-bottom: 0.35rem;
}
.cell-icon svg { width: 24px; height: 24px; }

.mini-thread {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}
.mini-bubble {
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.55rem 0.8rem;
  border-radius: 13px;
  max-width: 85%;
}
.mini-bubble.left {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--muted);
}
.mini-bubble.right {
  align-self: flex-end;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-bottom-right-radius: 4px;
  color: var(--text);
}

.mini-report {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.report-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.report-row i {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: var(--grad);
  opacity: 0.85;
  flex-shrink: 0;
  max-width: 55%;
}
.report-row b {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  padding: 2rem 1.8rem;
  position: relative;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #03130c;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Use cases ---------- */
.use-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.use-case { padding: 1.7rem 1.6rem; }
.use-case:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.use-case h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--emerald);
}
.use-case p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); }
.price-featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.18);
}
.price-card-wide {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 2rem 1.9rem;
  border-color: var(--border-strong);
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.09), rgba(255, 255, 255, 0.03));
}
.price-card-wide .tier-for { margin-bottom: 1rem; }
.tier-features-wide { margin-bottom: 0; }
.wide-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  min-width: 180px;
}
.wide-cta .tier-price { margin-bottom: 0; text-align: center; }
.wide-cta .tier-price .amount { font-size: 2.1rem; }
@media (min-width: 760px) {
  .price-card-wide { flex-direction: row; align-items: center; justify-content: space-between; }
  .tier-features-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.6rem;
  }
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--grad);
  color: #03130c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-name { font-size: 1.25rem; }
.tier-for {
  font-size: 0.85rem;
  color: var(--faint);
  margin: 0.2rem 0 1.2rem;
}
.tier-price { margin-bottom: 1.4rem; }
.tier-price .amount {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tier-price .per { color: var(--faint); font-size: 1rem; margin-left: 0.15rem; }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  flex: 1;
}
.tier-features li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.tier-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 16px; height: 16px;
  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.5 8.5 2.5 2.5 4.5-5' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    rgba(52, 211, 153, 0.12);
}
.pricing-note {
  margin-top: 2.2rem;
  font-size: 0.9rem;
  color: var(--faint);
  max-width: 44rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq-item { overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 3.2rem 1.2rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  width: 12px; height: 12px;
  translate: 0 -50%;
  border-right: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(45deg);
  transform-origin: 66% 66%;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item[open] summary { color: var(--emerald); }
.faq-item:hover { border-color: var(--border-strong); }
.faq-body {
  padding: 0 1.4rem 1.3rem;
}
.faq-body p { color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA / waitlist ---------- */
.cta-card {
  padding: 2.8rem 1.8rem;
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 70px rgba(16, 185, 129, 0.14);
}
.cta-copy { text-align: center; margin-bottom: 2.2rem; }
.cta-copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.9rem;
}
.cta-copy p {
  color: var(--muted);
  max-width: 32rem;
  margin-inline: auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 480px;
  margin-inline: auto;
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(4, 10, 7, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-row 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 6 4 4 4-4' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}
.form-row input::placeholder { color: var(--faint); }
.form-row input:focus,
.form-row select:focus {
  border-color: var(--emerald);
  background-color: rgba(4, 10, 7, 0.8);
}
.form-note {
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 10, 7, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-tag {
  color: var(--faint);
  font-size: 0.9rem;
  max-width: 22rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--emerald); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  font-size: 0.84rem;
  color: var(--faint);
}
.footer-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--emerald); }

/* ---------- Scroll reveal ----------
   Hidden state only applies once js/main.js has added the .js class,
   so every section (and the waitlist form) is fully visible without JS. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Breakpoints (mobile-first) ---------- */
@media (min-width: 640px) {
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2 { grid-column: span 2; }
  .cta-card { padding: 3.2rem 3rem; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    padding: 5.5rem 0 6.5rem;
    gap: 2rem;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-featured { transform: scale(1.04); }
  .price-featured:hover { transform: scale(1.04) translateY(-4px); }
  .use-cases { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-cell.span-2 { grid-column: span 2; }
}

@media (max-width: 767.98px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 1.25rem 1.4rem;
    background: rgba(4, 10, 7, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links > a:not(.btn) {
    padding: 0.8rem 0.4rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .btn-nav { margin-top: 0.9rem; padding: 0.9rem; }
  .approval-card { right: 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;
  }
  .aurora-blob, .phone { animation: none; }
  .anim { opacity: 1; transform: none; animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
