/* ──────────────────────────────────────────────────────────────────────────────
   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-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 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; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */

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

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-ghost:hover { background: rgba(200,169,81,0.1); }

/* ── 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, .pricing-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)); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

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

.level-card h3, .feature-card h3, .price-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); }

/* Pricing */
.price { font-size: 2rem; font-weight: 700; margin: 0.75rem 0; }
.price span { font-size: 0.875rem; font-weight: 400; color: var(--text-secondary); }

.price-card ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.price-card li {
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.price-card li::before {
  content: '✓ ';
  color: var(--teal);
}

.price-card.featured {
  border-color: var(--gold);
  position: relative;
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.founding-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--gold-muted);
  font-size: 0.875rem;
  font-style: italic;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.brand-tagline { color: var(--text-tertiary); font-size: 0.875rem; margin-top: 0.25rem; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-links a:hover { color: var(--text-primary); }

.copyright {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .hero-headline { font-size: 2rem; }
  .cta-group { flex-direction: column; align-items: center; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
