/* ═══════════════════════════════════════════════════════════════════════════
   THE LISTENING CLUB — Component Styles v3
   Dark Editorial · Studio Aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1em 2.4em; border: 1px solid var(--border-light); border-radius: 0;
  background: transparent; color: var(--text);
  font-family: var(--font-sans); font-size: var(--text-xs);
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--text); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
  z-index: -1;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover {
  color: var(--bg);
  border-color: var(--text);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
body.dark-mode .btn-primary:hover {
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}
.btn-arrow { transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(6px); }
.btn-lg { padding: 1.3em 3em; font-size: var(--text-sm); }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.8em; border: 1px solid var(--border-light); border-radius: 0;
  background: transparent; color: var(--text-muted);
  font-family: var(--font-sans); font-size: var(--text-xs);
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.35s ease; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { padding: 0.6em 1.4em; }

.nav-auth-btn {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); padding: 0.6em 1.6em; border: 1px solid var(--border-light);
  pointer-events: all; transition: all 0.3s ease;
  background: transparent; cursor: pointer; font-family: var(--font-sans); font-weight: 500;
}
.nav-auth-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ══ EDITORIAL FRAME & BACKDROP ═══════════════════════════════════════════ */
.editorial-frame {
  position: fixed;
  inset: var(--space-xs); /* frame padding */
  border: 1px solid var(--border-light);
  pointer-events: none;
  z-index: 9999;
}
@media (max-width: 600px) { .editorial-frame { inset: 5px; } }

.vogue-backdrop {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden; pointer-events: none;
  background: var(--bg);
}
.vogue-blob {
  position: absolute; filter: blur(120px);
  opacity: 0.12; border-radius: 50%;
  animation: float-blob 25s infinite alternate ease-in-out;
}
body.light-mode .vogue-blob { opacity: 0.08; }

.blob-1 {
  width: 45vw; height: 45vw; background: var(--accent);
  top: -10%; left: -10%;
}
.blob-2 {
  width: 60vw; height: 60vw; background: var(--text-muted);
  bottom: -20%; right: -15%; animation-delay: -7s; animation-duration: 32s;
}
.blob-3 {
  width: 40vw; height: 40vw; background: #EAE6DF; /* off-white glow */
  top: 40%; left: 30%; animation-delay: -15s; animation-duration: 38s;
  opacity: 0.05;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(8vw, 15vh) scale(1.1) rotate(45deg); }
  100% { transform: translate(-5vw, 5vh) scale(0.9) rotate(-30deg); }
}

/* ══ S1: HERO — Scroll-Driven Cinematic ═══════════════════════════════════ */
.section-hero {
  position: relative; height: 400vh; overflow: visible; background: var(--bg);
}
.section-hero .hero-noise {
  position: fixed; inset: 0; opacity: 0.015; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-pin-container {
  position: sticky; top: 0; height: 100vh; width: 100%;
  overflow: hidden;
}
.hero-viewport {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* Phase elements */
.hero-phase { position: absolute; text-align: center; width: 100%; padding: 0 var(--space-md); }
.hero-phase-1 { z-index: 3; }
.hero-phase-2 { z-index: 2; opacity: 0; }
.hero-phase-3 { z-index: 1; opacity: 0; transform: translateY(40px); }

/* MASSIVE headline — fills viewport */
.hero-headline-main {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 15rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
  user-select: none;
}

/* Italic serif secondary line */
.hero-headline-sub {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
/* "No pressure. Just presence." — Copperplate Gothic */
.hero-headline-sub em {
  font-style: normal;
  font-family: 'Copperplate Gothic Bold', 'Copperplate Gothic', 'Copperplate', 'COPPERPLATE', 'Copperplate Gothic Light', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* CTA phase */
.hero-tagline {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400; letter-spacing: 0.06em;
  color: var(--text); margin-bottom: var(--space-md);
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero-ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

/* Decoratives */
.hero-number {
  position: absolute; top: var(--space-lg); left: var(--space-md);
  font-family: var(--font-sans); font-size: var(--text-xs);
  letter-spacing: 0.3em; color: var(--accent); opacity: 0; z-index: 5;
}
.hero-scroll-hint {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.3; z-index: 5;
}
.scroll-line {
  display: block; width: 1px; height: 50px; background: var(--text-muted); opacity: 0.4;
  animation: scroll-anim 2s ease-in-out infinite; transform-origin: top;
}
@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.3); opacity: 0.1; }
}
.hero-counter {
  position: absolute; bottom: var(--space-md); right: var(--space-md);
  font-size: var(--text-xs); letter-spacing: 0.12em; color: var(--text-muted); opacity: 0.2; z-index: 5;
}

/* ══ EDITORIAL IMAGERY ════════════════════════════════════════════════════ */
.editorial-image {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
  margin-top: var(--space-md);
}
.editorial-image img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(85%) contrast(1.15) brightness(0.9);
  transition: filter 0.6s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  transform: scale(1.01);
}
.editorial-image:hover img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.04);
}

