/* ===== The Goodbye Vault — marketing site ===== */

:root {
  --bg: #0b1020;
  --bg-soft: #121a30;
  --bg-card: #16203a;
  --text: #e8ecf6;
  --muted: #9aa6c4;
  --brand: #7c94ff;
  --brand-2: #b47cff;
  --accent: #4ade9e;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', var(--font-body);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; }

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

.muted { color: var(--muted); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(11, 16, 32, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-family: var(--font-display); }
.brand-text { white-space: nowrap; }
.brand-mark { font-size: 1.4rem; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 600; border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 8px 24px rgba(124, 148, 255, .35); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-light { background: #fff; color: #111; }
.btn-small { padding: .55rem 1.2rem; font-size: .9rem; }
.btn-large { padding: .9rem 1.9rem; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(4rem, 10vw, 8rem) 1.5rem; }
.hero-bg {
  position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(600px 400px at 25% 30%, rgba(124,148,255,.28), transparent 60%),
    radial-gradient(500px 380px at 75% 60%, rgba(180,124,255,.22), transparent 60%),
    var(--bg);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 600; color: var(--brand); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; margin: 1.4rem auto 0; color: var(--muted); font-size: 1.12rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-note { margin-top: 1.4rem; color: var(--muted); font-size: .88rem; }

/* ===== Trust bar ===== */
.trustbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-item { background: var(--bg-soft); padding: 1.6rem 1rem; text-align: center; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); max-width: 1100px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-soft); }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 2.5rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.step {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
  transition: transform .2s, border-color .2s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(124,148,255,.4); }
.step-num {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Feature cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(74,222,158,.35); }
.card-icon { font-size: 1.9rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Split / security ===== */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.split-text p { color: var(--muted); margin-bottom: 1.2rem; }
.checklist { list-style: none; }
.checklist li { padding: .55rem 0 .55rem 2rem; position: relative; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .55rem;
  color: var(--accent); font-weight: 700;
}
.split-visual { display: grid; place-items: center; }
.vault-visual { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.vault-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--brand), var(--brand-2), var(--accent), var(--brand));
  filter: blur(1px); opacity: .85;
  animation: spin 14s linear infinite;
}
.vault-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg); }
.vault-core { position: relative; font-size: 4.2rem; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: .8rem; }
.faq-list details {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.4rem;
}
.faq-list summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; font-size: 1.3rem; color: var(--brand); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: .8rem; color: var(--muted); }

/* ===== CTA ===== */
.cta {
  text-align: center; padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124,148,255,.25), transparent 70%),
    var(--bg);
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta p { color: var(--muted); margin: 1rem 0 2rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 3rem clamp(1rem, 4vw, 3rem) 2rem; }
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.footer-links { display: flex; gap: 1.4rem; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.fineprint { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 2.5rem; }

/* ===== Store badges (placeholders until store listings are live) ===== */
.store-badges { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.badge {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #000; border: 1px solid #333; border-radius: 10px;
  padding: .55rem 1.1rem; color: #fff; text-align: left; line-height: 1.2;
  opacity: .75; transition: opacity .2s, transform .15s;
}
.badge:hover { opacity: 1; transform: translateY(-2px); }
.badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge .badge-small { display: block; font-size: .68rem; color: #bbb; }
.badge .badge-big { display: block; font-size: 1rem; font-weight: 600; }
.badge.soon { cursor: default; }
.badge.soon .badge-small { color: var(--accent); }

/* ===== Legal pages ===== */
.legal { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.legal h1 { font-size: 2.2rem; margin-bottom: .4rem; }
.legal-date { color: var(--muted); font-size: .9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p strong, .legal li strong { color: var(--text); }
.legal ul { padding-left: 1.4rem; margin: .6rem 0; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--brand); }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .vault-visual { width: 180px; height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vault-ring { animation: none; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
}
