/* ========================================
   TECH FUN AI — Landing Page Styles
   ======================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
input { font: inherit; }

/* --- Custom Properties --- */
:root {
  --bg-primary: #FAFAFA;
  --bg-secondary: #F2F2F3;
  --bg-dark: #0f0f10;
  --bg-card: #FFFFFF;

  --text-primary: #111113;
  --text-secondary: #4A4A4F;
  --text-muted: #8A8A8F;
  --text-on-dark: #F0F0F0;
  --text-muted-dark: rgba(255,255,255,0.55);

  --accent: #111113;
  --accent-hover: #2A2A2E;
  --accent-inverted: #FFFFFF;
  --accent-blue: #2563EB;
  --accent-blue-hover: #1D4ED8;
  --accent-blue-light: #EFF6FF;

  --border-light: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.10);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --container-max: 1120px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --nav-height: 64px;
}

/* --- Base --- */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section {
  scroll-margin-top: var(--nav-height);
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-inverted);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-primary-inverted {
  background: var(--accent-inverted);
  color: var(--accent);
}
.btn-primary-inverted:hover { background: #E8E8E8; }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(0,0,0,0.02);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid var(--border-dark);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.btn-accent {
  background: var(--accent-blue);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-blue-hover); }

.btn-sm { padding: 8px 20px; font-size: var(--text-xs); min-height: 36px; }

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.badge-dark {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted-dark);
  border: 1px solid var(--border-dark);
}
.badge-light {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}
.badge-blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light);
}
.navbar.scrolled .nav-brand,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-hamburger span {
  color: var(--text-primary);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: var(--text-lg);
}
.nav-logo { width: 28px; height: 28px; }

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  gap: var(--space-1);
}
.nav-links.nav-open { display: flex; }

.nav-link {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-cta { margin-top: var(--space-2); }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--text-on-dark);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height) + var(--space-12)) var(--space-4) var(--space-12);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
.hero-heading {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: var(--space-4);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted-dark);
  margin-top: var(--space-5);
  max-width: 520px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
}
.hero-social svg { opacity: 0.6; }

.hero-visual { display: none; }

.hero-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: background 0.2s, border-color 0.2s;
}
.tool-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.tool-icon { font-size: 1.75rem; }
.tool-icon--svg { font-size: 1rem; color: var(--text-muted-dark); }
.tool-name {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  letter-spacing: 0.02em;
}

/* ========================================
   SOCIAL PROOF
   ======================================== */
.social-proof {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}
.proof-text {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.proof-company {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  opacity: 0.85;
}
.proof-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-on-dark);
  opacity: 0.3;
}

/* ========================================
   AUDIENCE CARDS
   ======================================== */
.audience {
  background: var(--bg-primary);
  padding: var(--space-12) var(--space-4);
}
.section-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--space-5);
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}
.grid-3 {
  display: grid;
  gap: var(--space-5);
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.card-body {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-blue);
  transition: color 0.2s;
}
.card-link:hover { color: var(--accent-blue-hover); }

/* ========================================
   COURSES
   ======================================== */
.courses {
  background: var(--bg-secondary);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}
.courses .badge { margin-bottom: var(--space-3); }
.course-grid { margin-top: var(--space-6); }

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.course-card--featured {
  border-color: var(--accent-blue);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.course-card--featured:hover {
  box-shadow: var(--shadow-lg);
}

.course-ribbon {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px 8px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.course-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.course-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.course-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}
.course-price { margin-bottom: var(--space-4); }
.course-price-amount {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
}
.course-duration {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.course-outcomes {
  list-style: none;
  margin-bottom: var(--space-5);
}
/* keep CTAs bottom-aligned across cards of different heights */
.course-card > .curriculum-toggle { margin-top: auto; }
.course-outcomes li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}
.course-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.course-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}
.tool-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.course-cta { width: 100%; text-align: center; }

/* Curriculum Toggle & Accordion */
.curriculum-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.curriculum-toggle:hover {
  background: rgba(37,99,235,0.12);
}
.curriculum-chevron {
  transition: transform 0.3s ease;
}
.curriculum-toggle[aria-expanded="true"] .curriculum-chevron {
  transform: rotate(180deg);
}

.curriculum-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  margin-bottom: 0;
}
.curriculum-detail.curriculum-open {
  opacity: 1;
  margin-bottom: var(--space-4);
}

/* Enrol reveal (mirrors curriculum accordion) */
.enrol-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.enrol-reveal.enrol-open {
  opacity: 1;
  margin-top: var(--space-3);
}
.enrol-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.enrol-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}
.enrol-input:focus { border-color: var(--accent-blue); }
.enrol-submit { flex-shrink: 0; }
.enrol-status {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.enrol-error.formkit-alert:empty { display: none; }
.enrol-error.formkit-alert {
  font-size: var(--text-xs);
  padding: 8px 12px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
  background: rgba(242, 100, 59, 0.1);
  color: #ea4110;
  list-style: none;
}

.curriculum-module {
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.curriculum-module:last-child { margin-bottom: 0; }

.module-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}
.module-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.module-duration {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.module-topics {
  margin-bottom: var(--space-3);
}
.module-topics li {
  position: relative;
  padding-left: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-1);
}
.module-topics li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}
.module-practical {
  font-size: var(--text-xs);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  line-height: 1.5;
}
.module-practical strong {
  color: var(--accent-blue);
  font-weight: 600;
}