/* ══ S2: ABOUT ════════════════════════════════════════════════════════════ */
.section-about {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-light);
}
.about-layout {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-lg); max-width: 1200px; margin: 0 auto; align-items: start;
}
@media(min-width: 900px) {
  .about-layout { grid-template-columns: 1.2fr 1fr; }
}
.about-headline {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.01em;
  text-transform: uppercase;
}
/* "Without Judgment." — Copperplate Gothic */
.about-headline em {
  font-style: normal;
  font-family: 'Copperplate Gothic Bold', 'Copperplate Gothic', 'Copperplate', 'COPPERPLATE', 'Copperplate Gothic Light', serif;
  font-weight: 400;
  color: var(--accent-dim);
  text-transform: none;
  letter-spacing: 0.04em;
}
.about-right { padding-top: var(--space-lg); }
.about-image { max-height: 500px; aspect-ratio: 4/3; }
.about-line { margin-bottom: var(--space-md); }
.about-text {
  font-size: var(--text-base); color: var(--text); line-height: 1.8;
  margin-bottom: var(--space-sm);
}
.about-stats { display: flex; gap: var(--space-lg); margin-top: var(--space-md); }
.stat { display: flex; flex-direction: column; gap: 0.2em; }
.stat-num {
  font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 400;
  color: var(--accent);
}
.stat-label { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ══ S3: PROCESS ══════════════════════════════════════════════════════════ */
.section-process {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}
.process-pin {
  max-width: 1200px; margin: 0 auto;
}
.process-header-grid {
  display: flex; flex-direction: column; gap: var(--space-md);
}
@media(min-width: 900px) {
  .process-header-grid { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.process-heading {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; margin-top: var(--space-xs); margin-bottom: 0;
  color: var(--text);
}
.process-image { width: 100%; max-width: 300px; aspect-ratio: 4/5; margin-top: 0; }
.process-track {
  display: flex; gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.process-step {
  min-width: 0; flex: 1; position: relative;
  padding: var(--space-md) 0;
}
.step-num {
  font-family: var(--font-serif); font-size: var(--text-3xl);
  font-weight: 400; color: var(--border-light); line-height: 1;
  margin-bottom: var(--space-sm);
  transition: color 0.5s ease;
}
.process-step:hover .step-num { color: var(--accent); }
.step-line {
  width: 40px; height: 1px; background: var(--accent); margin-bottom: var(--space-sm);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease-out-expo);
}
.process-step.in-view .step-line { transform: scaleX(1); }
.step-title {
  font-family: var(--font-serif); font-size: var(--text-xl);
  font-weight: 400; margin-bottom: var(--space-xs);
}
.step-desc { font-size: var(--text-sm); color: var(--text); line-height: 1.7; max-width: 280px; }

/* ══ S4: WHY CHOOSE US ════════════════════════════════════════════════════ */
.section-why {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-light);
  max-width: 1200px; margin: 0 auto;
}
.why-heading {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; margin-top: var(--space-xs); margin-bottom: 0;
  color: var(--text);
}
.why-strip {
  display: flex; align-items: stretch; gap: 0;
  margin-top: var(--space-lg);
}
.why-item {
  flex: 1; padding: var(--space-md);
  transition: background 0.4s ease;
}
.why-item:hover { background: var(--bg-elevated); }
.why-item h3 {
  font-family: var(--font-serif); font-size: var(--text-lg);
  font-weight: 400; margin-bottom: var(--space-xs);
}
.why-item p { font-size: var(--text-sm); color: var(--text); line-height: 1.6; }
.why-divider { height: auto; align-self: stretch; }

/* ══ S5: BOOK CTA ═════════════════════════════════════════════════════════ */
.section-book-cta {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-light);
  position: relative; overflow: hidden; text-align: center;
}
.cta-noise {
  position: absolute; inset: 0; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-headline {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700; line-height: 1.05; margin-bottom: var(--space-sm);
  letter-spacing: -0.01em; text-transform: uppercase;
}
.cta-headline em { font-style: italic; color: var(--accent-dim); text-transform: none; }
.cta-sub { color: var(--text); margin-bottom: var(--space-lg); font-size: var(--text-base); }

/* ══ S6: MEETUPS LANDING ══════════════════════════════════════════════════ */
.section-meetups-landing {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-light);
}
.meetups-layout {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-lg); max-width: 1200px; margin: 0 auto; align-items: start;
}
@media(min-width: 900px) {
  .meetups-layout { grid-template-columns: 1fr 1fr; }
}
.meetups-headline {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em;
}
.meetups-headline em { font-style: italic; color: var(--accent-dim); text-transform: none; }
.meetups-right { padding-top: var(--space-lg); }
.meetups-image { max-height: 400px; aspect-ratio: 16/9; }
.meetup-point {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}
.point-marker {
  font-family: var(--font-sans); font-size: var(--text-xs);
  letter-spacing: 0.1em; color: var(--accent); font-weight: 600;
  min-width: 2em;
}
.meetup-point p { font-size: var(--text-base); color: var(--text); }
.meetups-right .btn-ghost { margin-top: var(--space-md); }

