/* WalnutView Landing — dark neon financial terminal */
:root {
  --bg: #06080c;
  --bg-2: #0a0e13;
  --bg-3: #11161d;
  --bg-card: #0d1218;
  --border: #1d232c;
  --border-2: #2a323d;
  --text: #e6edf3;
  --text-dim: #8b95a4;
  --text-mute: #5c6370;
  --accent: #28f07c;
  --accent-dim: rgba(40,240,124,0.14);
  --accent-glow: rgba(40,240,124,0.35);
  --red: #ff3caa;
  --cyan: #4fd6ff;
  --amber: #ffc24d;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, Menlo, monospace;
  --display: 'Inter', var(--font);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wv { min-height: 100vh; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.2px;
}
.logo b { color: var(--accent); font-weight: 600; }
.nav-links {
  display: flex; gap: 28px;
  margin-left: 30px;
}
.nav-links a {
  font-size: 13.5px; color: var(--text-dim); font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #04060a;
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), 0 6px 22px var(--accent-glow); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 13px 22px; font-size: 14.5px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 56px 28px 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}
.glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.glow-1 { background: var(--accent); top: -200px; right: -100px; opacity: 0.18; }
.glow-2 { background: #ff3caa; bottom: -200px; left: -100px; opacity: 0.10; }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(640px, 1.3fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { padding-top: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--mono);
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.display {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(90deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.cta-row { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.stat-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat-num span {
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 4px;
  font-weight: 500;
}
.stat-l { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

/* ─── HERO STAGE ─── */
.hero-stage {
  position: relative;
}
.stage-frame {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(40,240,124,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(40,240,124,0.08);
}
.stage-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  background: #0b0e13;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #33383f;
}
.dots i:nth-child(1) { background: #ff5f56; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #27c93f; }
.stage-url { flex: 1; text-align: center; opacity: 0.6; }
.stage-rightchrome { display: flex; align-items: center; }
.wv-indicator {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(40,240,124,0.3);
  border-radius: 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.wv-indicator-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulseDot 1.6s infinite;
}
.stage-body {
  position: relative;
  min-width: 0;
}
.stage-gpt-float {
  position: absolute;
  left: 12px;
  bottom: 56px;
  z-index: 5;
  animation: floatIn 0.7s ease 0.3s both;
}

.stage-main {
  padding: 14px;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Mini GPT card */
.mini-gpt {
  width: 280px;
  background: rgba(14,17,20,0.92);
  border: 1px solid rgba(40,240,124,0.3);
  border-radius: 10px;
  padding: 10px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.mini-gpt-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c86a3d, #6a2d1a);
  display: grid; place-items: center;
  font-size: 14px;
}
.mg-title { font-size: 12px; font-weight: 600; }
.mg-sub { font-size: 10px; color: var(--accent); }
.mini-gpt-body { display: flex; flex-direction: column; gap: 6px; min-height: 70px; }
.mg-msg {
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1.45;
  max-width: 88%;
  animation: fadeIn 0.3s ease;
}
.mg-u { align-self: flex-end; background: #1e3a5f; border: 1px solid #2563eb44; border-radius: 10px 10px 2px 10px; }
.mg-g { align-self: flex-start; background: #11181f; border: 1px solid rgba(40,240,124,0.3); border-radius: 10px 10px 10px 2px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.mg-typing {
  align-self: flex-start;
  background: #11181f;
  border: 1px solid var(--border-2);
  padding: 6px 10px;
  border-radius: 10px;
  display: flex; gap: 3px;
}
.mg-typing i {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s infinite;
}
.mg-typing i:nth-child(2) { animation-delay: 0.2s; }
.mg-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

/* Quick toggles */
.quick-toggles {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
  justify-content: center;
}
.qt {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--mono);
}
.qt:hover { border-color: var(--qt-c); color: var(--text); }
.qt-swatch {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--qt-c);
  opacity: 0.3;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.qt.on {
  border-color: var(--qt-c);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.qt.on .qt-swatch {
  opacity: 1;
  box-shadow: 0 0 8px var(--qt-c);
}

/* ─── FEATURE STRIP ─── */
.strip {
  padding: 10px 28px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  border-right: 1px solid var(--border);
}
.strip-item:last-child { border-right: none; }
.strip-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 16px;
}
.strip-t { font-size: 13.5px; font-weight: 600; }
.strip-d { font-size: 11.5px; color: var(--text-dim); }

/* ─── FEATURE SECTIONS ─── */
.fsec {
  padding: 80px 28px;
  position: relative;
}
.fsec-alt {
  background:
    linear-gradient(180deg, rgba(40,240,124,0.015), transparent 30%, transparent 70%, rgba(79,214,255,0.015)),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fsec-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fsec-inner.reverse { grid-template-columns: 1fr 1fr; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.eyebrow span {
  width: 16px; height: 3px; border-radius: 1px;
}
.fsec-copy h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  text-wrap: balance;
}
.fsec-copy h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.fsec-copy p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 20px;
  text-wrap: pretty;
  max-width: 520px;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--text);
  align-items: flex-start;
}

.fsec-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.fsec-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.25;
  z-index: -1;
}

/* Mini tiles */
.mini-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  max-width: 520px;
}
.tile {
  display: flex; gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tile-bar { width: 3px; border-radius: 2px; align-self: stretch; }
.tile-t { font-size: 13px; font-weight: 600; }
.tile-d { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }

/* ─── NEWS CARD ─── */
.news-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  overflow: hidden;
}
.news-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--accent);
}
.news-filter { font-size: 11px; color: var(--text-dim); }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 1.6s infinite;
}
.news-list { padding: 4px 0; }
.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: start;
  animation: slideIn 0.5s ease backwards;
}
.news-item:last-child { border-bottom: none; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.news-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  padding-top: 2px;
}
.news-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid;
  letter-spacing: 0.5px;
  height: 16px;
  align-self: start;
  margin-top: 2px;
}
.news-h { font-size: 13px; font-weight: 500; line-height: 1.35; }
.news-p { font-size: 11.5px; color: var(--text-dim); margin-top: 3px; line-height: 1.4; }

