/* ============================================================
   Family Dynamics Institute — Design System
   Premium educational platform styling
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --navy: #0a1628;
  --navy-light: #12213d;
  --navy-mid: #1a2d52;
  --burgundy: #8b2252;
  --burgundy-light: #a83268;
  --burgundy-dark: #6d1a40;
  --gold: #d4a853;
  --gold-light: #e8c67a;
  --gold-dark: #b8903f;
  --cream: #f5f0e8;
  --cream-dark: #e8dfd2;
  --cream-light: #faf7f2;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #edf0f4;
  --gray-200: #d6dce5;
  --gray-300: #b0bac8;
  --gray-400: #8a96a6;
  --gray-500: #6b7785;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;

  /* Semantic */
  --success: #38a169;
  --success-bg: rgba(56, 161, 105, 0.1);
  --warning: #d69e2e;
  --warning-bg: rgba(214, 158, 46, 0.1);
  --error: #e53e3e;
  --error-bg: rgba(229, 62, 62, 0.1);
  --info: #3182ce;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 14px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 10px 30px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 20px 50px rgba(10, 22, 40, 0.16);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.25);
  --shadow-burgundy: 0 4px 20px rgba(139, 34, 82, 0.2);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(255, 255, 255, 0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
  --notif-height: 36px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--cream-light);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; 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; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.text-gold { color: var(--gold); }
.text-burgundy { color: var(--burgundy); }
.text-cream { color: var(--cream); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

.subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gray-500);
  font-size: 1.15rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section--gradient {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 50%, var(--burgundy-dark) 100%);
  color: var(--cream);
}

.section--gradient h2,
.section--gradient h3 {
  color: var(--cream);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-3xl) 0; }
}

/* --- Notification Bar --- */
.notification-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--notif-height);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy));
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0 var(--space-xl);
  white-space: nowrap;
  overflow: hidden;
}

.notification-bar a {
  color: var(--gold-light);
  font-weight: 600;
  margin-left: 4px;
}

.notification-bar a:hover {
  text-decoration: underline;
}

.notification-bar__close {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(245, 240, 232, 0.6);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.notification-bar__close:hover {
  color: var(--cream);
}

.notification-bar--hidden {
  display: none;
}

body.notif-hidden {
  --notif-height: 0px;
}

@media (max-width: 640px) {
  .notification-bar {
    font-size: 0.7rem;
    padding: 0 var(--space-md);
  }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: var(--notif-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              top var(--duration-fast) var(--ease-out);
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.nav__logo-text span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
  background: rgba(212, 168, 83, 0.08);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  margin-left: var(--space-sm);
}

.nav__link--cta:hover {
  background: linear-gradient(135deg, var(--burgundy-light), var(--burgundy));
  transform: translateY(-1px);
  box-shadow: var(--shadow-burgundy);
}

.nav__link--campus {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
}

.nav__link--campus:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: calc(var(--notif-height) + var(--nav-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a1628;
    flex-direction: column;
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-xs);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    overflow-y: auto;
  }
  .nav__links--open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 1.15rem;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    color: var(--cream);
  }
  .nav__link:hover,
  .nav__link--active {
    background: rgba(212, 168, 83, 0.12);
  }
  .nav__link--cta {
    margin-left: 0;
    margin-top: var(--space-md);
    padding: 1rem 1.5rem;
  }
  .nav__link--campus {
    margin-top: var(--space-md);
    padding: 1rem 1.5rem;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--navy) 0%, #0f1e38 40%, var(--burgundy-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: calc(var(--notif-height) + var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(139, 34, 82, 0.2), transparent),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(212, 168, 83, 0.08), transparent),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

/* Floating decorative elements */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 300px; height: 300px;
  background: rgba(212, 168, 83, 0.07);
  top: 15%; left: 10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(139, 34, 82, 0.06);
  bottom: 10%; right: 5%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 200px; height: 200px;
  background: rgba(212, 168, 83, 0.05);
  top: 50%; right: 25%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  color: var(--cream);
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(212, 168, 83, 0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Hero Image Backgrounds --- */
.hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--img::before {
  background:
    linear-gradient(165deg, rgba(10,22,40,0.88) 0%, rgba(15,30,56,0.82) 40%, rgba(109,26,64,0.78) 100%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(139,34,82,0.2), transparent),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(212,168,83,0.08), transparent);
}

.founder-portrait {
  width: 320px;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--gold);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.5) 0%, transparent 50%);
  pointer-events: none;
}