/* ══ S7: DISCLAIMER ═══════════════════════════════════════════════════════ */
.section-disclaimer-landing {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
  text-align: center;
}
.section-disclaimer-landing p {
  font-size: var(--text-xs); color: var(--text-muted);
  letter-spacing: 0.04em; max-width: 700px; margin: 0 auto;
}

/* ══ AUTH MODAL ════════════════════════════════════════════════════════════ */
.auth-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.auth-container {
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: var(--space-lg); width: 100%; max-width: 440px;
  position: relative;
}
.auth-step h2 {
  font-family: var(--font-serif); font-size: var(--text-xl);
  font-weight: 400; margin-bottom: var(--space-md);
}
.auth-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-input {
  width: 100%; padding: 0.9em 0; border: none;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-sans); font-size: var(--text-base); color: var(--text);
  background: transparent; outline: none;
  transition: border-color 0.3s ease;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.auth-switch {
  text-align: center; font-size: var(--text-sm); color: var(--text-muted);
  margin-top: var(--space-md);
}
.auth-switch a { color: var(--accent); text-decoration: underline; }

/* ══ DASHBOARD ════════════════════════════════════════════════════════════ */
.section-dashboard {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  min-height: 100vh; max-width: 1200px; margin: 0 auto;
}
.dash-disclaimer {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: 0.7em var(--space-sm);
  border: 1px solid var(--border); margin-bottom: var(--space-md);
  font-size: var(--text-xs); color: var(--text-muted);
  letter-spacing: 0.04em;
}
.dash-disclaimer p { flex: 1; }
.dismiss-btn {
  background: none; border: none; font-size: 1.2rem; color: var(--text-muted);
  cursor: pointer; opacity: 0.5; transition: opacity 0.2s;
}
.dismiss-btn:hover { opacity: 1; }
.dash-header {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
}
.dash-welcome {
  font-family: var(--font-serif); font-size: var(--text-2xl);
  font-weight: 400; line-height: 1.1; margin-top: var(--space-xs);
}
.dash-tagline { color: var(--text); font-size: var(--text-sm); margin-top: var(--space-xs); }

/* Mood Meter */
.dash-mood {
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: var(--space-md); margin-bottom: var(--space-lg);
}
.dash-mood h3 {
  font-family: var(--font-serif); font-size: var(--text-lg);
  font-weight: 400; margin-bottom: var(--space-md);
}
.mood-slider-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xs); }
.mood-anchor { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; min-width: 3em; }
.mood-slider {
  flex: 1; -webkit-appearance: none; appearance: none; height: 2px;
  background: var(--border-light); outline: none;
}
.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 20px rgba(75,88,70,0.4);
  transition: box-shadow 0.3s ease;
}
.mood-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 30px rgba(75,88,70,0.6); }
.mood-label {
  text-align: center; font-size: var(--text-xs); color: var(--text-muted);
  margin-bottom: var(--space-md); font-style: italic;
  font-family: var(--font-serif);
}
.mood-tags-label { font-size: var(--text-xs); color: var(--text-muted); margin-bottom: var(--space-xs); text-transform: uppercase; letter-spacing: 0.1em; }
.mood-tag-row, .time-row { display: flex; flex-wrap: wrap; gap: 0.4em; margin-bottom: var(--space-md); }
.mood-tag, .time-btn {
  padding: 0.5em 1.2em; border: 1px solid var(--border); background: transparent;
  font-size: var(--text-xs); cursor: pointer; transition: all 0.25s ease;
  color: var(--text-muted); font-family: var(--font-sans); letter-spacing: 0.06em;
}
.mood-tag.selected, .time-btn.selected { background: var(--text); color: var(--bg); border-color: var(--text); }
.mood-tag:hover, .time-btn:hover { border-color: var(--text); color: var(--text); }