.module-keep {
  font-size: var(--text-xs);
  color: var(--text-primary);
  background: rgba(16,191,122,0.07);
  border: 1px solid rgba(16,191,122,0.22);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  margin-top: var(--space-2);
  line-height: 1.5;
}
.module-keep strong {
  color: #0a9d64;
  font-weight: 600;
}

.curriculum-module--bonus {
  border: 1px dashed rgba(37,99,235,0.35);
  background: var(--accent-blue-light);
}
.module-num--bonus {
  background: var(--accent-blue);
  color: #fff;
}

.curriculum-capstone-note {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-2);
  line-height: 1.6;
}
.curriculum-capstone-note strong { color: var(--text-primary); }

/* ========================================
   INSTRUCTOR
   ======================================== */
.instructor {
  background: var(--bg-primary);
  padding: var(--space-12) var(--space-4);
}
.instructor-inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.instructor-photo img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.instructor-content .section-heading {
  text-align: left;
  margin-bottom: var(--space-2);
}
.instructor-title {
  font-size: var(--text-lg);
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.instructor-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.instructor-socials {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.social-link:hover { color: var(--accent-blue); }

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter .section-heading { color: var(--text-on-dark); }
.newsletter-sub {
  color: var(--text-muted-dark);
  margin-bottom: var(--space-6);
}
.newsletter-asset {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}
.newsletter-asset-icon {
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.newsletter-asset-icon-emoji { font-size: 1.5rem; }
.newsletter-asset-icon-label {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
  color: var(--text-muted-dark);
  padding: 0 var(--space-2);
}
.newsletter-asset-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.newsletter-asset-list li {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  padding-left: var(--space-5);
  position: relative;
}
.newsletter-asset-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10bf7a;
  font-weight: 700;
}

.newsletter-form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
  font-size: var(--text-base);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-input::placeholder { color: var(--text-muted-dark); }
.newsletter-input:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}
.newsletter-btn { width: 100%; }

.newsletter .formkit-alert {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  list-style: none;
  padding: 10px 16px;
  border-radius: var(--radius-md);
}
.newsletter .formkit-alert:empty { display: none; }
.newsletter .formkit-alert-error {
  background: rgba(242, 100, 59, 0.15);
  color: #f2643b;
}
.newsletter .formkit-alert-success {
  background: rgba(16, 191, 122, 0.15);
  color: #10bf7a;
}

.newsletter-confirm-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
}

.newsletter-follow {
  margin-top: var(--space-6);
}
.newsletter-follow a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  transition: color 0.2s;
}
.newsletter-follow a:hover { color: var(--text-on-dark); }

/* ========================================
   FAQ
   ======================================== */
.faq {
  background: var(--bg-secondary);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}
.faq-list {
  max-width: 720px;
  margin: var(--space-8) auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item .curriculum-toggle { text-align: left; justify-content: space-between; margin-bottom: 0; }
.faq-item .curriculum-detail.curriculum-open { margin-bottom: 0; margin-top: var(--space-2); }
.faq-answer {
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ========================================
   UNIVERSITIES CTA
   ======================================== */
.universities {
  background: var(--bg-primary);
  padding: 0 var(--space-4) var(--space-12);
}
.uni-card {
  background: var(--accent-blue-light);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}
.uni-card .section-heading {
  text-align: left;
  margin-bottom: var(--space-4);
}
.uni-body {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 640px;
}
.uni-features {
  margin-bottom: var(--space-6);
}
.uni-features li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}
.uni-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}
.uni-columns {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.uni-column {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(37,99,235,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.uni-column-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.uni-shared {
  margin-bottom: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(37,99,235,0.08);
}

.uni-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.booking-popup button {
  border-radius: var(--radius-full) !important;
  font-family: var(--font-body) !important;
  min-height: 44px !important;
}
.uni-or {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.uni-or a {
  color: var(--accent-blue);
  font-weight: 500;
}
.uni-or a:hover { text-decoration: underline; }

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms)
   ======================================== */
.legal-page {
  padding: calc(var(--nav-height) + var(--space-10)) 0 var(--space-12);
  max-width: 760px;
}
.legal-page h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2);
}
.legal-page .legal-updated {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.legal-page h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-page p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.legal-page ul {
  color: var(--text-secondary);
  margin: 0 0 var(--space-4) var(--space-5);
  list-style: disc;
}
.legal-page li { margin-bottom: var(--space-2); }
.legal-page a { color: var(--accent-blue); text-decoration: underline; }
.legal-page a.btn { text-decoration: none; color: var(--accent-inverted); }
.legal-page a.btn.btn-secondary { color: var(--accent); }

.thank-you-page .badge { margin-bottom: var(--space-4); }
.thank-you-download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-8);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-10) var(--space-4) var(--space-6);
}
.footer-inner {
  display: grid;
  gap: var(--space-8);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}
