﻿/* ================================================
   SARAATHI — Community Platform for Indians
   CSS Stylesheet
   ================================================ */

/* CSS Custom Properties */
:root {
  /* GenZ palette — vibrant, clean, high contrast */
  --saffron: #FF5C35;
  --deep-saffron: #E04420;
  --marigold: #FF9F43;
  --cream: #FAFAFA;
  --warm-white: #FFFFFF;
  --terracotta: #E84430;
  --gold: #FFD32A;
  --sage: #00C9A7;
  --dusty-rose: #FF6B8A;
  --deep-brown: #1A1A2E;
  --text-primary: #1A1A2E;
  --text-secondary: #555770;
  --text-light: #8B8DA0;
  --border: #E8E8EE;
  --card-bg: #FFFFFF;
  --glow-warm: rgba(255, 92, 53, 0.08);
  --glow-soft: rgba(255, 92, 53, 0.04);
  --shadow: rgba(0, 0, 0, 0.04);
  --shadow-md: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 92, 53, 0.08);
  --bg: #FFFFFF;
  --bg-soft: #F5F5FA;
  --text-dark: #1A1A2E;
  --text-muted: #8B8DA0;
  --border-light: #E8E8EE;
  /* GenZ accent */
  --accent-purple: #7C5CFC;
  --accent-teal: #00C9A7;
  --accent-pink: #FF6B8A;
}

/* ================================================
   FOCUS VISIBLE — keyboard accessibility
   ================================================ */
*:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}

/* ================================================
   DARK THEME
   ================================================ */
[data-theme="dark"] {
  --saffron: #E89B6B;
  --deep-saffron: #D4845A;
  --marigold: #D4944F;
  --cream: #1A1A2E;
  --warm-white: #141425;
  --terracotta: #D4705A;
  --gold: #D4A83C;
  --sage: #6B9E5A;
  --dusty-rose: #C48B80;
  --deep-brown: #E8D5C4;
  --text-primary: #E8E0D8;
  --text-secondary: #B8A090;
  --text-light: #8A7568;
  --border: #2A2540;
  --card-bg: #1E1E35;
  --shadow: rgba(0, 0, 0, 0.25);
  --shadow-md: rgba(0, 0, 0, 0.35);
  --shadow-lg: rgba(0, 0, 0, 0.45);
  --bg: #141425;
  --bg-soft: #1A1A2E;
  --text-dark: #E8E0D8;
  --text-muted: #8A7568;
  --border-light: #2A2540;
}

html, body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Poppins', 'Hind', sans-serif;
  background-color: var(--bg);
  background-image: none;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  padding-top: 68px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent iOS zoom on input focus — must be >= 16px */
input, select, textarea {
  font-size: max(1rem, 16px);
}

/* Hero live stats counter */
.hero-live-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.hls-item {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}
.hls-num {
  font-weight: 800;
  color: var(--saffron);
  font-size: 0.95rem;
}
.hls-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  opacity: 0.4;
}

/* Founder story read more */
.fsc-read-more {
  background: none;
  border: none;
  color: var(--saffron);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: 'Poppins', sans-serif;
}
.fsc-read-more:hover { text-decoration: underline; }

/* Founder story reactions — match regular story footer */
.fsc-reactions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.fsc-rxn-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}
.fsc-rxn-btn:hover, .fsc-rxn-btn.active {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.08);
}
.fsc-rxn-count { font-weight: 700; font-size: 0.82rem; color: var(--text-secondary); }

/* Founder story comments */
.fsc-comments {
  margin: 0.75rem 0 1.25rem;
}
.fsc-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  max-height: 300px;
  overflow-y: auto;
}
.fsc-comment {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
}
.fsc-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream), var(--marigold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.fsc-comment-body {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  flex: 1;
}
.fsc-comment-name { font-weight: 600; font-size: 0.78rem; color: var(--text-primary); }
.fsc-comment-text { color: var(--text-secondary); margin-top: 0.15rem; }
.fsc-comment-time { font-size: 0.7rem; color: var(--text-light); margin-top: 0.2rem; }
.fsc-comment-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.fsc-comment-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  background: var(--card-bg);
  outline: none;
}
.fsc-comment-input:focus { border-color: var(--saffron); }
.fsc-comment-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.fsc-comment-send:hover { background: var(--deep-saffron); }

/* Floating SOS button — always accessible */
.sos-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 8000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(231,76,60,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  bottom: calc(20px + env(safe-area-inset-bottom));
}
.sos-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(231,76,60,0.5); }

/* Minimum touch targets for mobile (WCAG 2.5.5) */
@media (pointer: coarse) {
  button, a, [role="button"], input[type="checkbox"] + label {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Smooth momentum scrolling on iOS */
.pp-tab-content,
.modal-box,
.story-modal,
.profile-panel {
  -webkit-overflow-scrolling: touch;
}

img { max-width: 100%; display: block; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
.devanagari {
  font-family: 'Hind', sans-serif;
  font-weight: 600;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  display: none;
  animation: fadeInUp 0.5s ease both;
}

.section.active {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   NAVIGATION
   ================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left cluster: lang icon + logo */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Right cluster: profile + hamburger + crisis */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-logo .logo-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: baseline;
}
.logo-dark {
  color: #C04810;
}
.logo-warm {
  background: linear-gradient(135deg, #FF6B35, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-i {
  position: relative;
  color: #C04810;
}
.logo-dot {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C04810;
}
.logo-dot::before,
.logo-dot::after {
  display: none;
}
.nav-logo:hover .logo-main {
  opacity: 0.85;
}

.nav-logo .logo-main .logo-en {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-left: 2px;
}

.nav-logo .logo-hindi {
  font-family: 'Hind', sans-serif;
  font-size: 0.67rem;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--saffron);
  background: rgba(255, 107, 53, 0.08);
}

.nav-links a.active {
  color: var(--saffron);
  background: rgba(255, 107, 53, 0.10);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(255,107,53,0.08);
}

.nav-crisis-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  color: var(--text-secondary) !important;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-crisis-btn:hover {
  border-color: #E74C3C;
  color: #E74C3C !important;
}
.nav-crisis-btn i { font-size: 0.85rem; }

.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron)) !important;
  color: white !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45) !important;
  background: rgba(255, 107, 53, 0.12) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger:hover { background: rgba(255, 107, 53, 0.08); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 8px 32px var(--shadow-md);
}

.nav-mobile.open { display: flex; }

.nav-mobile a,
.nav-mobile button {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-mobile a:hover,
.nav-mobile a.active,
.nav-mobile button:hover {
  color: var(--saffron);
  background: rgba(255, 107, 53, 0.08);
}

/* Hero login link as button */
.hero-login-btn {
  background: none;
  border: none;
  color: var(--saffron);
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Inter', 'Poppins', sans-serif;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--saffron);
  color: white;
  box-shadow: 0 2px 12px rgba(255, 92, 53, 0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(255, 92, 53, 0.35);
  background: var(--deep-saffron);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--saffron);
  border-color: var(--saffron);
}

.btn-secondary:hover {
  background: rgba(255, 107, 53, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.10);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
}

.btn-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.btn-sage {
  background: linear-gradient(135deg, var(--sage), #5a9048);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(255,107,53,0.03);
}

/* ================================================
   SECTION WRAPPER
   ================================================ */
.page-section {
  padding-top: 2rem;
  min-height: 100vh;
}

/* ================================================
   HOME / HERO
   ================================================ */
#home {
  padding-top: 0;
}

.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 1.5rem;
  background: linear-gradient(180deg, #FFFCF8 0%, #FFF5EC 30%, #FFEAD8 65%, #FFE0C5 100%);
}
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #FFFAF5 0%,
    #FFF4E8 30%,
    #FFEDDA 60%,
    #FFE6CC 100%
  );
  z-index: 0;
}

/* Mandala-inspired pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,107,53,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244,162,97,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,75,49,0.06) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(244,196,48,0.08) 0%, transparent 40%);
  z-index: 0;
}

/* Decorative circles */
.hero-bg::after {
  content: '';
  position: absolute;
  width: min(600px, 100vw);
  height: min(600px, 100vw);
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 53, 0.12);
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 60px rgba(255, 107, 53, 0.04),
    0 0 0 120px rgba(255, 107, 53, 0.025),
    0 0 0 180px rgba(255, 107, 53, 0.01);
}

.hero-tagline {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 auto 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  animation: fadeInUp 0.5s ease 0.05s both;
}
.hero-tagline::before,
.hero-tagline::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,107,53,0.3);
  flex-shrink: 0;
}
.hero-tagline em {
  font-style: normal;
  color: var(--saffron);
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text { max-width: 580px; }

/* Hero CTA group — button + trust left-aligned, trust under button */
.hero-cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.35s both;
}
.hero-trust-row {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.hero-trust-row i {
  color: var(--saffron);
  font-size: 0.82rem;
  vertical-align: -1px;
  margin-right: 1px;
}

/* Hero CTA — width matches trust row */
.hero-glow-btn {
  padding: 1rem 5rem !important;
  font-size: 1.05rem !important;
  animation: heroGlow 3s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(255,107,53,0.30), 0 1px 3px rgba(0,0,0,0.06); }
  50% { box-shadow: 0 8px 36px rgba(255,107,53,0.42), 0 0 24px rgba(255,107,53,0.10); }
}

@media (max-width: 768px) {
  .hero-trust-row { justify-content: center; }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.75rem;
  margin-top: -1rem;
  animation: fadeInUp 0.6s ease 0.1s both;
  letter-spacing: -0.03em;
}

.hero-headline .highlight {
  color: var(--saffron);
  position: relative;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(255,107,53,0.15);
}
.headline-highlight {
  color: var(--saffron);
  text-shadow: 0 2px 20px rgba(255,107,53,0.18);
}

/* Hero conversation — typewriter chat bubbles */
.hero-convo {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  min-height: 72px;
}
.hc-bubble {
  max-width: 320px;
  padding: 0.6rem 1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 500;
  opacity: 0;
  animation: bubbleIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.hc-seeker {
  background: rgba(0,0,0,0.04);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  font-style: italic;
}
.hc-healer {
  background: rgba(255,107,53,0.08);
  color: var(--saffron);
  border-bottom-right-radius: 4px;
  align-self: flex-start;
  font-weight: 600;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 768px) {
  .hc-bubble { font-size: 0.82rem; max-width: 260px; }
  .hero-convo { align-items: center; }
}

.hero-subtext {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.6rem;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.hp-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}
.hp-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hp-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hp-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Hero visual (right side) — REDESIGNED ── */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.3s both;
  overflow: visible;
  isolation: isolate;
}

/* Speed pill — top right */
.hv-speed-pill {
  position: absolute;
  top: 14px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #fff4ed 0%, #fff 100%);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 50px;
  padding: 0.38rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  box-shadow: 0 6px 20px rgba(255,107,53,0.12);
  z-index: 5;
  white-space: nowrap;
  animation: float-pill 3.8s ease-in-out infinite;
}
.hv-speed-pill i { font-size: 0.85rem; }

/* Match card */
.hv-match-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem 1.6rem 1.35rem;
  box-shadow: 0 28px 64px rgba(30,10,0,0.13), 0 4px 16px rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.1);
  width: 100%;
  max-width: 292px;
  position: relative;
  z-index: 3;
  transform: rotate(-1.5deg);
  animation: float-card 5s ease-in-out infinite;
}

.hmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.hmc-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.2px;
}
.hmc-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pm-pulse 1.8s ease-in-out infinite;
}
.hmc-time {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 500;
}

.hmc-peer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #faf8f5;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.hmc-peer-avatar {
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.08);
  border-radius: 12px;
  flex-shrink: 0;
}
.hmc-peer-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.hmc-peer-tag {
  font-size: 0.68rem;
  color: var(--text-light);
  line-height: 1.35;
}

.hmc-bubble {
  background: linear-gradient(135deg, #fff8f4 0%, #fff3ee 100%);
  border: 1px solid rgba(255,107,53,0.12);
  border-radius: 0 14px 14px 14px;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  position: relative;
}
.hmc-bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 12px;
  border: 4px solid transparent;
  border-bottom-color: rgba(255,107,53,0.12);
}

.hmc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, #ff6b35 0%, #e8560a 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,107,53,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}
.hmc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,0.4);
}
.hmc-cta i { font-size: 1rem; }

/* Dual ambient glow */
.hv-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hv-glow-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, rgba(255,107,53,0.06) 50%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  animation: ambient-drift 7s ease-in-out infinite;
  z-index: 0;
}
.hv-glow-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(244,162,97,0.14) 0%, transparent 70%);
  bottom: 18%; right: 8%;
  animation: ambient-drift 5s ease-in-out infinite reverse;
  z-index: 0;
}

/* Floating love particles */
.hv-particle {
  position: absolute;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: particle-float 5s ease-in-out infinite;
}
.hv-particle.p1 { top: 18%; left: 8%;  animation-delay: 0s;    animation-duration: 4.5s; font-size: 1.3rem; }
.hv-particle.p2 { top: 10%; right: 14%; animation-delay: 1.2s; animation-duration: 5.5s; }
.hv-particle.p3 { bottom: 28%; left: 5%; animation-delay: 2.1s; animation-duration: 4.8s; }
.hv-particle.p4 { top: 40%; right: 4%;  animation-delay: 0.7s; animation-duration: 6s; font-size: 0.9rem; }
.hv-particle.p5 { bottom: 14%; right: 20%; animation-delay: 3s; animation-duration: 5s; font-size: 1rem; }

@keyframes particle-float {
  0%   { opacity: 0; transform: translateY(10px) scale(0.8); }
  20%  { opacity: 1; }
  70%  { opacity: 0.7; transform: translateY(-22px) scale(1.1); }
  100% { opacity: 0; transform: translateY(-40px) scale(0.7); }
}

/* ── Pain whisper layer — floating raw thoughts ── */
.hv-whisper-layer {
  position: absolute;
  inset: -40px -60px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.hv-whisper {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  white-space: nowrap;
  opacity: 0;
  letter-spacing: 0.02em;
}

/* Main mirror card — glassmorphic, alive */
.hero-card-float {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-radius: 24px;
  padding: 1.6rem 1.7rem 1.4rem;
  box-shadow:
    0 4px 12px rgba(255,107,53,0.06),
    0 20px 60px rgba(61,26,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.95);
  max-width: 320px;
  width: 100%;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.6);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-card-float:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 8px 24px rgba(255,107,53,0.10),
    0 28px 72px rgba(61,26,0,0.12);
}

.hcf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hcf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.10), rgba(255,107,53,0.05));
  color: var(--saffron);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255,107,53,0.08);
}

.hcf-hearts-badge {
  font-size: 0.75rem;
  color: #e0604a;
  font-weight: 700;
  background: rgba(255,107,53,0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.hcf-quote {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.65;
  margin: 0 0 1.2rem;
  font-style: italic;
  border-left: 3px solid var(--saffron);
  padding-left: 0.85rem;
  transition: opacity 0.5s ease;
  min-height: 3.3rem;
}

.hcf-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.hcf-avatar-emoji {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: transform 0.3s ease;
}
.hero-card-float:hover .hcf-avatar-emoji {
  transform: scale(1.1);
}
.hcf-user {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hcf-tag-small {
  font-size: 0.72rem;
  color: var(--saffron);
  font-weight: 500;
  margin-top: 0.15rem;
  transition: opacity 0.5s ease;
}

/* Main card tag row */
.hcf-tag-row {
  margin-bottom: 0.85rem;
}

/* Secondary card — moment layout */
.hcf-moment-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.hcf-moment-emoji {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.hcf-moment-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.hcf-moment-sub {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.hcf-connect-line {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.01em;
}

/* Overlapping response card */
.hv-response-card {
  position: absolute;
  bottom: 112px;
  right: -18px;
  z-index: 4;
  background: #fff;
  border-radius: 16px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 12px 36px rgba(61,26,0,0.14), 0 2px 8px rgba(255,80,120,0.12);
  border: 1px solid rgba(255,80,120,0.18);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 195px;
  transform: rotate(2.5deg);
  animation: float-card 4s ease-in-out infinite;
}

/* Empathy nudge — warm pill, overlaps card bottom-right */
.hv-empathy-nudge {
  position: absolute;
  bottom: 40px;
  right: 10px;
  z-index: 4;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 6px 20px rgba(255,107,53,0.10), 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transform: rotate(-1deg);
  animation: float-pill 3.2s ease-in-out infinite;
  animation-delay: 0.8s;
  transition: transform 0.3s ease;
}
.hv-empathy-nudge:hover {
  transform: rotate(0deg) scale(1.05);
}
.hv-resp2-emoji {
  font-size: 1rem;
}
.hv-resp2-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: opacity 0.4s ease;
}
.hv-resp-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.hv-resp-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  font-style: italic;
  transition: opacity 0.4s ease;
}
.hv-resp-from {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  transition: opacity 0.4s ease;
}

/* Love pill — hearts count, top left */
.hv-love-pill {
  position: absolute;
  top: 55px;
  right: -10px;
  z-index: 4;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid rgba(255,80,120,0.2);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  box-shadow: 0 8px 24px rgba(255,80,120,0.12);
  white-space: nowrap;
  animation: float-pill 3.8s ease-in-out infinite;
}
.hv-love-hearts {
  font-size: 0.85rem;
  letter-spacing: -0.05em;
}
.hv-love-pill strong {
  color: #e0604a;
  font-weight: 700;
}

@keyframes float-card {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%       { transform: rotate(2deg) translateY(-6px); }
}
@keyframes float-pill {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* Warm whisper — bottom anchored, not a badge */
.hv-warm-whisper {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: whisper-breathe 4s ease-in-out infinite;
}
.hww-text {
  font-size: 0.68rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  opacity: 0.65;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
@keyframes whisper-breathe {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.8; transform: translateX(-50%) translateY(-3px); }
}

/* Live pulse — top of hero visual, properly contained */
.hv-live-pulse {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,53,0.12);
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(255,107,53,0.06);
  animation: float-pill 4.5s ease-in-out infinite;
}
.hmt-dot {
  width: 7px;
  height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
  animation: live-pulse 1.5s ease-in-out infinite;
}
#hmt-text {
  transition: opacity 0.3s ease;
}

/* Features Strip */
.features-section {
  background: linear-gradient(180deg, #FFF4E8 0%, var(--warm-white) 100%);
  padding: 5rem 0;
  border-top: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--marigold));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.2);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(244,162,97,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(135deg, var(--cream), #FFE8D6);
  padding: 5rem 0;
  border-top: none;
  border-bottom: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-md);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--saffron);
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
  font-family: 'Hind', 'Poppins', sans-serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--marigold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.testimonial-author .info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-author .info .location {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ================================================
   APNI KAHANI — STORIES
   ================================================ */

/* ── ENTRY SECTION ────────────────────────────── */
.stories-entry {
  margin-bottom: 2rem;
}
.stories-entry-q {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.stories-entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.entry-chip {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}
.entry-chip:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(255,107,53,0.06);
}
.entry-chip.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  font-weight: 600;
}
[data-theme="dark"] .entry-chip.active { color: #fff; }
.stories-entry-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Stories section background */
#stories {
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8F2 50%, #FFF4EC 100%);
}

/* ── STORIES PAGE HEADER (desktop) ────────────── */
.stories-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sph-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}
.sph-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0.25rem 0 0;
}
@media (max-width: 768px) {
  .stories-page-header { display: none; }
}

/* ── SIDEBAR HEADER ───────────────────────────── */
.stories-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.25rem;
}
.ssh-icon {
  color: var(--saffron);
  font-size: 0.9rem;
}
.ssh-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .stories-sidebar-header { display: none; }
}

/* ── SIDEBAR + FEED LAYOUT ────────────────────── */
.stories-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.stories-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 116px;
  padding: 0.5rem 0;
}
.stories-sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.stories-sidebar-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.4rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.stab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: 'Poppins', sans-serif;
}
.stab-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.stab-label {
  font-size: 0.83rem;
}
.stab:hover {
  background: rgba(255,107,53,0.05);
  color: var(--text-primary);
}
.stab.active {
  background: rgba(255,107,53,0.08);
  color: var(--saffron);
  font-weight: 700;
}
[data-theme="dark"] .stab:hover  { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .stab.active { background: rgba(255,255,255,0.07); }

/* ── FEED COLUMN ──────────────────────────────── */
.stories-feed-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  max-width: 660px;
}

/* ── FEED ─────────────────────────────────────── */
.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}
.story-card.hidden { display: none; }

@media (max-width: 768px) {
  .stories-layout { flex-direction: column; gap: 0; }
  .stories-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 0;
  }
  .stories-sidebar-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.85rem;
    scrollbar-width: none;
    padding: 0.75rem 1rem;
  }
  .stories-sidebar-tabs::-webkit-scrollbar { display: none; }
  .stories-sidebar-label { display: none; }

  /* Instagram-style circle categories */
  .stab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    flex-shrink: 0;
    width: auto;
    font-size: inherit;
    color: inherit;
  }
  .stab:hover { background: none; border: none; }
  .stab.active { background: none; color: inherit; border: none; }

  .stab-circle {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    border: 2.5px solid transparent;
    transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .stab.active .stab-circle {
    border-color: var(--saffron);
    transform: scale(1.06);
    box-shadow: 0 3px 12px rgba(255,107,53,0.12);
  }
  .stab-label {
    font-size: 0.63rem;
    font-weight: 600;
    color: #888;
    text-align: center;
  }
  .stab.active .stab-label { color: #1a1a1a; font-weight: 700; }
}

/* ── CARD ─────────────────────────────────────── */
.story-card {
  background: #fff !important;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: none;
  border-left: 3px solid transparent;
}
.story-card::before { display: none; }
.story-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 0 0 1px rgba(255,107,53,0.06);
  transform: translateY(-2px);
}
[data-theme="dark"] .story-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04);
}
[data-theme="dark"] .story-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.07);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.story-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFF2E8, #FFE0C8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,107,53,0.08);
  box-shadow: 0 2px 8px rgba(255,107,53,0.08);
}
.story-meta .username {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}
.clickable-username { cursor: pointer; transition: color 0.15s; }
.clickable-username:hover { color: var(--saffron); }
.story-meta .time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 1px;
}
.story-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 0.6rem;
  font-family: 'Hind', 'Poppins', sans-serif;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-excerpt.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.story-read-more {
  background: none;
  border: none;
  color: var(--saffron);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0;
  margin-bottom: 0.5rem;
  transition: opacity 0.15s;
}
.story-read-more:hover { opacity: 0.75; }

/* Story emotion tags */
.story-emotion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.story-etag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--saffron);
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.10);
  border-radius: 50px;
  padding: 0.18rem 0.55rem;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* Story category tag — desktop */
.story-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  background: rgba(0,0,0,0.03);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-left: auto;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.story-cat-tag i { font-size: 0.72rem; }

/* Story owner edit/delete buttons */
.story-edit-btn, .story-delete-btn {
  opacity: 0.4;
  font-size: 0.78rem !important;
  padding: 0.25rem 0.4rem !important;
  min-height: auto !important;
  min-width: auto !important;
}
.story-edit-btn:hover { opacity: 1; color: var(--saffron) !important; border-color: var(--saffron) !important; }
.story-delete-btn:hover { opacity: 1; color: #e74c3c !important; border-color: #e74c3c !important; }

/* Tone mood badge */
.story-mood {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.mood-venting  { background: linear-gradient(135deg, rgba(231,76,60,0.10), rgba(231,76,60,0.06)); color: #c0392b; border: 1px solid rgba(231,76,60,0.08); }
.mood-healing  { background: linear-gradient(135deg, rgba(39,174,96,0.10), rgba(39,174,96,0.06)); color: #1e8449; border: 1px solid rgba(39,174,96,0.08); }
.mood-hope     { background: linear-gradient(135deg, rgba(52,152,219,0.10), rgba(52,152,219,0.06)); color: #1a5276; border: 1px solid rgba(52,152,219,0.08); }
[data-theme="dark"] .mood-venting  { background: rgba(231,76,60,0.18);  color: #e74c3c; }
[data-theme="dark"] .mood-healing  { background: rgba(39,174,96,0.18);  color: #27ae60; }
[data-theme="dark"] .mood-hope     { background: rgba(52,152,219,0.18); color: #3498db; }

/* Hidden — only used for JS filtering */
.story-tags { display: none; }

/* Story footer — hearts, read more, report */
.story-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.heart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,107,53,0.04);
  border: 1px solid rgba(255,107,53,0.10);
  border-radius: 24px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.heart-btn:hover {
  border-color: rgba(231,76,60,0.25);
  color: #e74c3c;
  background: rgba(231,76,60,0.06);
  transform: scale(1.03);
}
.heart-btn.liked {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231,76,60,0.08);
}
.heart-btn .heart-count { font-weight: 600; }

/* ── SHOW MORE ────────────────────────────────── */
.stories-showmore {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.stories-showmore button {
  padding: 0.6rem 2.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.stories-showmore button:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,53,0.08); }

@media (max-width: 768px) {
  .story-card { padding: 1rem; border-radius: 10px; }
}

/* Stories invite strip */
.stories-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,107,53,0.03);
  border: 1px solid rgba(255,107,53,0.10);
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.stories-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stories-cta-hook {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}
.stories-cta-sub {
  font-size: 0.79rem;
  color: var(--text-light);
}
.stories-cta-btn {
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.stories-cta-btn:hover {
  background: var(--deep-saffron, #E8551A);
  transform: translateY(-1px);
}
[data-theme="dark"] .stories-cta-strip {
  background: linear-gradient(135deg, rgba(255,107,53,0.07), rgba(232,134,10,0.09));
  border-color: rgba(255,107,53,0.22);
}

/* Write Story Form */
/* ── Founder's Story Card ── */
.founder-story-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFF6ED 100%);
  border: 1px solid rgba(255,107,53,0.10);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(255,107,53,0.06), 0 1px 4px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.9);
}
.founder-story-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--marigold), var(--saffron), var(--terracotta));
}
.fsc-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.fsc-pin i { font-size: 0.85rem; }
.fsc-questions {
  margin-bottom: 1.75rem;
  padding-left: 0.25rem;
}
.fsc-questions p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.fsc-questions p::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--saffron);
  border-radius: 2px;
  margin-right: 0.65rem;
  vertical-align: -1px;
  opacity: 0.6;
}
.fsc-body {
  margin-bottom: 1.5rem;
}
.fsc-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.fsc-body p strong {
  color: var(--text-primary);
  font-weight: 700;
}
.fsc-highlight {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--saffron) !important;
  text-align: center;
  padding: 1.25rem 0;
  margin: 0.5rem 0 !important;
  letter-spacing: -0.01em;
}
.fsc-list-raw {
  font-style: italic;
  color: var(--text-light) !important;
  letter-spacing: 0.02em;
}
.fsc-mission {
  background: rgba(255,107,53,0.04);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.fsc-mission > p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.fsc-mission > p strong {
  color: var(--saffron);
  font-weight: 700;
}
.fsc-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fsc-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.6rem 0.85rem;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  border-left: 3px solid var(--saffron);
}
.fsc-pillar i {
  color: var(--saffron);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fsc-closing {
  text-align: center;
  background: rgba(255,107,53,0.04);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,107,53,0.08);
}
.fsc-closing p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.fsc-closing-final {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 0 !important;
}
.fsc-cta {
  text-align: center;
  margin-bottom: 1rem;
}
.fsc-sign {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-light);
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .founder-story-card { padding: 1.5rem 1.25rem; }
  .fsc-questions p { font-size: 1rem; }
}

.write-story-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  margin-bottom: 0;
  position: relative;
}
.write-story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.wsh-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.wsh-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,107,53,0.10) 0%, rgba(255,107,53,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wsh-icon-wrap i {
  font-size: 1.25rem;
  color: var(--saffron);
}
.write-story-title {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.15rem;
}
.write-story-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}
.story-textarea {
  background: rgba(0,0,0,0.02) !important;
  border: 1.5px solid rgba(0,0,0,0.06) !important;
  border-radius: 14px !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
  color: var(--text-primary) !important;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.story-textarea:focus {
  border-color: rgba(255,107,53,0.3) !important;
  box-shadow: 0 0 0 4px rgba(255,107,53,0.06) !important;
  background: #fff !important;
  outline: none;
}
.story-textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}
.write-story-footer {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.write-story-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.story-toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.story-toolbar-btn:hover {
  background: rgba(232,134,10,0.1);
  color: var(--saffron);
}
.write-story-anon-note {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-left: auto;
}
.write-story-anon-note i {
  color: var(--sage);
  font-size: 0.85rem;
}


/* ── STORY ENGAGEMENT ─────────────────────────────────────── */
.sc-reactions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
[data-theme="dark"] .sc-reactions { border-top-color: rgba(255,255,255,0.07); }
.sc-react {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.sc-react-label { display: none; }
.sc-react:hover  { color: var(--text-primary); }
.sc-react:active { transform: scale(0.88); }
.sc-react.active { color: var(--saffron); font-weight: 600; }
.sc-cmt-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.15s;
}
.sc-cmt-btn:hover, .sc-cmt-btn.active { color: var(--text-primary); }

/* Comments section */
.sc-comments {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-bottom: 0.85rem;
}
.sc-comment {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
@keyframes scFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sc-comment-new { animation: scFadeUp 0.25s ease; }
.sc-comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFF2E8, #FFE0CC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,107,53,0.08);
}
.sc-comment-body { flex: 1; min-width: 0; }
.sc-comment-user {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.15rem;
}
.sc-comment-text {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.sc-comment-input-wrap { margin-bottom: 0.7rem; }
.sc-comment-input {
  width: 100%;
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  background: rgba(0,0,0,0.02);
  resize: none;
  margin-bottom: 0.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.sc-comment-input:focus { outline: none; border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 3px rgba(255,107,53,0.06); }
.sc-comment-submit {
  float: right;
  padding: 0.35rem 0.9rem;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.sc-comment-submit:hover { background: var(--deep-saffron, #E8551A); }
.sc-add-voice-btn {
  width: 100%;
  padding: 0.4rem;
  border: 1.5px dashed rgba(255,107,53,0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  clear: both;
}
.sc-add-voice-btn:hover {
  background: rgba(255,107,53,0.05);
  border-color: var(--saffron);
}
.sc-footer { display: none; }
[data-theme="dark"] .sc-comment-input {
  background: #2d2018;
  border-color: #3a2a1c;
  color: #f5e6d3;
}

/* ── WRITE FORM TONE SELECTOR ─────────────────────────────── */
.form-label-sm {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
}
.story-tone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tone-btn {
  padding: 0.45rem 1.05rem;
  border-radius: 50px;
  border: 1.5px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.tone-btn:hover {
  border-color: rgba(255,107,53,0.2);
  color: var(--saffron);
  background: rgba(255,107,53,0.04);
}
.tone-btn.active {
  background: rgba(255,107,53,0.08);
  border-color: var(--saffron);
  color: var(--saffron);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(255,107,53,0.10);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition);
  font-family: 'Hind', 'Poppins', sans-serif;
}

.form-control:focus {
  border-color: var(--saffron);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--saffron);
  cursor: pointer;
}

.checkbox-group span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ================================================
   SAATH SAATH — SUPPORT GROUPS
   ================================================ */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.group-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.group-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--marigold));
  transform: scaleX(0);
  transition: var(--transition);
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.2);
}

.group-card:hover::after { transform: scaleX(1); }

.group-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.group-card h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.group-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.group-members {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.group-members i { color: var(--saffron); }

.join-btn {
  width: 100%;
  padding: 0.6rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.25);
}

.join-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.38);
}

.join-btn.joined {
  background: linear-gradient(135deg, var(--sage), #5a9048);
  box-shadow: 0 3px 10px rgba(127, 176, 105, 0.3);
}

/* Live Chat Mockup */
.chat-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.chat-header {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-header .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.chat-header h4 { font-size: 1rem; color: white; }
.chat-header p { font-size: 0.78rem; opacity: 0.85; }

.chat-messages {
  padding: 1.5rem;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #FAFAFA;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-message {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.chat-message.own {
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream), var(--marigold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.chat-bubble {
  max-width: 75%;
}

.chat-bubble .msg-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.chat-bubble .msg-text {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-family: 'Hind', 'Poppins', sans-serif;
}

.chat-message.own .chat-bubble .msg-text {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  border: none;
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
}

.chat-message.own .chat-bubble .msg-name { text-align: right; color: var(--saffron); }

.chat-input-area {
  padding: 1rem 1.5rem;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  background: var(--warm-white);
  color: var(--text-primary);
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--saffron);
  background: white;
  outline: none;
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,53,0.3);
  transition: var(--transition);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255,107,53,0.4);
}

/* ================================================
   DOST DHUNDO — PEER MATCHING
   ================================================ */
/* ================================================
   PEER MATCH — FULL REDESIGN
   ================================================ */

/* Peer Match — Launching Soon */
.pm-launching-soon {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.pm-ls-content {
  max-width: 500px;
}
.pm-ls-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255,107,53,0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.pm-ls-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.pm-ls-highlight {
  color: var(--saffron);
}
.pm-ls-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.pm-ls-date {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  background: rgba(255,107,53,0.06);
  border: 1.5px solid rgba(255,107,53,0.12);
  padding: 0.75rem 2rem;
  border-radius: 14px;
}

.peer-section {
  background: linear-gradient(180deg, #FFFAF5 0%, #FFF0E0 30%, #FFE4C8 60%, #FFF2E8 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* ── PM: Live connections visual ── */
.pm-connections-left,
.pm-connections-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 0;
}
.pm-connections-left { left: 0; }
.pm-connections-right { right: 0; }

.pm-conn-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--saffron);
  opacity: 0.5;
  animation: pm-dot-pulse 4s ease-in-out infinite;
}
.pm-conn-dot[data-delay="0.8"] { animation-delay: 0.8s; }
.pm-conn-dot[data-delay="1.5"] { animation-delay: 1.5s; }
.pm-conn-dot[data-delay="2"]   { animation-delay: 2s; }
.pm-conn-dot[data-delay="3"]   { animation-delay: 3s; }

@keyframes pm-dot-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 0.65; transform: scale(1.25); }
}

