/* ─── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --gold:        #C9A96E;
  --gold-light:  #E8D5A3;
  --gold-dark:   #8B6914;
  --bg:          #000000;
  --surface:     #0F0F0F;
  --elevated:    #1A1A1A;
  --border:      #2A2A2A;
  --text:        #F5F0E8;
  --text-sec:    #8A8078;
  --text-muted:  #5C5650;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  /* scroll-padding-top = hauteur navbar fixe → le browser s'arrête au bon endroit
     sur tous les ancres (#features, #pricing…) sans calcul JS */
  scroll-padding-top: 80px;
}
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; }

/* ─── Typography ─────────────────────────────────────────────────────────────── */
.font-brand   { font-family: 'Cinzel', serif; font-weight: 700; }
.font-display { font-family: 'Cinzel', serif; }

/* ─── Gold Gradient Text ─────────────────────────────────────────────────────── */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Logo ARISIUM */
.logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: rgba(201,169,110,0.08); }

.btn-outline {
  display: inline-block;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-sec);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* App store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.store-btn:hover { border-color: var(--gold); background: var(--elevated); }
.store-btn .store-label { font-size: 0.6rem; color: var(--text-sec); }
.store-btn .store-name  { font-size: 0.875rem; font-weight: 600; }

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-bottom 0.3s;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
#burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  padding: 4px;
}
#mobile-menu {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
#mobile-menu.open { display: block; }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.9375rem;
}

/* ─── Section Utils ──────────────────────────────────────────────────────────── */
.section { padding: 100px 24px; }
.section-sm { padding: 64px 24px; }
.container { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 48px;
  box-sizing: border-box;
}
.hero-section > .container { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

/* ─── Founder Block ─────────────────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.founder-photo-wrap { display: flex; justify-content: center; }
.founder-photo {
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.founder-text {
  font-size: 1.0625rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 32px;
}
.founder-progress { max-width: 400px; }
.founder-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.founder-progress-current {
  font-weight: 700;
  color: var(--gold);
}
.founder-progress-track {
  height: 8px;
  background: var(--elevated);
  border-radius: 4px;
  overflow: hidden;
}
.founder-progress-fill {
  height: 100%;
  width: 36%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 4px;
  transition: width 0.6s ease;
}
.founder-progress-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── Card ───────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.card-hover {
  transition: border-color 0.25s, transform 0.25s;
}
.card-hover:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ─── Phone Mockup ───────────────────────────────────────────────────────────── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-wrap::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.phone {
  width: 265px;
  background: var(--surface);
  border-radius: 40px;
  border: 1.5px solid var(--border);
  padding: 14px 12px;
  box-shadow:
    0 0 0 7px var(--surface),
    0 0 0 8px var(--border),
    0 40px 80px rgba(0,0,0,0.9),
    0 0 80px rgba(201,169,110,0.06);
  position: relative;
  overflow: hidden;
}
.phone::before { /* notch */
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  z-index: 2;
}
.phone-screen {
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  font-size: 10px;
}
.phone-header { padding: 24px 14px 12px; display: flex; align-items: center; justify-content: space-between; }
.phone-avatar { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #C9A96E; display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 600; color: #C9A96E; flex-shrink: 0; }
.phone-date  { font-size: 8px; color: var(--text-muted); }
.phone-greeting { font-family: 'Cinzel', serif; font-size: 18px; color: var(--text); margin-top: 2px; }

.phone-card {
  margin: 0 10px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}
.phone-label { font-size: 7px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }

/* Calorie ring */
.calorie-ring-wrap { display: flex; justify-content: center; margin-bottom: 10px; }
.macro-row { display: flex; gap: 8px; }
.macro-col { flex: 1; }
.macro-name { font-size: 6.5px; color: var(--text-muted); margin-bottom: 3px; }
.macro-bar-track { height: 3px; background: var(--elevated); border-radius: 2px; overflow: hidden; }
.macro-bar-fill  { height: 100%; border-radius: 2px; }
.macro-val { font-size: 7.5px; color: var(--text); margin-top: 2px; }

/* Workout card inside phone */
.phone-workout { font-size: 10px; color: var(--text); font-weight: 500; }
.phone-workout-sub { font-size: 8px; color: var(--text-sec); margin-top: 2px; }
.phone-workout-meta { display: flex; gap: 10px; margin-top: 6px; }
.phone-workout-meta span { font-size: 7px; color: var(--text-muted); }
.phone-pr { color: var(--gold); }

/* ─── Feature Sections ───────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A96E'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Feature visual panel */
.feature-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.feature-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 12px;
}

