/* WealthVision — web teaser (landing) styles.
   Design language mirrors the app's "Longview" schema: dark, flat, IBM Plex,
   teal-green primary, mono numbers, hairline borders. */

:root {
  --bg: #0c0c0e;
  --bg-2: #09090b;
  --surface: #1b1b1f;
  --surface-2: #16161a;
  --surface-h: #24242a;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-2: rgba(255, 255, 255, 0.14);
  --text-hi: #ececed;
  --text-mid: #9a9aa1;
  --text-lo: #5e5e66;
  --green: #22ab94;
  --green-ink: #06120f;
  --red: #f7525f;
  --blue: #2962ff;
  --amber: #f7a600;
  --violet: #9c4dff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 5vw, 40px);
  --maxw: 1120px;
}

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

/* Author display rules (e.g. .store-row{display:flex}) beat the UA [hidden] rule,
   so hidden variants would still show. Force it. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

b { color: var(--text-hi); font-weight: 600; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

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

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: #2bc4a9; }
.btn-ghost { background: var(--surface); color: var(--text-hi); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--hairline-2); background: var(--surface-h); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(12, 12, 14, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-brand b { color: var(--green); font-weight: 700; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-mid); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-hi); }
.nav-cta { padding: 9px 16px; font-size: 14px; }

/* ───────────────────────── Layout ───────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; }
.section-sub { margin-top: 16px; color: var(--text-mid); font-size: clamp(16px, 2vw, 18px); }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; }
.lede { margin-top: 22px; font-size: clamp(17px, 2.1vw, 20px); color: var(--text-mid); max-width: 30em; }
.lede b { color: var(--text-hi); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row {
  margin-top: 28px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--text-mid);
  font-size: 14px;
}
.trust-row li { display: flex; align-items: center; gap: 6px; }

/* Coming soon on Product Hunt badge */
.ph-badge {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 9px 10px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  text-align: left;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.12s var(--ease);
}
.ph-badge:hover { border-color: rgba(218, 85, 47, 0.55); background: var(--surface-h); }
.ph-badge:active { transform: scale(0.98); }
.ph-badge-logo { display: flex; flex: none; }
.ph-badge-copy { display: flex; flex-direction: column; line-height: 1.32; }
.ph-badge-copy b { font-size: 13.5px; font-weight: 600; color: var(--text-hi); letter-spacing: -0.01em; }
.ph-badge-copy > span { font-size: 12.5px; color: var(--text-mid); transition: color 0.2s var(--ease); }
.ph-badge:hover .ph-badge-copy > span { color: var(--text-hi); }

/* Hero phone */
.hero-phone { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(34, 171, 148, 0.28), transparent 62%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* ───────────────────────── Phone / iframe stages ───────────────────────── */
.phone {
  position: relative;
  z-index: 1;
  width: 393px;
  height: 760px;
  border-radius: 44px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 12px 30px rgba(0, 0, 0, 0.4);
  transform-origin: top center;
  background: var(--bg);
}
.phone iframe { width: 393px; height: 852px; border: 0; display: block; }
.phone.big { height: 780px; }

/* ───────────────────────── Try / playground ───────────────────────── */
.try { text-align: center; }
.playground { display: flex; flex-direction: column; align-items: center; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}
.tab {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.tab:hover { border-color: var(--hairline-2); color: var(--text-hi); }
.tab.is-active { background: var(--text-hi); color: var(--bg); border-color: var(--text-hi); }

.stage-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 380px);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  text-align: left;
}
.stage-caption h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.stage-caption p { margin-top: 14px; color: var(--text-mid); font-size: 17px; }
.fineprint { display: block; margin-top: 12px; font-size: 12.5px; color: var(--text-lo); }

/* ───────────────────────── Wedges ───────────────────────── */
.wedges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wedge {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 26px;
}
.wedge-ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--wc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--wc) 34%, transparent);
  margin-bottom: 18px;
}
.wedge h3 { font-size: 20px; font-weight: 700; }
.wedge p { margin-top: 10px; color: var(--text-mid); font-size: 15.5px; }

/* ───────────────────────── Privacy proof ───────────────────────── */
.proof-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.proof-grid li {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 22px 22px;
}
.proof-grid b { display: block; font-size: 16px; margin-bottom: 6px; }
.proof-grid span { color: var(--text-mid); font-size: 14.5px; }

/* ───────────────────────── Pricing ───────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--green) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 30%, transparent), 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}
.price-flag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-name { font-size: 15px; font-weight: 600; color: var(--text-mid); }
.price-amt { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 12px; }
.price-amt .amt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-hi);
}
.price-amt .amt-was {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  color: var(--text-lo);
  text-decoration: line-through;
}
.price-tag { color: var(--text-mid); font-size: 14.5px; margin-bottom: 20px; }
.price-list { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-hi); }
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.price-list li b { color: var(--text-hi); }
.price-foot { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--text-lo); }

/* ───────────────────────── Get / waitlist ───────────────────────── */
.get { max-width: 720px; }
.get-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 48px);
  text-align: center;
}
.get-card h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; margin-top: 6px; }
.waitlist { margin-top: 26px; display: flex; gap: 10px; max-width: 480px; margin-inline: auto; }
.waitlist input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-hi);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s;
}
.waitlist input::placeholder { color: var(--text-lo); }
.waitlist input:focus { outline: none; border-color: var(--green); }
.waitlist.sent input { border-color: var(--green); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-lo); }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.store-row.secondary { margin-top: 18px; }

/* ───────────────────────── FAQ ───────────────────────── */
.faq { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-mid); font-size: 15.5px; }

/* ───────────────────────── Footer ───────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.foot-brand b { color: var(--green); }
.disclaimer { max-width: 620px; margin: 18px auto 0; color: var(--text-lo); font-size: 13px; line-height: 1.6; }
.copyright { margin-top: 16px; color: var(--text-lo); font-size: 12.5px; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-phone { order: 2; }
  .lede, .trust-row { margin-inline: auto; }
  .trust-row { justify-content: center; }
  .hero-actions { justify-content: center; }
  .stage-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .stage-caption { max-width: 480px; }
  .wedges { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: minmax(0, 420px); }
}

@media (max-width: 560px) {
  .proof-grid { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; }
  .btn-block, .waitlist .btn { width: 100%; }
  .trust-row { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