.pm-conn-ripple {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--saffron);
  opacity: 0;
  animation: pm-ripple 4s ease-out infinite;
}
.pm-conn-dot[data-delay="0.8"] .pm-conn-ripple { animation-delay: 0.8s; }
.pm-conn-dot[data-delay="1.5"] .pm-conn-ripple { animation-delay: 1.5s; }
.pm-conn-dot[data-delay="2"]   .pm-conn-ripple { animation-delay: 2s; }
.pm-conn-dot[data-delay="3"]   .pm-conn-ripple { animation-delay: 3s; }

@keyframes pm-ripple {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(3.5); opacity: 0; }
}

.pm-conn-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.25), transparent);
  transform-origin: left center;
}

@media (max-width: 1000px) {
  .pm-connections-left,
  .pm-connections-right { display: none; }
}

/* ── PM: Live conversation preview ── */
.pm-live-convo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  height: 200px;
  pointer-events: none;
  z-index: 0;
}
.pm-convo-pair {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.pm-convo-pair.pm-convo-active {
  opacity: 1;
}
.pm-convo-msg {
  max-width: 240px;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  font-style: italic;
  font-weight: 500;
}
.pm-convo-seeker {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  color: #666;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  animation: pm-msg-in 0.8s ease-out both;
}
.pm-convo-healer {
  background: rgba(107,158,120,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107,158,120,0.15);
  color: #4a7a58;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 4px 16px rgba(107,158,120,0.06);
  animation: pm-msg-in 0.8s ease-out 0.6s both;
}
.pm-convo-active .pm-convo-seeker { animation: pm-msg-in 0.8s ease-out both; }
.pm-convo-active .pm-convo-healer { animation: pm-msg-in 0.8s ease-out 0.6s both; }
@keyframes pm-msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
  .pm-convo-msg { max-width: 200px; font-size: 0.75rem; }
}
@media (max-width: 900px) {
  .pm-live-convo { display: none; }
}

/* ── PM: SVG Illustration ── */
.pm-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pm-illustration {
  width: min(420px, 80vw);
  height: auto;
  opacity: 0.9;
}
.pm-person-1 {
  animation: pm-person-float-1 4s ease-in-out infinite;
}
.pm-person-2 {
  animation: pm-person-float-2 4s ease-in-out infinite;
}
@keyframes pm-person-float-1 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(2px); }
}
@keyframes pm-person-float-2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(-2px); }
}

/* ── PM: Form card ── */
.pm-form-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 28px;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 4px 20px rgba(255,107,53,0.06), 0 1px 3px rgba(0,0,0,0.04);
  animation: pm-card-enter 0.8s ease-out both;
}
@keyframes pm-card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── PM: Warm page ── */
.pm-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  position: relative;
  z-index: 1;
}
.pm-page::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100vw);
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── PM: Headline ── */
.pm-headline {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.pm-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.12;
  margin-bottom: 0.85rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
}
.pm-title em {
  font-style: normal;
  color: var(--saffron);
  text-shadow: 0 2px 20px rgba(255,107,53,0.15);
}
.pm-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
  font-weight: 500;
}

/* ── PM: Sections ── */
.pm-section {
  margin-bottom: 2rem;
}
.pm-section:last-child {
  margin-bottom: 0;
}
.pm-section-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.pm-optional {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(0,0,0,0.03);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* ── PM: Feeling tiles — warm ── */
.pm-feelings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.pm-feeling-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.15rem 0.5rem !important;
  border: 2px solid #f0ebe5 !important;
  border-radius: 18px !important;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fff !important;
  user-select: none;
  line-height: 1 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.pm-feeling-tile input[type="checkbox"] { display: none; }
.pm-feeling-tile:hover {
  border-color: rgba(255,107,53,0.3) !important;
  background: #fff !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255,107,53,0.1);
}
.pm-feeling-tile.checked {
  border-color: var(--saffron) !important;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.14)) !important;
  box-shadow: 0 6px 24px rgba(255,107,53,0.15) !important;
  transform: translateY(-3px) scale(1.03);
}
.pmf-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--saffron);
  transition: transform 0.3s ease;
}
.pmf-emoji svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}
.pm-feeling-tile:hover .pmf-emoji {
  transform: scale(1.15);
}
.pm-feeling-tile:hover .pmf-emoji svg {
  filter: drop-shadow(0 2px 6px rgba(255,107,53,0.2));
}
.pm-feeling-tile.checked .pmf-emoji {
  color: #c94a00;
  transform: scale(1.1);
}
.pm-feeling-tile.checked .pmf-emoji svg {
  filter: drop-shadow(0 3px 8px rgba(255,107,53,0.25));
}
.pmf-text {
  font-size: 0.78rem;
  line-height: 1.2;
  color: #444;
  font-weight: 700;
}
.pm-feeling-tile.checked .pmf-text { color: #c94a00; font-weight: 800; }

/* ── PM: Simple 4-tile layout (matches home page) ── */
.pm-simple-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 1rem !important;
  max-width: 100%;
  margin: 0 auto;
}
.pm-simple-grid .pm-feeling-tile {
  border: none !important;
  border-radius: 22px !important;
  padding: 1.5rem 1rem !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pm-simple-grid .pm-feeling-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pm-simple-grid .pm-feeling-tile:hover::after { opacity: 1; }
.pm-simple-grid .pm-feeling-tile:active { transform: scale(0.94); }
.pm-simple-grid .pm-feeling-tile.checked {
  box-shadow: 0 6px 20px rgba(232,134,10,0.12) !important;
  transform: scale(1.03);
}
.pm-simple-grid .pm-feeling-tile.checked::after { opacity: 1; }
.pm-simple-grid .pmf-emoji {
  width: auto !important; height: auto !important;
  font-size: 2.4rem;
}
.pm-simple-grid .pmf-emoji svg { display: none; }
.pm-simple-grid .pmf-text { font-size: 0.9rem; font-weight: 700; }

/* Color variants for simple tiles */
.pm-tile-rose { background: linear-gradient(145deg, #FFF0F2, #FFE0E6) !important; color: #A83248 !important; }
.pm-tile-blue { background: linear-gradient(145deg, #F0F4FF, #E0EAFF) !important; color: #3060A0 !important; }
.pm-tile-purple { background: linear-gradient(145deg, #F2F0FF, #E6E0FF) !important; color: #5C40A0 !important; }
.pm-tile-warm { background: linear-gradient(145deg, #FFF6ED, #FFEDDA) !important; color: #A06020 !important; }
.pm-tile-rose.checked { background: linear-gradient(145deg, #FFE0E6, #FFD0DA) !important; box-shadow: 0 4px 16px rgba(168,50,72,0.10) !important; }
.pm-tile-blue.checked { background: linear-gradient(145deg, #E0EAFF, #D0DEFF) !important; box-shadow: 0 4px 16px rgba(48,96,160,0.10) !important; }
.pm-tile-purple.checked { background: linear-gradient(145deg, #E6E0FF, #DAD0FF) !important; box-shadow: 0 4px 16px rgba(92,64,160,0.10) !important; }
.pm-tile-warm.checked { background: linear-gradient(145deg, #FFEDDA, #FFE4C8) !important; box-shadow: 0 4px 16px rgba(160,96,32,0.10) !important; }

/* ── PM: Reassurance message ── */
.pm-reassure {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border-radius: 16px;
  background: rgba(107,158,120,0.06);
  border: 1px solid rgba(107,158,120,0.10);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 0;
  line-height: 1.5;
}
.pm-reassure.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pm-share-nudge {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  color: var(--saffron);
  opacity: 0.7;
  line-height: 1.4;
}

/* ── PM: Textarea — warm ── */
.pm-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #faf8f5;
  border: 2px solid #f0ebe5;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-primary);
  resize: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  font-family: inherit;
}
.pm-textarea:focus {
  outline: none;
  border-color: rgba(255,107,53,0.35);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.06);
  background: #fff;
}
.pm-textarea::placeholder { color: #bbb; }

/* ── PM: Connect tiles — warm ── */
.pm-connect-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.pm-connect-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem !important;
  border: 2px solid #f0ebe5 !important;
  border-radius: 18px !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  background: #fff !important;
  position: relative;
}
.pm-connect-tile input { display: none; }
.pm-connect-tile:hover {
  border-color: rgba(255,107,53,0.35) !important;
  background: rgba(255,107,53,0.03) !important;
  transform: translateY(-2px);
}
.pm-connect-tile.selected {
  border-color: var(--saffron) !important;
  background: rgba(255,107,53,0.05) !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.08), 0 4px 18px rgba(255,107,53,0.10) !important;
  transform: translateY(-3px) scale(1.02);
}
.pm-connect-tile.selected::after {
  content: '✓';
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  font-size: 0.7rem;
  color: #fff;
  font-weight: 700;
  background: var(--saffron);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255,107,53,0.3);
}
.pmc-icon {
  font-size: 1.9rem;
  margin-bottom: 0.45rem;
  display: block;
  line-height: 1;
}
.pmc-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  margin-bottom: 0.2rem;
}
.pm-connect-tile.selected .pmc-label { color: var(--saffron); }

/* ── PM: Assurance bar ── */
.pm-assurance {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.pm-assurance span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
}
.pm-assurance i {
  font-size: 0.82rem;
  color: var(--saffron);
  opacity: 0.7;
}

/* ── PM: CTA section ── */
.pm-cta-section {
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

/* ── PM: Find button ── */
.pm-find-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.3rem 2rem;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #FF7040 0%, #E8551A 50%, #D04510 100%);
  color: #fff;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 36px rgba(255,107,53,0.35), 0 2px 6px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.2) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.18s;
  position: relative;
  overflow: hidden;
}
.pm-find-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.pm-find-btn {
  animation: pm-btn-glow 3s ease-in-out infinite;
}
@keyframes pm-btn-glow {
  0%, 100% { box-shadow: 0 8px 36px rgba(255,107,53,0.35), 0 2px 6px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.2) inset; }
  50% { box-shadow: 0 10px 48px rgba(255,107,53,0.45), 0 0 24px rgba(255,107,53,0.12), 0 1px 0 rgba(255,255,255,0.2) inset; }
}
.pm-find-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.5);
  animation: none;
}
.pm-find-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.pm-find-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pm-find-btn > i { font-size: 1.5rem; flex-shrink: 0; }
.pmfb-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.1rem;
}
.pmfb-main {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}
.pmfb-sub {
  font-size: 0.75rem;
  opacity: 0.8;
  line-height: 1.3;
  font-weight: 400;
}

/* ── PM: Mobile ── */
@media (max-width: 640px) {
  .pm-page { padding: 2.5rem 1rem 3.5rem; max-width: 100%; }
  .pm-form-card { padding: 1.5rem 1.25rem; border-radius: 22px; }
  .pm-feelings-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-illustration { width: 90vw; max-width: 380px; }
  .pm-connect-row { gap: 0.5rem; }
  .pm-assurance { gap: 0.75rem; flex-wrap: wrap; }
  .pm-assurance span { font-size: 0.65rem; }
  .pm-title { font-size: 1.5rem; }
  .pm-sub { font-size: 0.82rem; }
}

/* ── PM: Legacy cleanup (unused) ── */
.pm-sidebar { display: none; }
.pm-flow-card {
  display: none;
}
.pm-flow-num {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), #c94a00);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-flow-visual {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.pm-flow-label {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.15rem;
}
.pm-flow-desc {
  font-size: 0.75rem;
  color: #888;
}
.pm-flow-connector {
  text-align: center;
  color: rgba(255,107,53,0.3);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.25rem 0;
}

/* ── PM: Trust badges ── */
.pm-trust-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: center;
}
.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
}
.pm-badge i {
  font-size: 0.82rem;
  color: var(--saffron);
}

/* ── PM + About: Tablet/Mobile ── */
@media (max-width: 768px) {
  .au-cycle-visual { flex-direction: column; gap: 0.75rem; }
  .au-cycle-arrow { transform: rotate(90deg); font-size: 1rem; }
  .pm-layout { flex-direction: column; }
  .pm-sidebar { order: -1; }
  .pm-sidebar { display: none; }
  .pm-hero { padding: 2.5rem 1.25rem 2rem; }
  .pm-trust-bar { gap: 0.75rem; flex-wrap: wrap; }
  .pm-trust-item { font-size: 0.68rem; }
  .pm-feelings-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-connect-row { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .pm-connect-tile { padding: 0.85rem 0.5rem !important; }
  .pm-step-block { padding: 1rem 1.25rem 0; }
  .pm-cta-block { padding: 1.25rem; }
  .pm-find-btn { width: 100%; }
  .pm-lock-line { padding: 0; margin-top: 0.75rem; }
  .pm-card-header { padding: 1rem 1.25rem 0; }
}

/* Hero */
.peer-hero {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}
.peer-hero-badge {
  display: inline-block;
  background: rgba(232,134,10,0.1);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.peer-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.85rem;
  font-family: 'Poppins', sans-serif;
}
.peer-hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* How it works strip */
.peer-how {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 3rem;
  background: white;
  border: 1px solid rgba(232,134,10,0.15);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 24px rgba(232,134,10,0.07);
}
.phow-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  padding: 0 0.75rem;
}
.phow-item:first-child { padding-left: 0; }
.phow-item:last-child  { padding-right: 0; }
.phow-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,134,10,0.08);
  border-radius: 12px;
}
.phow-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.phow-text {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}
.phow-arrow {
  color: #ddd;
  font-size: 1.1rem;
  flex-shrink: 0;
  padding: 0 0.25rem;
}
@media (max-width: 640px) {
  .peer-how {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
  .phow-item { padding: 0; }
  .phow-arrow { transform: rotate(90deg); }
}

/* Form wrapper */
.peer-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(232,134,10,0.12);
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Step Progress — inside form wrap */
.step-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 2rem 0;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #bbb;
  background: white;
  transition: var(--transition);
}

.step-circle.active {
  border-color: var(--saffron);
  background: var(--saffron);
  color: white;
  box-shadow: 0 0 0 5px rgba(255,107,53,0.15);
}

.step-circle.done {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
}

.step-label {
  font-size: 0.68rem;
  color: #bbb;
  font-weight: 500;
  text-align: center;
  max-width: 76px;
  line-height: 1.3;
  transition: color 0.2s;
}

.step-indicator:has(.step-circle.active) .step-label,
.step-indicator:has(.step-circle.done) .step-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.step-connector {
  width: 56px;
  height: 2px;
  background: #e5e5e5;
  margin-top: 21px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.step-connector.done { background: var(--sage); }

.step-card {
  display: none;
  background: white;
  padding: 2rem 2.25rem 2.25rem;
  animation: fadeInUp 0.3s ease both;
}

.step-card.active { display: block; }

.step-card-header { margin-bottom: 1.75rem; }

.step-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--saffron);
  background: rgba(255,107,53,0.09);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.step-card .step-hint {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.struggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.struggle-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  background: white;
  user-select: none;
  white-space: nowrap;
}

.struggle-item input[type="checkbox"] { display: none; }

.struggle-item:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(255,107,53,0.04);
}

.struggle-item.checked {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.1);
  color: var(--saffron);
  font-weight: 600;
}

.prefer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.prefer-card {
  text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  background: white;
  position: relative;
}

.prefer-card .pref-icon {
  font-size: 2.1rem;
  margin-bottom: 0.55rem;
  display: block;
  transition: transform 0.2s;
}

.prefer-card .pref-label {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.prefer-card input { display: none; }

.prefer-card.selected {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.05);
  box-shadow: 0 4px 18px rgba(255,107,53,0.13);
  transform: translateY(-2px);
}

.prefer-card.selected::after {
  content: '✓';
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  font-size: 0.75rem;
  color: var(--saffron);
  font-weight: 700;
}

.prefer-card.selected .pref-icon { transform: scale(1.1); }
.prefer-card.selected .pref-label { color: var(--saffron); }

.prefer-card .pref-desc {
  display: block;
  font-size: 0.71rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.prefer-card.selected .pref-desc { color: var(--saffron); opacity: 0.75; }

/* Pain description box */
.pain-describe-box {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
  border-top: 1px dashed var(--border);
  padding-top: 1.25rem;
}
.pain-describe-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.pain-describe-label span {
  font-weight: 400;
  color: var(--text-light);
}
.pain-textarea {
  resize: none;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 12px !important;
}
.pain-char-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}

/* Language chips & form row */
.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.lang-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
}
.lang-chip input { display: none; }
.lang-chip:hover { border-color: var(--saffron); color: var(--saffron); }
.lang-chip:has(input:checked) {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.07);
  color: var(--saffron);
  font-weight: 600;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .form-row-2 { grid-template-columns: 1fr; } }

@media (max-width: 480px) { .prefer-grid { grid-template-columns: 1fr; } }

.step-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.step-nav .btn-primary { flex: 1; justify-content: center; }
.step-nav .btn-ghost { flex-shrink: 0; }

/* Form label */
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.form-label-opt {
  font-weight: 400;
  color: var(--text-light);
}

/* Match Card — redesigned */
.match-card {
  display: none;
  max-width: 600px;
  margin: 2rem auto 0;
  animation: fadeInUp 0.5s ease both;
}

.match-card.active { display: block; }

.match-found-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(135deg, #FFF7F0, #FFE8D6);
  border: 1px solid rgba(232,134,10,0.2);
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
}
.match-found-glow {
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,134,10,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.match-found-badge {
  display: inline-block;
  background: rgba(232,134,10,0.12);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.match-found-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  font-family: 'Poppins', sans-serif;
}
.match-found-header p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* Peer profile card */
.peer-profile-card {
  background: white;
  border: 1px solid rgba(232,134,10,0.15);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 1.75rem 2rem;
}
.ppc-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ppc-avatar {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  background: rgba(232,134,10,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ppc-info { flex: 1; min-width: 0; }
.ppc-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.ppc-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.ppc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ptag {
  font-size: 0.72rem;
  background: rgba(232,134,10,0.08);
  color: var(--saffron);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  font-weight: 600;
}
.ppc-quote {
  background: #FAFAF8;
  border-left: 3px solid var(--saffron);
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.ppc-why {
  background: rgba(107,158,120,0.07);
  border: 1px solid rgba(107,158,120,0.2);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}
.ppc-why-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ppc-why ul {
  margin: 0;
  padding-left: 1.1rem;
}
.ppc-why ul li {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}
.ppc-why ul li:last-child { margin-bottom: 0; }

.match-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 2rem 2rem;
  background: white;
  border: 1px solid rgba(232,134,10,0.15);
  border-top: none;
  border-radius: 0 0 20px 20px;
  margin-top: -1px;
}
.match-actions .btn { flex: 1; justify-content: center; }

.match-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.match-card h3 {
  font-size: 1.8rem;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.match-card .match-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ── AI Match How-It-Works strip ─────────────────────────── */
.ai-match-how {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  background: white;
  border: 1px solid rgba(232,134,10,0.18);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 24px rgba(232,134,10,0.07);
}
.amh-step {
  flex: 1;
  text-align: center;
  padding: 0 0.75rem;
}
.amh-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.amh-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron);
  margin-bottom: 0.25rem;
}
.amh-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.amh-arrow {
  color: #ddd;
  font-size: 1.2rem;
  flex-shrink: 0;
  padding: 0 0.25rem;
}
@media (max-width: 560px) {
  .ai-match-how { flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .amh-arrow { transform: rotate(90deg); }
}

/* ── Simple peer form ─────────────────────────────────────── */
.peer-simple-form {
  max-width: 640px;
  margin: 0 auto 2rem;
}
.psf-card {
  background: white;
  border: 1px solid rgba(232,134,10,0.15);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 8px 40px rgba(232,134,10,0.09);
}
@media (max-width: 560px) { .psf-card { padding: 1.5rem 1.25rem; border-radius: 16px; } }
.psf-block {
  margin-bottom: 2rem;
}
.psf-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}
.psf-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0 0 1rem;
}
.psf-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 0.3rem;
}
.psf-textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
}
.psf-comfort {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.peer-find-btn {
  width: 100%;
  justify-content: center;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: 0.2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.peer-find-sub {
  font-size: 0.72rem;
  opacity: 0.75;
  font-weight: 400;
}

/* ── Searching / AI thinking state ──────────────────────── */
.peer-searching-state {
  max-width: 480px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 3.5rem 2rem;
  background: transparent;
  animation: pss-fade-in 0.5s ease both;
}
@keyframes pss-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.peer-section .peer-searching-state,
.peer-section .peer-results {
  background: transparent;
  padding: 3.5rem 1.5rem;
}
.pss-orb {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 2rem;
}
.pss-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--saffron);
  border-right-color: rgba(232,134,10,0.3);
  animation: spin 1.2s linear infinite;
}
.pss-orb::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(244,162,97,0.25);
  border-left-color: rgba(244,162,97,0.15);
  animation: spin 2.4s linear infinite reverse;
}
.pss-orb::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  animation: pss-glow 2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pss-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.pss-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 1;
  animation: pss-emoji-pulse 2s ease-in-out infinite;
}
@keyframes pss-emoji-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.pss-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.pss-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0 0 2rem;
}
.pss-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  max-width: 340px;
  margin: 0 auto;
}
.pss-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.4;
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
  transform: translateX(-4px);
}
.pss-step.pss-done {
  opacity: 1;
  color: var(--sage);
  transform: translateX(0);
}
.pss-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
  transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.pss-step.pss-done .pss-dot {
  background: var(--sage);
  box-shadow: 0 0 8px rgba(127,176,105,0.35);
  transform: scale(1.15);
}

/* ── Peer results ────────────────────────────────────────── */
.peer-results {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* ── Results hero ── */
.pr-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.pr-hero-icon {
  margin-bottom: 1rem;
}
.pr-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.6rem;
  font-family: 'Poppins', sans-serif;
}
.pr-hero-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

.peer-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ── Individual healer card — horizontal ── */
.peer-result-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,107,53,0.08);
  border-radius: 22px;
  padding: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: pointer;
}
.peer-result-card:hover {
  border-color: rgba(232,134,10,0.4);
  box-shadow: 0 8px 32px rgba(232,134,10,0.12);
  transform: translateY(-2px);
}
.peer-result-card.prc-selected {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(232,134,10,0.12), 0 8px 32px rgba(232,134,10,0.15);
}
/* Match ring */
.prc-match-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107,158,120,0.12), rgba(107,158,120,0.06));
  border: 2.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prc-match-ring span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sage);
}
.prc-body {
  flex: 1;
  min-width: 0;
}
.prc-avatar {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 0.15rem;
}
.prc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.prc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}
.prc-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 0.3rem;
}
.prc-reason-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 500;
}
.prc-reason-line i {
  font-size: 0.82rem;
  flex-shrink: 0;
}
.prc-connect-btn {
  flex-shrink: 0;
  border-radius: 12px;
  white-space: nowrap;
  align-self: center;
}
@media (max-width: 640px) {
  .peer-result-card { flex-direction: column; align-items: stretch; text-align: center; }
  .prc-match-ring { margin: 0 auto; }
  .prc-body { text-align: center; }
  .prc-tags { justify-content: center; }
  .prc-connect-btn { width: 100%; justify-content: center; }
}

.pr-footer {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.peer-profile {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  border: 1px solid var(--border);
}

.peer-profile-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.peer-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--marigold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.peer-info .peer-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.peer-info .peer-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

.peer-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-family: 'Hind', 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.peer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ================================================
   RESOURCES — SAHAYATA
   ================================================ */
.resources-section {
  background: var(--warm-white);
}

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.helpline-card {
  background: linear-gradient(135deg, #FFF5F5, #FFE8E8);
  border: 1.5px solid rgba(200, 75, 49, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.helpline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #E74C3C, var(--terracotta));
}

.helpline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(200, 75, 49, 0.15);
}

.helpline-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 75, 49, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.helpline-info h4 {
  font-size: 0.95rem;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.helpline-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.helpline-timing {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Resources Categories */
.resource-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.resource-cat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.resource-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px var(--shadow-md);
  border-color: rgba(255,107,53,0.2);
}

.resource-cat .rc-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.resource-cat h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.resource-cat p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Affordable Therapy Section */
.affordable-section {
  background: linear-gradient(135deg, #EDE7F6, #F3E5F5);
  border: 1px solid rgba(123, 31, 162, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.affordable-section h3 {
  color: #6A1B9A;
  margin-bottom: 0.5rem;
}

.affordable-section .affordable-sub {
  color: #7B1FA2;
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
  opacity: 0.8;
}

.affordable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.affordable-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid rgba(123, 31, 162, 0.1);
}

.affordable-item h4 {
  font-size: 0.9rem;
  color: #6A1B9A;
  margin-bottom: 0.35rem;
}

.affordable-item p {
  font-size: 0.8rem;
  color: #7B1FA2;
  opacity: 0.8;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: linear-gradient(175deg, #3D1A00 0%, #2A1000 60%, #1A0800 100%);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.3), transparent);
}
#plans.active ~ .footer { display: none; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text {
  font-family: 'Hind', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 0.1rem;
}

.footer-brand .tagline {
  font-family: 'Hind', sans-serif;
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
}

.footer-col h4.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--marigold);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--saffron); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .made-with {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-disclaimer {
  width: 100%;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--saffron);
  margin-top: 1rem;
  font-family: 'Hind', sans-serif;
}

/* ================================================
   SUCCESS TOAST
   ================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 44px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  border: 1px solid var(--border);
}

.toast.show { transform: translateX(0); }

.toast .toast-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.toast .toast-msg {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ================================================
   SECTION PADDING
   ================================================ */
.section-pad {
  padding: 6rem 0;
}

.section-pad-sm {
  padding: 4rem 0;
}

/* ================================================
   MISC
   ================================================ */
.text-saffron { color: var(--saffron); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--marigold), var(--saffron), var(--terracotta));
  border-radius: 2px;
  margin: 0.75rem auto 0;
  opacity: 0.7;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .groups-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-categories { grid-template-columns: repeat(2, 1fr); }
  .affordable-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile base — grid collapses, nav switches to hamburger */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-crisis-btn { display: none; }
  .nav-login-btn { display: none !important; }
  .nav-search-btn { display: none; }
  .hamburger { display: flex; }
  .nav-left { gap: 0.5rem; }
  .nav-right { gap: 0.4rem; }
  .profile-panel { width: 100vw; max-width: 100vw; }
  .hero-cta .btn, .modal-box .btn.btn-block { width: 100%; justify-content: center; }
  .btn.btn-sm { width: auto; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1rem 1rem 2rem;
  }

  .hero-cta { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .groups-grid { grid-template-columns: repeat(2, 1fr); }
  .helpline-grid { grid-template-columns: 1fr; }
  .resource-categories { grid-template-columns: repeat(2, 1fr); }
  .affordable-grid { grid-template-columns: 1fr; }
  .prefer-grid { grid-template-columns: 1fr; }
  .struggle-grid { grid-template-columns: 1fr; }

  .step-card { padding: 1rem; }
  .peer-form-wrap { border-radius: 16px; margin: 0 0.5rem; }
  .match-found-header { padding: 1.5rem 1rem 1rem; }
}

@media (max-width: 480px) {
  .groups-grid { grid-template-columns: 1fr 1fr; }
  .resource-categories { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-proof { gap: 0.4rem 0.6rem; }
  .step-progress { gap: 0; }
  .step-connector { width: 30px; }
}

/* ================================================
   MOBILE — Instagram-style feed-first design
   ================================================ */
@media (max-width: 768px) {
  /* ── Reset & overflow safety ── */
  html, body { overflow-x: hidden; max-width: 100vw; background: #fff; }
  *, *::before, *::after { max-width: 100%; box-sizing: border-box; }
  img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
  h1, h2, h3, h4, p, span, div { word-break: break-word; overflow-wrap: break-word; }
  .hv-speed-pill, .hv-anon-pill, .hv-whisper { display: none; }

  /* ── Top nav — 50px, clean ── */
  .nav-inner { height: 50px; padding: 0 1rem; }
  body { padding-top: 50px !important; }
  .nav-mobile { top: 50px; }
  #main-nav { border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: none; background: rgba(255,255,255,0.97); }
  .logo-main { font-size: 1.15rem; letter-spacing: -0.01em; }
  .logo-dot { width: 5px; height: 5px; top: 1px; }
  .logo-diya { width: 28px; height: 28px; }
  .hamburger { width: 38px; height: 38px; padding: 0; }

  /* ── Layout ── */
  .container { padding: 0 0.85rem; }
  .section-pad { padding: 0.5rem 0; }
  .page-section > .container { padding: 0 0.85rem; }

  /* ── Desktop hero elements hidden on mobile ── */
  .wall-float, .hero, #particle-canvas, .hero-ambient-1, .hero-ambient-2,
  .feel-section, .peer-live-section, .hook-section, .scroll-hint { display: none !important; }

  /* ================================================
     MOBILE HOME — clean, minimal, user-centered
     ================================================ */
  .mobile-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 50px - 56px);
    padding: 1.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #FFFDF9 0%, #FFF6ED 50%, #FFEDD8 100%);
    overflow-y: auto;
  }

  /* Hide all unused mobile home elements */
  .mh-bg, .mh-bubbles, .mh-avatar-ring, .mh-orbit, .mh-you-avatar,
  .mh-peers-row, .mh-peer-card, .mh-or, .mh-live, .mh-sub,
  .mh-btn-secondary { display: none !important; }

  /* Center block */
  .mh-center { width: 100%; }

  .mh-greeting { display: none; }
  .mh-headline {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.12;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
  }

  /* 4 emotion tiles — 2x2, large emoji, gradient bg */
  .mh-feelings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .mh-feel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.4rem 0.5rem;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
  }
  .mh-feel-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 60%);
    pointer-events: none;
  }
  .mh-feel-btn:active {
    transform: scale(0.93);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }
  .mh-feel-emoji { font-size: 2.3rem; line-height: 1; position: relative; z-index: 1; }
  .mh-feel-label { font-size: 0.82rem; font-weight: 700; letter-spacing: -0.01em; position: relative; z-index: 1; }

  .mh-feel-rose   { background: linear-gradient(145deg, #FFE5EA, #FFC8D6); color: #A82840; }
  .mh-feel-blue   { background: linear-gradient(145deg, #E5EDFF, #C8DAFF); color: #2855A0; }
  .mh-feel-purple { background: linear-gradient(145deg, #EDE5FF, #D6C8FF); color: #5038A0; }
  .mh-feel-warm   { background: linear-gradient(145deg, #FFF0DD, #FFE0B8); color: #A05818; }

  /* Single CTA */
  .mh-actions {
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 300px;
  }
  .mh-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 1.05rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #E8551A 100%);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 28px rgba(255,107,53,0.32), 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    overflow: hidden;
  }
  .mh-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    pointer-events: none;
  }
  .mh-btn-primary:active { transform: scale(0.97); box-shadow: 0 3px 12px rgba(255,107,53,0.25); }
  .mh-btn-primary i { font-size: 1.2rem; }

  /* Trust — minimal */
  .mh-trust {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
  }
  .mh-trust span {
    display: flex; align-items: center; gap: 0.3rem;
    font-size: 0.68rem; color: #b0a090; font-weight: 600;
  }
  .mh-trust i { font-size: 0.78rem; color: var(--saffron); opacity: 0.6; }

  /* ── Typography ── */
  h2 { font-size: 1.2rem; margin-bottom: 0.5rem; line-height: 1.3; }
  h3 { font-size: 1.05rem; }

  /* ── STORIES FEED ── */
  #stories .container { padding: 0 0; }
  #stories .section-pad { padding: 0; }
  .stories-layout { gap: 0; }

  /* Category circles */
  .stories-sidebar { margin-bottom: 0; padding: 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.04); }

  /* ── Feed welcome — hidden (CTA is on home page now) ── */
  .feed-welcome, .feed-connect-cta, .fw-avatars, .fw-online-text { display: none !important; }

  /* ── Story cards — warm, elevated, category-coded ── */
  .stories-grid { gap: 0.75rem; padding: 0.5rem 0.85rem; }
  .story-card {
    border-radius: 22px;
    padding: 1.1rem 1.15rem 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
    border: none;
    transition: transform 0.15s ease;
    background: #fff;
  }
  .story-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.04); transform: none; }
  .story-card:active { transform: scale(0.985); }

  /* Category tag */
  .story-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-light);
    background: rgba(255,255,255,0.6);
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .story-cat-tag i { font-size: 0.68rem; }

  /* Header */
  .story-header { margin-bottom: 0.6rem; gap: 0.65rem; }
  .story-avatar {
    width: 40px; height: 40px;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #FFF1E6, #FFE0CC);
    border: 2px solid rgba(232,134,10,0.1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }
  .story-meta .username { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
  .story-meta .time { font-size: 0.68rem; color: #b0a090; }

  /* Content */
  .story-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
  }
  .story-read-more {
    font-size: 0.8rem;
    color: var(--saffron);
    font-weight: 600;
    margin-top: 0.15rem;
  }

  /* Footer: reactions */
  .story-footer { padding-top: 0.5rem; border-top: none; margin-top: auto; }
  .reaction-wrap { gap: 0.4rem; }
  .react-trigger {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 20px;
    border: 1px solid #EEE;
  }
  .trigger-label { font-size: 0.7rem; }
  .trigger-emoji { font-size: 0.9rem; }
  .rxn-chip { font-size: 0.72rem; padding: 0.15rem 0.42rem; border-radius: 12px; }
  .story-footer .btn-ghost { font-size: 0.72rem; padding: 0.2rem 0.35rem; opacity: 0.3; }

  /* Story images — full bleed */
  .story-carousel { margin: 0.5rem -1.1rem; }

  /* ── Founder story — hidden on mobile stories feed ── */
  .founder-story-card { display: none !important; }

  /* ── Write story — elevated compose area ── */
  .write-story-form {
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    background: #fff;
    margin: 0 0.85rem 0.5rem;
  }
  .write-story-header { margin-bottom: 0.35rem; }
  .wsh-icon-wrap { display: none; }
  .write-story-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); }
  .write-story-hint { font-size: 0.75rem; color: #b0a090; }
  .story-textarea {
    font-size: 0.88rem;
    min-height: 56px;
    border-radius: 14px;
    border: 1.5px solid #F0EBE5;
    padding: 0.7rem 0.9rem;
    background: #FAFAF8;
    resize: none;
  }
  .story-textarea:focus { background: #fff; border-color: var(--saffron); }
  .story-tone-row { gap: 0.3rem; margin-bottom: 0.3rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .story-tone-row::-webkit-scrollbar { display: none; }
  .tone-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 20px;
    border: 1px solid #F0EBE5;
    background: #FAFAF8;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tone-btn.active { background: #FFF3EB; border-color: var(--saffron); color: var(--saffron); }
  .write-story-toolbar { padding: 0.25rem 0; border-top: none; }
  .write-story-footer .btn { border-radius: 50px; font-size: 0.88rem; padding: 0.65rem; }

  /* ── Peer match page ── */
  #peer .container { padding: 0 1rem; }
  .peer-hero {
    margin-bottom: 0.75rem;
    padding: 1rem 0.25rem 0.5rem;
    text-align: center;
  }
  .peer-hero-title { font-size: 1.25rem; line-height: 1.25; margin-bottom: 0.35rem; color: var(--text-primary); }
  .peer-hero-sub { font-size: 0.8rem; line-height: 1.5; color: #999; max-width: 260px; margin: 0 auto; }
  .peer-hero-badge { font-size: 0.68rem; margin-bottom: 0.4rem; padding: 0.2rem 0.6rem; border-radius: 12px; }
  .peer-hero .pm-illustration { display: none; }
  .pm-visual { display: none; }
  .pm-connections-left, .pm-connections-right { display: none; }

  .peer-form-wrap { border-radius: 20px; margin: 0; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  .pm-form-card { border-radius: 20px; padding: 1rem; border: 1px solid rgba(0,0,0,0.03); }
  .pm-card-header { padding: 0.4rem 0 0; }
  .pm-card-header h3 { font-size: 0.9rem; padding: 0; }
  .pm-section { margin-bottom: 0.5rem; }
  .pm-section-label { font-size: 0.82rem; margin-bottom: 0.5rem; }
  .pm-step-block { padding: 0.5rem 0 0; }
  .pm-cta-block { padding: 0.5rem 0; }
  .pm-textarea { font-size: 0.85rem; min-height: 48px; border-radius: 14px; padding: 0.6rem 0.8rem; }

  .peer-profile-card { padding: 1rem; border-radius: 20px; margin: 0; box-shadow: 0 3px 16px rgba(0,0,0,0.05); }
  .match-actions { padding: 0.75rem; flex-direction: column; gap: 0.5rem; }
  .match-found-header { padding: 1rem; border-radius: 20px 20px 0 0; }

  /* Feeling tiles — use simple grid on mobile */
  .pm-simple-grid {
    gap: 0.75rem !important;
    max-width: 100%;
  }
  .pm-simple-grid .pm-feeling-tile {
    padding: 1.2rem 0.5rem !important;
    border-radius: 20px !important;
  }
  .pm-simple-grid .pmf-emoji { font-size: 2rem; }
  .pm-simple-grid .pmf-text { font-size: 0.8rem; }

  .struggle-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .prefer-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .pm-find-btn { width: 100%; border-radius: 50px; font-size: 0.95rem; padding: 0.9rem; box-shadow: 0 4px 16px rgba(232,134,10,0.2); }
  .pm-reassure { font-size: 0.78rem; }
  .pm-lock-line { font-size: 0.72rem; }
  .step-progress { display: none; }

  /* ── About page ── */
  .about-page { padding: 0; }
  .au-hero {
    padding: 1.5rem 1.15rem 1.25rem;
    min-height: auto;
  }
  .au-hero::before { border-radius: 0; }
  .au-headline { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.5rem; }
  .au-hero-desc { font-size: 0.82rem; line-height: 1.55; max-width: 100%; }
  .au-hero-badge { font-size: 0.65rem; margin-bottom: 0.5rem; }

  .au-how { padding: 1.25rem 1.15rem; gap: 1rem; }
  .au-how-item { padding: 0; margin-bottom: 0.5rem; }
  .au-how-number { font-size: 1.3rem; min-width: 32px; }
  .au-how-content h3 { font-size: 0.9rem; margin-bottom: 0.2rem; }
  .au-how-content p { font-size: 0.78rem; line-height: 1.5; }
  .au-how-emoji { font-size: 1.3rem; margin-bottom: 0.2rem; }

  .au-promises { padding: 1.25rem 1.15rem; }
  .au-promises-title { font-size: 1.1rem; margin-bottom: 0.6rem; }
  .au-promises-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .au-promise-card { padding: 0.85rem 0.65rem; border-radius: 16px; }
  .au-promise-card strong { font-size: 0.75rem; }
  .au-promise-card p { font-size: 0.68rem; line-height: 1.4; }
  .au-promise-icon { margin-bottom: 0.3rem; }
  .au-promise-icon i { font-size: 1.15rem; }

  .au-cycle { padding: 1.25rem 1.15rem; }
  .au-cycle-title { font-size: 1.1rem; margin-bottom: 0.4rem; }
  .au-cycle-sub { font-size: 0.78rem; line-height: 1.55; }

  .au-cta { padding: 1.25rem 1.15rem; }
  .au-cta h2 { font-size: 1.1rem; padding: 0; margin-bottom: 0.6rem; }
  .au-cta .btn { width: 100%; justify-content: center; border-radius: 50px; }

  /* ── Modals ── */
  .modal-box { width: 100vw; max-width: 100vw; padding: 1.25rem; margin: 0; border-radius: 20px 20px 0 0; }

  /* ── All grids → single column ── */
  .features-grid, .testimonials-grid, .helpline-grid,
  .affordable-grid, .resource-categories, .plans-grid,
  .rewards-main-grid, .rewards-bottom-grid, .rw-story-grid { grid-template-columns: 1fr; }
  .groups-grid { grid-template-columns: 1fr 1fr; }

  /* ── Welcome page ── */
  .wlc-headline { font-size: 1.5rem; }
  .wlc-choice-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* ── Footer — simplified on mobile ── */
  .footer { padding: 2rem 1rem 1rem; margin-bottom: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 1rem; }
  .footer-col { display: none; }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; margin: 0 auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { font-size: 0.72rem; }
  .footer-links { flex-direction: column; gap: 0.4rem; }

  /* ── Profile panel ── */
  .profile-panel { width: 100vw; max-width: 100vw; right: 0; }
  .pp-tab-content { padding: 0.75rem; }

  /* ── Peer result card ── */
  .peer-result-card { margin: 0; }

  /* ── Floating compose button ── */
  .mobile-compose-fab {
    display: flex;
    position: fixed;
    bottom: 72px;
    right: 16px;
    z-index: 999;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #E8860A);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(232,134,10,0.35);
    cursor: pointer;
  }
  .mobile-compose-fab:active { transform: scale(0.92); }

  /* ── Hide non-essential on mobile ── */
  #announce-bar { display: none !important; }
  .fsc-read-more-btn { display: none; }
  .resources-section .container > * { display: none !important; }
  .resources-section .container > .calm-welcome { display: flex !important; }
  .resources-section .container > .help-strip { display: flex !important; }

  /* ── MOBILE BOTTOM NAV BAR ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1001;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0.45rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.45rem);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.03);
  }
  .mbn-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0;
    color: #C0B8B0;
    font-size: 0.62rem;
    font-weight: 600;
    transition: color 0.18s ease;
    position: relative;
  }
  .mbn-tab i { font-size: 1.35rem; transition: transform 0.18s ease; }
  .mbn-tab.active { color: var(--saffron); }
  .mbn-tab.active i { transform: scale(1.08); }
  .mbn-tab.active::before {
    content: '';
    position: absolute;
    top: -0.45rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--saffron);
    border-radius: 0 0 3px 3px;
  }
  .mbn-tab.mbn-primary { color: var(--saffron); }
  .mbn-tab.mbn-primary i {
    font-size: 1.35rem;
  }
  .mbn-tab.mbn-primary span { color: var(--saffron); font-weight: 700; }
  .mbn-tab.mbn-primary.active i, .mbn-tab.mbn-primary.active span { color: var(--deep-saffron); }
  .mbn-tab:active { background: rgba(232,134,10,0.06); border-radius: 10px; }

  /* Add bottom padding to body so content doesn't hide behind nav */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }

  /* Footer — add bottom margin to clear nav */
  .site-footer { margin-bottom: 0; padding-bottom: 1rem; }
}

/* Mobile-only elements — hidden on desktop (min-width so mobile @media wins) */
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none !important; }
  .mobile-compose-fab { display: none !important; }
  .feed-welcome { display: none !important; }
  .feed-connect-cta { display: none !important; }
  .mobile-home { display: none !important; }
}

/* ================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ================================================ */

/* Section transitions — smooth fade */
.section {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Story card staggered entrance */
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.story-card.reveal {
  animation: cardSlideIn 0.35s ease forwards;
}
.stories-grid .story-card:nth-child(1) { animation-delay: 0s; }
.stories-grid .story-card:nth-child(2) { animation-delay: 0.05s; }
.stories-grid .story-card:nth-child(3) { animation-delay: 0.1s; }
.stories-grid .story-card:nth-child(4) { animation-delay: 0.15s; }
.stories-grid .story-card:nth-child(5) { animation-delay: 0.2s; }

/* Button press feedback */
.btn:active, .fcc-btn:active, .tone-btn:active, .stab:active {
  transform: scale(0.96);
  transition: transform 0.08s;
}

/* Story card tap feedback */
.story-card:active {
  transform: scale(0.985);
  transition: transform 0.1s;
}

/* Reaction pop on tap */
.react-trigger:active {
  transform: scale(0.9);
  transition: transform 0.08s;
}

/* Typing indicator — bouncing dots */
.feed-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(232,134,10,0.04);
  border-bottom: 1px solid rgba(232,134,10,0.08);
}
.ft-dots {
  display: flex;
  gap: 3px;
}
.ft-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  animation: ftBounce 1.4s ease-in-out infinite;
}
.ft-dots span:nth-child(2) { animation-delay: 0.16s; }
.ft-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes ftBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.ft-text {
  font-size: 0.75rem;
  color: var(--saffron);
  font-weight: 600;
  font-style: italic;
}

/* Bottom nav tab tap ripple */
.mbn-tab:active {
  background: rgba(232,134,10,0.06);
  border-radius: 8px;
  transition: background 0.1s;
}

/* Category circle tap */
.stab-circle:active {
  transform: scale(0.92);
  transition: transform 0.08s;
}

/* ================================================
   LIVE TICKER
   ================================================ */
#live-ticker {
  background: linear-gradient(90deg, var(--saffron), var(--deep-saffron));
  color: white;
  padding: 0.45rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1000;
  font-size: 0.78rem;
  font-weight: 500;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ticker-label {
  background: rgba(0,0,0,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================
   CINEMATIC HERO ENHANCEMENTS
   ================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-ambient-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.14) 0%, rgba(244,162,97,0.06) 50%, transparent 70%);
  top: -120px;
  right: -120px;
  animation: ambient-drift-1 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-ambient-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, rgba(200,75,49,0.03) 50%, transparent 70%);
  bottom: -100px;
  left: 8%;
  animation: ambient-drift-2 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ambient-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.15); }
}
@keyframes ambient-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* Live pulse badge */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(255,107,53,0.3);
  color: var(--terracotta);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(255,107,53,0.15);
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #E74C3C;
  border-radius: 50%;
  animation: live-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(231,76,60,0.4);
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