/* ─── PRICING ─── */
.pricing {
  padding: 100px 28px;
  background:
    radial-gradient(ellipse at top, rgba(40,240,124,0.05), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.p-head { text-align: center; margin-bottom: 48px; }
.p-head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  line-height: 1.05;
}
.p-head p { color: var(--text-dim); max-width: 560px; margin: 0 auto; font-size: 15px; }
.p-head .eyebrow { justify-content: center; display: inline-flex; margin-bottom: 14px; }

.p-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-row {
  display: grid;
  grid-auto-columns: minmax(0, 200px);
  grid-auto-flow: column;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 720px) {
  .p-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pcard {
  position: relative;
  padding: 24px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.pcard.sel {
  border-color: var(--accent);
  background: rgba(40,240,124,0.04);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px var(--accent-glow);
}
.pcard.best { border-color: var(--accent); }
.pcard-best, .pcard-hot {
  position: absolute; top: -10px; left: 14px;
  background: var(--accent);
  color: #04060a;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 3px;
}
.pcard-hot { background: var(--red); color: #fff; }
.pcard-popular { background: var(--cyan); color: #04060a; position: absolute; top: -10px; left: 14px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 3px 8px; border-radius: 3px; }
.pcard.blocked { opacity: .45; pointer-events: none; }
.pcard-incl {
  position: absolute; top: -10px; left: 14px;
  background: var(--cyan); color: #04060a;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 6px; letter-spacing: .04em; white-space: nowrap;
}
.pcard-feature { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.pcard-cadence { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; font-family: var(--mono); }
.pcard-amount {
  font-family: var(--display);
  font-size: 28px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.pcard-amount span { font-size: 13px; font-weight: 500; color: var(--text-mute); margin-left: 2px; }
.pcard-check {
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.15s;
}
.pcard.sel .pcard-check { opacity: 1; transform: scale(1); }

.cart {
  display: flex; gap: 18px; align-items: center;
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 10px;
}
.cart-count { font-size: 12px; color: var(--text-dim); font-family: var(--mono); }
.cart-total {
  font-family: var(--display);
  font-size: 28px; font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.cart-total span { color: var(--text-mute); font-size: 14px; font-weight: 500; }
.cart:has(.cart-free) {
  flex-wrap: wrap;
  justify-content: center;
}
.cart-free {
  width: 100%;
  font-size: 17px;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.2px;
  text-shadow: 0 0 20px rgba(40,240,124,.3);
}
.cart-gpt {
  font-size: 12px; color: var(--cyan); font-family: var(--mono);
  text-align: center; padding: 0 16px;
  white-space: nowrap;
}

.p-notes {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 28px;
  color: var(--text-dim);
  font-size: 13px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 28px 22px;
  background: #04060a;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}
.f-tag { color: var(--text-dim); font-size: 13px; margin-top: 12px; max-width: 280px; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-cols h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-mute);
  margin-bottom: 12px;
  font-family: var(--mono);
}
.f-cols a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.15s;
}
.f-cols a:hover { color: var(--accent); }
.footer-base {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 12px;
}

/* ─── CHECKOUT MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  width: 420px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 120px rgba(40,240,124,0.08);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-size: 16px; font-weight: 700;
}
.modal-close {
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: var(--text-dim);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 16px;
  transition: all 0.15s;
}
.modal-close:hover { border-color: var(--text-dim); color: var(--text); }
.modal-body { padding: 22px; }
.modal-summary {
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 22px;
}
.modal-summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
}
.modal-summary-row .cadence { color: var(--text-dim); font-size: 11px; }
.modal-summary-total {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 700;
  padding-top: 8px; margin-top: 8px;
  border-top: 1px solid var(--border);
}
.modal-summary-total .amount { color: var(--accent); }

.modal-step { display: none; }
.modal-step.active { display: block; }

.modal-field {
  margin-bottom: 16px;
}
.modal-field label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 6px;
}
.modal-field input[type="email"],
.modal-field input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
}
.modal-field input:focus {
  border-color: var(--accent);
}
.modal-field input::placeholder { color: var(--text-mute); }

/* OTP inputs */
.otp-row {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 16px;
}
.otp-digit {
  width: 44px; height: 52px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text);
  font-size: 22px;
  font-family: var(--mono);
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
}
.otp-digit:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }

.checkbox-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  margin-top: 8px;
}
.checkbox-row input[type="checkbox"] {
  accent-color: var(--accent);
}

.modal-msg {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 12px;
  display: none;
}
.modal-msg.error {
  display: block;
  background: rgba(255,60,170,0.1);
  border: 1px solid rgba(255,60,170,0.3);
  color: #ff6b9d;
}
.modal-msg.success {
  display: block;
  background: var(--accent-dim);
  border: 1px solid rgba(40,240,124,0.3);
  color: var(--accent);
}

.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(4,6,10,0.3);
  border-top-color: #04060a;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal-step-indicator {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  transition: all 0.2s;
}
.step-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.step-dot.done { background: var(--accent); opacity: 0.5; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .fsec-inner, .fsec-inner.reverse { grid-template-columns: 1fr; gap: 40px; }
  .fsec-inner.reverse > :first-child { order: 2; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: repeat(3, 1fr); }
  .mini-tiles { grid-template-columns: 1fr; }
  .p-notes { flex-direction: column; gap: 8px; align-items: center; }
  .footer-base { flex-direction: column; gap: 8px; }
  .cart { flex-direction: column; text-align: center; }
}

/* Body scroll lock when modal is open */
body.modal-open { overflow: hidden; }
