:root {
  --sa-red: #C42B2B;
  --sa-red-dark: #A32222;
  --sa-red-light: #F9EDED;
  --sa-black: #1A1A1A;
  --sa-dark: #2C2C2C;
  --sa-cream: #F7F3EE;
  --sa-warm-white: #FDFBF8;
  --sa-warm-gray: #E8E2DA;
  --sa-text: #3A3A3A;
  --sa-text-light: #6B6560;
  --sa-accent-gold: #C9A96E;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-script: 'Amatic SC', cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--sa-text);
  background: var(--sa-warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--sa-warm-white);
  border-bottom: 1px solid var(--sa-warm-gray);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.topbar-logo {
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--sa-black);
  white-space: nowrap;
}

.topbar-logo span {
  color: var(--sa-red);
}

.topbar-studio {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 18px;
  color: var(--sa-red);
  margin-left: 1px;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s;
}

.topbar-cta:hover {
  background: var(--sa-red-dark);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 80px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--sa-red-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--sa-black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid var(--sa-black);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--sa-black);
  color: #fff;
}

/* ─── HERO ─── */
.hero {
  background: var(--sa-cream);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 43, 43, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
}

.hero-headline {
  text-align: center;
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 52px;
  color: var(--sa-red);
  margin-bottom: 12px;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--sa-black);
  margin-bottom: 0;
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--sa-text-light);
  margin-bottom: 20px;
  max-width: 540px;
}

.hero-sub+.hero-sub {
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── HERO CAROUSEL ─── */
.hero-carousel {
  position: relative;
  width: 100%;
}

.carousel-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-left: 24px;
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform, opacity;
  background: var(--sa-cream);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Active card - front */
.carousel-card[data-state="active"] {
  transform: translateX(0);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Next card - peeking behind */
.carousel-card[data-state="next"] {
  transform: translateX(-16px) scale(0.96);
  opacity: 0.7;
  z-index: 2;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Back card - furthest peek */
.carousel-card[data-state="back"] {
  transform: translateX(-30px) scale(0.92);
  opacity: 0.4;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--sa-warm-gray);
  background: var(--sa-warm-white);
  color: var(--sa-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: var(--font-body);
  padding: 0 0 2px 0;
}

.carousel-arrow:hover {
  background: var(--sa-black);
  color: #fff;
  border-color: var(--sa-black);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sa-warm-gray);
  transition: all 0.3s;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--sa-red);
  transform: scale(1.25);
}

/* ─── PAIN SECTION ─── */
.pain {
  padding: 80px 0;
  background: var(--sa-warm-white);
}

.pain-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 28px;
  color: var(--sa-red);
  margin-bottom: 8px;
  text-align: center;
  display: block;
}

.pain h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  color: var(--sa-black);
  line-height: 1.12;
  margin-bottom: 28px;
  text-align: center;
}

.pain h2 em {
  font-style: italic;
  color: var(--sa-red);
}

.pain-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--sa-text);
}

.pain-body p+p {
  margin-top: 20px;
}

.pain-body strong {
  color: var(--sa-black);
  font-weight: 600;
}

/* ─── PAIN POINTS GRID ─── */
.pain-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.pain-point {
  background: var(--sa-cream);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 3px solid var(--sa-red);
}

.pain-point-title {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 700;
  color: var(--sa-red) !important;
  margin-bottom: 8px;
}

.pain-point p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sa-text-light);
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--sa-black);
  color: #fff;
  padding: 40px 0;
}

.trust-strip .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--sa-red);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 80px 0;
  background: var(--sa-red);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.how-it-works-header .section-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.how-it-works-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 12px;
}

.how-it-works-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.step {
  text-align: center;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.step:hover {
  background: rgba(255, 255, 255, 0.12);
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── COURSES ─── */
.courses {
  padding: 80px 0 96px;
  background: var(--sa-cream);
}

.courses-header {
  text-align: center;
  margin-bottom: 56px;
}

.courses-header .section-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 30px;
  color: var(--sa-red);
  margin-bottom: 8px;
}

.courses-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--sa-black);
  margin-bottom: 12px;
}