/* Heartbeat animation */
.heart-beat {
  display: inline-block;
  animation: heartbeat 1.3s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.18); }
  56%       { transform: scale(1); }
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--saffron);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Hero trust row */
.hero-trust-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.hero-trust-row span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.hero-trust-row i {
  color: var(--sage);
}

/* Hero join button — wider */
#hero-join-btn { padding-left: 2.75rem; padding-right: 2.75rem; }

/* ================================================
   BLOG LINKS SECTION — crawlable by search engines
   ================================================ */
.blog-links-section {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, #FFF8F2 100%);
}
.blog-links-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.blog-links-sub {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.blog-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.blog-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,107,53,0.08);
  border-color: rgba(255,107,53,0.12);
}
.blc-emoji { font-size: 1.5rem; margin-bottom: 0.2rem; }
.blog-link-card strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 700;
}
.blc-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.blog-links-more {
  text-align: center;
}
@media (max-width: 768px) {
  .blog-links-section { padding: 3rem 0 2.5rem; }
  .blog-links-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .blog-link-card { padding: 1rem; }
}
@media (max-width: 480px) {
  .blog-links-grid { grid-template-columns: 1fr; }
}

/* Glow button */
.btn-glow {
  box-shadow: 0 4px 20px rgba(255,107,53,0.30), 0 0 0 1px rgba(255,107,53,0.08);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-glow:hover {
  box-shadow: 0 8px 32px rgba(255,107,53,0.45), 0 0 0 1px rgba(255,107,53,0.12);
  transform: translateY(-2px);
}

/* Ghost warm button */
.btn-ghost-warm {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-ghost-warm:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(255,107,53,0.05);
}

/* Secondary floating card — bottom-left, inside visual column */
.card-float-secondary {
  position: absolute !important;
  bottom: 10px !important;
  left: -10px !important;
  top: auto !important;
  right: auto !important;
  width: 200px !important;
  padding: 0.9rem 1rem !important;
  box-shadow: 0 8px 30px rgba(61,26,0,0.12) !important;
  animation: float-card-2 5s ease-in-out infinite alternate !important;
  z-index: 3 !important;
}
@keyframes float-card-2 {
  0%   { transform: translateY(0) rotate(3deg); }
  100% { transform: translateY(-10px) rotate(1.5deg); }
}

/* Pill 3 */
.pill-3 {
  top: auto !important;
  bottom: 10% !important;
  left: -20px !important;
  right: auto !important;
  animation-delay: 1.8s !important;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.72rem;
  animation: fade-in-up 2s ease 1.5s both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ================================================
   HOOK SECTION
   ================================================ */
.hook-section {
  background: linear-gradient(150deg, #1a0a00 0%, #2d1200 40%, #1a0800 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hook-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,107,53,0.14) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 30%, rgba(244,162,97,0.10) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 100%, rgba(255,107,53,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.hook-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hook-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--saffron);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hook-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.hook-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* Teaser posts */
.teaser-posts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.teaser-post {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
  transition: border-color 0.2s;
}
.teaser-post:hover {
  border-color: rgba(255,107,53,0.35);
}
.tp-avatar {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.tp-content {
  flex: 1;
  position: relative;
}
.tp-user {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--marigold);
  margin-bottom: 0.25rem;
}
.tp-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  filter: blur(3px);
  user-select: none;
}
.tp-blur-overlay {
  position: absolute;
  inset: -4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
}

/* Hook join card */
.hook-join-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 1rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hjc-diya {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  animation: diya-flicker 3s ease-in-out infinite;
}
@keyframes diya-flicker {
  0%, 90%, 100% { opacity: 1; transform: scale(1); }
  95%            { opacity: 0.85; transform: scale(0.97); }
}
.hook-join-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.hook-join-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.hjc-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.hjc-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding: 0.35rem 0;
}
.hjc-step span {
  width: 24px;
  height: 24px;
  background: var(--saffron);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,107,53,0.4);
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.hjc-privacy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* Live stats box */
.live-stats-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lsb-item {
  text-align: center;
  flex: 1;
}
.lsb-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--marigold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lsb-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
  display: block;
  letter-spacing: 0.01em;
}
.lsb-sep {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.1);
}

/* ================================================
   JOIN MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,6,0,0.70);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.modal-step.active {
  display: flex;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--cream);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--border);
}
.modal-diya {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  animation: diya-flicker 3s ease-in-out infinite;
}
.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.modal-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Identity preview card */
.modal-identity-preview {
  background: linear-gradient(135deg, var(--cream), #fff5eb);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.modal-identity-preview:hover {
  border-color: var(--marigold);
}
/* Join modal — step 1 features list */
.join-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  margin: 1rem 0 1.5rem;
}
.join-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: left;
}
.join-feature i {
  color: var(--saffron);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Join modal — step 2 identity reveal */
.identity-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.identity-avatar {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.identity-info {
  flex: 1;
  text-align: left;
}
.identity-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
}
.identity-badge {
  font-size: 0.68rem;
  color: var(--sage);
  font-weight: 600;
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.identity-refresh {
  background: var(--cream);
  border: 1px solid var(--border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  flex-shrink: 0;
}
.identity-refresh:hover {
  background: var(--saffron);
  color: white;
  border-color: var(--saffron);
  transform: rotate(180deg);
}
.identity-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.modal-skip {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.modal-skip:hover {
  color: var(--text-secondary);
}

/* Success step */
.modal-success-animation {
  position: relative;
  margin-bottom: 1rem;
}
.success-diya {
  font-size: 3.5rem;
  animation: success-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.success-sparks {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  animation: spark-spin 1s ease both;
}
@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes spark-spin {
  from { transform: rotate(-45deg) scale(0); opacity: 0; }
  to   { transform: rotate(0deg) scale(1); opacity: 1; }
}
.modal-next-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  margin: 1.25rem 0 1rem;
}
.mns-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}
.mns-btn:hover {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.04);
  transform: translateX(3px);
}
.mns-btn span:first-child {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.mns-btn div {
  flex: 1;
}
.mns-btn strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.mns-btn small {
  font-size: 0.72rem;
  color: var(--text-light);
}
.mns-btn i {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Credits badge inside nav link */
.nav-credits-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(232, 134, 10, 0.15);
  color: #C47A00;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.nav-credits-badge:empty { display: none; }

/* Language Switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(232,134,10,0.08);
  border: 1.5px solid rgba(232,134,10,0.2);
  border-radius: 50%;
  font-size: 1.05rem;
  color: var(--saffron);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}
.lang-switcher-btn:hover {
  background: rgba(232,134,10,0.14);
  border-color: var(--saffron);
}
.lang-arrow {
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.lang-switcher-dropdown.open ~ * .lang-arrow,
.lang-switcher-btn:has(+ .lang-switcher-dropdown.open) .lang-arrow {
  transform: rotate(180deg);
}
.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 0.5rem;
  min-width: 200px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  max-height: 340px;
  overflow-y: auto;
}
.lang-switcher-dropdown.open { display: flex; }
.lsd-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  width: 100%;
}
.lsd-item:hover { background: rgba(232,134,10,0.06); }
.lsd-item.active { background: rgba(232,134,10,0.1); }
.lsd-script {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(232,134,10,0.1);
  color: var(--saffron);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lsd-item.active .lsd-script { background: var(--saffron); color: white; }
.lsd-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}
.lsd-eng {
  font-size: 0.72rem;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .lang-switcher-btn span:first-of-type { display: none; }
  .lang-switcher-dropdown { right: auto; left: 0; }
}

/* Nav login button — shown when not logged in */
.nav-login-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.nav-login-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.nav-login-btn.hidden {
  display: none;
}

/* Nav profile pill — shown after joining */
.nav-profile-pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.nav-profile-pill.visible {
  display: flex;
}
.nav-profile-pill:hover {
  border-color: var(--saffron);
}
.nav-profile-pill .pp-avatar {
  font-size: 1.1rem;
}
.nav-profile-pill .pp-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive hook section */
@media (max-width: 768px) {
  .hook-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hook-title { font-size: 1.5rem; }
  .live-stats-box { flex-wrap: wrap; gap: 0.75rem; }
  .lsb-sep { display: none; }
  .card-float-secondary { display: none !important; }
}

/* ================================================
   SAATHI AI WIDGET
   ================================================ */
#saathi-ai-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

#ai-widget-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2d1200, #1a0800);
  border: 1.5px solid rgba(255,107,53,0.4);
  color: white;
  padding: 0.65rem 1.1rem 0.65rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,107,53,0.4);
  transition: all 0.3s ease;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  position: relative;
  animation: ai-pulse-ring 3s ease-in-out infinite;
}
@keyframes ai-pulse-ring {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,107,53,0.3); }
  50%       { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 10px rgba(255,107,53,0); }
}
#ai-widget-trigger:hover {
  background: linear-gradient(135deg, #3d1a00, #2a1000);
  border-color: var(--saffron);
  transform: translateY(-2px);
}
.ai-trigger-icon { font-size: 1.2rem; }
.ai-trigger-label { letter-spacing: 0.3px; }
.ai-trigger-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #2ECC71;
  border-radius: 50%;
  border: 2px solid #1a0800;
  animation: live-pulse 1.4s ease-in-out infinite;
}

/* AI Chat Panel */
.ai-panel {
  width: 340px;
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(61,26,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 480px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: bottom right;
}
.ai-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ai-panel-header {
  background: linear-gradient(135deg, #2d1200, #1a0800);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ai-avatar-sm { font-size: 1.5rem; }
.ai-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  font-family: 'Poppins', sans-serif;
}
.ai-status {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1px;
}
.ai-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ai-disclaimer-badge {
  font-size: 0.6rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: help;
  white-space: nowrap;
}
#ai-panel-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
#ai-panel-close:hover { color: white; }

.ai-panel-notice {
  background: rgba(244,162,97,0.12);
  border-bottom: 1px solid rgba(244,162,97,0.2);
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  gap: 0.4rem;
}
.ai-panel-notice i { flex-shrink: 0; color: var(--marigold); margin-top: 1px; }
.ai-panel-notice a { color: var(--saffron); text-decoration: none; font-weight: 600; }

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}
.ai-msg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.ai-msg-user { flex-direction: row-reverse; }
.aim-avatar { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.aim-bubble {
  background: var(--cream);
  border-radius: 14px 14px 14px 4px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 85%;
  border: 1px solid var(--border);
}
.ai-msg-user .aim-bubble {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  border: none;
  border-radius: 14px 14px 4px 14px;
}
.aim-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.5rem 0.6rem;
}
.aim-typing span {
  width: 6px; height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing-dot 1.2s ease-in-out infinite;
}
.aim-typing span:nth-child(2) { animation-delay: 0.2s; }
.aim-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1); opacity: 1; }
}

.ai-bridge-msg {
  background: rgba(127,176,105,0.1);
  border: 1px solid rgba(127,176,105,0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.ai-bridge-msg strong { color: #4a8c3f; }
.ai-bridge-msg a { color: var(--saffron); font-weight: 600; text-decoration: none; }

.ai-input-area {
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  background: white;
}
#ai-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: var(--cream);
  color: var(--text-primary);
}
#ai-input:focus { border-color: var(--saffron); }
#ai-send-btn {
  width: 36px; height: 36px;
  background: var(--saffron);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
#ai-send-btn:hover {
  background: var(--deep-saffron);
  transform: scale(1.08);
}

/* Peer trust strip removed — replaced by peer-how */

/* ================================================
   REWARDS & GAMIFICATION — REDESIGNED
   ================================================ */

.rewards-section { background: linear-gradient(180deg, #FFF7F0 0%, #fafafa 100%); }

/* Page header */
.rewards-page-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.rph-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,134,10,0.12), rgba(191,54,12,0.08));
  border: 1px solid rgba(232,134,10,0.2);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.rewards-page-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
}
.rewards-page-header p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.nav-credits-pill {
  display: none;
  align-items: center;
  gap: 0.3rem;
  background: rgba(232,134,10,0.1);
  border: 1.5px solid rgba(232,134,10,0.25);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--saffron);
  cursor: pointer;
  flex-shrink: 0;
}
.ncp-icon { font-size: 0.9rem; }

/* Credits hero */
.credits-hero {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 40%, #24243e 100%);
  border-radius: 28px;
  padding: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,12,41,0.35);
}
.ch-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ch-orb-1 {
  width: 300px; height: 300px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(232,134,10,0.25) 0%, transparent 65%);
}
.ch-orb-2 {
  width: 200px; height: 200px;
  bottom: -60px; left: 40%;
  background: radial-gradient(circle, rgba(100,50,200,0.15) 0%, transparent 65%);
}
.ch-left { flex: 1; min-width: 0; position: relative; z-index: 1; }
.ch-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.4rem;
}
.ch-balance {
  display: flex; align-items: flex-end; gap: 0.5rem; margin-bottom: 0.85rem; line-height: 1;
}
.ch-balance span:first-child {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-family: 'Poppins', sans-serif;
}
@keyframes creditsBump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.credits-bump { animation: creditsBump 0.35s ease; }
.ch-coin-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.ch-rank-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  font-size: 0.78rem; font-weight: 700;
  border-radius: 50px; padding: 0.28rem 0.85rem; margin-bottom: 1.1rem;
}
.ch-progress-section { margin-top: 0.25rem; }
.ch-progress-wrap {
  height: 5px; background: rgba(255,255,255,0.1);
  border-radius: 50px; overflow: hidden; margin-bottom: 0.4rem;
}
.ch-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  border-radius: 50px; transition: width 0.7s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(255,215,0,0.4);
}
.ch-progress-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

.ch-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 1.5rem;
  flex-shrink: 0; position: relative; z-index: 1;
  backdrop-filter: blur(10px);
}
.ch-stat { text-align: center; padding: 0 1.5rem; }
.ch-stat-div { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }
.ch-stat-icon { font-size: 1.25rem; margin-bottom: 0.25rem; }
.ch-stat-num {
  font-size: 1.75rem; font-weight: 900; color: white;
  font-family: 'Poppins', sans-serif; line-height: 1; margin-bottom: 0.2rem;
}
.ch-stat-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.45); white-space: nowrap; font-weight: 500; }
@media (max-width: 680px) {
  .credits-hero { flex-direction: column; padding: 1.75rem; gap: 1.5rem; }
  .ch-stats { width: 100%; justify-content: space-around; }
  .ch-stat { padding: 0 0.75rem; }
}

/* How credits work */
.credits-how {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; background: white;
  border: 1px solid var(--border); border-radius: 24px;
  margin-bottom: 1.75rem; overflow: hidden;
}
.chw-item { padding: 1.75rem 2rem; }
.chw-earn { background: linear-gradient(135deg, rgba(46,204,113,0.04), rgba(107,158,120,0.06)); }
.chw-spend { background: linear-gradient(135deg, rgba(232,134,10,0.04), rgba(191,54,12,0.04)); }
.chw-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.chw-icon-wrap {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.earn-icon { background: rgba(46,204,113,0.12); }
.spend-icon { background: rgba(232,134,10,0.1); }
.chw-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.chw-rows { display: flex; flex-direction: column; gap: 0.55rem; }
.chw-row {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.82rem; color: var(--text);
  background: rgba(0,0,0,0.02); border-radius: 8px; padding: 0.4rem 0.6rem;
}
.chw-plus {
  background: rgba(46,204,113,0.12); color: #27AE60;
  font-weight: 700; font-size: 0.78rem;
  border-radius: 6px; padding: 0.15rem 0.45rem; min-width: 52px; text-align: center; flex-shrink: 0;
}
.chw-minus {
  background: rgba(231,76,60,0.1); color: #E74C3C;
  font-weight: 700; font-size: 0.78rem;
  border-radius: 6px; padding: 0.15rem 0.45rem; min-width: 52px; text-align: center; flex-shrink: 0;
}
.chw-gift, .chw-note { min-width: 52px; text-align: center; flex-shrink: 0; font-size: 1rem; }
.chw-middle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  gap: 0.5rem; min-width: 80px;
}
.chw-exchange-icon {
  width: 40px; height: 40px; background: var(--bg-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--saffron);
}
.chw-exchange-label { font-size: 0.65rem; color: var(--text-light); text-align: center; line-height: 1.4; font-weight: 500; }
@media (max-width: 640px) {
  .credits-how { grid-template-columns: 1fr; }
  .chw-middle { flex-direction: row; padding: 1rem 1.5rem; border: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: unset; }
  .chw-item { padding: 1.25rem 1.5rem; }
}

/* Main grid */
.rewards-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 768px) { .rewards-main-grid { grid-template-columns: 1fr; } }

/* Leaderboard */
.leaderboard-card, .achievements-card {
  background: white; border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem; overflow: hidden;
}
.lb-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; }
.lb-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.15rem; }
.lb-sub { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.lb-toggle { display: flex; gap: 0.2rem; background: var(--bg-soft); border-radius: 50px; padding: 0.18rem; flex-shrink: 0; }
.lbt { border: none; background: transparent; border-radius: 50px; padding: 0.25rem 0.7rem; font-size: 0.72rem; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.lbt.active { background: white; color: var(--saffron); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.lb-list { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.lb-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem; border-radius: 14px; border: 1.5px solid transparent;
  transition: transform 0.15s;
}
.lb-item:hover { transform: translateX(3px); }
.lb-first  { background: linear-gradient(135deg,rgba(255,215,0,0.1),rgba(255,165,0,0.06)); border-color: rgba(255,215,0,0.35); }
.lb-second { background: rgba(192,192,192,0.07); border-color: rgba(192,192,192,0.3); }
.lb-third  { background: rgba(205,127,50,0.07); border-color: rgba(205,127,50,0.25); }
.lb-medal { font-size: 1.3rem; min-width: 28px; text-align: center; }
.lb-rank-num { font-size: 0.78rem; font-weight: 700; color: var(--text-light); }
.lb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #E8860A, #BF360C);
  color: white; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}
.lb-first .lb-avatar { background: linear-gradient(135deg, #FFD700, #FFA500); }
.lb-user-info { flex: 1; min-width: 0; }
.lb-user-name { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-user-meta { font-size: 0.68rem; color: var(--text-light); margin-top: 0.05rem; }
.lb-user-credits { text-align: right; flex-shrink: 0; }
.lb-user-credits span { display: block; font-size: 0.88rem; font-weight: 800; color: var(--saffron); }
.lb-user-credits small { font-size: 0.72rem; }
.lb-your-rank {
  background: linear-gradient(135deg, rgba(232,134,10,0.06), rgba(232,134,10,0.02));
  border: 1px solid rgba(232,134,10,0.15);
  border-radius: 12px; padding: 0.65rem 1rem;
  font-size: 0.8rem; color: var(--text-light);
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.lb-your-rank strong { color: var(--saffron); font-size: 1rem; }
.lb-rank-cta { color: var(--saffron); font-size: 0.72rem; font-weight: 600; margin-left: auto; }

/* Achievements */
.ac-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; }
.ac-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.15rem; }
.ac-sub { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.ac-count {
  font-size: 0.75rem; background: rgba(232,134,10,0.1); color: var(--saffron);
  font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 50px; flex-shrink: 0;
}
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.ac-badge {
  text-align: center; padding: 0.9rem 0.4rem 0.75rem; border-radius: 16px;
  border: 1.5px solid var(--border); background: white;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.ac-earned {
  border-color: rgba(232,134,10,0.35);
  background: linear-gradient(135deg, rgba(232,134,10,0.06), rgba(255,255,255,1));
  box-shadow: 0 4px 16px rgba(232,134,10,0.1);
}
.ac-earned:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(232,134,10,0.15); }
.ac-locked { opacity: 0.38; filter: grayscale(1); }
.ac-badge-icon { font-size: 1.8rem; margin-bottom: 0.4rem; display: block; }
.ac-badge-title { font-size: 0.67rem; font-weight: 700; color: var(--text-primary); line-height: 1.25; }
.ac-badge-desc { display: none; }
.ac-badge-reward { font-size: 0.63rem; color: var(--saffron); font-weight: 700; margin-top: 0.25rem; }
.ac-earned .ac-badge-title { color: var(--saffron); }

/* Bottom grid */
.rewards-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.75rem; }
@media (max-width: 768px) { .rewards-bottom-grid { grid-template-columns: 1fr; } }

/* Activity feed */
.activity-feed-wrap {
  background: white; border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem;
}
.af-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.af-header h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--text-primary); }
.af-total {
  font-size: 0.82rem; font-weight: 700; color: var(--saffron);
  background: rgba(232,134,10,0.08); border-radius: 50px; padding: 0.2rem 0.65rem;
}
.af-list { display: flex; flex-direction: column; position: relative; }
.af-list::before {
  content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border); border-radius: 2px;
}
.af-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.5rem 0 0.5rem 1.25rem; position: relative; }
.af-dot {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid white;
}
.af-earn .af-dot { background: #2ECC71; box-shadow: 0 0 0 2px rgba(46,204,113,0.2); }
.af-spend .af-dot { background: #E74C3C; box-shadow: 0 0 0 2px rgba(231,76,60,0.2); }
.af-body { flex: 1; min-width: 0; }
.af-label { font-size: 0.82rem; color: var(--text); font-weight: 500; }
.af-time { font-size: 0.7rem; color: var(--text-light); margin-top: 0.05rem; }
.af-amount { font-size: 0.85rem; font-weight: 800; white-space: nowrap; }
.af-plus { color: #27AE60; }
.af-minus { color: #E74C3C; }

/* Rank ladder */
.rank-ladder-card {
  background: white; border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem;
}
.rl-header { margin-bottom: 1.1rem; }
.rl-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.15rem; }
.rl-sub { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.rl-list { display: flex; flex-direction: column; gap: 0.4rem; }
.rl-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.85rem; border-radius: 12px;
  border: 1.5px solid var(--border); background: white; transition: all 0.15s;
}
.rl-item.rl-active {
  border-color: var(--saffron); background: rgba(232,134,10,0.05);
  box-shadow: 0 4px 16px rgba(232,134,10,0.12);
}
.rl-top { border-color: rgba(255,215,0,0.5); background: linear-gradient(135deg,rgba(255,215,0,0.08),rgba(255,165,0,0.04)); }
.rl-icon { font-size: 1.1rem; flex-shrink: 0; }
.rl-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); flex: 1; }
.rl-active .rl-name { color: var(--saffron); }
.rl-range { font-size: 0.7rem; color: var(--text-light); font-weight: 500; }

/* Redemption store */
.redeem-store { margin-bottom: 2rem; }
.rs-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap;
}
.rs-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.2rem; }
.rs-header p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.rs-balance-pill {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: #FFD700; font-size: 0.85rem; font-weight: 700;
  border-radius: 50px; padding: 0.45rem 1.1rem; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,52,96,0.25);
}
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.rs-item {
  background: white; border: 1.5px solid var(--border); border-radius: 20px;
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.rs-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--saffron), #BF360C);
  opacity: 0; transition: opacity 0.2s;
}
.rs-item:hover:not(.rs-owned):not(.rs-cant-afford) {
  border-color: rgba(232,134,10,0.4); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232,134,10,0.12);
}
.rs-item:hover:not(.rs-owned):not(.rs-cant-afford)::before { opacity: 1; }
.rs-item.rs-cant-afford { opacity: 0.55; }
.rs-item.rs-owned { border-color: rgba(107,158,120,0.35); background: rgba(107,158,120,0.03); }
.rs-item.rs-owned::before { background: linear-gradient(90deg, var(--sage), #3d8b55); opacity: 1; }
.rs-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
.rs-item-icon { font-size: 2rem; }
.rs-item-tag {
  font-size: 0.62rem; font-weight: 700; color: var(--text-light);
  background: var(--bg-soft); border-radius: 50px;
  padding: 0.12rem 0.5rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.rs-item-title { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.rs-item-desc { font-size: 0.77rem; color: var(--text-light); line-height: 1.45; flex: 1; }
.rs-item-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.rs-item-cost { font-size: 0.88rem; font-weight: 800; color: var(--saffron); }
.btn-rs {
  border: none; border-radius: 50px; padding: 0.38rem 1rem;
  font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
  background: var(--saffron); color: white;
}
.btn-rs:hover:not(:disabled):not(.locked) { background: #BF360C; transform: scale(1.03); }
.btn-rs.locked { background: var(--bg-soft); color: var(--text-light); cursor: default; font-size: 0.68rem; padding: 0.38rem 0.65rem; }
.btn-rs.owned { background: rgba(107,158,120,0.12); color: var(--sage); cursor: default; }

/* Credit toast */
.credit-toast {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 9999;
  background: #0f0c29; color: #FFD700;
  font-weight: 700; font-size: 0.88rem;
  border-radius: 50px; padding: 0.65rem 1.35rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,215,0,0.2);
  opacity: 0; transform: translateY(16px) scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.credit-toast.show { opacity: 1; transform: translateY(0) scale(1); }
.credit-toast.credit-toast-spend { color: #FF6B6B; border-color: rgba(255,107,107,0.2); }

/* AI Human Banner (legacy — kept for reference) */
.ai-human-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(127,176,105,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.ahb-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 180px;
}
.ahb-icon { font-size: 1.8rem; }
.ahb-item strong { display: block; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 0.15rem; }
.ahb-item small { font-size: 0.72rem; color: var(--text-light); line-height: 1.4; }
.ahb-arrow { color: var(--text-light); font-size: 1.2rem; flex-shrink: 0; }

/* AI Thinking animation */
.ai-thinking-state {
  text-align: center;
  padding: 2rem;
}
.ai-brain-anim {
  font-size: 3rem;
  animation: brain-pulse 1.5s ease-in-out infinite;
  display: block;
  margin-bottom: 1rem;
}
@keyframes brain-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%       { transform: scale(1.1); filter: brightness(1.2); }
}
.ai-analysis-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  max-width: 340px;
  margin: 1.25rem auto 0;
}
.aas-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.aas-item.done {
  color: var(--sage);
  border-color: rgba(127,176,105,0.3);
  background: rgba(127,176,105,0.06);
}
.aas-item.done i { color: var(--sage); }

/* AI Why Matched */
.ai-why-matched {
  background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(244,162,97,0.03));
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
}
.awm-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.awm-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.awm-list li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.awm-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}
.awm-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin: 0;
  font-style: italic;
}
.match-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  color: var(--saffron);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.match-header { text-align: center; margin-bottom: 1.5rem; }
.match-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ================================================
   PROFILE PANEL — full-height account drawer
   ================================================ */
.profile-panel-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 6999;
}
.profile-panel-overlay.open { display: block; }

