/* ================================================
   THE MARABHA METHOD — SITE CSS
   Premium Dark Theme · Gold + Grabber Blue
   ================================================ */

/* --- RESET & VARIABLES --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:           #0D0D0D;
  --bg-surface:   #121218;
  --bg-elevated:  #1A1A22;
  --gold:         #C5A55A;
  --gold-light:   #D4B96E;
  --gold-dim:     rgba(197, 165, 90, 0.10);
  --gold-glow:    rgba(197, 165, 90, 0.25);
  --blue:         #1877FF;
  --blue-dim:     rgba(24, 119, 255, 0.10);
  --text:         #F0F0F0;
  --text-sub:     #9A9AB0;
  --text-muted:   #52526A;
  --border:       rgba(255, 255, 255, 0.07);
  --border-gold:  rgba(197, 165, 90, 0.22);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* --- GRAIN OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.032;
  mix-blend-mode: overlay;
}

/* --- AMBIENT GOLD GLOW --- */
body::after {
  content: '';
  position: fixed;
  top: -25vh;
  right: -10vw;
  width: 65vw;
  height: 65vh;
  background: radial-gradient(ellipse, rgba(197,165,90,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(197, 165, 90, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
}

body.cursor-hover .cursor-ring {
  width: 46px;
  height: 46px;
  border-color: rgba(24, 119, 255, 0.4);
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* --- TYPOGRAPHY & BASE --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--text); }

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* --- SHARED SECTION --- */
.section { padding: 120px 0; position: relative; z-index: 1; }

.section-header { margin-bottom: 72px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

.section-num {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.65;
}

/* --- BUTTONS --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: #0D0D0D;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--gold-glow);
}

.btn-gold:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 48px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-course { padding: 12px 24px; font-size: 0.74rem; margin-top: auto; }

/* ================================================
   NAVIGATION
   ================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  transition: border-color 0.2s ease;
}

.nav-logo:hover .nav-logo-img { border-color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.2s ease !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dim); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.mobile-nav-links a {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover { color: var(--gold); }
.mobile-cta { color: var(--gold) !important; }

@media (max-width: 880px) {
  #main-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 60px;
  position: relative;
  overflow: hidden;
}

/* Radial gold atmosphere */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(197,165,90,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 48px;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line--accent .hero-line-inner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
}

/* Logo */
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: scale(0.85);
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  border: 2px solid var(--border-gold);
}

.hero-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(197,165,90,0.2) 0%, transparent 65%);
  border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { opacity: 0.5; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-pillars-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pillar-free {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-sub);
}

.pillar-paid {
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
}

.hero-scroll span {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 56px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

@media (max-width: 768px) {
  .hero { padding: 110px 24px 80px; }
  .hero-logo { width: 140px; height: 140px; }
  .hero-headline { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-scroll { left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-glow { animation: none; }
  .scroll-progress { animation: none; }
}

/* ================================================
   MARQUEE BAR
   ================================================ */
.marquee-bar {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  background: var(--bg-surface);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-track .sep {
  color: var(--gold);
  font-size: 0.46rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ================================================
   THE PROBLEM
   ================================================ */
.problem {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 28px;
}

.problem-text p {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 22px;
}

.problem-close {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--gold) !important;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 8px;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.3s ease;
}

.stat-card:hover { border-color: var(--border-gold); }

.stat-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.87rem;
  color: var(--text-sub);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .problem-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .problem-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1 1 200px; }
}

/* ================================================
   THREE PILLARS
   ================================================ */
.pillars { background: var(--bg); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 44px 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.pillar-card--gated {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
}

.pillar-card--gated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-card:hover .pillar-card--free,
.pillar-card--free:hover { border-color: var(--border); }

.pillar-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.pillar-badge {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.pillar-badge--free {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-sub);
}

.pillar-badge--gated {
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.pillar-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}

.pillar-card--gated .pillar-number {
  color: rgba(197,165,90,0.15);
}

.pillar-card h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}

.pillar-hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 18px;
  line-height: 1.5;
}

.pillar-card p:not(.pillar-hook) {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 22px;
}

.pillar-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pillar-list li {
  font-size: 0.87rem;
  color: var(--text-sub);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-list li::before {
  content: '→';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pillar-card--gated .pillar-list li { color: var(--text); }

.pillar-cta-wrap {
  margin-top: auto;
  padding-top: 24px;
}

.pillar-availability {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ================================================
   MEMBERSHIP TIERS
   ================================================ */
.tiers { background: var(--bg-surface); border-top: 1px solid var(--border); }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tier-card {
  display: flex;
  flex-direction: column;
  padding: 44px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  transition: border-color 0.3s ease;
}

.tier-card--featured {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
}

.tier-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.tier-badge-popular {
  position: absolute;
  top: -1px;
  right: 28px;
  background: var(--gold);
  color: #0D0D0D;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 4px 4px;
}

.tier-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.tier-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.tier-price {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.tier-price span {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.tier-tagline {
  font-size: 0.83rem;
  color: var(--text-sub);
  font-style: italic;
}

.tier-features {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}

.tier-features li {
  font-size: 0.88rem;
  color: var(--text-sub);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.tier-features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-result {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tier-footer {
  margin-top: auto;
}

@media (max-width: 1000px) {
  .tiers-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ================================================
   STANDALONE COURSES
   ================================================ */
.courses { background: var(--bg); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.course-card {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.course-card--flagship {
  border-color: var(--border-gold);
}

.course-card--flagship::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 100px;
}

.course-pillar {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.course-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.course-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
}

.course-card p:not(.course-price) {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.courses-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.courses-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1000px) {
  .courses-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
  .courses-footer { justify-content: center; text-align: center; }
}

/* ================================================
   AUTHORITY / OMAR SECTION
   ================================================ */
.authority {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.authority-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.authority-image-wrap {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 3px;
}

.authority-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(10%) contrast(1.05) brightness(0.88);
  display: block;
  transition: transform 0.7s ease;
}

.authority-image-wrap:hover img { transform: scale(1.03); }

.authority-image-tag {
  padding: 14px 20px;
  background: var(--bg);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--border-gold);
}

.authority-eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.authority-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 40px;
}

.authority-cred-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.authority-cred {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cred-icon {
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 5px;
}

.authority-cred p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.authority-quote {
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .authority-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .authority-image-wrap {
    position: static;
    max-width: 440px;
  }
  .authority-image-wrap img { height: 340px; aspect-ratio: auto; object-position: center 20%; }
}

/* ================================================
   FINAL CTA
   ================================================ */
.final-cta {
  padding: 160px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(197,165,90,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.final-cta-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.final-cta-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
}

.final-cta-body {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 52px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  padding: 72px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.footer-left {}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-statement {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================================================
   ENHANCED MOBILE OPTIMIZATION
   ================================================ */

/* Minimum touch targets */
.btn-gold,
.btn-ghost { min-height: 48px; }

.tier-footer a,
.pillar-cta-wrap a,
.courses-footer a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* Reduce section padding on tablet */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .pull-quote-section { padding: 80px 0; }
  .final-cta { padding: 100px 0; }
  .authority { padding: 80px 0; }
  .section-header { margin-bottom: 52px; }
}

/* Full mobile optimizations */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .pull-quote-section { padding: 60px 0; }
  .final-cta { padding: 72px 0; }
  .authority { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(2rem, 9.5vw, 3rem); }
  .section-sub { font-size: 0.92rem; }
}

/* Hero mobile */
@media (max-width: 640px) {
  .hero { padding: 108px 24px 72px; }
  .hero-headline { font-size: clamp(2.4rem, 9.5vw, 4rem); margin-bottom: 32px; }
  .hero-logo { width: 140px; height: 140px; }
  .hero-logo-wrap { margin-bottom: 32px; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-actions .btn-gold,
  .hero-actions .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .hero-pillars-strip { gap: 8px; }
  .pillar-pill { font-size: 0.64rem; padding: 7px 14px; }
}

@media (max-width: 380px) {
  .hero { padding: 100px 20px 64px; }
  .hero-headline { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-logo { width: 110px; height: 110px; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.18em; }
}

/* Navigation mobile */
@media (max-width: 480px) {
  #main-nav { padding: 14px 20px; }
  #main-nav.scrolled { padding: 12px 20px; }
  .nav-logo-img { height: 44px; width: 44px; }
  .mobile-nav-links a { font-size: 2.5rem; }
  .mobile-nav-links { gap: 36px; }
}

/* Problem section */
@media (max-width: 480px) {
  .problem-lead { font-size: 1.25rem; }
  .stat-num { font-size: 2.8rem; }
  .stat-card { padding: 24px 20px; }
}

/* Pillar, Tier, Course cards */
@media (max-width: 640px) {
  .pillar-card,
  .tier-card,
  .course-card { padding: 32px 24px; }
  .tiers-grid,
  .pillars-grid,
  .courses-grid { max-width: 100%; }
  .tier-price { font-size: 2.4rem; }
  .tier-badge-popular { font-size: 0.56rem; padding: 4px 10px; }
}

@media (max-width: 380px) {
  .pillar-card,
  .tier-card,
  .course-card { padding: 28px 20px; }
}

/* Final CTA mobile */
@media (max-width: 640px) {
  .final-cta-title { font-size: clamp(2rem, 9vw, 3rem); }
  .final-cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .final-cta-actions .btn-gold,
  .final-cta-actions .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .final-cta-body { font-size: 0.93rem; }
}

/* Authority section mobile */
@media (max-width: 640px) {
  .authority-title { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; }
  .authority-quote { padding: 22px 24px; font-size: 1rem; }
  .authority-cred p { font-size: 0.86rem; }
}

/* Courses footer */
@media (max-width: 640px) {
  .courses-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Footer mobile */
@media (max-width: 480px) {
  .site-footer { padding: 52px 0 36px; }
  .footer-logo { width: 56px; height: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-statement { display: none; }
}

/* Pull quote mobile */
@media (max-width: 640px) {
  .pull-quote-inner { gap: 20px; }
  .pull-word { font-size: clamp(3rem, 13vw, 5rem); }
}

/* Scroll indicator mobile */
@media (max-width: 480px) {
  .hero-scroll { left: 20px; bottom: 28px; }
}

/* Marquee legibility on mobile */
@media (max-width: 480px) {
  .marquee-track span { font-size: 0.6rem; }
  .marquee-track { gap: 24px; }
}

/* Prevent horizontal overflow */
* { max-width: 100%; }
img { max-width: 100%; height: auto; }

/* Ensure tap targets are never smaller than 44px */
a, button { min-height: 44px; }
nav a, .footer-col a { min-height: unset; }