.courses-header p {
  font-size: 16px;
  color: var(--sa-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.course-detail {
  margin-bottom: 64px;
}

.course-detail:last-child {
  margin-bottom: 0;
}

.course-detail-header {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}

.course-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-detail-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

a[href]:not(.btn-primary):not(.btn-secondary):not(.topbar-cta) > .course-detail-image:hover {
  cursor: pointer;
}

.course-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.course-detail-format {
  position: absolute;
  top: -14px;
  left: 16px;
  background: var(--sa-red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.course-detail-format-mobile {
  display: none;
}

.course-detail-image {
  overflow: visible;
}

/* Course-specific thumbnail backgrounds */
.course-bg-blue .course-detail-image,
.course-bg-blue-img {
  background: #365470;
}

.course-bg-gray .course-detail-image,
.course-bg-gray-img {
  background: #d9d9d9;
}

.course-bg-cream .course-detail-image,
.course-bg-cream-img {
  background: #faf2e3;
}

.course-detail-intro h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--sa-black);
  margin-bottom: 4px;
  line-height: 1.15;
}

.course-detail-intro .course-subtitle {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 26px;
  color: var(--sa-red);
  margin-bottom: 16px;
  display: block;
}

.course-detail-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--sa-text);
  margin-bottom: 16px;
}

.course-detail-intro p+p {
  margin-top: 0;
}

.course-detail-cta {
  margin-top: 24px;
}

.course-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.course-detail-outcomes {
  background: var(--sa-warm-white);
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.course-detail-outcomes:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.course-detail-outcomes h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--sa-black);
  margin-bottom: 16px;
}

.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sa-text);
}

.outcome-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--sa-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.course-detail-modules {
  background: var(--sa-warm-white);
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.course-detail-modules:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.course-detail-modules h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--sa-black);
  margin-bottom: 16px;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--sa-text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.module-item:last-child {
  border-bottom: none;
}

.module-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--sa-red);
  min-width: 24px;
}

.course-meta-row {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.course-meta-item {
  font-size: 14px;
  color: var(--sa-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-divider {
  height: 1px;
  background: var(--sa-warm-gray);
  margin: 64px 0;
  position: relative;
}

.course-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--sa-red);
  border-radius: 50%;
}

/* ─── WHO IT'S FOR ─── */
.audience {
  padding: 80px 0;
  background: var(--sa-red);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.audience::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.audience-header {
  text-align: center;
  margin-bottom: 48px;
}

.audience-header .section-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.audience-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 12px;
}

.audience-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.audience-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.audience-card h3 em {
  font-style: italic;
  color: var(--sa-cream);
}

.audience-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  font-weight: 500;
}

.audience-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

.audience-card p:last-of-type {
  margin-bottom: 24px;
}

.audience-card .btn-primary {
  font-size: 14px;
  padding: 12px 24px;
  background: #fff;
  color: var(--sa-red);
}

.audience-card .btn-primary:hover {
  background: var(--sa-cream);
  color: var(--sa-red-dark);
}

/* ─── FOUNDER ─── */
.founder {
  padding: 80px 0;
  background: var(--sa-cream);
}

.founder .container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.founder-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 28px;
  color: var(--sa-red);
  margin-bottom: 4px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--sa-black);
  line-height: 1.12;
  margin-bottom: 4px;
}

.founder-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--sa-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--sa-text);
}

.founder-bio p+p {
  margin-top: 16px;
}

.founder-credentials {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.founder-credential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text-light);
}