.profile-panel {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  background: var(--warm-white);
  box-shadow: -8px 0 48px rgba(0,0,0,0.15), -2px 0 12px rgba(0,0,0,0.06);
  z-index: 7000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.profile-panel.open { transform: translateX(0); }

/* Header */
.pp-header {
  background: linear-gradient(145deg, #E8860A 0%, #F4A020 40%, #D47000 100%);
  padding: 1.5rem 1.25rem 1.25rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.pp-header::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.pp-header::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -20px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.pp-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.pp-title { font-size: 0.95rem; font-weight: 700; opacity: 0.9; }
.pp-close-btn {
  background: rgba(255,255,255,0.2);
  border: none; cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
  transition: background 0.15s;
}
.pp-close-btn:hover { background: rgba(255,255,255,0.35); }
.pp-identity { display: flex; align-items: center; gap: 1.1rem; margin-top: 0.25rem; position: relative; z-index: 1; }
.pp-big-avatar {
  font-size: 3.2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.pp-big-avatar:hover { background: rgba(255,255,255,0.35); }
.pp-identity-info { flex: 1; }
.pp-username { font-size: 1.05rem; font-weight: 700; }
.pp-edit-hint { font-size: 0.65rem; opacity: 0.75; margin-top: 2px; cursor: pointer; }
.pp-joined { font-size: 0.65rem; opacity: 0.7; margin-top: 2px; }

/* Stats row */
.pp-stats {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pp-stat {
  flex: 1;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 0.55rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.pp-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}
.pp-stat-lbl {
  font-size: 0.65rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
  margin-top: 2px;
  display: block;
}

/* Tabs */
.pp-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.6rem 0.75rem 0;
  border-bottom: 1.5px solid var(--border);
  background: var(--warm-white);
  flex-shrink: 0;
}
.pp-tab {
  flex: 1;
  padding: 0.5rem 0.25rem 0.55rem;
  border: none; background: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1;
}
.pp-tab i {
  font-size: 1rem;
  display: block;
}
.pp-tab.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
}
.pp-tab:hover:not(.active) { color: var(--text-secondary); }

/* Tab panes */
.pp-tab-content { flex: 1; overflow-y: auto; }
.pp-tab-pane { display: none; padding: 1.1rem 1rem 1.5rem; }
.pp-tab-pane.active { display: block; }

/* Overview pane */
.pp-body { padding: 0; }

/* Name edit form in profile panel */
.name-edit-form {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.name-edit-form.visible { display: flex; }
.name-edit-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: var(--text-primary);
  transition: border-color 0.2s;
}
.name-edit-input:focus { border-color: var(--saffron); }
.name-edit-actions { display: flex; gap: 0.5rem; }

/* Settings section */
.pp-settings-section {
  margin-top: 0.85rem;
  background: var(--cream);
  border-radius: 16px;
  padding: 0.1rem 0.25rem 0.25rem;
  overflow: hidden;
}
.pp-settings-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.65rem 0.75rem 0.3rem;
}
.pp-settings-section > * + * {
  border-top: 1px solid rgba(0,0,0,0.05);
}
.pp-settings-section .pp-setting-row--icon {
  padding: 0.6rem 0.75rem;
}
.pp-settings-section .pp-action-btn {
  background: none;
  border-radius: 0;
  padding: 0.6rem 0.75rem;
}
.pp-settings-section .pp-action-btn:last-child {
  border-radius: 0 0 12px 12px;
}
.pp-settings-section .pp-action-icon {
  background: rgba(0,0,0,0.06);
}

/* Share prompt card in profile overview */
.pp-share-prompt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, #FFF8EC, #FFF3E0);
  border: 1.5px solid #F4C43066;
  border-radius: 14px;
  padding: 1rem 1rem 1rem 0.9rem;
  margin: 0.5rem 0;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.pp-share-prompt:hover {
  border-color: var(--saffron);
  background: linear-gradient(135deg, #FFF3E0, #FFE8C8);
  transform: translateY(-1px);
}
.pp-share-prompt-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pp-share-prompt-text {
  flex: 1;
  min-width: 0;
}
.pp-share-prompt-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.pp-share-prompt-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pp-share-prompt-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--saffron);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  align-self: center;
}

.pp-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: none;
  border: none;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}
.pp-action-btn > span:not(.pp-action-icon) {
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.pp-action-btn:hover { background: rgba(232,134,10,0.06); color: var(--text-primary); }
.pp-action-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  background: var(--cream);
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.pp-action-btn:hover .pp-action-icon {
  background: rgba(232,134,10,0.12);
  color: var(--saffron);
}
.pp-action-btn.danger { color: var(--text-secondary); }
.pp-action-btn.danger:hover { background: rgba(231,76,60,0.06); color: #C0392B; }
.pp-action-btn.danger .pp-action-icon { background: rgba(231,76,60,0.08); color: #E74C3C; }
.pp-action-btn.danger:hover .pp-action-icon { background: rgba(231,76,60,0.14); color: #C0392B; }

/* SOS quick-access card inside profile panel */
.pp-sos-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 1rem 0.25rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(231,76,60,0.07), rgba(232,134,10,0.07));
  border: 1.5px solid rgba(231,76,60,0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}
.pp-sos-card:hover {
  border-color: rgba(231,76,60,0.4);
  background: linear-gradient(135deg, rgba(231,76,60,0.12), rgba(232,134,10,0.1));
  transform: translateY(-1px);
}
.pp-sos-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pp-sos-icon { font-size: 1.4rem; flex-shrink: 0; }
.pp-sos-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.pp-sos-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}
.pp-sos-arrow {
  font-size: 1.2rem;
  color: rgba(231,76,60,0.5);
  flex-shrink: 0;
}
[data-theme="dark"] .pp-sos-card {
  background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(232,134,10,0.08));
  border-color: rgba(231,76,60,0.25);
}
[data-theme="dark"] .pp-sos-title { color: #f5e6d3; }
.pp-action-btn.notif-active .pp-action-icon { background: rgba(232,134,10,0.12); color: var(--saffron); }
.pp-action-btn.notif-active { color: var(--saffron); }
.pp-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }

.pp-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
}
.pp-setting-row--icon {
  padding: 0.6rem 0.75rem;
  gap: 0.75rem;
  justify-content: flex-start;
}
.pp-setting-row-label {
  flex: 1;
  font-size: 0.83rem;
  line-height: 1.3;
  color: var(--text-secondary);
}
.pp-setting-row-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--saffron);
  white-space: nowrap;
}
.pp-setting-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pp-setting-label i { color: var(--text-light); }
.pp-lang-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}
.pp-lang-select:focus { border-color: var(--saffron); }

/* Avatar picker */
.avatar-picker {
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.avatar-picker.visible { display: flex; }
.avatar-option {
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.15s;
}
.avatar-option:hover, .avatar-option.selected {
  border-color: var(--saffron);
  background: rgba(255,107,53,0.08);
}

/* ── Story mini-cards in profile panel ── */
.pp-story-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pp-story-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
}
.pp-story-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.4rem;
}
.pp-story-cat {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--saffron);
}
.pp-story-time { font-size: 0.63rem; color: var(--text-light); }
.pp-story-excerpt {
  font-size: 0.8rem; color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.pp-story-footer {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.6rem;
}
.pp-heart { font-size: 0.72rem; color: var(--text-light); display: flex; align-items: center; gap: 3px; }

/* ── Activity items ── */
.pp-activity-list { display: flex; flex-direction: column; gap: 0; }
.pp-activity-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.pp-activity-item:last-child { border-bottom: none; }
.pp-act-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.pp-act-text { flex: 1; }
.pp-act-reason { font-size: 0.8rem; color: var(--text-primary); font-weight: 500; }
.pp-act-time   { font-size: 0.65rem; color: var(--text-light); margin-top: 2px; }
.pp-act-amount { font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.pp-act-amount.earn { color: #27AE60; }
.pp-act-amount.spend { color: #E74C3C; }

/* ── Empty state ── */
.pp-empty {
  text-align: center; padding: 2.5rem 1rem;
  color: var(--text-light);
}
.pp-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.pp-empty p { font-size: 0.82rem; line-height: 1.5; }

/* ── Loading spinner ── */
.pp-loading {
  text-align: center; padding: 2rem;
  color: var(--text-light); font-size: 0.82rem;
}

@media (max-width: 480px) {
  .ai-panel { width: calc(100vw - 2rem); }
  #saathi-ai-widget { right: 1rem; bottom: 1rem; }
  .profile-panel { right: 0; width: 100vw; max-width: 100vw; }
}

/* ================================================
   LOGO — .ai badge & new tagline
   ================================================ */
.logo-ai-badge {
  font-size: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--saffron);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 6px;
  padding: 1px 5px;
  vertical-align: super;
  margin-left: 1px;
  letter-spacing: 0.5px;
}
.logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  color: #9A5C2A;
  letter-spacing: 0.3px;
  margin-top: 3px;
  font-style: normal;
  font-weight: 600;
  opacity: 1;
}

/* ================================================
   STORY IMAGES — Instagram-style carousel
   ================================================ */
.story-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0.25rem -1.5rem 0.6rem;
  border-radius: 12px;
}
.story-carousel::-webkit-scrollbar { display: none; }
.story-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.story-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 440px;
  background: #f8f4f0;
  cursor: pointer;
  border-radius: 12px;
}
[data-theme="dark"] .story-slide img { background: #1a1a1a; }

.story-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem 0 0.2rem;
}
.story-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
}
.story-dot.active {
  background: var(--saffron);
  transform: scale(1.3);
}

/* Upload preview thumbnails */
.story-images-preview { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.story-img-thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
.story-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.story-img-remove {
  position: absolute; top: 2px; right: 2px;
  background: rgba(0,0,0,0.6); color: #fff; border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: 14px; line-height: 20px; text-align: center;
  cursor: pointer; padding: 0;
}

/* Fullscreen image viewer */
.image-viewer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 2000; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.image-viewer-img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.image-viewer-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15); color: #fff; border: none;
  font-size: 1.5rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
}

@media (max-width: 768px) {
  .story-carousel { margin: 0 -1rem 0.6rem; }
  .story-slide img { max-height: 320px; }
  .story-img-thumb { width: 60px; height: 60px; }
}

/* ================================================
   STORY INLINE EXPAND
   ================================================ */
.story-card.story-expanded {
  grid-column: 1 / -1;
  border: 1.5px solid #E8860A;
  box-shadow: 0 4px 20px rgba(232,134,10,0.12);
}
.story-collapse-btn {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}
.story-collapse-btn:hover { background: var(--bg-soft); }
.story-full-body {
  padding: 0.5rem 0 0.8rem;
  font-family: 'Hind', 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-line;
}
.story-full-body p { margin-bottom: 0.75rem; }
.story-full-body p:last-child { margin-bottom: 0; }
.story-inline-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0;
}
.story-inline-comments {
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
  margin-top: 0.4rem;
}

/* ================================================
   STORY MODAL (kept for static demo stories)
   ================================================ */
.story-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1200;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}
.story-modal-overlay.open { display: block; }

.story-modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  width: min(680px, 100vw);
  max-height: 85dvh;
  max-height: 85vh;
  background: var(--card-bg);
  border-radius: 20px 20px 0 0;
  z-index: 1300;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  transition: transform 0.32s cubic-bezier(.22,.68,0,1.2);
  padding: 0 0 env(safe-area-inset-bottom, 1rem);
}
.story-modal.open {
  display: block;
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 700px) {
  .story-modal {
    bottom: 50%;
    transform: translateX(-50%) translateY(60%);
    border-radius: 20px;
    max-height: 80vh;
  }
  .story-modal.open { transform: translateX(-50%) translateY(50%); }
}
.sm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card-bg);
  z-index: 2;
}
.sm-author { display: flex; align-items: center; gap: 0.8rem; }
.sm-avatar { font-size: 2rem; line-height: 1; }
.sm-username { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.sm-time { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.sm-close {
  background: none; border: none; font-size: 1.2rem;
  color: var(--text-light); cursor: pointer; padding: 0.3rem 0.5rem;
  border-radius: 50%; transition: background 0.2s;
}
.sm-close:hover { background: var(--bg-soft); }

.sm-body {
  padding: 1.5rem 1.5rem 1rem;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--text);
}
.sm-body p { margin-bottom: 1.1rem; }
.sm-body p:last-child { margin-bottom: 0; }

.sm-footer {
  padding: 1rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sm-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sm-actions { display: flex; gap: 0.7rem; align-items: center; justify-content: flex-end; }
.sm-share {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.sm-share:hover { border-color: var(--saffron); color: var(--saffron); }

/* ── STORY STAMPS & COMMENTS ─────────────────── */
.sm-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 0 0.5rem;
}
.stamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid #e5ddd5;
  background: white;
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.18s ease;
  font-weight: 500;
}
.stamp-btn:hover { border-color: var(--saffron); color: var(--saffron); background: rgba(255,107,53,0.04); }
.stamp-btn.stamped { border-color: var(--saffron); background: rgba(255,107,53,0.09); color: var(--saffron); font-weight: 600; pointer-events: none; }

.sm-comments {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
.sm-comments-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.sm-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.sm-comment-stamp {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--saffron);
  font-weight: 600;
}
.sc-avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.sc-bubble {
  background: var(--bg-soft);
  border-radius: 0 12px 12px 12px;
  padding: 0.45rem 0.75rem;
  flex: 1;
}
.sc-text { display: block; font-size: 0.82rem; color: var(--text); line-height: 1.45; }
.sc-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; }
.sc-time { font-size: 0.68rem; color: var(--text-light); }
.sc-heart-btn {
  display: inline-flex; align-items: center; gap: 0.2rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.72rem; color: var(--text-light);
  padding: 0; transition: color 0.15s;
}
.sc-heart-btn:hover { color: #E8860A; }
.sc-heart-btn.hearted { color: #E74C3C; }
.sc-heart-btn.hearted i { font-weight: 700; }
.sc-heart-btn span { font-size: 0.68rem; font-weight: 600; }

.sm-comment-input {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.sm-comment-input input {
  flex: 1;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.83rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: white;
  color: var(--text);
}
.sm-comment-input input:focus { border-color: var(--saffron); }
.sm-comment-input button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--saffron);
  border: none;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.sm-comment-input button:hover { background: var(--terracotta); }

/* ── REACTIONS ─────────────────────────────────── */
/* ── Reaction trigger + picker ── */
.reaction-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.react-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 24px;
  border: 1.5px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  color: var(--text-light);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.react-trigger:hover { background: rgba(255,107,53,0.06); border-color: rgba(255,107,53,0.15); color: var(--text-secondary); }
.react-trigger.has-reacted { border-color: var(--saffron); background: rgba(255,107,53,0.06); color: var(--saffron); }
.react-trigger .trigger-emoji { font-size: 1.05rem; }
.react-trigger .trigger-count { font-weight: 700; font-size: 0.78rem; }

.react-trigger .trigger-label {
  font-size: 0.75rem;
  font-weight: 500;
}
.rxn-counts {
  display: inline-flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  align-items: center;
}
.rxn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.76rem;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  background: rgba(0,0,0,0.03);
  color: var(--text-light);
  border: 1px solid rgba(0,0,0,0.05);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all 0.15s ease;
}
.rxn-chip.mine {
  background: rgba(255,107,53,0.08);
  border-color: var(--saffron);
  color: var(--saffron);
}

/* Floating picker */
.reaction-picker {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
  padding: 0.45rem 0.6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 100;
  gap: 0.1rem;
  align-items: center;
}
.reaction-picker.open { display: inline-flex; animation: pickerIn 0.2s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pickerIn { from { opacity: 0; transform: translateY(6px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.reaction-picker button {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  border-radius: 50%;
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1), background 0.15s;
  line-height: 1;
}
.reaction-picker button:hover { transform: scale(1.4); background: rgba(255,107,53,0.08); }
.reaction-picker button.picked { background: rgba(255,107,53,0.12); transform: scale(1.2); }

@keyframes rxnPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.reaction-pop { animation: rxnPop 0.22s ease forwards; }

/* Modal reactions */
.sm-reactions {
  padding: 0.25rem 0 0.6rem;
}
.sm-reactions .react-trigger {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}
.rxn-count { font-weight: 700; }

/* ================================================
   BUY CREDITS + ENCASH — HERO BUTTONS
   ================================================ */
.ch-hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.ch-btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #F4C430, #E8860A);
  color: #1a0a00;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232,134,10,0.4);
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.ch-btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,134,10,0.55); }

.ch-btn-encash {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.ch-btn-encash:hover:not(:disabled) { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.ch-btn-encash:disabled { opacity: 0.45; cursor: not-allowed; }

/* Low credit alert */
.low-credit-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #ffb3ae;
  flex-wrap: wrap;
}
.low-credit-alert button {
  background: #E74C3C;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
}

/* ================================================
   MODALS — SHARED
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalSlideUp {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
}
.modal-header h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; color: var(--text-primary); }
.modal-header p  { font-size: 0.82rem; color: var(--text-light); }
.modal-close-btn {
  background: rgba(0,0,0,0.06);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: background 0.15s;
}
.modal-close-btn:hover { background: rgba(0,0,0,0.12); }

/* ================================================
   BUY CREDITS MODAL
   ================================================ */
.buy-modal-header { background: linear-gradient(135deg, #1a0a00, #3d1a00); border-radius: 24px 24px 0 0; }
.buy-modal-header h3 { color: #F4C430; }
.buy-modal-header p  { color: rgba(255,255,255,0.6); }
.buy-modal-header .modal-close-btn { background: rgba(255,255,255,0.12); color: #fff; }
.buy-modal-header .modal-close-btn:hover { background: rgba(255,255,255,0.22); }

.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
}
.pkg-card {
  position: relative;
  background: #fafafa;
  border: 2px solid #f0e4d0;
  border-radius: 16px;
  padding: 1.2rem 1rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}
.pkg-card:hover { border-color: var(--saffron); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(232,134,10,0.18); }
.pkg-card.pkg-popular { border-color: var(--saffron); background: linear-gradient(135deg, #FFF8EE, #FFF3E0); }
.pkg-card.pkg-best    { border-color: #7FB069; background: linear-gradient(135deg, #F0FFF0, #E8FFE8); }

.pkg-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-card.pkg-best .pkg-badge { background: #7FB069; }
.pkg-credits {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-top: 0.75rem;
}
.pkg-credits span { font-size: 1.1rem; }
.pkg-label { font-size: 0.72rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin: 0.2rem 0 0.5rem; }
.pkg-price { font-size: 1.4rem; font-weight: 800; color: var(--saffron); }
.pkg-card.pkg-best .pkg-price { color: #5a9e4a; }
.pkg-rate  { font-size: 0.67rem; color: var(--text-light); margin: 0.15rem 0 0.85rem; }
.pkg-btn {
  width: 100%;
  background: var(--saffron);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s;
}
.pkg-btn:hover { background: var(--deep-saffron); }
.pkg-card.pkg-best .pkg-btn { background: #7FB069; }
.pkg-card.pkg-best .pkg-btn:hover { background: #5a9e4a; }

.payment-trust-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem 0.5rem;
  font-size: 0.76rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.payment-trust-row span { display: flex; align-items: center; gap: 0.3rem; }
.payment-trust-row i { color: #27ae60; }
.payment-powered {
  text-align: center;
  font-size: 0.72rem;
  color: #bbb;
  padding-bottom: 1.25rem;
}

/* ================================================
   ENCASH MODAL
   ================================================ */
.encash-modal-header { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); border-radius: 24px 24px 0 0; }
.encash-modal-header h3 { color: #4FC3F7; }
.encash-modal-header p  { color: rgba(255,255,255,0.55); }
.encash-modal-header .modal-close-btn { background: rgba(255,255,255,0.12); color: #fff; }
.encash-modal-header .modal-close-btn:hover { background: rgba(255,255,255,0.22); }

.encash-rate-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #E3F2FD, #EDE7F6);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 1.25rem;
  flex-wrap: wrap;
}
.erb-item { text-align: center; }
.erb-num { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.erb-lbl { font-size: 0.72rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; margin-top: 0.2rem; }
.erb-arrow { font-size: 1.4rem; color: var(--saffron); }
.erb-info  { font-size: 0.75rem; color: var(--text-light); margin-left: auto; line-height: 1.5; }

.encash-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem 0;
}
.encash-amount-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.encash-amount-input-wrap { position: relative; }
.encash-credits-input {
  width: 130px;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.encash-credits-input:focus { border-color: var(--saffron); }
.encash-coin { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); font-size: 1rem; pointer-events: none; }

.encash-preview {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 0.4rem 1.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.encash-preview-amount { font-size: 1.1rem; font-weight: 800; color: #27ae60; }

.encash-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}
.encash-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}
.encash-tab.active {
  border-color: #2980B9;
  background: #EBF5FB;
  color: #2980B9;
}

.encash-form-section { padding: 0 1.25rem 0.5rem; }
.encash-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.encash-input {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.encash-input:focus { border-color: #2980B9; }
.encash-hint { font-size: 0.72rem; color: var(--text-light); margin-top: 0.35rem; }

.encash-submit-btn {
  width: calc(100% - 2.5rem);
  margin: 1rem 1.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1565C0, #2980B9);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 14px rgba(41,128,185,0.35);
  transition: all 0.2s;
}
.encash-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(41,128,185,0.45); }
.encash-terms {
  font-size: 0.7rem;
  color: var(--text-light);
  padding: 0 1.25rem 1.5rem;
  line-height: 1.5;
}

.encash-success-wrap {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.75rem;
}
.encash-success-icon { font-size: 3.5rem; }
.encash-success-wrap h4 { font-size: 1.2rem; font-weight: 700; color: #27ae60; }
.encash-success-wrap p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 480px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .modal-card { border-radius: 20px; }
  .encash-rate-banner { flex-direction: column; text-align: center; }
  .erb-info { margin-left: 0; }
}

/* ================================================
   REWARDS PAGE — FULL REDESIGN
   ================================================ */

/* Impact Header */
.rw-impact-header {
  text-align: center;
  padding: 1rem 0 2.5rem;
}
.rw-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.rw-live-dot {
  width: 7px; height: 7px;
  background: #FF4444;
  border-radius: 50%;
  animation: livePulse 1.4s ease infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.rw-main-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.rw-headline-gold {
  background: linear-gradient(120deg, #E8860A 0%, #FF5722 50%, #F4C430 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rw-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Community Impact Band */
.rw-impact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a0a00 0%, #2d1400 50%, #1a0a00 100%);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.rw-impact-stat { text-align: center; flex: 1; min-width: 120px; }
.rw-impact-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.rw-impact-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  font-weight: 500;
}
.rw-impact-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Credits Hero */
.rw-hero {
  position: relative;
  background: linear-gradient(135deg, #0A0A1A 0%, #0f0c29 40%, #1a1240 100%);
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,10,26,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.06);
}
.rw-hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.rw-orb-1 {
  width: 400px; height: 400px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(232,134,10,0.2) 0%, transparent 60%);
}
.rw-orb-2 {
  width: 250px; height: 250px;
  bottom: -80px; left: 30%;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 60%);
}
.rw-orb-3 {
  width: 180px; height: 180px;
  top: 20px; left: -40px;
  background: radial-gradient(circle, rgba(39,174,96,0.1) 0%, transparent 60%);
}
.rw-hero-left { position: relative; z-index: 1; }
.rw-balance-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.rw-balance-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.rw-balance-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFE066 0%, #FFB300 40%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,180,0,0.35));
  letter-spacing: -2px;
}
.rw-balance-unit {
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  padding-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.rw-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,140,0,0.1));
  border: 1px solid rgba(255,215,0,0.3);
  color: #FFD700;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: rankGlow 2.5s ease-in-out infinite;
}
@keyframes rankGlow {
  0%,100% { box-shadow: 0 0 0 rgba(255,215,0,0); }
  50% { box-shadow: 0 0 16px rgba(255,215,0,0.25); }
}
.rw-progress-section { margin-bottom: 1.25rem; }
.rw-progress-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: visible;
  position: relative;
  margin-bottom: 0.5rem;
}
.rw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  border-radius: 50px;
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(255,180,0,0.5);
  position: relative;
}
.rw-progress-glow {
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFD700;
  box-shadow: 0 0 12px 4px rgba(255,215,0,0.6);
  transition: left 0.8s cubic-bezier(.4,0,.2,1);
}
.rw-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}
.rw-next-rank { color: #FFD700; font-weight: 600; }

.rw-low-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: #ffb3ae;
  flex-wrap: wrap;
}
.rw-low-alert button {
  background: #E74C3C;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
}

.rw-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rw-btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #1a0a00;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,180,0,0.4);
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.rw-btn-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,180,0,0.55); }
.rw-btn-encash {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.rw-btn-encash:hover:not(:disabled) { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.rw-btn-encash:disabled { opacity: 0.4; cursor: not-allowed; }

/* Hero right stats */
.rw-hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-content: start;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.rw-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.rw-stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.rw-stat-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 0.5rem;
}
.rw-stat-green  { background: rgba(39,174,96,0.2); }
.rw-stat-gold   { background: rgba(255,215,0,0.2); }
.rw-stat-red    { background: rgba(231,76,60,0.2); }
.rw-stat-purple { background: rgba(155,89,182,0.2); }
.rw-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rw-stat-lbl {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  white-space: nowrap;
}

/* Impact Story Section */
.rw-story-section {
  margin-bottom: 2rem;
}
.rw-story-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.rw-story-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.6rem;
}
.rw-story-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.rw-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rw-story-card {
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rw-story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.15); }
.rw-story-gold   { background: linear-gradient(135deg, #FFF8E7, #FFF3CD); border: 1px solid #FFE082; }
.rw-story-purple { background: linear-gradient(135deg, #F3E8FF, #EDE0FF); border: 1px solid #CE93D8; }
.rw-story-teal   { background: linear-gradient(135deg, #E0F7FA, #E0F2F1); border: 1px solid #80DEEA; }
.rw-story-quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.7;
  margin-bottom: 0.75rem;
  opacity: 0.2;
  color: var(--text-primary);
}
.rw-story-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.rw-story-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rw-story-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rw-story-name { font-weight: 700; font-size: 0.85rem; color: var(--text-primary); }
.rw-story-city { font-size: 0.72rem; color: var(--text-light); margin-top: 0.1rem; }
.rw-story-intro {
  font-size: 0.92rem; color: var(--text-light);
  max-width: 480px; margin: 0.6rem auto 0; line-height: 1.7;
}
.rw-story-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-secondary); background: rgba(0,0,0,0.06);
  border-radius: 6px; padding: 0.2rem 0.6rem; margin-bottom: 0.5rem;
}
.rw-story-credit-note {
  font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  background: rgba(0,0,0,0.04);
  border-left: 3px solid var(--saffron);
  padding: 0.45rem 0.75rem; border-radius: 0 8px 8px 0;
  margin-bottom: 1rem; line-height: 1.5;
}
.rw-story-gold   .rw-story-credit-note { border-color: #E8B400; }
.rw-story-purple .rw-story-credit-note { border-color: #AB47BC; }
.rw-story-teal   .rw-story-credit-note { border-color: #26C6DA; }

/* ── Karma Economy ─────────────────────────────────── */
.rw-karma-section {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid #EFEFEF;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.rw-karma-header {
  text-align: center;
  margin-bottom: 2rem;
}
.rw-karma-header .rw-story-eyebrow { color: var(--saffron); }
.rw-karma-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.5px;
}
.rw-karma-header p {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Flow diagram */
.rk-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rk-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.rk-node-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.rk-node-heal .rk-node-icon { background: #E8F8EF; }
.rk-node-pool .rk-node-icon { background: #FFFBF0; }
.rk-node-seek .rk-node-icon { background: #FEF5E7; }
.rk-node-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  max-width: 72px;
  line-height: 1.3;
}
.rk-flow-arrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 80px;
  max-width: 150px;
}
.rk-arrow-line {
  flex: 1;
  height: 1.5px;
}
.rk-arrow-left .rk-arrow-line  { background: linear-gradient(to right, #27AE60, #F4C430); }
.rk-arrow-right .rk-arrow-line { background: linear-gradient(to right, #F4C430, #E67E22); }
.rk-arrow-chip {
  font-size: 0.67rem;
  font-weight: 700;
  color: #B7770D;
  white-space: nowrap;
  background: #FFFBF0;
  border: 1px solid #F4C430;
  border-radius: 20px;
  padding: 0.18rem 0.55rem;
}

/* Two panels */
.rk-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.rk-panel {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #EFEFEF;
  overflow: hidden;
}
.rk-panel-earn { border-left: 4px solid #27AE60; }
.rk-panel-use  { border-left: 4px solid #E67E22; }

.rk-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #FAFAFA;
  border-bottom: 1px solid #F2F2F2;
}
.rk-panel-icon { font-size: 1.35rem; line-height: 1; }
.rk-panel-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
}
.rk-panel-avg {
  font-size: 0.67rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

/* Rows */
.rk-rows { padding: 0.35rem 0; }
.rk-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #F7F7F7;
  transition: background 0.15s;
}
.rk-row:last-child { border-bottom: none; }
.rk-row:hover { background: #FAFAFA; }

.rk-amt {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  min-width: 54px;
  text-align: right;
  flex-shrink: 0;
  line-height: 1;
}
.rk-amt-earn { color: #1E8449; }
.rk-amt-use  { color: #CA6F1E; }

.rk-row-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.rk-row-text strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.rk-row-text span {
  font-size: 0.69rem;
  color: var(--text-light);
}

/* Fact strip */
.rk-fact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid #F2F2F2;
}
.rk-fact {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.rk-fact-sep { color: #D5D5D5; font-size: 0.9rem; }

@media (max-width: 640px) {
  .rk-panels { grid-template-columns: 1fr; }
  .rk-flow-arrow { min-width: 40px; max-width: 80px; }
  .rk-arrow-chip { display: none; }
}

/* Leaderboard + Achievements grid */
.rw-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.rw-lb-card, .rw-ac-card {
  background: white;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px var(--shadow);
  border: 1px solid var(--border);
}
.rw-lb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rw-lb-header h3, .rw-ac-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.15rem;
}
.rw-lb-sub, .rw-ac-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}
.rw-your-rank {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.rw-yr-label { font-size: 0.78rem; color: var(--text-light); }
.rw-yr-num { font-size: 1.1rem; font-weight: 900; color: var(--saffron); font-family: 'Poppins', sans-serif; }
.rw-yr-cta { font-size: 0.72rem; color: var(--text-light); margin-left: auto; }
.rw-ac-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.rw-ac-count {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Activity + Journey grid */
.rw-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.rw-activity-card, .rw-journey-card {
  background: white;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px var(--shadow);
  border: 1px solid var(--border);
}
.rw-act-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.rw-act-header h3, .rw-journey-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
}
.rw-act-balance {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron);
}
.rw-journey-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0.2rem 0 1.25rem;
  line-height: 1.5;
}

/* Rank Journey List */
.rw-journey-list { display: flex; flex-direction: column; gap: 0; }
.rw-journey-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  transition: background 0.2s ease;
  position: relative;
}
.rw-journey-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 3.2rem;
  bottom: -0.85rem;
  width: 2px;
  background: var(--border);
}
.rw-journey-item.rw-ji-active {
  background: linear-gradient(135deg, rgba(232,134,10,0.08), rgba(255,107,53,0.05));
  border: 1.5px solid rgba(232,134,10,0.25);
}
.rw-journey-item.rw-ji-done .rw-ji-icon { filter: none; }
.rw-journey-item.rw-ji-locked { opacity: 0.45; }
.rw-journey-item.rw-ji-legend {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,140,0,0.05));
  border: 1.5px solid rgba(255,215,0,0.3);
}
.rw-ji-icon {
  font-size: 1.5rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.rw-journey-item.rw-ji-active .rw-ji-icon {
  background: linear-gradient(135deg, rgba(232,134,10,0.15), rgba(255,107,53,0.1));
  border-color: var(--saffron);
}
.rw-ji-body { flex: 1; }
.rw-ji-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}
.rw-journey-item.rw-ji-active .rw-ji-name { color: var(--saffron); }
.rw-ji-range {
  font-size: 0.72rem;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.rw-ji-desc {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.4;
}
.rw-ji-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.rw-journey-item.rw-ji-done .rw-ji-check {
  background: #27AE60;
  border-color: #27AE60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.rw-journey-item.rw-ji-active .rw-ji-check {
  border-color: var(--saffron);
  background: rgba(232,134,10,0.15);
}

/* Rewards Store */
.rw-store {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 28px var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.rw-store-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.rw-store-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.35rem 0 0.35rem;
  letter-spacing: -0.5px;
}
.rw-store-header p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}
.rw-store-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}
.rsb-label { font-size: 0.68rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.rsb-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--saffron);
}

/* Responsive */
@media (max-width: 900px) {
  .rw-story-grid { grid-template-columns: 1fr; }
  .rw-karma-flow { grid-template-columns: 1fr; }
  .rw-karma-arrow { flex-direction: row; padding-top: 0; }
  .rw-main-grid, .rw-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .rw-hero { grid-template-columns: 1fr; padding: 1.75rem; }
  .rw-hero-right { grid-template-columns: repeat(4,1fr); }
  .rw-impact-band { padding: 1.5rem; }
  .rw-impact-div { display: none; }
  .rw-story-grid { grid-template-columns: 1fr; }
  .rw-stat-lbl { font-size: 0.6rem; }
}

/* ================================================
   CRISIS BANNER
   ================================================ */
.crisis-banner {
  background: linear-gradient(135deg, #C0392B, #E74C3C);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.crisis-banner-icon { font-size: 1.8rem; flex-shrink: 0; }
.crisis-banner div { flex: 1; min-width: 200px; }
.crisis-banner strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.crisis-banner span { font-size: 0.8rem; opacity: 0.9; }

/* ================================================
   RESOURCES PAGE — refined helplines
   ================================================ */
.resources-h3 {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.helpline-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.helpline-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.helpline-card:hover {
  border-color: rgba(231,76,60,0.25);
  box-shadow: 0 4px 20px rgba(231,76,60,0.08);
}
.helpline-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0.3rem;
  line-height: 1.4;
}
.call-btn {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}

/* ================================================
   QUICK SELF-HELP TOOLS
   ================================================ */
.quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.quick-tool-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.2s;
}
.quick-tool-card:hover { box-shadow: 0 4px 20px var(--shadow); }
.qt-icon { font-size: 2rem; }
.quick-tool-card h4 { font-size: 0.95rem; color: var(--text-primary); margin: 0; }
.quick-tool-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; margin: 0; flex: 1; }
.qt-btn { align-self: flex-start; margin-top: 0.25rem; }

/* Breathing exercise */
.breathing-exercise { text-align: center; padding: 0.5rem 0; }
.breath-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--marigold));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: white;
  font-weight: 700;
  transition: transform 4s ease-in-out;
  box-shadow: 0 0 0 0 rgba(255,107,53,0.3);
}
.breath-circle.expand {
  transform: scale(1.35);
  box-shadow: 0 0 0 16px rgba(255,107,53,0.1);
}
#breath-text { font-size: 0.65rem; opacity: 0.85; }
#breath-count { font-size: 1.5rem; line-height: 1; }
.breath-phase { font-size: 0.78rem; color: var(--text-secondary); font-weight: 600; }

/* Brain dump */
.brain-dump-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  outline: none;
  color: var(--text-primary);
  line-height: 1.6;
  transition: border-color 0.2s;
  background: var(--cream);
}
.brain-dump-input:focus { border-color: var(--saffron); }

/* Sound options */
.sound-options { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.25rem; }
.sound-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--saffron);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.sound-link:hover { color: var(--terracotta); }

/* ================================================
   PROFESSIONAL HELP GRID
   ================================================ */
.pro-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.pro-help-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}
.pro-help-card:hover { box-shadow: 0 4px 20px var(--shadow); }
.phc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.phc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.phc-header h4 { font-size: 0.95rem; margin: 0 0 0.15rem; color: var(--text-primary); }
.phc-tag { font-size: 0.67rem; color: var(--text-light); font-weight: 500; }
.pro-help-card p { font-size: 0.79rem; color: var(--text-secondary); line-height: 1.6; margin: 0; flex: 1; }
.btn-outline-saffron {
  background: transparent;
  border: 1.5px solid var(--saffron);
  color: var(--saffron);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: all 0.2s;
  align-self: flex-start;
}
.btn-outline-saffron:hover {
  background: var(--saffron);
  color: white;
}

/* Peer CTA box */
.peer-cta-box {
  margin-top: 3rem;
  background: linear-gradient(135deg, #1a0a00, #2d1200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pcb-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}
.pcb-diya { font-size: 2.2rem; flex-shrink: 0; }
.peer-cta-box h3 { font-size: 1.05rem; color: white; margin: 0 0 0.3rem; }
.peer-cta-box p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.5; }

/* ── TELE-MANAS FEATURE CARD ────────────────────────── */
.telemanas-card {
  background: linear-gradient(135deg, rgba(39,174,96,0.06), rgba(26,122,66,0.03));
  border: 1.5px solid rgba(39,174,96,0.25);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tm-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tm-logo { font-size: 2.2rem; flex-shrink: 0; }
.tm-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tm-govt {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(39,174,96,0.12);
  color: #1a7a42;
  border: 1px solid rgba(39,174,96,0.25);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}
.tm-sub { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.2rem; }
.tm-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}
.tm-feature {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.tm-feature i { color: #27AE60; flex-shrink: 0; margin-top: 0.1rem; }
.tm-feature strong { color: var(--text-dark); }
.tm-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tm-num-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #27AE60;
  color: white;
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.tm-num-btn:hover { background: #1a7a42; }
.tm-num-btn.alt {
  background: transparent;
  color: #27AE60;
  border: 1.5px solid rgba(39,174,96,0.4);
}
.tm-num-btn.alt:hover { background: rgba(39,174,96,0.08); }

/* ── HOSPITAL SECTION ──────────────────────────────── */
.hospital-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.htab {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-light);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.htab.active, .htab:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
}
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.hospital-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hospital-card:hover {
  border-color: rgba(255,107,53,0.25);
  box-shadow: 0 4px 16px rgba(255,107,53,0.08);
}
.hc-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.hc-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hc-icon.govt { background: rgba(39,174,96,0.1); color: #1a7a42; }
.hc-icon.pvt  { background: rgba(52,152,219,0.1); color: #2471a3; }
.hc-header h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.2rem; line-height: 1.3; }
.hc-loc { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }
.hc-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.hc-badge.free    { background: rgba(39,174,96,0.12); color: #1a7a42; border: 1px solid rgba(39,174,96,0.25); }
.hc-badge.pvt-badge { background: rgba(52,152,219,0.1); color: #1a5e8a; border: 1px solid rgba(52,152,219,0.2); }
.hospital-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.8rem;
}
.hc-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.76rem;
}
.hc-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--saffron);
  font-weight: 600;
  text-decoration: none;
}
.hc-contact a:hover { text-decoration: underline; }
.hc-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
}
.hc-dmhp    { border-color: rgba(39,174,96,0.25); background: rgba(39,174,96,0.03); }
.hc-tip-card { border-color: rgba(255,107,53,0.2); background: rgba(255,107,53,0.02); }

/* Cost breakdown chips */
.hc-costs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.5rem;
}
.hcc-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
}
.hcc-label { color: var(--text-muted); font-weight: 500; }
.hcc-label::after { content: ':'; }
.hcc-val { font-weight: 700; color: var(--text-dark); }
.hcc-val.free-val { color: #1a7a42; }
.hcc-val.prem-val { color: #c84b31; }

/* Footfall row */
.hc-footfall {
  font-size: 0.73rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  background: rgba(255,107,53,0.04);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.55rem;
}
.hc-footfall i { color: var(--saffron); flex-shrink: 0; margin-top: 0.1rem; }

/* Premium tier */
.hc-icon.premium { background: rgba(255,107,53,0.1); color: var(--deep-saffron); }
.hc-badge.prem-badge {
  background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(244,162,97,0.08));
  color: var(--deep-saffron);
  border: 1px solid rgba(255,107,53,0.25);
}
.hc-tier-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.8rem;
  background: rgba(255,107,53,0.05);
  border-left: 3px solid var(--saffron);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.5rem;
}
.hc-icon.academic { background: rgba(93,73,255,0.08); color: #4a2c99; }

.hc-premium-note {
  grid-column: 1 / -1;
  background: rgba(255,107,53,0.05);
  border: 1px solid rgba(255,107,53,0.18);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.hc-premium-note i { color: var(--saffron); flex-shrink: 0; margin-top: 0.1rem; font-size: 1rem; }

/* Cost disclaimer note */
.cost-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.cost-note i { color: var(--saffron); flex-shrink: 0; }

@media (max-width: 600px) {
  .hospital-grid { grid-template-columns: 1fr; }
  .hc-costs { gap: 0.3rem; }
}

/* ── CRISIS PAGE NEW COMPONENTS ──────────────────────── */

/* Calm welcome */
.calm-welcome {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(244,162,97,0.04));
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: var(--radius-xl);
  padding: 1.8rem 2rem;
  margin-bottom: 1.2rem;
}
.cw-diya { font-size: 2.8rem; flex-shrink: 0; }
.calm-welcome h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.calm-welcome p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* SOS topics chips */
.sos-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.sos-topic-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background: var(--cream);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
[data-theme="dark"] .sos-topic-chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

/* Help strip */
.help-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  background: rgba(39,174,96,0.06);
  border: 1px solid rgba(39,174,96,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.help-strip-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.help-number-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(39,174,96,0.12);
  color: #1a7a42;
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.help-number-pill:hover { background: #27AE60; color: white; border-color: #27AE60; }

/* Grounding exercise */
.grounding-card { min-height: 260px; }
.grounding-exercise { margin-top: 0.8rem; }
.grounding-step-card {
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(244,162,97,0.04));
  border: 1px solid rgba(255,107,53,0.18);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-align: center;
  margin-bottom: 0.8rem;
}
.gs-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.gs-sense {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.gs-prompt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.grounding-progress { display: flex; justify-content: center; margin-bottom: 0.8rem; }
.gp-dots { display: flex; gap: 0.4rem; }
.gp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,107,53,0.2);
  transition: background 0.3s;
}
.gp-dot.active { background: var(--saffron); }
.gp-dot.done { background: #27AE60; }
.grounding-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inbuilt sound player */
.sound-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.sound-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.18);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}
.sound-btn:hover { background: rgba(255,107,53,0.12); border-color: var(--saffron); }
.sound-btn.playing {
  background: rgba(255,107,53,0.15);
  border-color: var(--saffron);
  color: var(--saffron);
  font-weight: 600;
}
.snd-icon { font-size: 1.1rem; flex-shrink: 0; }
.sound-btn .snd-state { margin-left: auto; font-size: 0.8rem; opacity: 0.6; }
.sound-volume-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.sound-volume-row input[type=range] {
  flex: 1;
  height: 3px;
  accent-color: var(--saffron);
  cursor: pointer;
}
.sound-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Region accordion */
.region-accordion { display: flex; flex-direction: column; gap: 0.5rem; }
.region-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-bg);
}
.region-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.2s;
}
.region-header:hover { background: rgba(255,107,53,0.04); }
.region-flag { font-size: 1.1rem; margin-right: 0.35rem; }
.region-arrow { transition: transform 0.3s; color: var(--text-muted); font-size: 1.1rem; flex-shrink: 0; }
.region-header.open .region-arrow { transform: rotate(180deg); }
.region-body {
  display: none;
  padding: 0 1.2rem 1.2rem;
}
.region-body.open { display: block; }
.region-helplines { display: flex; flex-direction: column; gap: 0.45rem; }
.rh-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255,107,53,0.03);
}
.rh-name { flex: 1; min-width: 130px; font-weight: 600; color: var(--text-dark); }
.rh-num {
  font-weight: 700;
  color: var(--saffron);
  text-decoration: none;
  white-space: nowrap;
}
.rh-num:hover { text-decoration: underline; }
.rh-hours { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }
.rh-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(39,174,96,0.05);
  border-left: 3px solid #27AE60;
  padding: 0.5rem 0.8rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* Free tag in pro-help */
