/* ============================================================
   AstrologerReviews.com — Crystal Sanctuary Stylesheet
   Jyotish Acharya Devraj Ji | Scientific Mathematical Astrology
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Brand Palette */
  --moonstone:        #F7F8FA;
  --crystal-mist:     #EDF1F6;
  --crystal-deep:     #E2EAF2;
  --crystal-border:   #D4DDED;
  --teal:             #1B6F70;
  --teal-hover:       #1F8283;
  --teal-dark:        #134F50;
  --teal-xlight:      #EBF5F5;
  --teal-light:       #D2EDED;
  --sage:             #8DA8A9;
  --sage-light:       #B3C8C9;
  --champagne:        #C9B99A;
  --gold:             #B89A6A;
  --gold-light:       #D4B897;
  --gold-pale:        #F0E6D3;
  --graphite:         #1C2327;
  --text-primary:     #252D35;
  --text-secondary:   #4A5568;
  --text-muted:       #718096;
  --border:           #E2EAF2;
  --white:            #FFFFFF;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(27,111,112,0.06), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm:  0 2px 8px rgba(27,111,112,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 20px rgba(27,111,112,0.10), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 40px rgba(27,111,112,0.13), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-xl:  0 20px 60px rgba(27,111,112,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(184,154,106,0.28);
  --shadow-teal: 0 4px 24px rgba(27,111,112,0.30);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --container-pad: clamp(20px, 5vw, 48px);
  --section-pad: clamp(64px, 8vw, 108px);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--moonstone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--graphite);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 600; }
h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; }
.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.7; color: var(--text-secondary); }
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section {
  padding: var(--section-pad) 0;
}
.section-alt { background-color: var(--crystal-mist); }
.section-white { background-color: var(--white); }
.section-dark {
  background-color: var(--graphite);
  color: var(--white);
}
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-xlight);
  border: 1px solid var(--teal-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27,111,112,0.38);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover {
  background: var(--teal-xlight);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--champagne) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #c9a878 0%, #d4c4a8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184,154,106,0.42);
}
.btn-ghost {
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-xlight);
}
.btn-lg { font-size: 16px; padding: 16px 36px; }
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247,248,250,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.crystal-logo-svg { width: 36px; height: 42px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.brand-name span { display: block; font-size: 11px; font-weight: 400; color: var(--sage); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body); }
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover { color: var(--teal); background: var(--teal-xlight); }
.nav-link.active { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.hamburger:hover { background: var(--crystal-mist); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: flex;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 32px var(--container-pad) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-nav.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform 0.35s var(--ease), visibility 0s;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-nav-link {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--graphite);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--teal); padding-left: 12px; }
.mobile-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  text-align: center;
  margin-bottom: 4px;
}

/* ===== HERO ===== */
.hero {
  padding: 144px 0 100px;
  background: linear-gradient(160deg, var(--moonstone) 0%, var(--crystal-mist) 55%, #E8EEF5 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(27,111,112,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(184,154,106,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,111,112,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--graphite);
}
.hero-title .highlight {
  color: var(--teal);
  position: relative;
}
.hero-title .accent { color: var(--gold); }
.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--crystal-border);
  flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.trust-stars { color: #F59E0B; font-size: 16px; letter-spacing: 1px; }
.trust-label { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.trust-sublabel { font-size: 12px; color: var(--text-muted); }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero Right — Visual Card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.hero-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-xlight), var(--teal-light));
  border: 2px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
}
.hero-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--graphite); }
.hero-card-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
}
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.hero-stat {
  background: var(--crystal-mist);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); }
.hero-review-preview {
  background: var(--crystal-mist);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}
.review-stars-sm { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
.review-text-sm { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-style: italic; }
.review-author-sm { font-size: 12px; color: var(--text-muted); margin-top: 8px; font-weight: 500; }
.floating-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.floating-badge-1 { top: -16px; right: -16px; }
.floating-badge-2 { bottom: -16px; left: -16px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trust-stat {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.trust-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}
.trust-stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-stat-label { font-size: 14px; color: var(--text-secondary); font-weight: 400; }

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--teal-xlight);
  font-style: italic;
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-light);
}
.review-card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-xlight), var(--teal-light));
  border: 1.5px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.reviewer-name { font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 2px; }