/* AI estimation mockup */
.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
}
.ai-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left-width: 3px; /* override via inline style par item */
  gap: 12px;
}
.ai-item-name { font-size: 0.8125rem; color: var(--text); font-weight: 500; }
.ai-item-kcal { font-size: 0.7rem; color: var(--text-sec); margin-top: 2px; }
.ai-item-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.badge-high   { background: rgba(74,222,128,0.1);  color: #4ADE80; }
.badge-medium { background: rgba(251,191,36,0.1);  color: #FBBF24; }
.badge-low    { background: rgba(248,113,113,0.1); color: #F87171; }

/* Workout mockup */
.set-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--elevated);
  border-radius: 10px;
}
.set-num { font-size: 0.75rem; color: var(--text-muted); width: 20px; }
.set-data { flex: 1; display: flex; gap: 20px; }
.set-field { font-size: 0.875rem; color: var(--text); }
.set-field span { font-size: 0.7rem; color: var(--text-muted); }
.pr-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* Progress chart mockup */
.chart-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  position: relative;
}
.chart-line {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  height: 120px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 0 4px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--gold-dark), var(--gold));
  opacity: 0.7;
  min-width: 0;
}
.chart-bar.active { opacity: 1; }
.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.chart-label { font-size: 0.625rem; color: var(--text-muted); }

/* ─── Steps (How it works) ───────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.67% + 28px); right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(201,169,110,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.step-title { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.step-desc  { font-size: 0.875rem; color: var(--text-sec); line-height: 1.6; }

/* ─── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,169,110,0.06) 0%, var(--surface) 50%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-amount { font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 400; color: var(--text); }
.pricing-period { font-size: 0.875rem; color: var(--text-sec); }
.pricing-sub    { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.pricing-save {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--gold);
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.pricing-trial {
  font-size: 0.8125rem;
  color: #4ADE80;
  font-weight: 500;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-sec);
}
.pricing-features li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A96E'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── Tiers ─────────────────────────────────────────────────────────────────── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.tier-card:hover { transform: translateY(-3px); }
.tier-header { display: flex; flex-direction: column; gap: 8px; }
.tier-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
}
.tier-tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.tier-desc {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Free — neutre */
.tier-free .tier-tagline { color: var(--text-sec); }
.tier-free:hover { border-color: var(--text-sec); }