.free-tag { color: #1a7a42 !important; background: rgba(39,174,96,0.08); padding: 0.15rem 0.5rem; border-radius: 999px; }
.phc-tip {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255,107,53,0.04);
  border: 1px solid rgba(255,107,53,0.12);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  margin-top: 0.5rem;
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  line-height: 1.5;
}
.phc-tip i { color: var(--saffron); flex-shrink: 0; margin-top: 0.1rem; }

/* Chat typing dots */
.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.typing-dots span {
  width: 7px; height: 7px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing-dot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .crisis-banner { flex-direction: column; text-align: center; }
  .quick-tools-grid, .pro-help-grid { grid-template-columns: 1fr; }
  .peer-cta-box { flex-direction: column; text-align: center; }
  .pcb-left { flex-direction: column; text-align: center; }
}

/* ================================================
   PLANS & MONETIZATION
   ================================================ */

/* Hero login link */
.hero-login-link { font-size: 0.8rem; color: var(--text-light); margin-top: 1rem; }
.hero-login-link a { color: var(--saffron); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(232,134,10,0.4); transition: border-color 0.15s; }
.hero-login-link a:hover { border-bottom-color: var(--saffron); }

/* ================================================
   ABOUT PAGE
   ================================================ */

/* ── ABOUT US — Full Redesign ── */
.about-section {
  background: #fff;
}
.about-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Hero — dark, bold */
.au-hero {
  background: linear-gradient(160deg, #1a1410 0%, #120e08 50%, #0a0804 100%);
  padding: 5.5rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.au-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 120vw);
  height: 450px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.10) 0%, rgba(255,107,53,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.au-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}
.au-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  color: rgba(255,255,255,0.90);
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.04em;
  position: relative;
}
.au-headline em {
  font-style: normal;
  color: var(--saffron);
  display: block;
  margin-top: 0.15em;
  text-shadow: 0 2px 24px rgba(255,107,53,0.2);
}
.au-hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  margin: 1.5rem auto 0;
  line-height: 1.75;
}

/* Founder story — warm bg */
.au-story {
  background: linear-gradient(135deg, #FFF8F2 0%, #FFF0E5 100%);
  padding: 4rem 2rem;
}
.au-story-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.au-story-mark {
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(255,107,53,0.1);
  line-height: 0.5;
  margin-bottom: 1rem;
}
.au-story-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.au-story-text strong { color: #1a1a2e; font-weight: 700; }
.au-story-dark {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 0 0.5rem;
  border-left: 3px solid rgba(255,107,53,0.2);
  padding-left: 1.25rem;
  margin-left: -1.25rem;
}
.au-story-highlight {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--saffron);
  font-family: 'Poppins', sans-serif;
  margin: 1.25rem 0;
  letter-spacing: -0.02em;
}
.au-story-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255,107,53,0.12);
}
.au-author-name { font-size: 0.95rem; font-weight: 800; color: #1a1a2e; font-family: 'Poppins', sans-serif; }
.au-author-role { font-size: 0.78rem; color: #999; font-weight: 500; }

/* How it works — white bg, big numbers */
.au-how {
  padding: 4rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.au-how-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.au-how-item:last-child { margin-bottom: 0; }
.au-how-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,107,53,0.15);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.au-how-content { flex: 1; }
.au-how-emoji { font-size: 2.2rem; margin-bottom: 0.6rem; }
.au-how-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.au-how-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

/* Saraathi cycle — warm bg */
.au-cycle {
  background: linear-gradient(135deg, #FFF8F2 0%, #FFE8D6 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.au-cycle-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a1a2e;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}
.au-cycle-sub {
  font-size: 0.95rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.au-cycle-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.au-cycle-step {
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 1.25rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  border: 1.5px solid rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.au-cycle-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(255,107,53,0.10), 0 2px 8px rgba(0,0,0,0.04);
}
.au-cycle-emoji { font-size: 2.4rem; margin-bottom: 0.75rem; }
.au-cycle-step strong { display: block; font-size: 0.92rem; color: var(--text-primary); margin-bottom: 0.35rem; font-family: 'Poppins', sans-serif; letter-spacing: -0.01em; }
.au-cycle-step span { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
.au-cycle-arrow {
  display: flex;
  align-items: center;
  color: var(--saffron);
  font-size: 1.3rem;
  flex-shrink: 0;
  opacity: 0.5;
}

/* Promises — dark section */
.au-promises {
  background: linear-gradient(160deg, #1a1410 0%, #120e08 50%, #0a0804 100%);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
}
.au-promises::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), transparent);
}
.au-promises-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}
.au-promises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}
.au-promise-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.au-promise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,53,0.25);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(255,107,53,0.08);
}
.au-promise-icon {
  font-size: 1.5rem;
  color: var(--saffron);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,107,53,0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.au-promise-card strong { display: block; font-size: 0.92rem; color: rgba(255,255,255,0.92); margin-bottom: 0.35rem; font-family: 'Poppins', sans-serif; }
.au-promise-card p { font-size: 0.8rem; color: rgba(255,255,255,0.50); line-height: 1.55; margin: 0; }

/* CTA */
.au-cta {
  padding: 4.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #FFF8F2 0%, #FFE8D4 100%);
}
.au-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .au-hero { padding: 2.5rem 1.25rem 2rem; }
  .au-headline { font-size: 1.8rem; }
  .au-story { padding: 3rem 1.25rem; }
  .au-how { padding: 3rem 1.25rem; }
  .au-how-item { flex-direction: column; gap: 0.5rem; }
  .au-how-number { font-size: 2rem; min-width: auto; }
  .au-cycle { padding: 2.5rem 1.25rem; }
  .au-cycle-visual { flex-direction: column; gap: 0.75rem; }
  .au-cycle-arrow { transform: rotate(90deg); font-size: 1rem; }
  .au-promises { padding: 3rem 1.25rem; }
  .au-promises-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .au-promise-card { padding: 1.25rem; border-radius: 18px; }
  .au-promise-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 1.3rem; }
  .au-cta { padding: 3rem 1.25rem; }
}

/* Hero */
.about-hero-new {
  text-align: center;
  margin-bottom: 3rem;
}
.about-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #1a1a2e;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.about-title em {
  font-style: normal;
  color: var(--saffron);
}
.about-lead {
  font-size: 1.05rem;
  color: #666;
  font-weight: 500;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* What cards */
.about-how { margin-bottom: 2.5rem; }
.about-what {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.about-promises-section { margin-bottom: 2.5rem; }
.about-what-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  border: 1.5px solid rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.about-what-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(255,107,53,0.10), 0 2px 8px rgba(0,0,0,0.04);
  border-color: rgba(255,107,53,0.12);
}
.about-what-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255,107,53,0.2);
  font-family: 'Poppins', sans-serif;
}
.about-what-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}
.about-what-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.35rem;
  font-family: 'Poppins', sans-serif;
}
.about-what-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.55;
  margin: 0;
}

/* Promises strip */
.about-promises {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.about-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  border: 1.5px solid rgba(255,107,53,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-promise:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.08);
}
.about-promise i {
  font-size: 0.9rem;
  color: var(--saffron);
}

/* What you can expect */
.about-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.about-expect {
  margin-bottom: 2.5rem;
}
.about-expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-expect-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.35rem;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-expect-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.about-expect-item i {
  font-size: 1.3rem;
  color: var(--saffron);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about-expect-item strong {
  font-size: 0.88rem;
  color: #1a1a2e;
  display: block;
  margin-bottom: 0.2rem;
}
.about-expect-item p {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* Founder */
.about-founder {
  margin-bottom: 2.5rem;
}
.about-founder-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFF9F2 100%);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  border-left: 4px solid var(--saffron);
}
.about-founder-quote {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 0.85rem;
}
.about-founder-quote strong {
  color: #1a1a2e;
}
.about-founder-quote:last-of-type {
  margin-bottom: 1rem;
}
.about-founder-sign {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--saffron);
  font-style: italic;
}

/* CTA */
.about-cta-new {
  text-align: center;
}
.about-cta-new p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 640px) {
  .about-expect-grid { grid-template-columns: 1fr; }
  .about-founder-card { padding: 1.5rem; }
}

@media (max-width: 640px) {
  .about-page { padding: 3rem 1.25rem 4rem; }
  .about-what { grid-template-columns: 1fr; }
  .about-how { margin-bottom: 2rem; }
  .about-promises { gap: 0.5rem; }
  .about-promise { font-size: 0.72rem; padding: 0.4rem 0.8rem; }
}

/* Legacy about — keep old classes to avoid breaking anything */
.about-section .about-hero { display: none; }
.about-section .about-features-wrap { display: none; }
.about-section .about-values-wrap { display: none; }
.about-section .about-cta { display: none; }
.about-section .container { display: none; }
.about-section .about-page { display: block; }

/* Page Hero */
.about-hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

/* Soft radial glow behind content */
.about-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(232,134,10,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.about-hero > *:not(.about-hero-glow) { position: relative; z-index: 1; }

/* Live badge */
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(232,134,10,0.1);
  border: 1px solid rgba(232,134,10,0.25);
  border-radius: 30px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.about-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232,134,10,0.25);
  animation: aboutDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes aboutDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232,134,10,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(232,134,10,0.08); }
}

/* Headline */
.about-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.about-headline-accent {
  background: linear-gradient(135deg, #FF6B35 0%, #E8860A 60%, #FFC947 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-lead */
.about-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* Pill tags */
.about-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 0.45rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: border-color 0.2s, transform 0.2s;
}
.about-pill i {
  color: var(--saffron);
  font-size: 1rem;
}
.about-pill:hover {
  border-color: var(--saffron);
  transform: translateY(-2px);
}

/* Eyebrow (legacy, kept for other uses) */
.about-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(232,134,10,0.1);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1rem;
}

/* Label used across blocks */
.about-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 0.6rem;
}

/* Problem block */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.about-block-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.about-block-text p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-stat {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.about-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}
.about-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Reality / two-column section */
.about-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.about-reality-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.about-reality-text p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.about-reality-text strong {
  color: var(--text-primary);
  font-weight: 700;
}
.about-reality-close {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--saffron);
  margin-top: 1.25rem !important;
}
.about-reality-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-pstat {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--saffron);
  border-radius: 14px;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.about-pstat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1;
}
.about-pstat-label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Features grid */
.about-features-wrap {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.about-features-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-feature-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.about-feature-card:hover {
  border-color: var(--saffron);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-md);
}
.about-feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.about-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.about-feature-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Values */
.about-values-wrap {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.about-values-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-value {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-value-icon { font-size: 1.6rem; }
.about-value strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.about-value p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Audience */
.about-audience {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.about-audience-inner {
  max-width: 640px;
}
.about-audience h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}
.about-audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.about-audience-list li i {
  color: var(--saffron);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* CTA */
.about-cta {
  text-align: center;
  padding: 3.5rem 1rem 4rem;
  border-top: 1px solid var(--border);
}
.about-cta h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.about-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-block         { grid-template-columns: 1fr; gap: 2rem; }
  .about-reality       { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .about-headline      { font-size: 1.9rem; }
  .about-features-grid { grid-template-columns: 1fr; }
  .about-values-grid   { grid-template-columns: 1fr 1fr; }
  .about-stat-grid     { grid-template-columns: 1fr 1fr; }
  .about-pstat-num     { font-size: 1.6rem; }
}

/* ================================================
   WELCOME PAGE (personalized post-join)
   ================================================ */

/* ── WELCOME SECTION — Reinvented ── */
.welcome-section {
  background: #f7f5f2;
  min-height: 100vh;
  flex-direction: column;
}
.welcome-section.active {
  display: flex;
}

/* ── Arrival hero (dark) ── */
.wlc-arrival {
  background: linear-gradient(160deg, #13111e 0%, #1c1428 55%, #111820 100%);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wlc-arrival::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #f7f5f2;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.wlc-arrival-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255,107,53,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 60%, rgba(100,80,200,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.wlc-av-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wlc-avatar {
  font-size: 3rem;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.wlc-av-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,107,53,0.4);
  animation: wlc-ring-pulse 2.5s ease-in-out infinite;
}
@keyframes wlc-ring-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%       { transform: scale(1.1); opacity: 1;   }
}
.wlc-arrived-badge {
  display: inline-block;
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(74,222,128,0.3);
  margin-bottom: 1rem;
}
.wlc-headline {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.wlc-name { color: #f4a261; }
.wlc-arrival-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}
.wlc-anon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.wlc-anon-pill i { color: #4ade80; font-size: 0.8rem; }

/* ── First step (light) ── */
.wlc-first-step {
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}
.wlc-step-prompt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  margin-bottom: 1.25rem;
}
.wlc-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wlc-choice-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.wlc-choice-card:hover {
  border-color: rgba(255,107,53,0.4);
  box-shadow: 0 6px 24px rgba(255,107,53,0.1);
  transform: translateY(-2px);
}
.wlc-choice-card:active { transform: translateY(0); }
.wlc-cc-emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  border-radius: 14px;
}
.wlc-cc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.wlc-cc-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
}
.wlc-cc-desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.45;
}
.wlc-cc-arrow {
  color: #ccc;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: color 0.18s, transform 0.18s;
}
.wlc-choice-card:hover .wlc-cc-arrow {
  color: var(--saffron);
  transform: translateX(3px);
}
.wlc-choice-card:hover .wlc-cc-title { color: var(--saffron); }

/* ── Bottom note ── */
.wlc-bottom-note {
  text-align: center;
  padding: 1.25rem 1.5rem 2.5rem;
  font-size: 0.82rem;
  color: #bbb;
  line-height: 1.6;
}
.wlc-sos-link {
  background: none;
  border: none;
  color: #f4a261;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wlc-sos-link:hover { color: var(--saffron); }

/* ── Mobile ── */
@media (max-width: 480px) {
  .wlc-arrival { padding: 3rem 1.25rem 3rem; }
  .wlc-first-step { padding: 2rem 1rem 1rem; }
  .wlc-choice-card { padding: 1rem; }
  .wlc-cc-emoji { width: 40px; height: 40px; font-size: 1.6rem; }
}

/* ─── LEGACY wlc- STUBS (keep so old JS refs don't break) ─── */
.wlc-hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
}
.wlc-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(232,134,10,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wlc-hero > *:not(.wlc-hero-glow) { position: relative; z-index: 1; }

.wlc-avatar {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}
.wlc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(232,134,10,0.1);
  border: 1px solid rgba(232,134,10,0.25);
  border-radius: 30px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}
.wlc-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  animation: aboutDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.wlc-headline {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}
.wlc-name {
  background: linear-gradient(135deg, #FF6B35 0%, #E8860A 60%, #FFC947 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wlc-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.wlc-name-change-hint {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 480px;
  text-align: left;
  line-height: 1.55;
}
.wlc-name-change-hint i {
  color: var(--saffron);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Shared block styles */
.wlc-block {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto;
}
.wlc-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.6rem;
}
.wlc-block-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* Why block — two column */
.wlc-why { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.wlc-block-inner p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.wlc-highlight {
  font-size: 0.97rem !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  border-left: 3px solid var(--saffron);
  padding-left: 0.85rem;
  margin-top: 1rem !important;
}
.wlc-emotions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-content: flex-start;
  padding-top: 3.2rem;
}
.wlc-emotion-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  transition: border-color 0.2s, transform 0.2s;
}
.wlc-emotion-tag:hover { border-color: var(--saffron); transform: translateY(-2px); }

/* How cards */
.wlc-how .wlc-label,
.wlc-how .wlc-block-title { text-align: center; display: block; }
.wlc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.wlc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wlc-card:hover {
  border-color: var(--saffron);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232,134,10,0.1);
}
.wlc-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.wlc-card-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.wlc-card-body p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.wlc-card-arrow { color: var(--text-secondary); font-size: 1.2rem; margin-left: auto; flex-shrink: 0; }

/* Account teaser */
.wlc-account-teaser {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(232,134,10,0.08) 0%, rgba(255,107,53,0.05) 100%);
  border: 1.5px solid rgba(232,134,10,0.3);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem auto 0;
  max-width: 820px;
}
.wlc-at-icon { font-size: 2.2rem; flex-shrink: 0; }
.wlc-at-body { flex: 1; }
.wlc-at-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.wlc-at-body p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.wlc-at-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--saffron);
  background: rgba(232,134,10,0.1);
  border: 1.5px solid rgba(232,134,10,0.35);
  border-radius: 30px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.wlc-at-btn:hover { background: rgba(232,134,10,0.18); transform: translateY(-2px); }

/* CTA */
.wlc-cta {
  text-align: center;
  padding: 3.5rem 1rem 4rem;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}
.wlc-cta-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.wlc-cta-btn { padding-left: 2.5rem; padding-right: 2.5rem; }

/* Responsive */
@media (max-width: 700px) {
  .wlc-why   { grid-template-columns: 1fr; gap: 1.5rem; }
  .wlc-cards { grid-template-columns: 1fr; }
  .wlc-account-teaser { flex-direction: column; text-align: center; }
  .wlc-emotions { padding-top: 0; }
}