.founder-portrait__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 1;
  text-align: center;
}

.founder-portrait__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
}

.founder-portrait__role {
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 4px;
}

/* SVG icon styling */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svg-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.svg-icon--sm svg { width: 16px; height: 16px; }
.svg-icon--md svg { width: 24px; height: 24px; }
.svg-icon--lg svg { width: 32px; height: 32px; }
.svg-icon--xl svg { width: 48px; height: 48px; }
.svg-icon--2xl svg { width: 64px; height: 64px; }

.card__icon .svg-icon svg {
  width: 26px;
  height: 26px;
}

.programme-card__header-icon .svg-icon svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(139, 34, 82, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 34, 82, 0.4);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

.btn--outline {
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  color: var(--cream);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 83, 0.05);
  transform: translateY(-2px);
}

.btn--outline-dark {
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  background: transparent;
}

.btn--outline-dark:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
}

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

.btn--icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 168, 83, 0.2);
}

.card--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
}

.card--glass:hover {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy), var(--gold));
}

.card__icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(139, 34, 82, 0.05));
  color: var(--gold);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.card--glass .card__title { color: var(--cream); }

.card__text {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.card--glass .card__text { color: rgba(245, 240, 232, 0.7); }

.card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold-dark);
  margin-bottom: var(--space-md);
}

/* --- Programme Card --- */
.programme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.programme-card__header {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--burgundy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.programme-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(212, 168, 83, 0.12), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(139, 34, 82, 0.15), transparent 50%);
}

.programme-card__header-icon {
  font-size: 3rem;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.programme-card__body {
  padding: var(--space-xl);
}

.programme-card__school {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.programme-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.programme-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.programme-card__meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.programme-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

/* --- Stats --- */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.05em;
}

/* --- Timeline / Modules --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--burgundy), var(--gold));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__dot--complete {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline__dot--complete::after {
  content: '✓';
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.modal-overlay--active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-normal) var(--ease-spring);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay--active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--duration-fast);
  font-size: 1.3rem;
}

.modal__close:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.modal__subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xl);
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  transition: all var(--duration-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
}

.form-input::placeholder {
  color: var(--gray-300);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: var(--space-xs);
}

.form-divider {
  text-align: center;
  position: relative;
  margin: var(--space-lg) 0;
  color: var(--gray-400);
  font-size: 0.82rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: var(--gray-200);
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

/* --- Certificate Verification --- */
.verify-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  text-align: center;
}

.verify-result {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  animation: fadeSlideUp 0.5s var(--ease-spring);
}

.verify-result--valid {
  background: var(--success-bg);
  border: 1px solid rgba(56, 161, 105, 0.2);
}

.verify-result--invalid {
  background: var(--error-bg);
  border: 1px solid rgba(229, 62, 62, 0.2);
}

.verify-result__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.verify-result__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.verify-result__detail {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  background: var(--white);
  overflow: hidden;
  transition: all var(--duration-fast);
}

.faq-item:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.faq-item__question:hover {
  color: var(--burgundy);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: all var(--duration-fast);
}

.faq-item--open .faq-item__icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-item--open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Cohort Calendar --- */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.cohort-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cohort-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--burgundy));
  border-radius: 0 2px 2px 0;
}

.cohort-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cohort-card__date {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.cohort-card__date-box {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}

.cohort-card__date-day {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.cohort-card__date-month {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.cohort-card__status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.cohort-card__status--open {
  background: var(--success-bg);
  color: var(--success);
}

.cohort-card__status--soon {
  background: var(--warning-bg);
  color: var(--warning);
}

.cohort-card__status--full {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* --- Dashboard --- */
.dashboard {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  min-height: 100vh;
  background: var(--gray-50);
}

.dashboard__header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  color: var(--cream);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.dashboard__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(212, 168, 83, 0.08), transparent 50%);
}

.dashboard__welcome {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  position: relative;
}

.dashboard__welcome span { color: var(--gold); }

.dashboard__subtitle {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.92rem;
  position: relative;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

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

/* --- Course Player --- */
.course-player {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.course-sidebar {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-xl);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  position: sticky;
  top: var(--nav-height);
}

.course-sidebar__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.module-group {
  margin-bottom: var(--space-lg);
}

.module-group__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.lesson-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: all var(--duration-fast);
  margin-bottom: 2px;
  cursor: pointer;
}

.lesson-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--cream);
}