.reviewer-meta { display: flex; align-items: center; gap: 8px; }
.reviewer-location { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; }
.review-text { font-size: 15px; color: var(--text-secondary); line-height: 1.72; margin-bottom: 16px; position: relative; z-index: 1; }
.review-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.review-type-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-xlight);
  border: 1px solid var(--teal-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.review-date { font-size: 12px; color: var(--text-muted); }
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}
.verified-tag svg { width: 13px; height: 13px; }

/* ===== DIFFERENCE SECTION ===== */
.difference-section { background: var(--graphite); position: relative; overflow: hidden; }
.difference-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,111,112,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.difference-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,154,106,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.difference-content h2 { color: var(--white); margin-bottom: 20px; }
.difference-content p { color: rgba(255,255,255,0.72); margin-bottom: 32px; }
.difference-pillars { display: flex; flex-direction: column; gap: 20px; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.pillar:hover { background: rgba(27,111,112,0.2); border-color: rgba(27,111,112,0.4); }
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(27,111,112,0.3);
  border: 1px solid rgba(27,111,112,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-light);
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.pillar-desc { font-size: 14px; color: rgba(255,255,255,0.60); line-height: 1.6; }

/* Difference Visual */
.difference-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.diff-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.diff-card:hover { background: rgba(255,255,255,0.10); }
.diff-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(27,111,112,0.25) 0%, rgba(27,111,112,0.10) 100%);
  border-color: rgba(27,111,112,0.4);
}
.diff-card-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}
.diff-card-label { font-size: 13px; color: rgba(255,255,255,0.60); }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.category-card:hover .category-icon { background: var(--teal); color: var(--white); }
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-xlight);
  border: 1px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
  color: var(--teal);
}
.category-icon svg { width: 24px; height: 24px; }
.category-title { font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 8px; }
.category-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.category-link-text { font-size: 13px; color: var(--teal); font-weight: 500; margin-top: 14px; display: block; }

/* ===== SUCCESS STORIES ===== */
.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.story-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.story-header::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.story-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.story-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.story-location { font-size: 13px; color: rgba(255,255,255,0.70); }
.story-body { padding: 28px; }
.story-quote {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
}
.story-outcome {
  background: var(--teal-xlight);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--teal-dark);
  font-weight: 500;
}
.story-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }

/* ===== VIDEO TESTIMONIALS ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-placeholder {
  background: var(--graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.video-placeholder:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-placeholder:hover { filter: brightness(1.15); }
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  background: linear-gradient(135deg, #1C2327 0%, #2D3748 100%);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.play-btn svg { width: 22px; height: 22px; color: var(--teal); margin-left: 3px; }
.video-caption {
  padding: 14px 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.video-sub { font-size: 12px; color: var(--text-muted); }

/* ===== REVIEW STATS ===== */
.stats-layout { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.rating-summary { text-align: center; }
.rating-big {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.rating-stars-lg { font-size: 28px; color: #F59E0B; letter-spacing: 3px; margin-bottom: 12px; }
.rating-count { font-size: 16px; color: var(--text-muted); }
.rating-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.rating-row { display: flex; align-items: center; gap: 12px; }
.rating-label { font-size: 14px; color: var(--text-secondary); width: 40px; flex-shrink: 0; }
.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--crystal-mist);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: var(--radius-full);
  transition: width 1.2s var(--ease);
}
.rating-pct { font-size: 13px; color: var(--text-muted); width: 36px; flex-shrink: 0; }
.stats-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.stat-fact-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}
.stat-fact-label { font-size: 14px; color: var(--text-secondary); }