/* Logged-in hero engagement prompts */
.hero-engage-cta { margin-top: 1.25rem; animation: fadeInUp 0.5s ease both; }
.engage-greeting { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; }
.engage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.engage-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(232,134,10,0.25);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-align: left;
  font-family: inherit;
}
.engage-card:hover {
  border-color: var(--saffron);
  box-shadow: 0 4px 16px rgba(232,134,10,0.15);
  transform: translateY(-2px);
}
[data-theme="dark"] .engage-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(232,134,10,0.2);
}
.engage-icon { font-size: 1.3rem; flex-shrink: 0; }
.engage-label { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
@media (max-width: 480px) {
  .engage-grid { grid-template-columns: 1fr; }
}

/* Profile panel plan card */
.pp-plan-card {
  background: linear-gradient(135deg, #FFF7ED, #FFF0DC);
  border: 1.5px solid #F4C09A; border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 0.75rem;
}
.pp-plan-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.pp-plan-icon { font-size: 1.5rem; flex-shrink: 0; }
.pp-plan-info { flex: 1; min-width: 0; }
.pp-plan-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.pp-plan-detail { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.1rem; }
.pp-plan-badge-pill {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem; border-radius: 50px; color: #fff;
  background: linear-gradient(135deg, #F4C430, #E8860A);
}
.pp-plan-badge-pill.pp-plan-pro { background: linear-gradient(135deg, #7C3AED, #4F46E5); }
.pp-plan-upgrade-btn {
  width: 100%; padding: 0.6rem 1rem; border: none; border-radius: 10px; cursor: pointer;
  font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: linear-gradient(135deg, #E8860A, #F4C430); color: #fff; transition: var(--transition);
}
.pp-plan-upgrade-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,134,10,0.35); }

/* Nav badge */
.nav-plan-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F4C430, #E8860A);
  color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.03em;
  border-radius: 50px; padding: 0.1rem 0.45rem; margin-left: 0.3rem;
  vertical-align: middle; text-transform: uppercase;
}
.nav-plan-badge.nav-plan-pro {
  background: linear-gradient(135deg, #7C3AED, #4F46E5);
}

/* Section */
.plans-section { background: var(--warm-white); }

/* Header */
.plans-header { text-align: center; margin-bottom: 2rem; }
.plans-live-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, #FFF0E0, #FFE4C4);
  border: 1.5px solid #F4C09A; border-radius: 50px;
  padding: 0.35rem 1rem; font-size: 0.8rem; font-weight: 600; color: var(--saffron);
  margin-bottom: 1rem;
}
.plans-headline { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.75rem; color: var(--text-primary); }
.plans-headline-gold { background: linear-gradient(135deg, #E8860A, #F4C430); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.plans-sub { color: var(--text-secondary); font-size: 1rem; max-width: 560px; margin: 0 auto 1.5rem; }

/* Billing toggle */
.plans-billing-toggle { display: inline-flex; gap: 0.25rem; background: #F0E8DC; border-radius: 50px; padding: 0.2rem; }
.pbt { border: none; background: transparent; border-radius: 50px; padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: var(--transition); }
.pbt.active { background: #fff; color: var(--saffron); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.pbt-save { background: var(--sage); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 50px; margin-left: 0.3rem; vertical-align: middle; }

/* Current plan banner */
.plans-current-banner {
  display: flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, #FFF7ED, #FFF0DC);
  border: 1.5px solid #F4C09A; border-radius: 14px;
  padding: 0.85rem 1.25rem; margin-bottom: 2rem;
  font-size: 0.9rem; color: var(--text-primary); font-weight: 500;
}
.plans-current-banner i { color: var(--sage); font-size: 1.2rem; }
.pcb-sep { color: var(--text-light); }

/* Plans grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: stretch;
}
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

/* Plan card */
.plan-card {
  background: #fff; border: 2px solid var(--border); border-radius: 24px;
  padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column;
  position: relative; transition: var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--shadow-md); }
.plan-card-active { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,134,10,0.15); }

/* Plus — highlighted */
.plan-plus {
  border-color: var(--saffron);
  background: linear-gradient(180deg, #FFFAF3 0%, #fff 60%);
}
/* Pro — premium */
.plan-pro {
  border-color: #7C3AED;
  background: linear-gradient(180deg, #F5F3FF 0%, #fff 60%);
}

.plan-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #E8860A, #F4C430);
  color: #fff; font-size: 0.72rem; font-weight: 700; border-radius: 50px;
  padding: 0.2rem 0.9rem; white-space: nowrap;
}

.plan-card-top { text-align: center; margin-bottom: 1.25rem; }
.plan-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.plan-name { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.25rem; }
.plan-tagline { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 1rem; }

.plan-price-block { display: flex; align-items: baseline; gap: 0.2rem; justify-content: center; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--text-primary); }
.plan-plus .plan-price { color: var(--saffron); }
.plan-pro .plan-price { color: #7C3AED; }
.plan-period { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }
.plan-price-yearly { font-size: 0.75rem; color: var(--sage); font-weight: 600; margin-top: 0.25rem; }

/* Features list */
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.plan-features li i { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.plan-features li i.ri-check-line { color: var(--sage); }
.plan-feature-off { opacity: 0.45; }
.plan-feature-off i.ri-close-line { color: var(--text-light); }

/* Plan buttons */
.plan-btn {
  width: 100%; padding: 0.85rem 1rem; border: none; border-radius: 14px;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.plan-btn-current { background: #F0E8DC; color: var(--text-secondary); cursor: default; }
.plan-btn-free { background: #F0E8DC; color: var(--text-secondary); }
.plan-btn-plus { background: linear-gradient(135deg, #E8860A, #F4C430); color: #fff; }
.plan-btn-plus:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,134,10,0.4); }
.plan-btn-pro { background: linear-gradient(135deg, #7C3AED, #4F46E5); color: #fff; }
.plan-btn-pro:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
.plan-btn:disabled { opacity: 0.65; cursor: default; transform: none !important; box-shadow: none !important; }

/* Karma multiplier explainer */
.plans-karma-explainer {
  display: flex; align-items: flex-start; gap: 1rem;
  background: linear-gradient(135deg, #FFF7ED, #FFF0DC);
  border: 1.5px solid #F4C09A; border-radius: 18px; padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.pke-icon { font-size: 1.75rem; flex-shrink: 0; }
.pke-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.pke-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.5; }

/* FAQ */
.plans-faq { margin-bottom: 1rem; }
.plans-faq-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.pfaq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pfaq-item { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.pfaq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; font-size: 0.88rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; gap: 0.75rem;
}
.pfaq-q i { color: var(--text-light); transition: transform 0.25s; flex-shrink: 0; }
.pfaq-item.open .pfaq-q i { transform: rotate(180deg); }
.pfaq-a {
  max-height: 0; overflow: hidden;
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6;
  padding: 0 1.25rem; transition: max-height 0.3s ease, padding 0.3s ease;
}
.pfaq-item.open .pfaq-a { max-height: 200px; padding: 0 1.25rem 1rem; }

/* Upgrade modal */
.upgrade-modal-card { max-width: 400px; text-align: center; padding: 2.25rem; position: relative; }
.upgrade-modal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upgrade-modal-title { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.4rem; }
.upgrade-modal-sub { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 1rem; }
.upgrade-modal-price-row { margin-bottom: 1.25rem; }
.upgrade-modal-price { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); }
.upgrade-modal-perks {
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: left; background: #F9F5FF; border-radius: 14px;
  padding: 1rem 1.25rem; margin-bottom: 1.25rem;
}
.upgrade-perk { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; color: var(--text-primary); }
.upgrade-perk i { color: var(--sage); font-size: 0.95rem; }
.upgrade-modal-cta { width: 100%; font-size: 0.95rem; margin-bottom: 0.75rem; }
.upgrade-modal-terms { font-size: 0.72rem; color: var(--text-light); }

@media (max-width: 640px) {
  .plans-header { padding: 0 0.5rem; }
  .plan-card { padding: 1.5rem 1.25rem 1.25rem; }
  .plans-karma-explainer { flex-direction: column; }
}

/* ================================================
   PUBLIC PROFILE PANEL
   ================================================ */
/* ── PUBLIC PROFILE PAGE (full section) ───────────────── */
#profile.section {
  background: var(--warm-white);
  min-height: 100vh;
  padding: 0;
  padding-top: 68px;
}
#profile #pub-profile-inner {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.pub-profile-loading {
  display: flex; align-items: center; justify-content: center;
  height: 60vh;
}
.pub-spin { font-size: 2rem; color: var(--saffron); animation: spin 1s linear infinite; }
.pub-profile-err { padding: 3rem; text-align: center; color: var(--text-light); }

/* Cover */
.pub-cover {
  height: 180px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}
.pub-back-btn {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.38); border: none; border-radius: 2rem;
  color: #fff; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.45rem 1rem;
  backdrop-filter: blur(6px);
  transition: background 0.15s;
}
.pub-back-btn:hover { background: rgba(0,0,0,0.6); }
.pub-edit-cover-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.3); border: none; border-radius: 50%;
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.pub-edit-cover-btn:hover { background: rgba(0,0,0,0.5); }

/* Identity */
.pub-identity-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0 1.25rem; margin-top: -1.75rem; position: relative; z-index: 1;
}
.pub-avatar-wrap {
  width: 64px; height: 64px;
  background: var(--warm-white);
  border-radius: 50%;
  border: 3px solid var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.pub-identity-info { flex: 1; padding-top: 1.85rem; }
.pub-username { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.pub-bio {
  font-size: 0.8rem; color: var(--text-secondary);
  margin-top: 0.25rem; line-height: 1.5; cursor: pointer;
}

/* Bio edit */
.pub-bio-edit-form { padding: 0 1.25rem; margin-top: 0.5rem; }
.pub-bio-textarea {
  width: 100%; resize: none;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 0.6rem 0.75rem; font-size: 0.82rem;
  font-family: 'Poppins', sans-serif; color: var(--text-primary);
  outline: none; line-height: 1.5;
}
.pub-bio-textarea:focus { border-color: var(--saffron); }
.pub-bio-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; }

/* Interests */
.pub-interests-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.75rem 1.25rem 0;
}
.pub-interest-tag {
  font-size: 0.7rem; font-weight: 600;
  background: rgba(232,134,10,0.1);
  color: var(--saffron);
  border: 1px solid rgba(232,134,10,0.25);
  border-radius: 20px; padding: 0.22rem 0.65rem;
}
.pub-add-interest {
  width: 28px; height: 28px;
  border-radius: 50%; border: 1.5px dashed var(--border);
  background: none; cursor: pointer; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.15s;
}
.pub-add-interest:hover { border-color: var(--saffron); color: var(--saffron); }

/* Interest picker */
.pub-interest-picker {
  margin: 0.75rem 1.25rem;
  background: var(--cream);
  border-radius: 14px;
  padding: 1rem;
}
.pip-title { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 0.6rem; }
.pip-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pip-tag {
  font-size: 0.72rem; font-weight: 600;
  background: var(--warm-white); color: var(--text-secondary);
  border: 1.5px solid var(--border); border-radius: 20px;
  padding: 0.25rem 0.65rem; cursor: pointer; transition: all 0.15s;
}
.pip-tag.selected { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* Stats */
.pub-stats-row {
  display: flex; gap: 0; margin: 1rem 1.25rem 0;
  background: var(--cream); border-radius: 14px; overflow: hidden;
}
.pub-stat {
  flex: 1; padding: 0.75rem 0.5rem; text-align: center;
  border-right: 1px solid var(--border);
}
.pub-stat:last-child { border-right: none; }
.pub-stat-val { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.pub-stat-lbl { font-size: 0.65rem; color: var(--text-light); }

/* Tabs */
.pub-tabs {
  display: flex; gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-top: 1rem; padding: 0 1.25rem;
}
.pub-tab {
  flex: 1; padding: 0.65rem 0.25rem;
  border: none; background: none;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-light); cursor: pointer;
  font-family: 'Poppins', sans-serif;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px; transition: all 0.18s;
}
.pub-tab.active { color: var(--saffron); border-bottom-color: var(--saffron); }

.pub-tab-content { padding: 0; }
.pub-tab-pane { display: none; }
.pub-tab-pane.active { display: block; }

/* Post composer */
.pub-composer {
  display: flex; gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.pub-composer-avatar { font-size: 1.6rem; flex-shrink: 0; margin-top: 0.1rem; }
.pub-composer-body { flex: 1; }
.pub-composer-input {
  width: 100%; resize: none; min-height: 72px;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0.65rem 0.75rem; font-size: 0.83rem;
  font-family: 'Poppins', sans-serif; color: var(--text-primary);
  outline: none; line-height: 1.55; transition: border-color 0.15s;
}
.pub-composer-input:focus { border-color: var(--saffron); }
.pub-composer-footer {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem;
}
.pub-emotion-select {
  font-size: 0.72rem; font-family: 'Poppins', sans-serif;
  border: 1.5px solid var(--border); border-radius: 20px;
  padding: 0.25rem 0.6rem; background: var(--bg); color: var(--text-secondary);
  cursor: pointer; outline: none;
}
.pub-char-count { font-size: 0.68rem; color: var(--text-light); margin-left: auto; }
.pub-post-btn {
  background: var(--saffron); color: #fff; border: none;
  border-radius: 20px; padding: 0.35rem 1rem;
  font-size: 0.78rem; font-weight: 700;
  font-family: 'Poppins', sans-serif; cursor: pointer;
  transition: background 0.15s;
}
.pub-post-btn:hover { background: #C96A00; }
.pub-post-btn:disabled { opacity: 0.6; }

/* Post cards */
.pub-post-card {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.pub-post-card:hover { background: rgba(232,134,10,0.03); }
.pub-post-header {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem;
}
.pub-post-avatar { font-size: 1.4rem; }
.pub-post-emotion {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  background: rgba(232,134,10,0.1); color: var(--saffron);
  border-radius: 10px; padding: 0.15rem 0.5rem; margin-right: 0.3rem;
}
.pub-post-time { font-size: 0.7rem; color: var(--text-light); }
.pub-post-delete {
  margin-left: auto; background: none; border: none;
  color: var(--text-light); cursor: pointer; font-size: 0.85rem;
  padding: 0.25rem; border-radius: 6px; transition: color 0.15s;
}
.pub-post-delete:hover { color: #E74C3C; }
.pub-post-content { font-size: 0.88rem; color: var(--text-primary); line-height: 1.65; }
.pub-post-footer { margin-top: 0.65rem; }
.pub-heart-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.78rem; color: var(--text-light);
  font-family: 'Poppins', sans-serif; padding: 0.2rem 0;
  transition: color 0.15s;
}
.pub-heart-btn:hover, .pub-heart-btn.hearted { color: #E74C3C; }
.pub-heart-btn.hearted i { color: #E74C3C; }

/* Stories grid */
.pub-stories-grid { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pub-story-card {
  background: var(--cream); border-radius: 12px;
  padding: 0.85rem 1rem;
}
.pub-story-cat {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--saffron); display: block; margin-bottom: 0.35rem;
}
.pub-story-excerpt {
  font-size: 0.83rem; color: var(--text-primary); line-height: 1.55;
  margin: 0 0 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pub-story-meta { font-size: 0.7rem; color: var(--text-light); }

/* Activity */
.pub-activity-list { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pub-activity-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-secondary);
  padding: 0.75rem 1rem;
  background: var(--cream); border-radius: 12px;
}
.pub-activity-item i { color: var(--saffron); font-size: 1rem; }

/* Empty state */
.pub-empty {
  padding: 2.5rem 1.25rem; text-align: center;
  color: var(--text-light);
}
.pub-empty i { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.pub-empty p { font-size: 0.83rem; margin: 0; }

/* Cover color picker */
.pub-cover-picker {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  display: flex; gap: 0.4rem;
  background: rgba(0,0,0,0.5); border-radius: 24px; padding: 0.4rem;
}
.pub-cover-swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5); cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.pub-cover-swatch:hover { transform: scale(1.2); border-color: #fff; }

/* Loading */
.pub-loading { padding: 2rem; text-align: center; color: var(--text-light); font-size: 0.83rem; }

@media (max-width: 520px) {
  .pub-cover { height: 140px; }
}

/* ── USER SEARCH ─────────────────────────────────────────── */
.nav-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-primary); font-size: 1.2rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  margin-right: 0.25rem;
}
.nav-search-btn:hover { background: rgba(0,0,0,0.07); color: var(--saffron); }

.user-search-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 5rem;
}
.user-search-overlay.open { display: flex; }

.user-search-box {
  background: var(--warm-white);
  width: 100%;
  max-width: 520px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: slideDown 0.22s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.user-search-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.user-search-icon { font-size: 1.2rem; color: var(--text-light); flex-shrink: 0; }
.user-search-input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; background: transparent;
  color: var(--text-primary);
  font-family: inherit;
}
.user-search-input::placeholder { color: var(--text-light); }
.user-search-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 1.2rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.user-search-close:hover { background: rgba(0,0,0,0.07); }

/* Search tabs */
.usr-search-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  gap: 0;
}
.ust-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.65rem 1rem;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
  margin-bottom: -1px;
}
.ust-tab:hover { color: var(--text-secondary); }
.ust-tab.active { color: var(--saffron); border-bottom-color: var(--saffron); }

/* Story result extras */
.usr-story-result .usr-search-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.usr-story-tag {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--saffron);
  background: rgba(255,107,53,0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
}

.user-search-results {
  max-height: 400px;
  overflow-y: auto;
}
.usr-search-hint, .usr-search-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.usr-search-result {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.usr-search-result:last-child { border-bottom: none; }
.usr-search-result:hover { background: var(--cream); }
.usr-search-avatar {
  font-size: 1.5rem; flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.usr-search-info { flex: 1; min-width: 0; }
.usr-search-name { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
.usr-search-bio {
  font-size: 0.78rem; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 0.15rem;
}
.usr-search-arrow { color: var(--text-light); font-size: 1.2rem; flex-shrink: 0; }

@media (max-width: 560px) {
  .user-search-overlay { padding-top: 0; align-items: flex-end; }
  .user-search-box { border-radius: 1.25rem 1.25rem 0 0; max-height: 85vh; }
  .user-search-results { max-height: calc(85vh - 70px); }
}

/* ================================================
   DARK THEME — Toggle Button
   ================================================ */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}
.theme-toggle-btn:hover {
  background: rgba(0,0,0,0.06);
  color: var(--saffron);
}
[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255,255,255,0.1);
}

/* ================================================
   HEALERS STRIP — Social proof on landing
   ================================================ */
.healers-strip {
  background: linear-gradient(135deg, #fff8f3 0%, #fff4ec 100%);
  border-bottom: 1px solid rgba(255,107,53,0.08);
  padding: 0.85rem 1.5rem;
}
.hs-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hs-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hs-avatars {
  display: flex;
  gap: 0.35rem;
}
.hs-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,107,53,0.08);
  border: 1.5px solid rgba(255,107,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.hs-stat {
  font-size: 0.75rem;
  color: var(--text-light);
}
.hs-stat strong {
  color: var(--saffron);
  font-weight: 700;
}
@media (max-width: 600px) {
  .hs-inner { gap: 0.75rem; }
  .hs-label { font-size: 0.72rem; }
  .hs-stat { font-size: 0.68rem; }
}

/* ================================================
   FEEL SECTION
   ================================================ */
.feel-section {
  background: linear-gradient(180deg, var(--warm-white) 0%, #FFF4E8 50%, #FFF0E0 100%);
  padding: 5rem 0 4rem;
  position: relative;
}
.feel-section::before {
  display: none;
}
.feel-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.feel-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.75rem;
}
.feel-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.feel-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}
.feel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.feel-chip {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,107,53,0.10);
  border-radius: 50px;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.feel-chip:hover {
  border-color: rgba(255,107,53,0.25);
  color: var(--saffron);
  background: rgba(255,255,255,0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,0.10);
}
.feel-chip.active {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-saffron) 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,107,53,0.30);
}
.feel-response {
  max-width: 760px;
  margin: 0 auto;
  display: none;
  animation: feel-response-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes feel-response-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feel-response.visible { display: block; }
.feel-story-preview {
  background: linear-gradient(165deg, #FFFCF8 0%, #FFF4E8 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--saffron);
  box-shadow: 0 4px 24px rgba(255,107,53,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.feel-story-preview::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 5rem;
  color: rgba(255,107,53,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.fsp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(255,107,53,0.1);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.75rem;
}
.fsp-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.fsp-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fsp-hearts { color: var(--terracotta); font-weight: 600; }
.feel-peer-match {
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(244,162,97,0.08));
  border: 1.5px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.fpm-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.fpm-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ================================================
   LIVE STORIES CAROUSEL
   ================================================ */
.live-stories-section {
  padding: 5rem 0;
  background: #fff;
  position: relative;
}
.live-stories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255,107,53,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 30%, rgba(244,162,97,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.lss-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.lss-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,53,0.1);
  border: 1.5px solid rgba(255,107,53,0.2);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.lss-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.lss-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}
.lsc-wrapper {
  position: relative;
  max-width: 780px;
  margin: 0 auto 1.5rem;
  padding: 0 36px;
}
.lsc-track-clip {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 6px 2px 16px;
}
.lsc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.lsc-card {
  min-width: 100%;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 30px rgba(61,26,0,0.08);
  flex-shrink: 0;
}
.lsc-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.lsc-avatar {
  font-size: 2rem;
  flex-shrink: 0;
}
.lsc-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lsc-user {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.lsc-time {
  font-size: 0.75rem;
  color: var(--text-light);
}
.lsc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-left: auto;
}
.lsc-tag.tag-breakup { background: rgba(232,85,26,0.1); color: #c84b31; }
.lsc-tag.tag-exam    { background: rgba(244,196,48,0.15); color: #8a6d00; }
.lsc-tag.tag-lonely  { background: rgba(127,176,105,0.12); color: #3d7a30; }
.lsc-tag.tag-career  { background: rgba(74,140,63,0.1); color: #2e6b24; }
.lsc-tag.tag-anxiety { background: rgba(200,75,49,0.1); color: #8a2020; }
.lsc-tag.tag-grief   { background: rgba(100,130,100,0.12); color: #3d5e3d; }
.lsc-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 0.5rem;
}
.lsc-text::before {
  content: '"';
  font-size: 3.5rem;
  color: rgba(255,107,53,0.12);
  position: absolute;
  top: -20px; left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}
.lsc-peer-reply {
  background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(255,193,7,0.06) 100%);
  border-left: 3px solid rgba(255,107,53,0.3);
  border-radius: 0 12px 12px 0;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.lsc-reply-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.3px;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.lsc-reply-bubble {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}
.lsc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lsc-hearts {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lsc-hearts i { color: #e74c3c; }
.lsc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(61,26,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-secondary);
  z-index: 2;
  transition: all 0.2s;
}
.lsc-nav:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-50%) scale(1.08); }
.lsc-prev { left: 0; }
.lsc-next { right: 0; }
.lsc-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.lsc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.lsc-dot.active {
  background: var(--saffron);
  width: 24px;
  border-radius: 4px;
}
.lss-cta-row {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.lss-cta-note {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ================================================
   PEER MATCH LIVE SECTION
   ================================================ */
.peer-live-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0d0600 0%, #1e0c00 50%, #120700 100%);
  position: relative;
  overflow: hidden;
}
.peer-live-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(255,107,53,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(244,162,97,0.07) 0%, transparent 45%);
  pointer-events: none;
}
.pls-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.pls-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1rem;
}
.pls-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.pls-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}
.pls-matches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.pls-match-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid rgba(255,107,53,0.50);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  animation: match-item-in 0.4s ease both;
}
@keyframes match-item-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pls-match-item:hover {
  border-left-color: var(--marigold);
  background: rgba(255,107,53,0.09);
  transform: translateX(3px);
}
.pls-match-item:nth-child(1) { animation-delay: 0.1s; }
.pls-match-item:nth-child(2) { animation-delay: 0.2s; }
.pls-match-item:nth-child(3) { animation-delay: 0.3s; }
.pls-match-item:nth-child(4) { animation-delay: 0.4s; }
.pls-match-item.entering {
  animation: match-enter 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.pls-match-item.exiting {
  animation: match-exit 0.35s ease forwards;
  pointer-events: none;
}
@keyframes match-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes match-exit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
.pmi-avatar { font-size: 1.75rem; flex-shrink: 0; }
.pmi-info { flex: 1; min-width: 0; }
.pmi-user {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--saffron);
  margin-bottom: 0.3rem;
  opacity: 0.85;
}
.pmi-pain {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
  line-height: 1.5;
}
.pmi-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  flex-shrink: 0;
}
.pmi-badge.online {
  background: rgba(127,176,105,0.18);
  color: #7fb069;
}
.pmi-badge.typing {
  background: rgba(244,162,97,0.18);
  color: var(--marigold);
  animation: typing-pulse 1.2s ease-in-out infinite;
}
@keyframes typing-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.pls-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.pls-footer-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  justify-content: center;
}
.pls-footer-stats strong {
  color: var(--saffron);
  font-weight: 800;
  font-size: 1.1rem;
}
.pls-footer-sep { color: rgba(255,255,255,0.2); }
.pls-privacy-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pls-privacy-note i { color: var(--sage); }

/* ================================================
   DARK THEME — Hardcoded White Overrides
   ================================================ */
[data-theme="dark"] .hero-card-float,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .stories-toggle button.active,
[data-theme="dark"] .chat-bubble .msg-text,
[data-theme="dark"] .peer-profile-card,
[data-theme="dark"] .psf-card,
[data-theme="dark"] .peer-result-card,
[data-theme="dark"] .peer-profile,
[data-theme="dark"] .affordable-item,
[data-theme="dark"] .leaderboard-card,
[data-theme="dark"] .achievements-card,
[data-theme="dark"] .lbt.active,
[data-theme="dark"] .activity-feed-wrap,
[data-theme="dark"] .rank-ladder-card,
[data-theme="dark"] .rs-item,
[data-theme="dark"] .modal-card,
[data-theme="dark"] .rw-karma-section,
[data-theme="dark"] .rw-lb-card,
[data-theme="dark"] .rw-ac-card,
[data-theme="dark"] .rw-activity-card,
[data-theme="dark"] .rw-journey-card,
[data-theme="dark"] .rw-store,
[data-theme="dark"] .quick-tool-card,
[data-theme="dark"] .pro-help-card,
[data-theme="dark"] .pbt.active,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .pfaq-item {
  background: var(--card-bg);
  border-color: var(--border);
}

/* Nav, modals, panels, forms */
[data-theme="dark"] #main-nav {
  background: rgba(20, 20, 37, 0.95);
  border-color: var(--border);
}
[data-theme="dark"] .mobile-nav {
  background: var(--card-bg);
  border-color: var(--border);
}
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--border);
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--text-light);
}
[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .struggle-item {
  background: var(--card-bg);
  border-color: var(--border);
}
[data-theme="dark"] .struggle-item.selected {
  background: rgba(232, 155, 107, 0.15);
}
[data-theme="dark"] .prefer-card {
  background: var(--card-bg);
  border-color: var(--border);
}
[data-theme="dark"] .prefer-card.selected {
  background: rgba(232, 155, 107, 0.15);
}

/* Tag overrides for dark backgrounds */
[data-theme="dark"] .tag-breakup,
[data-theme="dark"] .tag-loneliness,
[data-theme="dark"] .tag-career,
[data-theme="dark"] .tag-family,
[data-theme="dark"] .tag-anxiety,
[data-theme="dark"] .tag-hope,
[data-theme="dark"] .tag-grief,
[data-theme="dark"] .tag-financial {
  opacity: 0.85;
}

/* Sound buttons in dark mode */
[data-theme="dark"] .sound-btn {
  background: rgba(232, 155, 107, 0.08);
  border-color: rgba(232, 155, 107, 0.2);
}
[data-theme="dark"] .sound-btn.playing {
  background: rgba(232, 155, 107, 0.18);
}

/* Profile panel / profile page */
[data-theme="dark"] .pp-panel,
[data-theme="dark"] .profile-header {
  background: var(--card-bg);
}

/* Footer */
[data-theme="dark"] .footer {
  background: #0E0E1A;
  color: rgba(232, 224, 216, 0.75);
}
[data-theme="dark"] .footer-bottom {
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

/* Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--warm-white); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--border); }

/* ================================================
   RESPONSIVE — New Sections
   ================================================ */
@media (max-width: 900px) {
  .pls-matches { grid-template-columns: 1fr; }
  .pls-sub { max-width: 100%; }
}
@media (max-width: 600px) {
  .feel-chip { font-size: 0.82rem; padding: 0.55rem 1rem; }
  .feel-peer-match { flex-direction: column; align-items: flex-start; }
  .fpm-actions { width: 100%; }
  .fpm-actions .btn { width: 100%; justify-content: center; }
  .lsc-card { padding: 1.5rem; }
  .lsc-wrapper { padding: 0 24px; }
  .lsc-prev { left: 0; }
  .lsc-next { right: 0; }
  .pls-footer-stats { flex-direction: column; gap: 0.4rem; }
  .pqs-div { width: 40px; height: 1px; }
  .lsc-text::before { display: none; }
}

/* ================================================
   SARAATHI ONBOARDING SLIDE DECK
   ================================================ */

/* ── Wrap (full-screen overlay) ─────────────── */
.ob-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 10, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ob-wrap.ob-visible { opacity: 1; }
.ob-wrap.ob-exit    { opacity: 0; pointer-events: none; }

/* ── Card ───────────────────────────────────── */
.ob-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(232,134,10,0.12);
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem);
}
[data-theme="dark"] .ob-card { background: #1a1008; }

/* ── Progress bar ───────────────────────────── */
.ob-progress {
  height: 3px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}
[data-theme="dark"] .ob-progress { background: rgba(255,255,255,0.08); }
.ob-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B35, #E8860A, #FFC947);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* ── Skip ───────────────────────────────────── */
.ob-skip {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-family: inherit;
}
.ob-skip:hover { color: #444; background: rgba(255,255,255,0.95); }
[data-theme="dark"] .ob-skip { background: rgba(30,20,10,0.6); color: #666; }

/* ── Slide track ────────────────────────────── */
.ob-track {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

/* ── Individual slide ───────────────────────── */
.ob-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.ob-slide.ob-slide-active {
  display: flex;
}

@keyframes obSlideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes obSlideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes obSlideOutLeft {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(-100%); opacity: 0; }
}
@keyframes obSlideOutRight {
  from { transform: translateX(0);   opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

.ob-slide.ob-slide-in-right  { animation: obSlideInRight  0.32s cubic-bezier(0.4,0,0.2,1) both; }
.ob-slide.ob-slide-in-left   { animation: obSlideInLeft   0.32s cubic-bezier(0.4,0,0.2,1) both; }
.ob-slide.ob-slide-out-left  { animation: obSlideOutLeft  0.28s cubic-bezier(0.4,0,0.2,1) both; display: flex; }
.ob-slide.ob-slide-out-right { animation: obSlideOutRight 0.28s cubic-bezier(0.4,0,0.2,1) both; display: flex; }

/* ── Visual block (top half) ────────────────── */
.ob-visual-wrap {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ob-visual-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
[data-theme="dark"] .ob-visual-bg { opacity: 0.28; }
.ob-visual-emoji {
  font-size: 5.5rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
  animation: obEmojiIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.1s;
}
@keyframes obEmojiIn {
  from { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1)   rotate(0deg);   opacity: 1; }
}

/* ── Text content ───────────────────────────── */
.ob-content {
  padding: 1.5rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ob-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8860A;
}
.ob-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary, #2D1B00);
  margin: 0;
}
[data-theme="dark"] .ob-title { color: #f5e6d3; }
.ob-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary, #6B4423);
  margin: 0;
}
[data-theme="dark"] .ob-body { color: #c9a882; }

/* ── CTA button (last slide) ────────────────── */
.ob-cta-btn {
  margin-top: 0.75rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #FF6B35, #E8560A);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  align-self: flex-start;
}
.ob-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,0.45); }
.ob-cta-btn:active { transform: translateY(0); }

/* ── Footer ─────────────────────────────────── */
.ob-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
[data-theme="dark"] .ob-footer { border-top-color: rgba(255,255,255,0.06); }

/* Dots */
.ob-dots { display: flex; gap: 6px; align-items: center; }
.ob-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
[data-theme="dark"] .ob-dot { background: #3a2a1c; }
.ob-dot.ob-dot-active {
  background: #E8860A;
  transform: scale(1.4);
}

/* Nav buttons */
.ob-actions { display: flex; gap: 0.5rem; align-items: center; }
.ob-prev, .ob-next {
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.ob-prev {
  background: #f2f2f2;
  color: #555;
}
[data-theme="dark"] .ob-prev { background: #2d2018; color: #c9a882; }
.ob-prev:hover { background: #e6e6e6; }
[data-theme="dark"] .ob-prev:hover { background: #3a2a1c; }
.ob-next {
  background: linear-gradient(135deg, #E8860A, #FF6B35);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,134,10,0.3);
}
.ob-next:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(232,134,10,0.4); }
.ob-next:active { transform: translateY(0); }
.ob-next.ob-next-finish {
  background: linear-gradient(135deg, #27AE60, #2ECC71);
  box-shadow: 0 4px 14px rgba(39,174,96,0.35);
}

/* ── Confetti ────────────────────────────────── */
.ob-confetti {
  position: fixed;
  top: -12px;
  z-index: 10001;
  pointer-events: none;
  animation: obConfettiFall linear forwards;
}
@keyframes obConfettiFall {
  0%   { top: -12px; opacity: 1;  transform: rotate(0deg)   translateX(0); }
  100% { top: 110vh;  opacity: 0;  transform: rotate(720deg) translateX(var(--end-x, 0px)); }
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 480px) {
  .ob-card { border-radius: 20px; }
  .ob-visual-wrap { height: 160px; }
  .ob-visual-emoji { font-size: 4.5rem; }
  .ob-content { padding: 1.25rem 1.25rem 0.75rem; }
  .ob-title { font-size: 1.1rem; }
  .ob-cta-btn { align-self: stretch; text-align: center; }
}

/* =====================================================
   EMOTIONAL REDESIGN — Remove dating-app visual cues
   ===================================================== */

/* Hero glow — orange warmth */
.hv-glow-2 {
  background: radial-gradient(circle, rgba(244,162,97,0.14) 0%, transparent 70%);
}

/* Whisper text in dark mode */
[data-theme="dark"] .hv-whisper {
  color: rgba(220,180,160,0.3);
}

/* Hero card: warm journal feel */
.hero-card-float {
  border: none !important;
  border-top: 3px solid rgba(255,107,53,0.40) !important;
  box-shadow: 0 2px 8px rgba(255,107,53,0.06), 0 12px 36px rgba(61,26,0,0.10), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  transform: rotate(-1.5deg) !important;
  max-width: 320px !important;
}
.hcf-quote {
  border-left-color: rgba(255,107,53,0.35) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}
.hcf-meta {
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(255,107,53,0.10);
  margin-top: 0.25rem;
}
.hcf-avatar-emoji { font-size: 1.1rem !important; opacity: 0.7; }
.hcf-user { font-size: 0.73rem !important; font-weight: 500 !important; color: var(--text-secondary) !important; }
.hcf-hearts-badge { color: #e0604a !important; background: rgba(255,107,53,0.08) !important; }

/* Floating particles — subtle, not decorative */
.hv-particle {
  font-size: 0.72rem !important;
  animation: particle-drift-soft 6.5s ease-in-out infinite !important;
}
@keyframes particle-drift-soft {
  0%   { opacity: 0;    transform: translateY(8px)  scale(0.7); }
  25%  { opacity: 0.38; }
  70%  { opacity: 0.22; transform: translateY(-18px) scale(0.95); }
  100% { opacity: 0;    transform: translateY(-32px) scale(0.6); }
}

/* Empathy nudge + warm whisper dark mode */
[data-theme="dark"] .hv-empathy-nudge {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg) 100%);
  border-color: rgba(180,70,60,0.15);
}
[data-theme="dark"] .hv-live-pulse {
  background: rgba(30,25,20,0.85);
  border-color: rgba(180,70,60,0.15);
}
[data-theme="dark"] .hww-text {
  color: rgba(220,200,180,0.5);
}

/* Peer live section: testimonial cards, not dating profiles */
.pls-match-item {
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 1rem 1.25rem 0.85rem 1.5rem !important;
  gap: 0.3rem !important;
}
.pmi-avatar { display: none !important; }
.pmi-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.3rem;
}
.pmi-pain {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 0.87rem !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.82) !important;
  order: -1;
}
.pmi-user {
  font-size: 0.7rem !important;
  opacity: 0.38 !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
}
.pmi-badge { align-self: flex-start; margin-top: 0.15rem; }

/* Feel chips — less Tinder-pill, more honest note */
.feel-chip {
  border-radius: 10px !important;
  font-weight: 500 !important;
}
.feel-chip.active {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-saffron) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(255,107,53,0.35) !important;
}

/* Peer form: less dating-app preference cards */
.prefer-card { border-radius: 12px !important; }
.struggle-item { border-radius: 8px !important; }

/* =====================================================
   LEADER DASHBOARD PAGE
   ===================================================== */
/* ── THE WALL — Floating icon on home (left side) ── */
.wall-float {
  position: fixed;
  top: 5rem;
  left: 1.25rem;
  z-index: 90;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s ease;
}
.wall-float:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 24px rgba(255,107,53,0.35));
}
.wall-float-svg {
  display: block;
  filter: drop-shadow(0 4px 14px rgba(255,107,53,0.25));
  transition: filter 0.3s ease;
}
.wall-float:hover .wall-float-svg {
  filter: drop-shadow(0 8px 28px rgba(255,107,53,0.4));
}
@media (max-width: 1100px) {
  .wall-float { display: none; }
}

/* ── THE WALL — Page section ── */
.wall-section {
  padding: 0;
  background: linear-gradient(180deg, #0c0a08 0%, #141010 40%, #1a1410 100%);
  position: relative;
  overflow: hidden;
}
.wall-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.wall-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(249,168,37,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.wall-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  position: relative;
  z-index: 1;
}

/* Hero */
.wall-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wall-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.05em;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #c94a00 0%, #FF6B35 40%, #F9A825 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  filter: drop-shadow(0 4px 20px rgba(255,107,53,0.15));
}
.wall-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--saffron);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}
.wall-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.5);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  font-weight: 600;
}
.wall-hero-impact {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: rgba(255,107,53,0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(255,107,53,0.08);
  border: 1.5px solid rgba(255,107,53,0.15);
  margin-bottom: 0.5rem;
}
.wall-impact-num strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--saffron);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(255,107,53,0.3);
}
.wall-impact-num span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  display: block;
}

/* Closing */
.wall-closing {
  text-align: center;
  margin-top: 2.5rem;
  padding: 3rem 2rem;
  background: rgba(255,107,53,0.05);
  border-radius: 28px;
  border: 1px solid rgba(255,107,53,0.1);
  position: relative;
  overflow: hidden;
}
.wall-closing::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(255,107,53,0.08);
  line-height: 1;
  pointer-events: none;
}
.wall-closing-quote {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
  font-style: italic;
  position: relative;
}

/* Toggle */
.wall-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 0.35rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.wall-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.wall-toggle-btn:hover {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
}
.wall-toggle-btn.active {
  background: linear-gradient(135deg, var(--saffron), #e85a10);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.25);
}
.wall-toggle-btn svg { flex-shrink: 0; }

/* Panels */
.wall-panel { display: none; }
.wall-panel.active { display: block; animation: pm-card-enter 0.5s ease-out; }
.wall-panel-desc {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Empty state */
.wall-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.65;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}
.wall-empty-state p { margin: 0; }

/* Stats */
.wall-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
}
.wall-stat {
  text-align: center;
  flex: 1;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wall-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,53,0.2);
  box-shadow: 0 8px 24px rgba(255,107,53,0.08);
}
.wall-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1.1;
}
.wall-stat span { font-size: 0.68rem; color: rgba(255,255,255,0.3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; display: block; }
.wall-stat-sep { display: none; }

/* Highlights */
.wall-hl {
  color: var(--saffron);
  font-weight: 700;
}
.wall-credit {
  color: var(--saffron);
  font-weight: 800;
  font-size: 0.82rem;
}

/* Tabs */
.wall-tabs {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.wall-tab {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.08);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.wall-tab:hover { border-color: rgba(255,107,53,0.3); color: rgba(255,255,255,0.6); }
.wall-tab.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}

/* Wall grid */
.wall-grid {
  margin-bottom: 1rem;
  min-height: 180px;
}

/* Override lb-list colors for dark wall */
.wall-section .lb-list { gap: 0.5rem; }
.wall-section .lb-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 0.75rem 1rem;
}
.wall-section .lb-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,107,53,0.15);
}
.wall-section .lb-first {
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.05));
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 0 20px rgba(255,215,0,0.08);
}
.wall-section .lb-second {
  background: rgba(192,192,192,0.06);
  border-color: rgba(192,192,192,0.2);
  box-shadow: 0 0 16px rgba(192,192,192,0.05);
}
.wall-section .lb-third {
  background: rgba(205,127,50,0.06);
  border-color: rgba(205,127,50,0.2);
  box-shadow: 0 0 16px rgba(205,127,50,0.05);
}
.wall-section .lb-user-name {
  color: #fff;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}
.wall-section .lb-user-meta {
  color: rgba(255,255,255,0.35);
}
.wall-section .lb-rank-num {
  color: rgba(255,255,255,0.3);
}
.wall-section .lb-user-credits span {
  color: var(--saffron);
}
.wall-section .lb-user-credits small {
  color: rgba(255,255,255,0.3);
}
.wall-section .lb-avatar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.wall-section .lb-your-rank {
  background: rgba(255,107,53,0.06);
  border-color: rgba(255,107,53,0.15);
}
.wall-section .lb-your-rank .rw-yr-label {
  color: rgba(255,255,255,0.4);
}
.wall-section .lb-your-rank .rw-yr-num {
  color: var(--saffron);
}
.wall-section .lb-your-rank .rw-yr-cta {
  color: rgba(255,255,255,0.3);
}

/* Your position */
.wall-you {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.wall-you-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,107,53,0.06);
  border: 1.5px solid rgba(255,107,53,0.15);
  border-left: 4px solid var(--saffron);
  border-radius: 18px;
}
.wall-you-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}
.wall-you-rank {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--saffron);
}
.wall-you-cred {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  flex: 1;
}