.lesson-link--active {
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
}

.lesson-link__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-500);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.lesson-link__check--done {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.course-content {
  padding: var(--space-2xl);
  max-width: 900px;
}

.course-content__video {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.course-content__video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 168, 83, 0.08), transparent 60%);
}

.play-btn {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.5rem;
  z-index: 1;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.play-btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: scale(1.08);
}

.course-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: var(--space-xs);
}

.course-tab {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  border-bottom: 2px solid transparent;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.course-tab:hover {
  color: var(--navy);
}

.course-tab--active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

@media (max-width: 768px) {
  .course-player {
    grid-template-columns: 1fr;
  }
  .course-sidebar {
    position: fixed;
    left: -280px;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    z-index: 500;
    transition: left var(--duration-normal) var(--ease-out);
  }
  .course-sidebar--open {
    left: 0;
  }
}

/* --- Progress Bar --- */
.progress {
  width: 100%;
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
  transition: width var(--duration-slow) var(--ease-out);
}

.progress--lg {
  height: 10px;
}

/* --- Certificate Card --- */
.cert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-card__preview {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 3px solid var(--gold);
}

.cert-card__preview-inner {
  text-align: center;
  color: var(--cream);
}

.cert-card__preview-logo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.cert-card__preview-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.cert-card__body {
  padding: var(--space-lg);
}

/* --- Discussion Threads --- */
.thread {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: var(--white);
  margin-bottom: var(--space-md);
  transition: all var(--duration-fast);
}

.thread:hover {
  border-color: rgba(212, 168, 83, 0.2);
}

.thread__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.thread__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.thread__author {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.thread__time {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.thread__body {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.thread__pinned {
  background: rgba(212, 168, 83, 0.04);
  border-color: rgba(212, 168, 83, 0.2);
}

.thread__pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

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

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.footer__brand-name span { color: var(--gold); }

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-400);
  padding: 0.25rem 0;
  transition: color var(--duration-fast);
  cursor: pointer;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8rem;
}

.footer__bottom a {
  color: var(--gold);
  transition: opacity var(--duration-fast);
}

.footer__bottom a:hover { opacity: 0.8; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* --- Utility Animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, transparent 30%, rgba(212, 168, 83, 0.1) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* --- Page Transition --- */
.page-enter {
  animation: fadeSlideUp 0.4s var(--ease-out);
}

/* --- Separator Ornament --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.ornament__line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.ornament__diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* --- Blockquote --- */
.blockquote {
  position: relative;
  padding: var(--space-xl) var(--space-2xl);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  margin: var(--space-xl) 0;
  background: rgba(212, 168, 83, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

/* --- Notification Bar --- */
.notification-bar {
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy));
  color: var(--cream);
  text-align: center;
  padding: 0.6rem var(--space-md);
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.notification-bar a {
  color: var(--gold-light);
  text-decoration: underline;
  font-weight: 600;
}

/* --- Pastoral Boundary Statement --- */
.boundary-statement {
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.boundary-statement__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.boundary-statement__text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* -- Scrollbar -- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* --- Account Page --- */
.account-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  margin-bottom: var(--space-xl);
}

.account-section__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
}

.billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gray-50);
}

.billing-row:last-child { border-bottom: none; }

.billing-row__amount {
  font-weight: 600;
  color: var(--navy);
}

.billing-row__status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--success-bg);
  color: var(--success);
}

/* --- Mobile Responsive Polish --- */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    padding: calc(var(--notif-height) + var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .founder-portrait {
    width: 260px;
    height: 340px;
    margin: 0 auto;
  }

  .dashboard__grid {
    grid-template-columns: 1fr !important;
  }

  .course-player {
    flex-direction: column !important;
  }

  .course-sidebar {
    width: 100% !important;
    max-height: 40vh;
    overflow-y: auto;
  }

  .course-content {
    padding: var(--space-lg) !important;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl) !important;
    text-align: center;
  }

  .stats {
    gap: var(--space-xl);
  }

  .stat__number {
    font-size: 2rem !important;
  }

  .calendar-grid {
    grid-template-columns: 1fr !important;
  }

  .cohort-card__date {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .card {
    padding: var(--space-lg);
  }

  .btn--lg {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }
}