.footer-logo .nav-logo { color: var(--text-on-dark); }
.footer-tagline {
  color: var(--text-muted-dark);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.footer-socials {
  display: flex;
  gap: var(--space-4);
}
.footer-socials a {
  color: var(--text-muted-dark);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--text-on-dark); }

.footer-links h4,
.footer-legal h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  margin-bottom: var(--space-4);
}
.footer-links a,
.footer-legal a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  padding: var(--space-1) 0;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-legal a:hover { color: var(--text-on-dark); }
.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  margin-top: var(--space-5);
  opacity: 0.6;
}

/* ========================================
   RESPONSIVE — Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .container { padding: 0 var(--space-6); }

  .hero { padding-top: calc(var(--nav-height) + var(--space-16)); padding-bottom: var(--space-16); }
  .hero-heading { font-size: var(--text-5xl); }

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

  .newsletter-form-fields {
    flex-direction: row;
  }
  .newsletter-btn { width: auto; }

  .instructor-inner {
    grid-template-columns: auto 1fr;
  }
  .instructor-photo img {
    width: 280px;
    height: 280px;
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .uni-columns {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   RESPONSIVE — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual { display: block; }
  .hero { min-height: 90vh; }

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

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    gap: var(--space-1);
    align-items: center;
  }
  .nav-link {
    color: var(--text-muted-dark);
    padding: var(--space-2) var(--space-3);
  }
  .nav-link:hover {
    color: var(--text-on-dark);
    background: transparent;
  }
  .navbar.scrolled .nav-link {
    color: var(--text-secondary);
  }
  .navbar.scrolled .nav-link:hover {
    color: var(--text-primary);
  }
  .nav-cta { margin-top: 0; margin-left: var(--space-3); }
  .nav-hamburger { display: none; }

  .uni-card { padding: var(--space-10) var(--space-8); }
}

/* ========================================
   HERO INTRO (avatar + handle)
   ======================================== */
.hero-intro {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-intro .badge { margin-bottom: 0; }
.hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.proof-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
}

/* ========================================
   AUDIENCE ROUTER
   ======================================== */
.grid-2 {
  display: grid;
  gap: var(--space-5);
}
.router-card {
  display: flex;
  flex-direction: column;
}
.router-points {
  margin-bottom: var(--space-5);
  flex: 1;
}
.router-points li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}
.router-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}
.router-cta { align-self: flex-start; }

/* ========================================
   COURSE OFFER EXTRAS
   ======================================== */
.courses-founding-note {
  max-width: 560px;
  margin: calc(-1 * var(--space-5)) auto var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.course-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.course-price-note,
.course-price-anchor {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.course-price-anchor s { opacity: 0.8; }

.course-included {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  background: var(--bg-primary);
}
.course-included-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.course-included-title--bonus {
  color: var(--accent-blue);
  margin-top: var(--space-3);
}
.course-included-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-1);
}
.course-included-list li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  color: #10bf7a;
  font-weight: 700;
}
.course-included-list--bonus li::before { color: var(--accent-blue); }

.course-artifacts {
  background: var(--accent-blue-light);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}
.course-artifacts-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: var(--space-2);
}
.course-artifacts-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-1);
}
.course-artifacts-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.course-preview-link {
  display: block;
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-blue);
}
.course-preview-link:hover { text-decoration: underline; }

/* ========================================
   FOUNDING COHORT
   ======================================== */
.founding {
  background: var(--bg-primary);
  padding: var(--space-12) var(--space-4);
}
.founding-card {
  background: var(--accent-blue-light);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}
.founding-sub {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 620px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.founding-grid {
  text-align: left;
  margin-bottom: var(--space-6);
}
.founding-point {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(37,99,235,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.founding-point-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.founding-point-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.founding-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.sticky-cta {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta-link {
  flex: 1;
  text-align: center;
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 14px var(--space-4) 14px var(--space-6);
}
.sticky-cta-close {
  color: var(--text-muted-dark);
  font-size: var(--text-xl);
  line-height: 1;
  padding: var(--space-3) var(--space-4);
}

/* ========================================
   ORGANIZATIONS PAGE
   ======================================== */
.org-hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height) + var(--space-12)) var(--space-4) var(--space-10);
  text-align: center;
}
.org-hero .section-heading { color: var(--text-on-dark); }
.org-hero-sub {
  color: var(--text-muted-dark);
  font-size: var(--text-lg);
  max-width: 640px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}
.org-hero .uni-ctas { justify-content: center; }
.org-hero .uni-or { color: var(--text-muted-dark); }

.org-section {
  padding: var(--space-12) var(--space-4);
}
.org-section--alt { background: var(--bg-secondary); }

.steps {
  display: grid;
  gap: var(--space-5);
  max-width: 900px;
  margin: var(--space-8) auto 0;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.step-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.org-cred {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.org-cred-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.org-cred-body {
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .org-cred { grid-template-columns: auto 1fr; text-align: left; }
  .sticky-cta { display: none; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .founding-card { padding: var(--space-10) var(--space-8); }
}