/* How to get on The Wall */
.wall-how {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.wall-how h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.wall-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.wall-how-item {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 1.5rem 0.75rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.wall-how-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.25);
  box-shadow: 0 8px 28px rgba(255,107,53,0.1);
}
.wall-how-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 4px rgba(255,107,53,0.15));
}
.wall-how-item strong {
  font-size: 0.88rem;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
  font-family: 'Poppins', sans-serif;
}
.wall-how-item div {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .wall-page { padding: 3rem 1.25rem 4rem; }
  .wall-how-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-stats { gap: 1.25rem; padding: 1.25rem; flex-wrap: wrap; }
  .wall-stat strong { font-size: 1.4rem; }
  .wall-you-inner { flex-wrap: wrap; gap: 0.75rem; padding: 1rem 1.25rem; }
  .wall-toggle { max-width: 100%; }
}

.leaderboard-section { padding: 0; }

.lb-page-hero {
  background: linear-gradient(135deg, #0d0600 0%, #1e0c00 50%, #120700 100%);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.lb-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(255,107,53,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(244,162,97,0.07) 0%, transparent 45%);
  pointer-events: none;
}
.lb-page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.lb-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,107,53,0.14);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 50px;
  padding: 0.38rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.lb-page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.lb-page-title span {
  background: linear-gradient(120deg, var(--saffron), var(--marigold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lb-page-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.lb-page-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.lb-page-stat-item { text-align: center; }
.lb-page-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1;
}
.lb-page-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lb-page-stat-sep {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.1);
}

.lb-page-body { background: var(--warm-white); padding: 3rem 0 5rem; }

.lb-page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.lb-page-period {
  display: flex;
  gap: 0.35rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.3rem;
}
.lb-page-tab {
  padding: 0.42rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.lb-page-tab.active { background: var(--saffron); color: #fff; }

.lb-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}
.lb-page-main-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.lb-page-card-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lb-page-card-header h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.lb-page-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
}
.lb-page-list-wrap { padding: 0.5rem 1rem 1rem; }

.lb-page-side { display: flex; flex-direction: column; gap: 1rem; }

.lb-page-your-card {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.lb-page-your-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.lb-page-your-rank {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.lb-page-your-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-top: 0.75rem; }
.lb-page-your-credits { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }

.lb-page-how-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}
.lb-page-how-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}
.lb-page-how-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.lb-page-how-item:last-child { border-bottom: none; }
.lb-page-how-item strong { color: var(--saffron); }

