/* ──────────────────────────────────────────────────────────────────────────────
   Mentra.money — Landing Page Styles
   Dark luxury aesthetic. Financial sanctuary.
   ────────────────────────────────────────────────────────────────────────────── */

:root {
  --bg-primary: #0B0F1A;
  --bg-surface: #131929;
  --bg-card: #1A2235;
  --gold: #C8A951;
  --gold-muted: #8A7035;
  --teal: #2DD4BF;
  --amber: #F59E0B;
  --red: #EF4444;
  --text-primary: #F1EDE4;
  --text-secondary: #8B909E;
  --text-tertiary: #555B6E;
  --border: #1E2A3D;
  --font-display: 'Cormorant Garamond', serif;
  --font-ui: 'Inter', sans-serif;
}

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

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

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,169,81,0.08) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 640px;
  padding: 2rem;
}

.hero-logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-logo {
  height: 48px;
  width: auto;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2rem;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ── Hero CTAs ─────────────────────────────────────────────────────────────── */

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cta-primary {
  background: var(--gold);
  color: var(--bg-primary);
}
.cta-primary:hover {
  background: #D4B862;
  transform: translateY(-1px);
}

.cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.cta-secondary:hover {
  background: rgba(200,169,81,0.08);
  transform: translateY(-1px);
}

/* ── Hero Card ─────────────────────────────────────────────────────────────── */

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.card-label { font-size: 0.875rem; color: var(--text-secondary); }
.card-balance { font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); }

.levels { display: flex; flex-direction: column; gap: 0.5rem; }

.level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(8px);
}

.level-zero { background: rgba(239,68,68,0.1); border-left: 3px solid var(--red); }
.level-hardline { background: rgba(245,158,11,0.1); border-left: 3px solid var(--amber); }
.level-mentra { background: rgba(200,169,81,0.1); border-left: 3px solid var(--gold); }

.level-label { font-weight: 500; }
.level-value { font-weight: 700; }
.mentra-number { color: var(--gold); font-size: 1rem; }

.breathing-room {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  opacity: 0;
}

.br-label { color: var(--text-tertiary); }
.br-value.safe { color: var(--teal); font-weight: 600; }

/* ── Sections ──────────────────────────────────────────────────────────────── */

section { padding: 6rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

.levels-grid, .features-grid {
  display: grid;
  gap: 1.5rem;
}

.levels-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.level-card, .feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.level-card h3, .feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.level-card p, .feature-card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* Level icons */
.level-icon { width: 40px; height: 4px; border-radius: 2px; margin-bottom: 1rem; }
.zero-icon { background: var(--red); }
.hardline-icon { background: var(--amber); }
.mentra-icon { background: var(--gold); }

/* ── Coming Soon ─────────────────────────────────────────────────────────────── */

.coming-soon-section {
  text-align: center;
  padding: 5rem 2rem;
}

.coming-soon-content {
  max-width: 640px;
  margin: 0 auto;
}

.coming-soon-lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: -1.5rem;
  margin-bottom: 1.25rem;
}

.coming-soon-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.copyright {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.motivus-link {
  color: var(--text-tertiary);
  text-decoration: none;
}
.motivus-link:hover { color: var(--text-secondary); }

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-headline { font-size: 2rem; }
}

/* ── Legal pages (privacy, terms) + footer links ─────────────────────────── */
.legal-header {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}
.legal-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}
.legal-wordmark span { color: var(--gold); }
.legal-logo { height: 36px; width: auto; display: block; }
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.legal .updated { color: var(--text-tertiary); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-primary);
}
.legal p, .legal li { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.legal p { margin-bottom: 0.85rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--gold); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text-primary); }
.legal .callout {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.footer-links { margin-top: 0.75rem; }
.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.875rem;
}
.footer-links a:hover { color: var(--text-secondary); }