/* Colosseum — bronze / sable */
.tier-colosseum { border-color: rgba(184, 149, 106, 0.3); }
.tier-colosseum .tier-name { color: #B8956A; }
.tier-colosseum .tier-tagline { color: #B8956A; }
.tier-colosseum:hover { border-color: #B8956A; }

/* Pantheon — or / marbre — visuellement dominant */
.tier-pantheon {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,169,110,0.08) 0%, var(--surface) 50%);
  transform: scale(1.04);
}
.tier-pantheon:hover { transform: scale(1.04) translateY(-3px); }
.tier-pantheon .tier-name {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tier-pantheon .tier-tagline { color: var(--gold); }

/* Tier feature lists */
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.tier-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-sec);
}
.tier-features li::before {
  content: '';
  width: 14px; height: 14px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A96E'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tier-features li.tier-features-inherit {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.tier-features li.tier-features-inherit::before { display: none; }

/* ─── Primus (offre fondateur) ───────────────────────────────────────────────── */
.primus-card {
  position: relative;
  text-align: center;
  padding: 48px 40px 40px;
  background: linear-gradient(160deg, rgba(201,169,110,0.10) 0%, var(--surface) 60%);
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(201,169,110,0.06);
  margin-bottom: 40px;
}
.primus-name {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.primus-headline {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.primus-body {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 28px;
}
.primus-cta {
  display: inline-block;
  padding: 16px 36px;
  font-size: 0.9375rem;
}
.primus-counter {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.primus-counter-num {
  color: var(--gold);
  font-weight: 700;
}

/* ─── Comparison table ───────────────────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.compare-table th { color: var(--text-muted); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.5px; }
.compare-table td:first-child { text-align: left; color: var(--text-sec); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: #4ADE80; font-size: 1rem; }
.compare-table .cross { color: var(--text-muted); font-size: 1rem; }
.compare-table .arisium-col { color: var(--gold); font-weight: 600; }
.compare-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.compare-table th.arisium-col {
  background: rgba(201,169,110,0.04);
  border-bottom: 1px solid var(--border);
}
.compare-table td.arisium-col {
  background: rgba(201,169,110,0.03);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(201,169,110,0.3); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  gap: 16px;
}
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body-inner {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ─── Stats Bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 36px 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.8125rem; color: var(--text-sec); }

/* ─── CTA Section ────────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.15;
}
.cta-sub { font-size: 1.0625rem; color: var(--text-sec); margin-bottom: 48px; }
.cta-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 20px; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 220px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── Scroll Animations ──────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ─── Nav Auth Area ─────────────────────────────────────────────────────────── */
#nav-auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-auth-login {
  padding: 10px 20px;
  font-size: 0.8125rem;
}
.nav-cta { padding: 11px 24px; }

/* ─── Mobile Menu Overrides ──────────────────────────────────────────────────── */
.mobile-auth-btn {
  background: none;
  border: none;
  color: var(--text-sec);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
}
.mobile-menu-cta { margin-top: 8px; }
.mobile-menu-cta .btn-primary { text-align: center; display: block; }

/* ─── Hero Title ─────────────────────────────────────────────────────────────── */
.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 48px;
}
.hero-subtitle { font-style: italic; }
.hero-waitlist-wrap { margin-bottom: 24px; }
.hero-note { font-size: 0.8125rem; color: var(--text-muted); }

/* ─── Phone: Calorie Ring ────────────────────────────────────────────────────── */
.calorie-ring { position: relative; width: 72px; height: 72px; }
.calorie-ring svg { transform: rotate(-90deg); }
.calorie-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.calorie-ring-val { font-family: 'Cinzel', serif; font-size: 14px; color: var(--text); line-height: 1; }
.calorie-ring-unit { font-size: 6px; color: var(--text-sec); }

/* ─── Phone: Macro Bar Colors ────────────────────────────────────────────────── */
.macro-bar-fill--protein { width: 72%; background: #7B68EE; }
.macro-bar-fill--carbs   { width: 55%; background: #FFB347; }
.macro-bar-fill--fat     { width: 40%; background: #87CEEB; }

/* ─── Phone: Steps Card ─────────────────────────────────────────────────────── */
.phone-card--steps { margin-bottom: 14px; }
.phone-steps-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.phone-label--flush { margin-bottom: 0; }
.phone-steps-goal { font-size: 7px; color: var(--text-muted); }
.phone-steps-count { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.phone-steps-val { font-family: 'Cinzel', serif; font-size: 18px; color: var(--text); }
.phone-steps-unit { font-size: 7px; color: var(--text-sec); }
.phone-steps-bar { height: 3px; background: var(--elevated); border-radius: 2px; overflow: hidden; }
.phone-steps-fill { height: 100%; width: 74%; background: var(--gold); border-radius: 2px; }

/* ─── Section Variants ───────────────────────────────────────────────────────── */
.section--bordered-bottom { border-bottom: 1px solid var(--border); }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); }
.section--surface-bordered { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid--spaced { margin-bottom: 120px; }

/* ─── Section Headers (centered) ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header--lg { margin-bottom: 64px; }
.eyebrow--center { justify-content: center; }
.section-title--center { text-align: center; margin: 0 auto; }
.section-sub--center { text-align: center; margin: 12px auto 0; }

/* ─── AI Analysis Card ──────────────────────────────────────────────────────── */
.ai-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ai-header-label { font-size: 0.625rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.ai-header-title { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.ai-status { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.ai-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; display: inline-block; }
.ai-status-text { font-size: 0.75rem; color: var(--text-muted); }
.ai-items { display: flex; flex-direction: column; gap: 6px; }
.ai-item--high { border-left-color: #4ADE80; }
.ai-item--medium { border-left-color: #FBBF24; }
.ai-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(201,169,110,0.06);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 12px;
  margin-top: 2px;
}
.ai-total-label { font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-sec); margin-bottom: 2px; }
.ai-total-val { font-size: 1.25rem; font-family: 'Cinzel', serif; color: var(--gold); letter-spacing: 1px; }
.ai-total-macros { display: flex; gap: 20px; }
.ai-macro { text-align: center; }
.ai-macro-val { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.ai-macro-label { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; }
.ai-macro-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ─── Workout Card ───────────────────────────────────────────────────────────── */
.workout-header { display: flex; align-items: center; justify-content: space-between; }
.workout-title { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.workout-time { font-size: 0.8125rem; color: var(--text-sec); }
.workout-exercise { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.workout-sets { display: flex; flex-direction: column; gap: 6px; }
.set-row--pr { border: 1px solid rgba(201,169,110,0.25); }
.workout-divider { height: 1px; background: var(--border); }

/* ─── Progress Card ──────────────────────────────────────────────────────────── */
.feature-visual-inner--top { justify-content: flex-start; }
.progress-header { display: flex; align-items: center; justify-content: space-between; }
.progress-title-wrap { display: flex; align-items: center; gap: 8px; }
.progress-title { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.progress-badge { font-size: 0.6rem; color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; }
.progress-range { display: flex; gap: 8px; }
.progress-range-btn { padding: 4px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--elevated); color: var(--text-sec); font-size: 0.7rem; cursor: pointer; }
.progress-range-btn--active { border-color: var(--gold); background: rgba(201,169,110,0.08); color: var(--gold); }
.progress-value { display: flex; align-items: baseline; gap: 8px; }
.progress-num { font-family: 'Cinzel', serif; font-size: 2.25rem; color: var(--text); }
.progress-unit { font-size: 0.875rem; color: var(--text-sec); }
.progress-delta { font-size: 0.8125rem; color: #4CAF50; margin-left: 4px; }
.progress-chart { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.progress-bars { display: flex; align-items: flex-end; gap: 5px; height: 100px; padding-bottom: 4px; }
.progress-bar { flex: 1; background: linear-gradient(to top, var(--gold-dark), rgba(201,169,110,0.4)); border-radius: 3px 3px 0 0; }
.progress-bar--current { background: linear-gradient(to top, var(--gold), var(--gold-light)); box-shadow: 0 0 8px rgba(201,169,110,0.3); }
.progress-bars .progress-bar:nth-child(1) { height: 75%; }
.progress-bars .progress-bar:nth-child(2) { height: 80%; }
.progress-bars .progress-bar:nth-child(3) { height: 72%; }
.progress-bars .progress-bar:nth-child(4) { height: 68%; }
.progress-bars .progress-bar:nth-child(5) { height: 64%; }
.progress-bars .progress-bar:nth-child(6) { height: 60%; }
.progress-bars .progress-bar:nth-child(7) { height: 55%; }
.progress-dates { display: flex; justify-content: space-between; }
.progress-date { font-size: 0.625rem; color: var(--text-muted); }
.progress-pr {
  padding: 12px 16px;
  background: rgba(201,169,110,0.06);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.progress-pr-label { font-size: 0.75rem; color: var(--text-sec); }
.progress-pr-val { font-size: 0.9375rem; font-weight: 500; color: var(--text); }

/* ─── Compare Table Overrides ────────────────────────────────────────────────── */
.compare-table th:first-child { text-align: left; }
.compare-partial { color: var(--text-sec); font-size: 0.8125rem; }

/* ─── FAQ Container ──────────────────────────────────────────────────────────── */
.faq-container { max-width: 720px; }

/* ─── CTA Form ───────────────────────────────────────────────────────────────── */
.cta-form-wrap { display: flex; justify-content: center; }
.cta-form-wrap .waitlist-form { width: auto; }

/* ─── Footer Overrides ───────────────────────────────────────────────────────── */
.footer-logo { font-size: 1rem; }
.footer-credit { color: var(--text-muted); }

/* ─── Auth Modal Overrides ───────────────────────────────────────────────────── */
.auth-logo-wrap { text-align: center; margin-bottom: 28px; }
.auth-logo { font-size: 1.25rem; display: inline-block; }
#form-signup { display: none; }

/* ─── Legal Pages ────────────────────────────────────────────────────────────── */
.legal-page { max-width: 780px; margin: 0 auto; padding: 120px 24px 80px; }
.legal-page a { color: var(--gold); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-sec); font-size: 0.875rem; text-decoration: none; margin-bottom: 48px; transition: color .2s; }
.legal-back:hover { color: var(--gold); }
.legal-back svg { width: 16px; height: 16px; }
.legal-eyebrow { font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.legal-title { font-family: 'Cinzel', serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; color: var(--text); margin-bottom: 8px; }
.legal-updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-family: 'Cinzel', serif; font-size: 1.125rem; font-weight: 600; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-section h3 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.legal-section p { color: var(--text-sec); line-height: 1.75; margin-bottom: 12px; font-size: 0.9375rem; }
.legal-section ul { list-style: none; padding: 0; }
.legal-section ul li { color: var(--text-sec); line-height: 1.75; font-size: 0.9375rem; padding-left: 20px; margin-bottom: 6px; position: relative; }
.legal-section ul li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.875rem; }
.legal-table th { background: var(--elevated); color: var(--text); font-weight: 600; padding: 10px 14px; text-align: left; border: 1px solid var(--border); }
.legal-table td { color: var(--text-sec); padding: 10px 14px; border: 1px solid var(--border); vertical-align: top; line-height: 1.6; }
.legal-table tr:nth-child(even) td { background: #0A0A0A; }
.legal-placeholder { color: var(--gold); font-style: italic; }
.legal-nav { display: flex; justify-content: center; gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.legal-nav a { color: var(--text-sec); font-size: 0.875rem; text-decoration: none; transition: color .2s; }
.legal-nav a:hover { color: var(--gold); }
.notice-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 6px; padding: 16px 20px; margin: 16px 0; }
.notice-box p { margin: 0; font-size: 0.875rem; }
.rights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.rights-item { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.rights-item strong { display: block; color: var(--text); font-size: 0.875rem; margin-bottom: 4px; }
.rights-item span { color: var(--text-sec); font-size: 0.8125rem; line-height: 1.5; }
.legal-rights-contact { margin-top: 20px; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-grid .eyebrow { justify-content: center; }
  .hero-grid .waitlist-form { margin: 0 auto; }
  .hero-grid .fade-up:last-of-type { margin: 0 auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .founder-photo { width: 220px; margin: 0 auto; }
  .founder-progress { margin: 0 auto; }
  .phone-wrap { display: none; }
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
  .feature-grid.reverse .feature-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tier-pantheon { transform: none; order: -2; }
  .tier-pantheon:hover { transform: translateY(-3px); }
  .tier-colosseum { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(4) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #burger { display: block; }
  .nav-links, .nav-cta { display: none; }
  .section { padding: 72px 20px; }
  .hero-section { min-height: 100vh; padding-top: 96px; padding-bottom: 40px; }
  .stat-num { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-visual { aspect-ratio: auto; }
  .feature-visual-inner { padding: 20px; height: auto; }
  .primus-card { padding: 36px 24px 32px; }
  .primus-headline { font-size: 1.0625rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .compare-table th, .compare-table td { padding: 10px 6px; font-size: 0.75rem; }
  .compare-table-wrap { border-radius: 14px; }
}
@media (max-width: 480px) {
  .hero-section { min-height: 100svh; padding-top: 88px; padding-bottom: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.75rem; }
}

/* ─── Auth Modal ─────────────────────────────────────────────────────────────── */
#auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#auth-modal.open {
  display: flex;
}

#auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,169,110,0.08);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.auth-close-btn:hover { border-color: var(--text-sec); color: var(--text); }

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--elevated);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-tab.active {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sec);
}
.auth-input {
  width: 100%;
  padding: 13px 15px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input::placeholder { color: var(--text-muted); }
.auth-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

/* Messages */
.auth-error {
  display: none;
  background: rgba(244,67,54,0.08);
  border: 1px solid rgba(244,67,54,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #F44336;
  line-height: 1.5;
}
.auth-success {
  display: none;
  background: rgba(76,175,80,0.08);
  border: 1px solid rgba(76,175,80,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #4CAF50;
  line-height: 1.5;
}

/* Submit button */
.auth-submit {
  width: 100%;
  padding: 14px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-top: 4px;
}
.auth-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Switch link */
.auth-switch {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.auth-switch-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Nav user menu (logged-in state) ────────────────────────────────────────── */
.nav-user-menu { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  color: var(--text-sec);
  transition: border-color 0.2s;
}
.nav-user-btn:hover { border-color: var(--gold); }
.nav-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  z-index: 50;
}
.user-dropdown.open { display: block; }
.user-dropdown-email {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  word-break: break-all;
}
.user-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.user-dropdown-item {
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #F44336;
  cursor: pointer;
  transition: background 0.15s;
}
.user-dropdown-item:hover { background: rgba(244,67,54,0.08); }

/* ─── Waitlist Form ───────────────────────────────────────────────────────────── */
.waitlist-form {
  width: 100%;
  max-width: 520px;
}
.waitlist-form-cta {
  max-width: 560px;
}
.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.waitlist-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.waitlist-input:focus {
  border-color: var(--gold);
  background: #1f1f1f;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-submit {
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.waitlist-msg {
  margin-top: 10px;
  font-size: 0.875rem;
  min-height: 20px;
  transition: opacity 0.2s;
}
.waitlist-msg.success { color: #66BB6A; }
.waitlist-msg.error   { color: #EF9A9A; }

@media (max-width: 640px) {
  .waitlist-row { flex-direction: column; }
  .waitlist-input, .waitlist-submit { width: 100%; }
  .waitlist-form-cta { max-width: 100%; }
}

@media (max-width: 640px) {
  .auth-card { padding: 32px 24px 28px; }
  #nav-auth-area { display: none !important; }
}