/* PP Credits tab */
.pp-credits-tab { padding: 0; }
.pp-credits-balance-row {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  padding: 1.25rem 1.1rem;
  margin-bottom: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pp-credits-bal-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1;
}
.pp-credits-bal-lbl { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.pp-credits-rank { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }
.pp-credits-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.pp-credits-earn-row {
  padding: 0.85rem 1.1rem;
}
.pp-credits-earn-title { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.65rem; }
.pp-credits-earn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.pp-credits-earn-item:last-child { border-bottom: none; }
.pp-credits-earn-item strong { color: var(--sage); }

/* PP SOS tab */
.pp-sos-tab { padding: 0; }
.pp-sos-tab-hero {
  background: linear-gradient(135deg, #1a0800 0%, #2d1200 100%);
  padding: 1.5rem 1.1rem;
  margin-bottom: 0;
}
.pp-sos-tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.pp-sos-tab-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.pp-sos-numbers {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.pp-sos-num-label { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.65rem; }
.pp-sos-num-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.18);
  color: var(--saffron);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}
.pp-sos-num-btn:hover { background: rgba(255,107,53,0.14); }
.pp-sos-num-btn i { font-size: 1rem; }
.pp-sos-topics {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.pp-sos-topics-label { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.65rem; }
.pp-sos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pp-sos-chip {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.pp-sos-more-link {
  display: block;
  text-align: center;
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--saffron);
  cursor: pointer;
}
.pp-sos-more-link:hover { opacity: 0.8; }

/* Dark theme adjustments */
[data-theme="dark"] .lb-page-your-card {
  background: linear-gradient(135deg, #2a1500 0%, #1e1000 100%);
  border-color: rgba(255,107,53,0.2);
}
[data-theme="dark"] .lb-page-main-card,
[data-theme="dark"] .lb-page-how-card { background: var(--card-bg); }
[data-theme="dark"] .lb-page-tab { color: var(--text-secondary); }
[data-theme="dark"] .pp-credits-balance-row {
  background: linear-gradient(135deg, #2a1500 0%, #1e1000 100%);
}

@media (max-width: 900px) {
  .lb-page-grid { grid-template-columns: 1fr; }
  .lb-page-side { flex-direction: row; flex-wrap: wrap; }
  .lb-page-your-card, .lb-page-how-card { flex: 1; min-width: 260px; }
}
@media (max-width: 600px) {
  .lb-page-stats { gap: 1.5rem; }
  .lb-page-side { flex-direction: column; }
}



/* =====================================================
   PEER LIVE — pre-launch state
   ===================================================== */
.pls-prelaunch-msg {
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.pls-prelaunch-icon { font-size: 3rem; margin-bottom: 1rem; }
.pls-prelaunch-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.pls-prelaunch-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* =====================================================
   LIVE STATS BOX — pre-launch note variant
   ===================================================== */
.live-stats-box.prelaunch-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 1rem;
}
.live-stats-box.prelaunch-note i {
  color: var(--saffron);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* =====================================================
   TEASER POSTS — empty state
   ===================================================== */
.teaser-empty-state {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.tes-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.tes-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* =====================================================
   STORIES — empty state & founder story
   ===================================================== */
.stories-empty-state {
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  grid-column: 1 / -1;
}
.ses-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.ses-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.ses-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.founder-story {
  border-left: 4px solid var(--sage) !important;
}

/* =====================================================
   REWARDS — pre-launch band
   ===================================================== */
.rw-prelaunch-band {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.rw-prelaunch-band i { color: var(--sage); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
[data-theme="dark"] .rw-prelaunch-band {
  background: linear-gradient(135deg, #2a1500 0%, #1e1000 100%);
  border-color: rgba(255,107,53,0.2);
}

/* =====================================================
   HELPLINE SOURCE NOTE
   ===================================================== */
.help-strip-source {
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.help-strip-source i { flex-shrink: 0; margin-top: 0.1rem; }
.help-strip-source strong { color: rgba(255,255,255,0.65); }

/* =====================================================
   LEGAL PAGES (Privacy, ToS, Guidelines)
   ===================================================== */
.legal-section { padding: 0; }
.legal-header {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-bottom: 0;
}
.legal-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.legal-date { font-size: 0.85rem; color: var(--text-light); margin-top: 0.4rem; }
.legal-body {
  max-width: 760px;
  padding: 2.5rem 1.5rem 5rem;
  margin: 0 auto;
}
.legal-block { margin-bottom: 2rem; }
.legal-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.legal-block a { color: var(--saffron); text-decoration: underline; }
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-light);
}
.legal-note {
  background: rgba(127,176,105,0.08);
  border-left: 4px solid var(--sage);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.legal-note i { color: var(--sage); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
[data-theme="dark"] .legal-header {
  background: linear-gradient(135deg, #2a1500 0%, #1e1000 100%);
  border-color: var(--border);
}

/* ================================================
   PEER CHAT + VOICE CALL
   ================================================ */

/* ── Chat Panel ── */
.pc-panel {
  position: relative; background: var(--card-bg); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column;
  max-height: 600px; margin: 0 auto; max-width: 560px;
}
.pc-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}
.pc-back {
  background: none; border: none; cursor: pointer; font-size: 1.1rem;
  color: var(--text-secondary); padding: 0.3rem;
}
.pc-partner { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.pc-avatar { font-size: 1.5rem; }
.pc-name { font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); display: block; }
.pc-status { font-size: 0.65rem; color: var(--sage); font-weight: 600; }
.pc-actions { display: flex; gap: 0.4rem; }
.pc-action-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--warm-white); cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--saffron); transition: all 0.2s;
}
.pc-action-btn:hover { background: rgba(255,107,53,0.06); border-color: var(--saffron); }
.pc-action-btn--end { color: #D4634A; }
.pc-action-btn--end:hover { background: rgba(212,99,74,0.06); border-color: #D4634A; }

/* Messages area */
.pc-messages {
  flex: 1; overflow-y: auto; padding: 1rem 1.25rem; min-height: 300px;
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--cream);
}
.pc-msg { display: flex; align-items: flex-end; gap: 0.4rem; }
.pc-msg--own { flex-direction: row-reverse; }
.pc-bubble { display: flex; align-items: flex-end; gap: 0.4rem; max-width: 75%; }
.pc-msg--own .pc-bubble { flex-direction: row-reverse; }
.pc-msg-avatar { font-size: 1.1rem; flex-shrink: 0; }
.pc-msg-body {
  padding: 0.6rem 0.9rem; border-radius: 14px 14px 14px 4px;
  background: var(--card-bg); border: 1px solid var(--border);
}
.pc-msg--own .pc-msg-body {
  background: var(--saffron); border-color: var(--saffron);
  border-radius: 14px 14px 4px 14px; color: #fff;
}
.pc-msg-text { font-size: 0.85rem; line-height: 1.5; }
.pc-msg--own .pc-msg-text { color: #fff; }
.pc-msg-time { font-size: 0.6rem; color: var(--text-light); margin-top: 0.2rem; }
.pc-msg--own .pc-msg-time { color: rgba(255,255,255,0.6); }

/* Typing indicator */
.pc-typing {
  padding: 0.4rem 1.25rem; font-size: 0.72rem; color: var(--text-light);
  display: flex; align-items: center; gap: 0.4rem; background: var(--cream);
}
.pc-typing-dots { display: flex; gap: 3px; }
.pc-typing-dots span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-light);
  animation: pcTyping 1.2s infinite; opacity: 0.4;
}
.pc-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.pc-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pcTyping { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Input bar */
.pc-input-bar {
  display: flex; align-items: flex-end; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--border);
  background: var(--card-bg);
}
.pc-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem; font-family: 'Hind', sans-serif; font-size: max(1rem, 16px);
  color: var(--text-primary); background: var(--warm-white); resize: none;
  max-height: 100px; line-height: 1.4;
}
.pc-input:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px rgba(255,107,53,0.08); }
.pc-send-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--saffron); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: background 0.2s;
}
.pc-send-btn:hover { background: var(--deep-saffron); }

/* ── Voice Call Overlay ── */
.vc-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.vc-card {
  background: var(--card-bg); border-radius: var(--radius-xl);
  padding: 3rem; text-align: center; max-width: 320px; width: 90%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.vc-avatar { font-size: 3rem; margin-bottom: 1rem; }
.vc-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.vc-status { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.5rem; }
.vc-timer { font-size: 1.3rem; font-weight: 700; color: var(--saffron); margin-bottom: 1.5rem; }
.vc-controls { display: flex; gap: 1.5rem; justify-content: center; }
.vc-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  transition: transform 0.2s;
}
.vc-btn:hover { transform: scale(1.08); }
.vc-mute { background: var(--border); color: var(--text-primary); }
.vc-mute.vc-muted { background: #D4634A; color: #fff; }
.vc-hangup { background: #D4634A; color: #fff; }

/* ── Incoming Call Modal ── */
.vi-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.vi-card {
  background: var(--card-bg); border-radius: var(--radius-xl);
  padding: 2.5rem; text-align: center; max-width: 300px; width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.vi-avatar { font-size: 2.5rem; margin-bottom: 0.75rem; }
.vi-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.vi-label { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.5rem; }
.vi-actions { display: flex; gap: 1rem; justify-content: center; }
.vi-btn {
  padding: 0.6rem 1.5rem; border-radius: 100px; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.3rem; transition: transform 0.2s;
}
.vi-btn:hover { transform: scale(1.04); }
.vi-accept { background: var(--sage); color: #fff; }
.vi-decline { background: #D4634A; color: #fff; }

/* ── Match Found Card ── */
.mf-card {
  text-align: center; max-width: 420px; margin: 2rem auto;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
}
.mf-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.mf-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.25rem; }
.mf-partner { margin-bottom: 1.5rem; }
.mf-partner-avatar { font-size: 2rem; margin-bottom: 0.35rem; }
.mf-partner-name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.mf-partner-struggles { font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; }
.mf-actions { display: flex; gap: 0.75rem; justify-content: center; margin-bottom: 0.75rem; }
.mf-accept { min-width: 140px; }
.mf-timer-text { font-size: 0.7rem; color: var(--text-light); }

/* ================================================
   CAMPUS AMBASSADOR PROGRAM
   ================================================ */
.amb-page { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 4rem; }

/* ── Hero ── */
.amb-hero {
  position: relative; text-align: center; padding: 3.5rem 1.5rem 3rem;
  margin: 0 -1.5rem 3rem; overflow: hidden;
  background: linear-gradient(135deg, #3D1A00 0%, #6B2D0A 40%, #BF360C 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.amb-hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.25) 0%, transparent 70%);
  pointer-events: none; animation: ambGlowPulse 4s ease-in-out infinite;
}
@keyframes ambGlowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.amb-hero-inner { position: relative; z-index: 1; }
.amb-hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12); color: #FFD6C0;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 0.35rem 1.1rem; border-radius: 100px; margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px);
}
.amb-hero-badge i { color: #FF6B35; font-size: 0.85rem; }
.amb-headline {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800;
  color: #fff; line-height: 1.18; margin-bottom: 1rem;
}
.amb-headline em { font-style: italic; color: #FFB088; }
.amb-hero-desc {
  font-size: clamp(0.88rem, 1.8vw, 1.02rem); color: rgba(255,255,255,0.78);
  line-height: 1.7; max-width: 560px; margin: 0 auto 2rem;
}
.amb-hero-stats {
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.amb-stat { text-align: center; }
.amb-stat-num {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; color: #FF6B35;
}
.amb-stat-label {
  font-size: 0.68rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.amb-hero-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #FF6B35; color: #fff; padding: 0.7rem 2rem;
  border-radius: 100px; font-family: 'Poppins', sans-serif;
  font-size: 0.88rem; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,107,53,0.35);
}
.amb-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,107,53,0.5);
}
.amb-hero-cta i { font-size: 1rem; animation: ambBounce 2s ease-in-out infinite; }
@keyframes ambBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── Section Titles ── */
.amb-section-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; color: var(--text-primary); text-align: center;
  margin-bottom: 0.4rem; line-height: 1.25;
}
.amb-section-subtitle {
  font-size: 0.92rem; color: var(--text-light); text-align: center;
  margin-bottom: 2rem; line-height: 1.5;
}

/* ── Why Join ── */
.amb-why { margin-bottom: 3.5rem; }
.amb-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .amb-why-grid { grid-template-columns: 1fr; } }
.amb-why-card {
  position: relative; border: none;
  border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s; overflow: hidden;
}
.amb-why-card--impact { background: linear-gradient(160deg, #FFF5EE, #FFE8D6); }
.amb-why-card--grow { background: linear-gradient(160deg, #F0F8EC, #DFF0D8); }
.amb-why-card--belong { background: linear-gradient(160deg, #FFF0ED, #FFE0D8); }
.amb-why-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px var(--shadow-md); }
.amb-why-icon {
  width: 60px; height: 60px; border-radius: 18px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 1rem;
  font-size: 1.6rem;
}
.amb-why-card--impact .amb-why-icon { background: rgba(255,107,53,0.15); color: #FF6B35; }
.amb-why-card--grow .amb-why-icon { background: rgba(127,176,105,0.2); color: #7FB069; }
.amb-why-card--belong .amb-why-icon { background: rgba(232,85,26,0.12); color: #E8551A; }
.amb-why-card h3 {
  font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.5rem;
}
.amb-why-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Roles & Responsibilities ── */
.amb-roles { margin-bottom: 3.5rem; }
.amb-roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 640px) { .amb-roles-grid { grid-template-columns: 1fr; } }
.amb-role-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, var(--warm-white), var(--cream));
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.3rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.amb-role-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 28px var(--shadow-md);
  border-color: rgba(255,107,53,0.25);
}
.amb-role-num {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 800;
  color: #fff; background: var(--saffron); line-height: 1; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.amb-role-card:hover .amb-role-num { background: var(--deep-saffron); }
.amb-role-body h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.3rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.amb-role-body h4 i { color: var(--saffron); font-size: 0.95rem; }
.amb-role-body p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }

/* ── Ambassador Growth Path ── */
.amb-growth { margin-bottom: 3rem; }
.amb-growth-tier {
  margin-bottom: 1.5rem; border-radius: 1rem; overflow: hidden;
  border: 1.5px solid #eee; background: #fff;
}
.amb-gt-header {
  display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem 1.5rem;
  position: relative;
}
.amb-gt-header h3 {
  font-size: 1.1rem; font-weight: 800; margin: 0;
  font-family: 'Poppins', sans-serif;
}
.amb-gt-range {
  font-size: 0.72rem; font-weight: 600; color: #999;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.amb-gt-badge {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.amb-gt-unlock {
  margin-left: auto; font-size: 0.7rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: 1rem;
  background: #f5f5f5; color: #999;
}

/* Tier colors */
.amb-gt--rising { border-color: #F0D5C0; }
.amb-gt--rising .amb-gt-header { background: linear-gradient(135deg, #FFF8F3, #FFF0E6); }
.amb-gt--rising .amb-gt-badge { background: linear-gradient(135deg, #F0D5C0, #E8C4A8); color: #8B5E3C; }
.amb-gt--rising .amb-gt-header h3 { color: #8B5E3C; }

.amb-gt--champion { border-color: #FFCCB3; }
.amb-gt--champion .amb-gt-header { background: linear-gradient(135deg, #FFF3EE, #FFE8DE); }
.amb-gt--champion .amb-gt-badge { background: linear-gradient(135deg, #FF6B35, #E8551A); color: #fff; }
.amb-gt--champion .amb-gt-header h3 { color: #C04400; }

.amb-gt--legend { border-color: #F4D675; }
.amb-gt--legend .amb-gt-header { background: linear-gradient(135deg, #FFFBEE, #FFF5D6); }
.amb-gt--legend .amb-gt-badge { background: linear-gradient(135deg, #F4C430, #E8A500); color: #5C3D00; }
.amb-gt--legend .amb-gt-header h3 { color: #7A5400; }

/* Stipend banner */
.amb-gt-stipend-banner {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem; font-size: 0.95rem; font-weight: 800;
  background: linear-gradient(135deg, #F4C430, #FFD700);
  color: #5C3D00; animation: stipendPulse 2s ease-in-out infinite;
}
.amb-gt-stipend-banner i { font-size: 1.2rem; }
@keyframes stipendPulse {
  0%, 100% { box-shadow: inset 0 0 8px rgba(244,196,48,0.3); }
  50% { box-shadow: inset 0 0 20px rgba(244,196,48,0.5); }
}

/* Body: two columns */
.amb-gt-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}
@media (max-width: 700px) { .amb-gt-body { grid-template-columns: 1fr; } }
.amb-gt-col h5 {
  font-size: 0.82rem; font-weight: 700; color: #555; margin: 0 0 0.6rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.amb-gt-col h5 i { color: #E07A3A; }
.amb-gt-col ul { list-style: none; padding: 0; margin: 0; }
.amb-gt-col ul li {
  font-size: 0.8rem; color: #555; line-height: 1.55;
  padding: 0.3rem 0; padding-left: 1rem;
  position: relative;
}
.amb-gt-col ul li::before {
  content: '•'; position: absolute; left: 0; color: #E07A3A; font-weight: 700;
}
.amb-gt-rewards li { padding-left: 0; display: flex; align-items: flex-start; gap: 0.4rem; }
.amb-gt-rewards li::before { display: none; }
.amb-gt-rewards li i { color: #E07A3A; flex-shrink: 0; margin-top: 0.2rem; font-size: 0.9rem; }
.amb-gt-rewards li strong { color: #333; }
.amb-gt-plus {
  font-size: 0.75rem; color: #999; font-style: italic; margin: 0 0 0.4rem;
}

/* Points grid */
.amb-gt-points {
  padding: 0.75rem 1.5rem 1.25rem; background: #fafafa;
  border-top: 1px solid #f0f0f0;
}
.amb-gt-points h5 {
  font-size: 0.78rem; font-weight: 700; color: #888; margin: 0 0 0.5rem;
}
.amb-gt-points-grid {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.amb-gt-points-grid span {
  font-size: 0.72rem; color: #666; padding: 0.25rem 0.6rem;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 0.4rem;
}
.amb-gt-points-grid span strong { color: #E07A3A; }

/* ── Ambassador — all-visible layout ── */
.amb-sv-title {
  font-size: 1.15rem; font-weight: 800; color: var(--text-primary);
  margin: 0 0 0.85rem; letter-spacing: -0.02em;
}

/* Quick stats bar */
.amb-quick-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.amb-qs {
  text-align: center; padding: 0.75rem 0.5rem; border-radius: 0.75rem;
  background: #f5f5fa;
}
.amb-qs-num { display: block; font-size: 1.3rem; font-weight: 900; color: var(--saffron); }
.amb-qs-label { font-size: 0.68rem; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }

/* What you get — perk pills */
.amb-perks-visible { margin-bottom: 1.5rem; }
.amb-pv-grid {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.amb-pv {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.75rem; border-radius: 50px;
  background: #fff; border: 1px solid #eee;
  font-size: 0.78rem; font-weight: 500; color: #555;
}
.amb-pv i { color: var(--saffron); font-size: 0.9rem; }

/* What you do */
.amb-do-visible { margin-bottom: 1.5rem; }
.amb-do-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
@media (max-width: 500px) { .amb-do-grid { grid-template-columns: 1fr; } }
.amb-do-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.75rem; border-radius: 0.6rem; background: #fafafa;
  font-size: 0.8rem; color: #555; line-height: 1.45;
}
.amb-do-emoji { font-size: 1.3rem; flex-shrink: 0; }
.amb-do-item strong { color: #333; }

/* Growth path — clean vertical flow */
.amb-growth-visible { margin-bottom: 2rem; }
.amb-gv-track { display: flex; flex-direction: column; gap: 0; }
.amb-gv-tier {
  padding: 1rem 1.15rem; border-radius: 0.85rem;
  border: 1.5px solid #eee; background: #fff;
}
.amb-gv-tier h4 {
  font-size: 0.95rem; font-weight: 800; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.amb-gv-badge {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.amb-gv-do {
  font-size: 0.78rem; color: #888; line-height: 1.5; margin: 0.4rem 0 0.6rem;
}
.amb-gv-get {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.amb-gv-get span {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.72rem; font-weight: 600; color: #555;
  padding: 0.25rem 0.6rem; border-radius: 50px; background: #f5f5fa;
}
.amb-gv-get span i { color: var(--saffron); font-size: 0.8rem; }
.amb-gv-arrow {
  display: flex; justify-content: center; color: #ddd; font-size: 1rem;
  padding: 0.15rem 0;
}
.amb-gv-stipend {
  display: inline-block; font-size: 0.75rem; font-weight: 800;
  padding: 0.2rem 0.6rem; border-radius: 50px; margin: 0.3rem 0 0;
  background: linear-gradient(135deg, #F4C430, #FFD700); color: #5C3D00;
}

/* Tier colors */
.amb-gv--rising { border-color: #F0D5C0; }
.amb-gv--rising .amb-gv-badge { background: linear-gradient(135deg, #F0D5C0, #E8C4A8); color: #8B5E3C; }
.amb-gv--champion { border-color: #FFCCB3; }
.amb-gv--champion .amb-gv-badge { background: linear-gradient(135deg, #FF6B35, #E8551A); color: #fff; }
.amb-gv--legend { border-color: #F4D675; }
.amb-gv--legend .amb-gv-badge { background: linear-gradient(135deg, #F4C430, #E8A500); color: #5C3D00; }

/* Who this is for */
.amb-who { margin-bottom: 2rem; }
.amb-who-grid {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.amb-who-grid span {
  padding: 0.4rem 0.75rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500; background: #f5f5fa; color: #555;
}

/* ── Compact collapsible sections ── */
.amb-sections { margin-bottom: 2.5rem; }
.amb-detail {
  margin-bottom: 0.5rem; border-radius: 0.75rem;
  border: 1px solid #eee; background: #fff; overflow: hidden;
}
.amb-detail summary {
  padding: 0.85rem 1.15rem; font-size: 0.95rem; font-weight: 700;
  color: #333; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s;
}
.amb-detail summary::-webkit-details-marker { display: none; }
.amb-detail summary::after {
  content: '+'; margin-left: auto; font-size: 1.2rem; font-weight: 300; color: var(--saffron);
}
.amb-detail[open] summary::after { content: '\2212'; }
.amb-detail summary:hover { background: #faf8f5; }
.amb-detail[open] summary { background: #faf8f5; border-bottom: 1px solid #f0ece6; }
.amb-detail summary i { color: var(--saffron); font-size: 1.1rem; }
.amb-detail-body { padding: 1rem 1.15rem; }

/* Compact responsibilities */
.amb-roles-compact { display: flex; flex-direction: column; gap: 0.4rem; }
.amb-rc {
  font-size: 0.82rem; color: #555; line-height: 1.5;
  padding: 0.4rem 0; border-bottom: 1px solid #f5f5f5;
}
.amb-rc:last-child { border-bottom: none; }
.amb-rc-num {
  display: inline-block; width: 22px; font-size: 0.7rem; font-weight: 800;
  color: var(--saffron); margin-right: 0.3rem;
}

/* Tier cards — click to expand */
.amb-tier-cards { display: flex; flex-direction: column; gap: 0.6rem; }
.amb-tc {
  border-radius: 0.75rem; overflow: hidden;
  border: 1.5px solid #eee; transition: border-color 0.2s;
}
.amb-tc summary {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem; cursor: pointer; list-style: none;
}
.amb-tc summary::-webkit-details-marker { display: none; }
.amb-tc-badge {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.amb-tc-info { flex: 1; }
.amb-tc-info h4 { font-size: 0.9rem; font-weight: 700; margin: 0; }
.amb-tc-info span { font-size: 0.68rem; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.amb-tc-reward {
  font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: 1rem; background: #f5f5f5; color: #888; white-space: nowrap;
}
.amb-tc-stipend {
  background: linear-gradient(135deg, #F4C430, #FFD700) !important;
  color: #5C3D00 !important; font-weight: 700 !important;
}

/* Tier colors */
.amb-tc--rising { border-color: #F0D5C0; }
.amb-tc--rising summary { background: linear-gradient(135deg, #FFFBF7, #FFF5EE); }
.amb-tc--rising .amb-tc-badge { background: linear-gradient(135deg, #F0D5C0, #E8C4A8); color: #8B5E3C; }
.amb-tc--champion { border-color: #FFCCB3; }
.amb-tc--champion summary { background: linear-gradient(135deg, #FFF5F0, #FFEEE5); }
.amb-tc--champion .amb-tc-badge { background: linear-gradient(135deg, #FF6B35, #E8551A); color: #fff; }
.amb-tc--legend { border-color: #F4D675; }
.amb-tc--legend summary { background: linear-gradient(135deg, #FFFCF0, #FFF8E0); }
.amb-tc--legend .amb-tc-badge { background: linear-gradient(135deg, #F4C430, #E8A500); color: #5C3D00; }

.amb-tc-body { padding: 0.85rem 1rem; border-top: 1px solid #f0f0f0; }
.amb-tc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .amb-tc-body { grid-template-columns: 1fr; } }
.amb-tc-col h5 { font-size: 0.78rem; font-weight: 700; color: #888; margin: 0 0 0.4rem; }
.amb-tc-col ul { list-style: none; padding: 0; margin: 0; }
.amb-tc-col ul li {
  font-size: 0.78rem; color: #555; line-height: 1.5; padding: 0.2rem 0 0.2rem 0.8rem;
  position: relative;
}
.amb-tc-col ul li::before { content: '·'; position: absolute; left: 0; color: #E07A3A; font-weight: 700; }
.amb-tc-col ul li i { color: #E07A3A; margin-right: 0.2rem; font-size: 0.8rem; }
.amb-tc-points {
  grid-column: 1 / -1; display: flex; gap: 0.4rem; flex-wrap: wrap;
  padding-top: 0.6rem; border-top: 1px solid #f5f5f5;
}
.amb-tc-points span {
  font-size: 0.68rem; color: #888; padding: 0.2rem 0.5rem;
  background: #fafafa; border-radius: 0.3rem;
}
.amb-tc-points span strong { color: #E07A3A; }

/* ── Steps bar ── */
.amb-steps-bar {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 2rem; padding: 1.5rem 0;
}
.amb-step {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600;
  color: var(--text-light); transition: all 0.3s;
}
.amb-step.active { color: var(--saffron); }
.amb-step.done { color: var(--sage); }
.amb-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  background: var(--border); color: var(--text-light); transition: all 0.3s;
}
.amb-step.active .amb-step-num { background: var(--saffron); color: #fff; box-shadow: 0 2px 12px rgba(255,107,53,0.3); }
.amb-step.done .amb-step-num { background: var(--sage); color: #fff; }
.amb-step-label { display: none; }
@media (min-width: 480px) { .amb-step-label { display: inline; } }
.amb-step-line { width: 48px; height: 2px; background: var(--border); margin: 0 0.5rem; }

/* ── Panels ── */
.amb-panel {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem; margin-bottom: 2rem;
  box-shadow: 0 2px 16px var(--shadow);
}
@media (max-width: 520px) { .amb-panel { padding: 1.5rem 1.25rem; } }
.amb-panel-header { text-align: center; margin-bottom: 1.5rem; }
.amb-panel-title { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; text-align: center; }
.amb-panel-desc { font-size: 0.88rem; color: var(--text-secondary); text-align: center; margin-bottom: 1.5rem; }
.amb-success-icon { text-align: center; margin-bottom: 0.75rem; }

/* ── Form ── */
.amb-form-group { margin-bottom: 1.1rem; }
.amb-form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.35rem;
}
.amb-form-group input,
.amb-form-group select,
.amb-form-group textarea {
  width: 100%; padding: 0.7rem 0.95rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'Hind', sans-serif; font-size: max(1rem, 16px);
  color: var(--text-primary); background: var(--warm-white);
  transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.amb-form-group input:focus,
.amb-form-group select:focus,
.amb-form-group textarea:focus {
  border-color: var(--saffron); outline: none;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.08);
}
.amb-form-group textarea { resize: vertical; }
.amb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .amb-form-row { grid-template-columns: 1fr; } }
.amb-form-divider {
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 700;
  color: var(--saffron); text-transform: uppercase; letter-spacing: 0.5px;
  margin: 1.75rem 0 1.1rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.45rem;
}
.amb-form-divider i { font-size: 0.9rem; }
.amb-form-checks { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.amb-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.84rem; color: var(--text-secondary); cursor: pointer;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.amb-check:hover { background: rgba(255,107,53,0.03); }
.amb-check input { margin-top: 0.2rem; accent-color: var(--saffron); width: 16px; height: 16px; flex-shrink: 0; }
.amb-submit-btn { width: 100%; margin-top: 0.75rem; font-size: 1rem; padding: 0.85rem; }
.amb-form-footer {
  text-align: center; font-size: 0.75rem; color: var(--text-light);
  margin-top: 1rem;
}

/* ── Task card ── */
.amb-task-card {
  background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(244,162,97,0.06));
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem;
}
.amb-task-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.amb-task-badge {
  background: linear-gradient(135deg, #FF6B35, #E8551A); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.7rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.amb-task-deadline {
  font-size: 0.72rem; color: var(--text-light);
  display: flex; align-items: center; gap: 0.3rem;
}
.amb-task-card h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.amb-task-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.amb-task-rules { list-style: none; padding: 0; }
.amb-task-rules li {
  font-size: 0.82rem; color: var(--text-secondary); padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}
.amb-task-rules li::before { content: '\2726'; position: absolute; left: 0; color: var(--saffron); font-size: 0.75rem; }

/* ── Info cards ── */
.amb-info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.amb-info-card {
  background: rgba(255,107,53,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
  transition: transform 0.2s;
}
.amb-info-card:hover { transform: translateY(-2px); }
.amb-info-card i { font-size: 1.6rem; color: var(--saffron); margin-bottom: 0.6rem; display: block; }
.amb-info-card h4 { font-size: 0.88rem; color: var(--text-primary); margin-bottom: 0.35rem; }
.amb-info-card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; }

/* ── Onboarding modules ── */
.amb-onboard-grid { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.amb-module {
  display: flex; align-items: center; gap: 1rem;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; transition: all 0.2s;
}
.amb-module.completed { border-color: var(--sage); background: rgba(127,176,105,0.05); }
.amb-module-status { font-size: 1.2rem; color: var(--border); flex-shrink: 0; }
.amb-module.completed .amb-module-status { color: var(--sage); }
.amb-module-content { flex: 1; min-width: 0; }
.amb-module-tag { font-size: 0.65rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.3px; }
.amb-module-content h4 { font-size: 0.88rem; color: var(--text-primary); margin: 0.15rem 0; }
.amb-module-content p { font-size: 0.75rem; color: var(--text-light); line-height: 1.4; }
.amb-module-btn {
  background: var(--saffron); color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem; font-size: 0.75rem; font-weight: 600; cursor: pointer;
  flex-shrink: 0; transition: background 0.2s;
}
.amb-module-btn:hover { background: var(--deep-saffron); }
.amb-module.completed .amb-module-btn { background: var(--sage); pointer-events: none; }

/* ── Progress bar ── */
.amb-onboard-progress { text-align: center; margin-bottom: 1.5rem; }
.amb-progress-bar {
  width: 100%; height: 6px; background: var(--border);
  border-radius: 100px; overflow: hidden; margin-bottom: 0.4rem;
}
.amb-progress-fill { height: 100%; background: linear-gradient(90deg, #FF6B35, #F4A261); border-radius: 100px; width: 0%; transition: width 0.5s ease; }
.amb-progress-text { font-size: 0.72rem; color: var(--text-light); }

/* ── Toolkit ── */
.amb-toolkit { margin-top: 1.5rem; }
.amb-toolkit h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; text-align: center; }
.amb-toolkit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }
.amb-toolkit-item {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.75rem; font-size: 0.8rem; color: var(--text-secondary);
}
.amb-toolkit-item i { font-size: 1.1rem; color: var(--saffron); flex-shrink: 0; }
.amb-toolkit-item code {
  font-size: 0.7rem; background: rgba(255,107,53,0.08); color: var(--saffron);
  padding: 0.15rem 0.4rem; border-radius: 4px;
}

/* ── FAQ ── */
.amb-faq { margin-top: 3rem; }
.amb-faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.amb-faq-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color 0.2s;
}
.amb-faq-item[open] { border-color: rgba(255,107,53,0.25); }
.amb-faq-item summary {
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--text-primary); padding: 1rem 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; transition: color 0.2s;
}
.amb-faq-item summary::-webkit-details-marker { display: none; }
.amb-faq-item summary::after {
  content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--saffron);
  transition: transform 0.2s;
}
.amb-faq-item[open] summary::after { content: '\2212'; }
.amb-faq-item[open] summary { color: var(--saffron); }
.amb-faq-item p {
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65;
  padding: 0 1.25rem 1.25rem; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HEALER CIRCLE
   ═══════════════════════════════════════════════════════════════ */
.hc-page { max-width: 1080px; margin: 0 auto; padding: 0 1rem 3rem; }
.hc-view { animation: fadeUp 0.35s ease; }

/* Hero */
.hc-hero {
  position: relative; text-align: center; padding: 3.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem; overflow: hidden; margin-bottom: 2rem;
  background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 50%, #FBE9E7 100%);
}
.hc-hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hc-hero-inner { position: relative; z-index: 1; }
.hc-hero-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(76,175,80,0.15); color: #2E7D32;
  padding: 0.35rem 1rem; border-radius: 2rem;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 1rem;
}
.hc-headline {
  font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800;
  color: #1B5E20; line-height: 1.25; margin: 0 0 0.75rem;
}
.hc-headline em { color: #E07A3A; font-style: normal; }
.hc-hero-desc {
  font-size: 0.92rem; color: #555; max-width: 540px; margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.hc-hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hc-hero-ctas .btn { padding: 0.65rem 1.5rem; font-size: 0.9rem; border-radius: 2rem; }

/* Real stories — social proof */
.hc-stories {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem; margin-bottom: 1.25rem;
}
.hc-story-card {
  padding: 1rem 1.15rem; border-radius: 0.75rem;
  background: #fff; border: 1px solid #f0f0f0;
  position: relative;
}
.hc-story-card::before {
  content: '\201C'; position: absolute; top: 0.4rem; left: 0.75rem;
  font-size: 2rem; color: #E8F5E9; font-family: Georgia, serif; line-height: 1;
}
.hc-story-quote {
  font-size: 0.82rem; color: #555; line-height: 1.6; margin: 0 0 0.5rem;
  font-style: italic; padding-left: 0.25rem;
}
.hc-story-author {
  font-size: 0.7rem; color: #aaa; font-weight: 600; font-style: normal;
}

/* Two paths */
.hc-paths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 500px) { .hc-paths { grid-template-columns: 1fr; } }
.hc-path-card {
  padding: 1.15rem; border-radius: 0.85rem; cursor: pointer;
  border: 1.5px solid #eee; background: #fff;
  transition: all 0.2s; text-align: center;
}
.hc-path-card:first-child { border-color: #FFE082; background: #FFFDF5; }
.hc-path-card:first-child:hover { border-color: #FFC107; box-shadow: 0 4px 16px rgba(255,193,7,0.12); }
.hc-path-card:last-child { border-color: #C8E6C9; background: #FAFFF8; }
.hc-path-card:last-child:hover { border-color: #4CAF50; box-shadow: 0 4px 16px rgba(76,175,80,0.1); }
.hc-path-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.hc-path-card h4 { font-size: 0.92rem; font-weight: 700; color: #333; margin: 0 0 0.3rem; }
.hc-path-card p { font-size: 0.78rem; color: #888; line-height: 1.45; margin: 0 0 0.5rem; }
.hc-path-label { font-size: 0.75rem; font-weight: 700; color: #4CAF50; }
.hc-path-card:first-child .hc-path-label { color: #E07A3A; }

/* Become a healer CTA */
.hc-become-banner {
  margin-top: 2rem; padding: 2rem 1.5rem; text-align: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #FFF8E1 0%, #E8F5E9 100%);
  border: 1px solid #C8E6C9;
}
.hc-become-inner h3 {
  font-size: 1.15rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.5rem;
}
.hc-become-inner p {
  font-size: 0.85rem; color: #666; line-height: 1.55; margin: 0 0 1rem;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.hc-fee-highlight {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem; border-radius: 0.75rem;
  background: #fff; border: 1.5px solid #C8E6C9;
  margin-bottom: 1.25rem;
}
.hc-fee-number {
  font-size: 1.8rem; font-weight: 900; color: #2E7D32;
  line-height: 1;
}
.hc-fee-text {
  font-size: 0.78rem; color: #555; line-height: 1.45; text-align: left;
}
.hc-fee-text strong { color: #E07A3A; }

/* Category pills */
.hc-categories-wrap { margin-bottom: 1.5rem; }
.hc-section-title {
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  margin: 0 0 0.75rem; padding-left: 0.25rem;
}
.hc-categories {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hc-categories::-webkit-scrollbar { display: none; }
.hc-cat-pill {
  flex-shrink: 0; display: flex; align-items: center; gap: 0.3rem;
  padding: 0.45rem 1rem; border-radius: 2rem;
  background: #f5f5f5; border: 1.5px solid transparent;
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; color: #555;
}
.hc-cat-pill:hover { background: #e8f5e9; border-color: #A5D6A7; }
.hc-cat-pill.active {
  background: #E8F5E9; border-color: #4CAF50; color: #2E7D32; font-weight: 600;
}
.hc-cat-parent { position: relative; }
.hc-cat-parent i { vertical-align: middle; }

/* Category dropdown */
.hc-cat-dropdown {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 1rem;
  padding: 1rem; margin-top: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  max-height: 420px; overflow-y: auto;
  animation: fadeUp 0.2s ease;
}
.hc-cat-dd-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.hc-cat-dd-title { font-size: 1rem; font-weight: 700; color: #1B5E20; }
.hc-cat-dd-close {
  background: none; border: none; cursor: pointer; color: #999;
  font-size: 1.2rem; padding: 0.2rem;
}
.hc-cat-dd-who {
  font-size: 0.82rem; color: #666; line-height: 1.55;
  padding: 0.6rem 0.75rem; background: #f8fdf8; border-radius: 0.5rem;
  margin-bottom: 0.75rem; border-left: 3px solid #81C784;
}
.hc-cat-dd-who strong { color: #2E7D32; }
.hc-cat-dd-item {
  display: block; width: 100%; text-align: left;
  padding: 0.6rem 0.75rem; border-radius: 0.5rem;
  border: 1px solid transparent; background: none;
  cursor: pointer; font-size: 0.85rem; color: #333;
  transition: all 0.15s; margin-bottom: 0.25rem;
}
.hc-cat-dd-item:hover { background: #f0f7f0; border-color: #C8E6C9; }
.hc-cat-dd-item.active { background: #E8F5E9; border-color: #4CAF50; font-weight: 600; }
.hc-cat-dd-item-top { font-weight: 600; margin-bottom: 0.15rem; }
.hc-cat-dd-item-desc {
  font-size: 0.75rem; color: #888; line-height: 1.45; font-weight: 400;
}

/* Onboarding category group labels */
.hc-cat-group-label {
  grid-column: 1 / -1; font-size: 0.85rem; font-weight: 700;
  color: #2E7D32; padding: 0.5rem 0 0.2rem; margin-top: 0.5rem;
  border-bottom: 1px solid #E8F5E9;
}
.hc-cat-group-label:first-child { margin-top: 0; }

/* Healer Guide */
.hc-guide {
  margin-bottom: 2rem; padding: 0 0.25rem;
}
.hc-guide-title {
  font-size: 1.3rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.35rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.hc-guide-title i { font-size: 1.4rem; color: #4CAF50; }
.hc-guide-intro {
  font-size: 0.88rem; color: #777; line-height: 1.55; margin: 0 0 1.25rem;
}

/* Healing Quiz */
.hc-quiz {
  background: #fff; border-radius: 1rem; border: 1px solid #eee;
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.hc-quiz-title {
  font-size: 1.15rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.25rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.hc-quiz-title i { color: #4CAF50; }
.hc-quiz-sub { font-size: 0.82rem; color: #999; margin: 0 0 1rem; }
.hc-quiz-progress {
  height: 4px; background: #eee; border-radius: 2px; margin-bottom: 1.25rem; overflow: hidden;
}
.hc-quiz-bar {
  height: 100%; background: linear-gradient(90deg, #4CAF50, #81C784);
  border-radius: 2px; transition: width 0.4s ease;
}
.hc-quiz-step h4 { font-size: 1rem; font-weight: 700; color: #333; margin: 0 0 0.35rem; }
.hc-quiz-hint { font-size: 0.78rem; color: #aaa; margin: 0 0 0.85rem; }
.hc-quiz-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem;
}
.hc-quiz-list { display: flex; flex-direction: column; gap: 0.45rem; }
.hcq-opt {
  padding: 0.65rem 0.85rem; border-radius: 0.6rem; border: 1.5px solid #eee;
  background: #fafafa; cursor: pointer; font-size: 0.82rem; color: #444;
  text-align: left; transition: all 0.15s; font-family: inherit;
}
.hcq-opt:hover { border-color: #A5D6A7; background: #f5fdf7; }
.hcq-opt.selected { border-color: #4CAF50; background: #E8F5E9; color: #2E7D32; font-weight: 600; }
.hc-quiz-result { animation: fadeUp 0.35s ease; }
.hcq-res-header { text-align: center; margin-bottom: 1.25rem; }
.hcq-res-emoji { font-size: 2rem; margin-bottom: 0.3rem; }
.hcq-res-header h3 { font-size: 1.1rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.3rem; }
.hcq-res-header p { font-size: 0.82rem; color: #888; margin: 0; }
.hcq-res-cards { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.hcq-res-card {
  padding: 1rem; border-radius: 0.75rem; border: 1.5px solid #e0e0e0; background: #fafffe;
}
.hcq-res-card:first-child { border-color: #4CAF50; border-width: 2px; }
.hcq-res-card-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.hcq-res-icon { font-size: 1.4rem; }
.hcq-res-card-top h4 { font-size: 0.95rem; font-weight: 700; color: #333; margin: 0; }
.hcq-res-match {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #4CAF50; background: #E8F5E9; padding: 0.15rem 0.5rem; border-radius: 1rem;
}
.hcq-res-card:first-child .hcq-res-match { background: #4CAF50; color: #fff; }
.hcq-res-why { font-size: 0.82rem; color: #555; line-height: 1.6; margin: 0 0 0.6rem; }
.hcq-res-btn { width: 100%; padding: 0.55rem; font-size: 0.82rem; border-radius: 0.5rem; }
.hcq-res-also {
  text-align: center; font-size: 0.78rem; color: #999; padding: 0.75rem;
  background: #fafafa; border-radius: 0.5rem;
}
.hcq-res-also a { color: #4CAF50; font-weight: 600; text-decoration: underline; }
.hc-quiz-retake {
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  margin: 0.75rem auto 0; padding: 0.5rem 1rem; border-radius: 2rem;
  background: none; border: 1px solid #ddd; color: #999; font-size: 0.78rem;
  cursor: pointer; font-family: inherit;
}
.hc-quiz-retake:hover { border-color: #4CAF50; color: #4CAF50; }
@media (max-width: 400px) { .hc-quiz-grid { grid-template-columns: repeat(2, 1fr); } }

/* Feeling tiles */
.hc-feel-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem; margin-bottom: 1.5rem;
}
.hc-feel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0.85rem 0.5rem; border-radius: 0.85rem;
  background: #fff; border: 1.5px solid #f0f0f0;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.hc-feel:hover { border-color: #81C784; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(76,175,80,0.1); }
.hc-feel:active { transform: scale(0.97); }
.hc-feel-emoji { font-size: 1.6rem; margin-bottom: 0.3rem; }
.hc-feel-name { font-size: 0.82rem; font-weight: 700; color: #333; margin-bottom: 0.15rem; }
.hc-feel-sub { font-size: 0.65rem; color: #aaa; line-height: 1.35; }
@media (max-width: 400px) { .hc-feel-grid { grid-template-columns: repeat(3, 1fr); } }

/* Awareness section */
.hc-awareness {
  background: #fff; border-radius: 1rem; border: 1.5px solid #e0e0e0;
  padding: 1.5rem; margin-bottom: 1.5rem; position: relative;
  animation: fadeUp 0.3s ease;
}
.hc-aw-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #bbb;
}
.hc-aw-emoji { font-size: 2.2rem; margin-bottom: 0.5rem; }
.hc-aw-title { font-size: 1.25rem; font-weight: 800; color: #333; margin: 0 0 1rem; }
.hc-aw-section { margin-bottom: 1.25rem; }
.hc-aw-section h4 { font-size: 0.85rem; font-weight: 700; color: #555; margin: 0 0 0.5rem; }
.hc-aw-validation {
  font-size: 0.88rem; color: #444; line-height: 1.65; margin: 0;
  border-left: 3px solid #E07A3A; padding-left: 0.85rem;
}
.hc-aw-signs, .hc-aw-helps { list-style: none; padding: 0; margin: 0; }
.hc-aw-signs li {
  font-size: 0.82rem; color: #666; line-height: 1.5; padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
}
.hc-aw-signs li::before { content: '•'; position: absolute; left: 0; color: #E07A3A; font-weight: 700; }
.hc-aw-helps li {
  font-size: 0.82rem; color: #555; line-height: 1.5; padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}
.hc-aw-helps li::before { content: '→'; position: absolute; left: 0; color: #4CAF50; font-weight: 700; }
.hc-aw-normal {
  padding: 0.75rem 1rem; background: #f8fdf8; border-radius: 0.5rem;
  border-left: 3px solid #81C784;
}
.hc-aw-normal p { font-size: 0.82rem; color: #555; line-height: 1.6; margin: 0; }
.hc-aw-find {
  width: 100%; padding: 0.7rem; border-radius: 0.6rem; font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.hc-aw-peer { width: 100%; padding: 0.6rem; font-size: 0.82rem; }

/* Explore all types detail */
.hc-types-detail { margin-bottom: 1rem; }
.hc-types-detail summary {
  font-size: 0.82rem; font-weight: 600; color: #4CAF50;
  cursor: pointer; padding: 0.6rem 0; list-style: none;
  display: flex; align-items: center; gap: 0.3rem;
}
.hc-types-detail summary::-webkit-details-marker { display: none; }
.hc-types-detail summary::before { content: '▸ '; }
.hc-types-detail[open] summary::before { content: '▾ '; }
.hc-types-detail summary:hover { color: #2E7D32; }

/* Peer Healing banner */
.hc-peer-banner {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFF8E1, #FFF0D4);
  border: 1.5px solid #FFE082; border-radius: 0.85rem;
  cursor: pointer; transition: all 0.2s;
}
.hc-peer-banner:hover { border-color: #FFC107; box-shadow: 0 4px 16px rgba(255,193,7,0.15); }
.hc-peer-banner-icon { font-size: 1.6rem; flex-shrink: 0; }
.hc-peer-banner-text { flex: 1; }
.hc-peer-banner-text h4 { font-size: 0.95rem; font-weight: 700; color: #5D4037; margin: 0 0 0.15rem; }
.hc-peer-banner-text p { font-size: 0.78rem; color: #8D6E63; margin: 0; line-height: 1.4; }
.hc-peer-banner-arrow { color: #8D6E63; font-size: 1.2rem; flex-shrink: 0; }

/* Guide groups — collapsible */
.hc-guide-group {
  margin-bottom: 0.5rem; border-radius: 0.75rem;
  background: #fff; border: 1px solid #eee;
  overflow: hidden;
}
.hc-guide-group-title {
  font-size: 0.95rem; font-weight: 700; color: #333; margin: 0;
  padding: 0.85rem 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
.hc-guide-group-title:hover { background: #f8fdf8; }
.hc-guide-group-title::after {
  content: '+'; font-size: 1.2rem; font-weight: 300; color: #4CAF50;
  transition: transform 0.2s;
}
.hc-guide-group.open .hc-guide-group-title::after { content: '\2212'; }
.hc-guide-group.open .hc-guide-group-title { background: #f5fdf7; border-bottom: 1px solid #e8f5e9; }
.hc-guide-group .hc-guide-cards { display: none; padding: 0.75rem 1rem 1rem; }
.hc-guide-group.open .hc-guide-cards { display: grid; }

/* Guide cards — compact accordion */
.hc-guide-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem;
}
.hc-guide-card {
  padding: 0.65rem 0.85rem; border-radius: 0.6rem;
  background: #fafffe; border: 1.5px solid #eee;
  cursor: pointer; transition: all 0.2s;
}
.hc-guide-card:hover { border-color: #C8E6C9; }
.hc-guide-card.open { border-color: #81C784; background: #f5fdf7; }
.hc-gc-top { display: flex; align-items: center; gap: 0.4rem; }
.hc-guide-icon { font-size: 1.1rem; flex-shrink: 0; }
.hc-gc-top h4 { font-size: 0.85rem; font-weight: 700; color: #333; margin: 0; }
.hc-gc-one { font-size: 0.75rem; color: #999; margin: 0.2rem 0 0; line-height: 1.4; }
.hc-gc-detail {
  display: none; margin-top: 0.6rem; padding-top: 0.6rem;
  border-top: 1px solid #e8f5e9;
}
.hc-guide-card.open .hc-gc-detail { display: block; }
.hc-gc-detail p { font-size: 0.8rem; color: #555; line-height: 1.55; margin: 0 0 0.6rem; }
.hc-gc-find {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.35rem 0.85rem; border-radius: 2rem;
  background: #4CAF50; color: #fff; border: none;
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
}
.hc-gc-find:hover { background: #388E3C; }
.hc-gc-find i { font-size: 0.85rem; }
.hc-guide-disclaimer {
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-size: 0.75rem; color: #999; line-height: 1.5;
  padding: 0.6rem 0.85rem; background: #fafafa; border-radius: 0.5rem;
}
.hc-guide-disclaimer i { color: #bbb; flex-shrink: 0; margin-top: 0.1rem; }
.hc-guide-disclaimer a { color: #4CAF50; text-decoration: underline; }

@media (max-width: 600px) {
  .hc-guide-cards { grid-template-columns: 1fr; }
  .hc-guide-group { padding: 1rem; }
}

/* Filters */
.hc-filters {
  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 1.5rem; padding: 0.75rem; background: #fafafa;
  border-radius: 0.75rem;
}
.hc-filter-group { display: flex; gap: 0.5rem; }
.hc-filters select {
  padding: 0.4rem 0.75rem; border-radius: 0.5rem; border: 1px solid #ddd;
  font-size: 0.82rem; background: #fff; color: #333; cursor: pointer;
}
.hc-search-wrap {
  display: flex; gap: 0.35rem; margin-left: auto;
}
.hc-search-wrap input {
  padding: 0.4rem 0.75rem; border-radius: 0.5rem; border: 1px solid #ddd;
  font-size: 0.82rem; width: 180px;
}
.hc-search-wrap button {
  padding: 0.4rem 0.6rem; border-radius: 0.5rem; border: 1px solid #ddd;
  background: #fff; cursor: pointer; color: #555;
}

/* Healer cards grid */
.hc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.hc-loading { grid-column: 1/-1; text-align: center; padding: 3rem 0; color: #999; }
.hc-empty-state {
  grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: #999;
  font-size: 0.92rem;
}

.hc-card {
  background: #fff; border-radius: 1rem; padding: 1.25rem;
  border: 1px solid #eee; transition: all 0.25s;
  display: flex; flex-direction: column; gap: 0.6rem;
  cursor: pointer; position: relative;
}
.hc-card:hover { border-color: #A5D6A7; box-shadow: 0 4px 20px rgba(76,175,80,0.08); transform: translateY(-2px); }

.hc-card-top { display: flex; gap: 0.75rem; align-items: flex-start; }
.hc-card-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #E8F5E9, #FFF8E1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.hc-card-info { flex: 1; min-width: 0; }
.hc-card-name {
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 0.35rem;
}
.hc-card-verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #4CAF50; color: #fff; font-size: 0.65rem;
}
.hc-card-tagline {
  font-size: 0.82rem; color: #777; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hc-card-cats { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.hc-card-cat-tag {
  font-size: 0.7rem; padding: 0.2rem 0.55rem; border-radius: 1rem;
  background: #f0f7f0; color: #2E7D32; font-weight: 500;
}
.hc-card-meta {
  display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.78rem; color: #888;
}
.hc-card-meta span { display: flex; align-items: center; gap: 0.2rem; }
.hc-card-price { font-weight: 600; color: #E07A3A !important; }
.hc-card-cta {
  margin-top: auto; padding: 0.55rem; border-radius: 0.6rem;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: #fff; font-weight: 600; font-size: 0.85rem;
  border: none; cursor: pointer; text-align: center;
  transition: all 0.2s;
}
.hc-card-cta:hover { background: linear-gradient(135deg, #388E3C, #4CAF50); }

/* Pagination */
.hc-pagination {
  display: flex; justify-content: center; gap: 0.35rem; margin-bottom: 2rem;
}
.hc-page-btn {
  padding: 0.4rem 0.75rem; border-radius: 0.5rem; border: 1px solid #ddd;
  background: #fff; font-size: 0.82rem; cursor: pointer; color: #555;
}
.hc-page-btn.active { background: #4CAF50; color: #fff; border-color: #4CAF50; }

/* Back button */
.hc-back-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: none; cursor: pointer; color: #4CAF50;
  font-size: 0.88rem; font-weight: 600; padding: 0.5rem 0; margin-bottom: 1rem;
}

/* Profile detail view */
.hc-prof-header {
  display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem;
  padding: 1.5rem; background: linear-gradient(135deg, #E8F5E9, #FFF8E1);
  border-radius: 1rem;
}
.hc-prof-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hc-prof-name { font-size: 1.4rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.25rem; }
.hc-prof-tagline { font-size: 0.9rem; color: #555; margin: 0 0 0.5rem; }
.hc-prof-stats {
  display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: #888;
}
.hc-prof-stats span { display: flex; align-items: center; gap: 0.25rem; }
.hc-prof-section { margin-bottom: 1.5rem; }
.hc-prof-section h4 { font-size: 0.9rem; font-weight: 700; color: #333; margin: 0 0 0.5rem; }
.hc-prof-section p { font-size: 0.88rem; color: #555; line-height: 1.6; margin: 0; }
.hc-prof-book-bar {
  position: sticky; bottom: 0; left: 0; right: 0;
  background: #fff; padding: 1rem; border-top: 1px solid #eee;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 1rem 1rem 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.hc-prof-book-price { font-size: 1.1rem; font-weight: 700; color: #E07A3A; }
.hc-prof-book-btn {
  padding: 0.6rem 1.5rem; border-radius: 2rem; background: #4CAF50;
  color: #fff; font-weight: 600; border: none; cursor: pointer; font-size: 0.9rem;
}

/* Review card */
.hc-review {
  padding: 0.75rem; border-bottom: 1px solid #f0f0f0;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.hc-review-top { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; }
.hc-review-stars { color: #FFC107; }
.hc-review-author { color: #999; }
.hc-review-text { font-size: 0.85rem; color: #555; line-height: 1.5; }

/* Onboarding form */
.hc-onboard-header { text-align: center; margin-bottom: 2rem; }
.hc-onboard-header h2 { font-size: 1.5rem; font-weight: 800; color: #1B5E20; margin: 0 0 0.35rem; }
.hc-onboard-header p { font-size: 0.88rem; color: #777; margin: 0 0 1.25rem; }
.hc-steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0; }
.hc-step-dot {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.82rem; font-weight: 700;
  background: #eee; color: #999; transition: all 0.2s;
}
.hc-step-dot.active { background: #4CAF50; color: #fff; }
.hc-step-dot.done { background: #81C784; color: #fff; }
.hc-step-line { width: 40px; height: 2px; background: #ddd; }
.hc-form-step { max-width: 560px; margin: 0 auto; }
.hc-form-step h3 { font-size: 1.1rem; font-weight: 700; color: #333; margin: 0 0 1rem; }
.hc-field { margin-bottom: 1rem; }
.hc-field label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 0.3rem; }
.hc-field label small { font-weight: 400; color: #999; }
.hc-field .required { color: #E07A3A; }
.hc-field input[type="text"],
.hc-field input[type="number"],
.hc-field textarea,
.hc-field select {
  width: 100%; padding: 0.6rem 0.75rem; border: 1.5px solid #ddd;
  border-radius: 0.6rem; font-size: 0.88rem; background: #fff;
  transition: border-color 0.2s; font-family: inherit;
}
.hc-field input:focus, .hc-field textarea:focus, .hc-field select:focus {
  outline: none; border-color: #4CAF50;
}
.hc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hc-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}
.hc-cat-tile {
  padding: 0.6rem 0.75rem; border-radius: 0.6rem; border: 1.5px solid #eee;
  background: #fafafa; cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; transition: all 0.2s; user-select: none;
}
.hc-cat-tile:hover { border-color: #A5D6A7; background: #f0f7f0; }
.hc-cat-tile.selected { border-color: #4CAF50; background: #E8F5E9; color: #2E7D32; font-weight: 600; }
.hc-cat-tile .hc-cat-emoji { font-size: 1.1rem; }
.hc-lang-grid, .hc-avail-grid, .hc-format-checks {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.hc-check {
  display: flex; align-items: center; gap: 0.3rem; font-size: 0.82rem;
  padding: 0.35rem 0.65rem; border-radius: 0.4rem; background: #f5f5f5;
  cursor: pointer; user-select: none;
}
.hc-check input[type="checkbox"] { accent-color: #4CAF50; }
.hc-form-btns { display: flex; gap: 0.75rem; justify-content: space-between; margin-top: 1.5rem; }
.hc-next-btn, .hc-submit-btn { margin-left: auto; }
.hc-fee-notice {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.75rem 1rem; border-radius: 0.6rem;
  background: #FFF8E1; border: 1px solid #FFE082;
  font-size: 0.82rem; color: #795548; margin-bottom: 1rem;
}
.hc-fee-notice i { color: #FFA000; font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* Success */
.hc-success { text-align: center; padding: 3rem 1rem; }
.hc-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.hc-success h2 { font-size: 1.5rem; color: #2E7D32; margin: 0 0 0.5rem; }
.hc-success p { color: #777; margin: 0 0 1.5rem; }
.hc-success-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Dashboard */
.hc-dash-title {
  font-size: 1.3rem; font-weight: 800; color: #1B5E20;
  display: flex; align-items: center; gap: 0.4rem; margin: 0 0 1.25rem;
}
.hc-dash-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.hc-stat-card {
  background: #fff; border: 1px solid #eee; border-radius: 0.75rem;
  padding: 1rem; text-align: center;
}
.hc-stat-value { font-size: 1.4rem; font-weight: 800; color: #2E7D32; }
.hc-stat-label { font-size: 0.75rem; color: #999; margin-top: 0.2rem; }
.hc-dash-actions {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.hc-dash-subtitle { font-size: 0.95rem; font-weight: 700; color: #333; margin: 0 0 0.75rem; }
.hc-dash-sessions, .hc-dash-reviews { margin-bottom: 1.5rem; }
.hc-empty { color: #bbb; font-size: 0.85rem; text-align: center; padding: 1.5rem 0; }

.hc-session-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; border: 1px solid #eee; border-radius: 0.6rem;
  margin-bottom: 0.5rem; background: #fff;
}
.hc-session-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #f0f7f0; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hc-session-info { flex: 1; }
.hc-session-name { font-size: 0.88rem; font-weight: 600; }
.hc-session-meta { font-size: 0.75rem; color: #999; }
.hc-session-status {
  font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: 1rem; font-weight: 600;
}
.hc-session-status.pending { background: #FFF8E1; color: #F57F17; }
.hc-session-status.confirmed { background: #E8F5E9; color: #2E7D32; }

/* Booking modal */
.hc-book-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); z-index: 999;
}
.hc-book-modal {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto;
  background: #fff; border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.5rem; z-index: 1000;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
}
.hc-book-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #999;
}
.hc-book-modal h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.hc-book-field { margin-bottom: 1rem; }
.hc-book-field label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 0.3rem; }
.hc-book-field input, .hc-book-field select, .hc-book-field textarea {
  width: 100%; padding: 0.55rem 0.75rem; border: 1.5px solid #ddd;
  border-radius: 0.6rem; font-size: 0.85rem; font-family: inherit;
}
.hc-book-summary {
  background: #f8f8f8; border-radius: 0.6rem; padding: 0.75rem;
  margin-bottom: 1rem;
}
.hc-book-summary-row {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.hc-book-summary-total { font-weight: 700; color: #E07A3A; border-top: 1px solid #eee; padding-top: 0.4rem; }
.hc-book-pay-btn {
  width: 100%; padding: 0.7rem; border-radius: 0.6rem; background: #4CAF50;
  color: #fff; font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer;
}
.hc-book-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Mobile responsive */
@media (max-width: 600px) {
  .hc-hero { padding: 2.5rem 1rem 2rem; }
  .hc-headline { font-size: 1.4rem; }
  .hc-grid { grid-template-columns: 1fr; }
  .hc-field-row { grid-template-columns: 1fr; }
  .hc-prof-header { flex-direction: column; align-items: center; text-align: center; }
  .hc-search-wrap { margin-left: 0; width: 100%; }
  .hc-search-wrap input { flex: 1; width: auto; }
  .hc-filters { flex-direction: column; }
  .hc-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-dash-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   GENZ OVERRIDES — modern feel layer
   ═══════════════════════════════════════════════════════════════ */

/* Tighter, modern letter spacing */
h1, h2, h3, h4 { letter-spacing: -0.02em; font-family: 'Inter', 'Poppins', sans-serif; }
h1 { letter-spacing: -0.03em; }

/* Cards everywhere — cleaner, subtle hover lift */
.story-card, .hc-card, .peer-result-card, .amb-why-card, .hcq-res-card {
  border-color: #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.story-card:hover, .hc-card:hover, .peer-result-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Quiz options — bounce on tap */
.hcq-opt:active, .hc-feel:active, .hc-path-card:active { transform: scale(0.96); }

/* Emoji bounce on card hover */
.hc-card-avatar, .hc-path-icon, .hcq-res-icon { transition: transform 0.2s ease; }
.hc-card:hover .hc-card-avatar, .hc-path-card:hover .hc-path-icon { transform: scale(1.1) rotate(-3deg); }

/* Modern input focus glow */
input:focus, textarea:focus, select:focus {
  border-color: var(--saffron) !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.1) !important;
}

/* Pill tags — rounder, bolder */
.hc-card-cat-tag, .ptag, .story-etag {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Mobile bottom nav — cleaner */
.mobile-bottom-nav {
  border-top-color: #eee;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
}

/* Selection highlight — purple accent for GenZ flair */
::selection {
  background: rgba(124, 92, 252, 0.15);
  color: var(--text-primary);
}

/* Smooth page transitions */
.section { transition: opacity 0.2s ease; }
.section.active { animation: fadeUp 0.3s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