.founder-credential-icon {
  width: 28px;
  height: 28px;
  background: var(--sa-warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 80px 0;
  background: var(--sa-black);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 300px;
  color: rgba(196, 43, 43, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header .section-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 30px;
  color: var(--sa-red);
  margin-bottom: 8px;
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.testimonial-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* ─── CTA ─── */
.final-cta {
  padding: 96px 0;
  background: var(--sa-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 43, 43, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .section-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 30px;
  color: var(--sa-red);
  margin-bottom: 8px;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--sa-black);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 16px;
  color: var(--sa-text-light);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--sa-black);
  color: rgba(255, 255, 255, 0.5);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
}

.footer-brand {
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand span {
  color: var(--sa-red);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: 1;
  }

  .course-detail-header {
    grid-template-columns: 1fr;
  }

  .course-detail-image {
    max-width: 400px;
    aspect-ratio: auto;
  }

  .course-detail-body {
    grid-template-columns: 1fr;
  }

  .founder .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  .founder-credentials {
    justify-content: center;
  }

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

@media (max-width: 680px) {
  .hero {
    padding: 48px 0 40px;
  }

  .topbar-logo {
    font-size: 16px;
  }

  .topbar .container {
    gap: 6px;
  }

  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    padding: 6px 8px;
  }

  .topbar-cta {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* ── Full-width CTA buttons on mobile ── */
  .btn-primary,
  .btn-secondary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
  }

  .final-cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* ── Course format pill above thumbnail on mobile ── */
  .course-detail-format {
    display: none !important;
  }

  .course-detail-format-mobile {
    display: inline-block !important;
    margin-bottom: 10px;
    font-size: 11px;
    padding: 5px 12px;
    background: var(--sa-red);
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .course-detail-image {
    max-width: 100%;
    overflow: visible;
  }

  /* ── Trust strip mobile ── */
  .trust-strip .container {
    gap: 28px;
    flex-direction: column;
  }

  .trust-divider {
    display: none;
  }

  /* ── Grids collapse to single column ── */
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .pain-points {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Section padding on mobile ── */
  .courses,
  .pain,
  .audience,
  .final-cta,
  .how-it-works,
  .founder {
    padding: 56px 0;
  }

  /* ── Center CTA buttons on mobile ── */
  .course-detail-cta {
    text-align: center !important;
  }

  .final-cta-buttons {
    justify-content: stretch !important;
  }

  /* ── Fix carousel overflow cutting off bottom-right logo ── */
  .hero-carousel {
    overflow: visible;
  }

  .carousel-stack {
    margin-left: 0;
  }

  /* ── Ensure enroll CTA comes after outcomes/modules on mobile ── */
  .course-detail-cta {
    order: 3 !important;
  }

  .course-detail-header {
    order: 1 !important;
  }

  .course-detail-body {
    order: 2 !important;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline,
.hero-sub,
.hero-cta-group {
  animation: fadeUp 0.6s ease-out both;
}

.hero-headline {
  animation-delay: 0s;
}

.hero-sub:first-of-type {
  animation-delay: 0.15s;
}

.hero-sub+.hero-sub {
  animation-delay: 0.25s;
}

.hero-cta-group {
  animation-delay: 0.3s;
}

/* ─── DARK MODE ─── */
[data-theme="dark"] {
  --sa-red: #E05252;
  --sa-red-dark: #C42B2B;
  --sa-red-light: #2A1616;
  --sa-black: #F0EDE8;
  --sa-dark: #E0DDD7;
  --sa-cream: #1E1D1B;
  --sa-warm-white: #141312;
  --sa-warm-gray: #2E2C28;
  --sa-text: #C8C4BC;
  --sa-text-light: #9B9790;
  --sa-accent-gold: #C9A96E;
}

[data-theme="dark"] .topbar {
  background: #141312;
  border-bottom-color: #2E2C28;
}

[data-theme="dark"] .trust-strip {
  background: #0C0C0B;
}

[data-theme="dark"] .trust-stat-label {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .trust-divider {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonials,
[data-theme="dark"] .testimonial {
  background: #0C0C0B;
}

[data-theme="dark"] .testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .testimonial-quote {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .footer {
  background: #0C0C0B;
}

[data-theme="dark"] .footer-brand {
  color: #F0EDE8;
}

[data-theme="dark"] .btn-secondary {
  color: #F0EDE8;
  border-color: #F0EDE8;
}

[data-theme="dark"] .btn-secondary:hover {
  background: #F0EDE8;
  color: #141312;
}

[data-theme="dark"] .course-card,
[data-theme="dark"] .course-detail-outcomes,
[data-theme="dark"] .course-detail-modules {
  background: #1E1D1B;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .course-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/*[data-theme="dark"] .course-card-format,
[data-theme="dark"] .course-detail-format,
[data-theme="dark"] .course-detail-format-mobile {
  background: rgba(240, 237, 232, 0.9);
  color: #141312;
}*/

[data-theme="dark"] .carousel-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
  background: #1E1D1B;
}

[data-theme="dark"] .carousel-arrow {
  background: #2E2C28;
  border-color: #2E2C28;
  color: #C8C4BC;
}

[data-theme="dark"] .carousel-arrow:hover {
  background: #F0EDE8;
  color: #141312;
  border-color: #F0EDE8;
}

[data-theme="dark"] .carousel-dot {
  background: #2E2C28;
}

[data-theme="dark"] .carousel-dot.active {
  background: #E05252;
}

[data-theme="dark"] .pain-point {
  background: #1E1D1B;
  border-left-color: #E05252;
}

[data-theme="dark"] .founder-photo {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .founder-credential-icon {
  background: #2E2C28;
}

[data-theme="dark"] .course-divider {
  background: #2E2C28;
}

[data-theme="dark"] .module-item {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .course-detail-image {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
  background: #0C0C0B;
}

[data-theme="dark"] .course-bg-blue .course-detail-image {
  background: #365470;
}

[data-theme="dark"] .course-bg-gray .course-detail-image {
  background: #d9d9d9;
}

[data-theme="dark"] .course-bg-cream .course-detail-image {
  background: #faf2e3;
}

[data-theme="dark"] .how-it-works {
  background: #A32222;
}

[data-theme="dark"] .audience {
  background: #A32222;
}

[data-theme="dark"] .audience-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .audience-card .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #A32222;
}

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  background: none;
  border: 1px solid var(--sa-warm-gray);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sa-text-light);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle:hover {
  border-color: var(--sa-text-light);
  color: var(--sa-black);
}

.theme-toggle-icon {
  font-size: 15px;
  line-height: 1;
}