/* Dashboard Grid */
.dash-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--space-sm);
}
.dash-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: var(--space-md); display: flex; flex-direction: column;
  transition: border-color 0.4s ease, background 0.4s ease;
  position: relative; overflow: hidden;
}
.dash-card:hover { border-color: var(--border-light); background: var(--bg-surface); }
.card-icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: var(--space-sm); }
.dash-card h3 {
  font-family: var(--font-serif); font-size: var(--text-lg);
  font-weight: 400; margin-bottom: 0.4em;
}
.dash-card p { font-size: var(--text-sm); color: var(--text); line-height: 1.5; margin-bottom: var(--space-sm); flex: 1; }
.dash-card-hero { grid-column: span 8; }
.card-glow {
  position: absolute; top: -50%; right: -30%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(75,88,70,0.15), transparent 70%);
  pointer-events: none;
}
#book-session-card { grid-column: span 4; }
#whatsapp-card { grid-column: span 4; }
#kyc-card { grid-column: span 4; }
#meetups-dash-card { grid-column: span 4; }

.kyc-status { margin-bottom: var(--space-xs); }
.kyc-badge {
  display: inline-block; padding: 0.2em 0.7em;
  font-size: var(--text-xs); letter-spacing: 0.06em; font-weight: 500;
  border: 1px solid var(--border-light); color: var(--text-muted);
}
.kyc-badge.verified { border-color: #4CAF50; color: #4CAF50; }
.kyc-badge.pending { border-color: var(--accent); color: var(--accent); }

/* ══ MODALS ═══════════════════════════════════════════════════════════════ */
.modal-overlay, .popup-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.modal-box, .popup-box {
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: var(--space-lg); width: 100%; max-width: 500px;
  position: relative;
  animation: modal-in 0.5s var(--ease-out-expo);
}

#book-modal .modal-box {
  border: 1px solid var(--border-light);
  box-shadow: 0 0 0 1px var(--border), 0 24px 60px rgba(0,0,0,0.15);
}
body.dark-mode #book-modal .modal-box {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 24px 60px rgba(0,0,0,0.6);
}
.modal-wide { max-width: 700px; }
.modal-close {
  position: absolute; top: var(--space-sm); right: var(--space-sm);
  background: none; border: none; font-size: 1.5rem; color: var(--text-muted);
  cursor: pointer; transition: color 0.2s ease;
}
.modal-close:hover { color: var(--text); }
.modal-box h2, .popup-box h2 {
  font-family: var(--font-serif); font-size: var(--text-xl);
  font-weight: 400; margin-bottom: var(--space-sm);
}
.modal-box > p, .popup-box > p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-md); }
.modal-form { display: flex; flex-direction: column; gap: var(--space-md); }
.modal-form .form-group { display: flex; flex-direction: column; gap: 0.4em; }
.modal-form label {
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.option-row { display: flex; gap: 0.4em; flex-wrap: wrap; }
.opt-btn {
  padding: 0.6em 1.4em; border: 1px solid var(--border); background: transparent;
  font-size: var(--text-xs); cursor: pointer; transition: all 0.25s ease;
  color: var(--text-muted); font-family: var(--font-sans); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.opt-btn.selected { background: var(--text); color: var(--bg); border-color: var(--text); }
.opt-btn:hover { border-color: var(--text); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Upload Zone */
.upload-zone {
  border: 1px dashed var(--border-light); padding: var(--space-md);
  text-align: center; cursor: pointer; transition: all 0.3s ease; position: relative;
}
.upload-zone:hover { border-color: var(--accent); }
.upload-zone p { font-size: var(--text-sm); color: var(--text-muted); }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-zone.has-file { border-color: var(--accent); border-style: solid; }
.kyc-notice { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-md); text-align: center; }

/* Popup Boxes */
.popup-box { text-align: center; max-width: 420px; }
.popup-marker {
  display: block; font-family: var(--font-sans); font-size: var(--text-xs);
  letter-spacing: 0.2em; color: var(--accent); margin-bottom: var(--space-sm);
  font-weight: 600;
}
.popup-dismiss {
  display: block; margin: var(--space-sm) auto 0; background: none; border: none;
  font-size: var(--text-xs); color: var(--text-muted); cursor: pointer;
  text-decoration: underline; font-family: var(--font-sans); letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ══ CRISIS POPUP ═════════════════════════════════════════════════════════ */
.crisis-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(10,10,10,0.95); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.crisis-box {
  background: var(--bg-elevated); border: 1px solid rgba(200,60,60,0.3);
  padding: var(--space-lg); width: 100%; max-width: 480px; text-align: center;
  animation: modal-in 0.5s var(--ease-out-expo);
}
.crisis-box h2 {
  font-family: var(--font-serif); font-size: var(--text-xl);
  font-weight: 400; margin-bottom: var(--space-xs); color: #E8A0A0;
}
.crisis-box > p { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-md); line-height: 1.6; }
.crisis-helplines { display: flex; flex-direction: column; gap: 0.6em; margin-bottom: var(--space-md); }
.helpline {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8em 1em; border: 1px solid rgba(200,60,60,0.15);
}
.helpline span { font-size: var(--text-sm); font-weight: 500; }
.helpline a {
  font-size: var(--text-sm); font-weight: 600; color: #E8A0A0;
  text-decoration: none; letter-spacing: 0.04em;
}
.helpline a:hover { text-decoration: underline; }
.crisis-dismiss { margin-top: var(--space-sm); }

/* ══ MEETUPS MODAL ════════════════════════════════════════════════════════ */
.meetups-list { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-md); }
.meetup-item {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-sm); border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}
.meetup-item:hover { border-color: var(--border-light); }
.meetup-date-block { text-align: center; min-width: 55px; }
.m-month { display: block; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.m-day { display: block; font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 400; line-height: 1; }
.meetup-info { flex: 1; }
.meetup-info h3 { font-family: var(--font-serif); font-size: var(--text-base); font-weight: 400; margin-bottom: 0.2em; }
.meetup-info p { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 0.2em; }
.meetup-loc { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.06em; }

/* ══ ALCOVE CHAT ══════════════════════════════════════════════════════════ */
.alcove-overlay {
  position: fixed; inset: 0; z-index: 3000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.alcove-close-btn { position: absolute; top: var(--space-md); right: var(--space-md); z-index: 10; color: var(--text); }
.alcove-container {
  width: 100%; max-width: 700px; height: 80vh;
  display: flex; flex-direction: column; border: 1px solid var(--border);
  overflow: hidden; background: var(--bg-elevated);
}
.chat-header {
  padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.chat-topic { font-family: var(--font-serif); font-size: var(--text-base); font-style: italic; color: var(--accent-dim); }
.chat-timer { font-variant-numeric: tabular-nums; font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.1em; }
.chat-messages {
  flex: 1; padding: var(--space-md); overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--space-xs);
}
.chat-msg { max-width: 80%; padding: 0.8em 1.2em; font-size: var(--text-sm); line-height: 1.5; }
.msg-system { align-self: center; color: var(--text-muted); font-size: var(--text-xs); font-style: italic; text-align: center; }
.msg-me { align-self: flex-end; background: var(--accent-dim); color: var(--bg); }
.msg-stranger { align-self: flex-start; background: var(--bg-surface); border: 1px solid var(--border); }
.chat-form { display: flex; border-top: 1px solid var(--border); }
.chat-input {
  flex: 1; border: none; padding: 1em var(--space-md); font-size: var(--text-sm);
  font-family: var(--font-sans); outline: none; background: transparent; color: var(--text);
}
.chat-input::placeholder { color: var(--text-muted); }
.chat-submit {
  padding: 0 2em; background: transparent; border: none; border-left: 1px solid var(--border);
  font-size: var(--text-base); color: var(--text-muted); cursor: pointer; transition: color 0.3s;
}
.chat-submit:hover { color: var(--accent); }

/* ══ FOOTER ═══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: var(--space-md); border-top: none; background: var(--bg);
}
.footer-line { margin-bottom: var(--space-md); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.footer-left { display: flex; align-items: baseline; gap: var(--space-md); }
.footer-tagline { font-size: var(--text-xs); color: var(--text-muted); font-style: italic; font-family: var(--font-serif); }
.footer-links-row {
  display: flex; flex-wrap: wrap; gap: var(--space-md);
}
.footer-links-row a {
  font-size: var(--text-xs); color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s;
}
.footer-links-row a:hover { color: var(--text); }
.footer-bottom p {
  font-size: var(--text-xs); color: var(--text-muted); opacity: 0.4;
  letter-spacing: 0.06em; margin-top: var(--space-sm);
}

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-layout, .meetups-layout { grid-template-columns: 1fr; }
  .why-strip { flex-direction: column; }
  .why-divider { width: 100%; height: 1px; transform-origin: left; }
  .process-track { flex-direction: column; }
  .dash-card-hero, #book-session-card, #whatsapp-card, #kyc-card, #meetups-dash-card {
    grid-column: span 12;
  }
  .meetup-item { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .section-hero .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
}

/* ══ THEME TOGGLE ═════════════════════════════════════════════════════════ */
.dash-header-actions {
  display: flex; align-items: center; gap: var(--space-sm);
}
.theme-toggle {
  width: 40px; height: 40px; border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-muted);
  cursor: pointer; transition: all 0.35s var(--ease-out-expo);
  position: relative;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-icon { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out-expo); }
.theme-toggle:hover .theme-icon { transform: rotate(30deg); }

/* Nav theme toggle */
.nav-theme-toggle {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-light);
  color: var(--text-muted); cursor: pointer;
  transition: all 0.3s ease; pointer-events: all;
}
.nav-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-theme-toggle svg { width: 16px; height: 16px; }