/* ===== ABOUT ===== */
.about-layout { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; }
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-xlight), var(--crystal-mist));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--crystal-border);
}
.about-img-placeholder {
  text-align: center;
  color: var(--sage);
}
.about-img-placeholder svg { width: 80px; height: 80px; margin-bottom: 12px; opacity: 0.5; }
.about-credentials {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.credential-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.credential-item:last-child { margin-bottom: 0; }
.credential-item svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.about-content h2 { margin-bottom: 16px; }
.about-content .lead { margin-bottom: 24px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.about-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-xlight);
  border: 1px solid var(--teal-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ===== MEDIA MENTIONS ===== */
.media-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.media-logo {
  opacity: 0.45;
  transition: var(--transition);
  filter: grayscale(1);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: -0.02em;
}
.media-logo:hover { opacity: 0.8; filter: grayscale(0); }
.media-divider { width: 1px; height: 28px; background: var(--border); }

/* ===== KNOWLEDGE CENTER ===== */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--teal-xlight) 0%, var(--crystal-deep) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-thumb-icon { opacity: 0.3; color: var(--teal); }
.article-thumb-icon svg { width: 48px; height: 48px; }
.article-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.article-body { padding: 24px; }
.article-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--graphite); line-height: 1.3; margin-bottom: 10px; }
.article-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); }
.article-read-time { display: flex; align-items: center; gap: 4px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--teal-light); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--graphite);
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crystal-mist);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-icon { background: var(--teal); border-color: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-answer { max-height: 1000px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #1D8A8B 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(184,154,106,0.10);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.78); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--teal);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-col {}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--white); line-height: 1.2; }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.60); line-height: 1.65; margin-bottom: 28px; }
.footer-trust-badges { display: flex; flex-direction: column; gap: 8px; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
}
.footer-badge svg { width: 16px; height: 16px; color: var(--sage-light); flex-shrink: 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-link-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer-link-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; align-items: center; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.80); }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 140px 0 72px;
  background: linear-gradient(160deg, var(--moonstone) 0%, var(--crystal-mist) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 18px; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { color: var(--border); }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.form-label span { color: #DC2626; margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,111,112,0.10);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* ===== UTILITIES ===== */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.pt-0 { padding-top: 0 !important; }
.hidden { display: none; }
.show-mobile { display: none; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); will-change: auto; }
.fade-in {
  opacity: 0;
  transition: opacity 0.65s var(--ease);
  will-change: opacity;
}
.fade-in.visible { opacity: 1; will-change: auto; }

/* ===== REVIEW HIDDEN (load-more toggle) ===== */
.review-hidden { display: none; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--crystal-mist) 25%, var(--crystal-deep) 50%, var(--crystal-mist) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-inner { text-align: center; }
  .hero-lead { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { max-width: 360px; }
  .stats-layout { grid-template-columns: 1fr; }
  .rating-summary { max-width: 320px; margin: 0 auto; }
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-stat:nth-child(3)::after { display: none; }
}
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .difference-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.keep-2 { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(2)::after { display: none; }
  .trust-stat:nth-child(4)::after { display: none; }
  .stats-facts { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .show-mobile { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-divider { display: none; }
  .difference-visual { grid-template-columns: 1fr; }
  .diff-card.featured { grid-column: 1; }
  .stats-facts { grid-template-columns: 1fr; }
}

/* ===== HEADER MOBILE BRAND CENTER ===== */
@media (max-width: 960px) {
  .header-inner { position: relative; }
  .header-brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .header-brand .brand-name { display: none; }
  .header-actions .btn { display: none; }
  .mobile-brand-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .mobile-brand-strip .crystal-logo-svg { display: none; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .cta-section { display: none; }
  body { background: white; }
}

/* ===== FOCUS-VISIBLE ===== */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
.hamburger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.faq-question:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}
.category-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .fade-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .mobile-nav {
    transition: none;
  }
}

/* ===================================================================
   LEARN ASTROLOGY ACADEMY — Chapter Cards & Lesson Pages
   =================================================================== */

/* --- Chapter index cards (learn-astrology.html) --- */
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ch-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; text-decoration: none; transition: var(--transition); }
.ch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--teal-light); }
.ch-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ch-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ch-num { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; }
.ch-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.ch-badge.beginner { background: #D1FAE5; color: #065F46; }
.ch-badge.intermediate { background: #DBEAFE; color: #1E40AF; }
.ch-badge.advanced { background: #EDE9FE; color: #5B21B6; }
.ch-card-title { font-size: 13px; font-weight: 600; color: var(--graphite); line-height: 1.45; margin: 0 0 12px; }
.ch-card-footer { display: flex; justify-content: space-between; align-items: center; }
.ch-time { font-size: 11px; color: var(--text-muted); }
.ch-arrow { font-size: 13px; color: var(--teal); font-weight: 700; }
.paper-section { margin-bottom: 44px; }
.paper-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.09em; border-left: 3px solid var(--teal); padding-left: 10px; margin-bottom: 16px; }
.level-switcher { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.level-btn { padding: 11px 28px; border-radius: 40px; font-weight: 600; font-size: 15px; cursor: pointer; border: 2px solid var(--border); background: var(--white); color: var(--text-secondary); transition: var(--transition); font-family: inherit; }
.level-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow-teal); }
.academy-stat-num { font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; font-family: 'Cormorant Garamond', serif; }
.academy-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* --- Lesson page styles --- */
.lesson-progress-bar { background: var(--crystal-mist); border-bottom: 1px solid var(--border); padding: 10px 0; }
.lesson-progress-inner { max-width: 880px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.lesson-ch-tag { font-weight: 600; color: var(--text-muted); }
.lesson-diff { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 20px; }
.lesson-diff.beginner { background: #D1FAE5; color: #065F46; }
.lesson-diff.intermediate { background: #DBEAFE; color: #1E40AF; }
.lesson-diff.advanced { background: #EDE9FE; color: #5B21B6; }
.lesson-wrap { max-width: 880px; margin: 0 auto; padding: 0 24px 80px; }
.lesson-head { padding: 40px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.lesson-head h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); color: var(--graphite); line-height: 1.25; margin: 14px 0 18px; }
.lesson-meta-row { display: flex; flex-wrap: wrap; gap: 20px; }
.lesson-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); }
.lesson-toc { background: var(--crystal-mist); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 28px; margin-bottom: 44px; }
.lesson-toc h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 0 0 14px; }
.lesson-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.lesson-toc li { font-size: 13px; color: var(--graphite); margin-bottom: 7px; break-inside: avoid; }
.lesson-toc a { color: var(--teal); text-decoration: none; }
.lesson-toc a:hover { text-decoration: underline; }
.lesson-body h2 { font-size: 20px; font-weight: 700; color: var(--graphite); margin: 44px 0 14px; padding-top: 40px; border-top: 1px solid var(--border); }
.lesson-body > h2:first-child, .lesson-box h2 { border-top: none !important; padding-top: 0 !important; margin-top: 0 !important; }
.lesson-body h3 { font-size: 17px; font-weight: 600; color: var(--graphite); margin: 28px 0 10px; }
.lesson-body h4 { font-size: 15px; font-weight: 600; color: var(--graphite); margin: 20px 0 8px; }
.lesson-body p { font-size: 16px; line-height: 1.85; color: var(--text-secondary); margin-bottom: 18px; }
.lesson-body ul, .lesson-body ol { padding-left: 22px; margin-bottom: 20px; }
.lesson-body li { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 8px; }
.lesson-body strong { color: var(--graphite); font-weight: 600; }
.lesson-body em { font-style: italic; }
.lesson-body blockquote { border-left: 3px solid var(--teal); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--text-secondary); font-style: italic; }
.lesson-box { border-radius: var(--radius-lg); padding: 26px 30px; margin: 40px 0; }
.box-exercise { background: var(--teal-xlight); border: 1px solid var(--teal-light); }
.box-exercise h2 { color: var(--teal-dark); }
.box-quiz { background: #FFFBF0; border: 1px solid #FCD34D; }
.box-quiz h2 { color: #92400E; }
.box-takeaway { background: #F0FDF4; border: 1px solid #86EFAC; }
.box-takeaway h2 { color: #14532D; }
.box-next { background: var(--crystal-mist); border: 1px solid var(--crystal-border); }
.lesson-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); }
.lesson-nav-link { display: block; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; transition: var(--transition); background: var(--white); }
.lesson-nav-link:hover { box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.lesson-nav-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.lnl-next { text-align: right; }
.lnl-dir { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 5px; }
.lnl-title { font-size: 14px; font-weight: 600; color: var(--graphite); line-height: 1.4; }
.lnl-empty { opacity: 0.28; pointer-events: none; background: var(--crystal-mist) !important; }
@media (max-width: 640px) {
  .lesson-toc ol { columns: 1; }
  .lesson-nav-grid { grid-template-columns: 1fr; }
  .lesson-box { padding: 20px; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .ch-grid { grid-template-columns: 1fr; }
}