/* Instagram icon */
.nav-instagram {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--border-light);
  color: var(--text-muted); pointer-events: all;
  transition: all 0.3s ease; text-decoration: none;
}
.nav-instagram:hover { border-color: var(--accent); color: var(--accent); }
.nav-instagram svg { width: 16px; height: 16px; }

.footer-instagram {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: var(--text-xs); color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s;
  text-decoration: none;
}
.footer-instagram:hover { color: var(--text); }
.footer-instagram svg { width: 14px; height: 14px; }

/* ══ DARK MODE OVERRIDES ══════════════════════════════════════════════════ */
body.dark-mode .grain-overlay { opacity: 0.025; }
body.dark-mode .vogue-blob { opacity: 0.12; }

body.dark-mode .dash-card { box-shadow: none; }
body.dark-mode .dash-mood { box-shadow: none; }
body.dark-mode .mood-slider::-webkit-slider-thumb { box-shadow: 0 0 20px rgba(75,88,70,0.4); }
body.dark-mode .card-glow { background: radial-gradient(circle, rgba(75,88,70,0.15), transparent 70%); }

/* Light mode specific tweaks */
.grain-overlay { opacity: 0.012; }
.vogue-blob { opacity: 0.07; }
.dash-card { box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.dash-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.dash-mood { box-shadow: 0 1px 4px rgba(0,0,0,0.05); }

body.light-mode .mood-tag,
body.light-mode .time-btn { border-color: rgba(26,23,20,0.12); color: var(--text-muted); }
body.light-mode .mood-tag.selected,
body.light-mode .time-btn.selected { background: var(--text); color: var(--bg); border-color: var(--text); }

body.light-mode .dash-disclaimer { background: rgba(26,23,20,0.03); border-color: rgba(26,23,20,0.08); }

body.light-mode .modal-box,
body.light-mode .popup-box,
body.light-mode .auth-container { background: var(--bg-elevated); }
body.light-mode .modal-overlay,
body.light-mode .popup-overlay,
body.light-mode .auth-overlay { background: rgba(245,242,237,0.85); }

body.light-mode .form-input { border-bottom-color: rgba(26,23,20,0.12); color: var(--text); }
body.light-mode .form-input:focus { border-bottom-color: var(--accent); }

body.light-mode .chat-messages { background: var(--bg); }
body.light-mode .msg-stranger { background: var(--bg-surface); border-color: rgba(26,23,20,0.08); }
body.light-mode .msg-me { background: var(--accent); color: #fff; }

body.light-mode .btn-primary { border-color: var(--accent); color: var(--accent); }
body.light-mode .btn-primary::before { background: var(--accent); }
body.light-mode .btn-primary:hover { color: #fff; }
body.light-mode .btn-ghost { border-color: rgba(26,23,20,0.15); color: var(--text-muted); }
body.light-mode .btn-ghost:hover { border-color: var(--text); color: var(--text); }

body.light-mode .card-icon { color: var(--accent); }
body.light-mode .kyc-badge { border-color: rgba(26,23,20,0.15); color: var(--text-muted); }

body.light-mode .alcove-container { background: var(--bg-elevated); }
body.light-mode .chat-form { border-top-color: rgba(26,23,20,0.08); }
body.light-mode .chat-header { border-bottom-color: rgba(26,23,20,0.08); }
