/* ============================================================
   FUCKING AMAZING — Main Stylesheet
   Shared across all pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap');

/* ─── RESET & BASE ──────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1b1e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #3e64de;
  text-decoration: none;
  transition: color 250ms ease;
}
a:hover { color: #2e50c0; }

ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  line-height: 1.4;
  font-weight: 600;
  color: #1a1b1e;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 23px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid #3e64de;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f7f8fc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #5a5d6e;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */

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

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

.section {
  padding: 80px 0;
}

.section--sm {
  padding: 48px 0;
}

.section--lg {
  padding: 100px 0;
}

.section--blue {
  background: #f0f2f8;
}

.section--light {
  background: #f7f8fc;
}

.section--dark {
  background: #0b395e;
  color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: #ffffff;
}

.section--primary {
  background: #3e64de;
  color: #ffffff;
}

.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary p {
  color: #ffffff;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1b1e;
}

.section-subtitle {
  font-size: 16px;
  color: #5a5d6e;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 250ms ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: #3e64de;
  color: #ffffff;
  border-color: #3e64de;
}
.btn--primary:hover {
  background: #2e50c0;
  border-color: #2e50c0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(62, 100, 222, 0.35);
}

.btn--secondary {
  background: transparent;
  color: #3e64de;
  border-color: #3e64de;
}
.btn--secondary:hover {
  background: #3e64de;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--white {
  background: #ffffff;
  color: #3e64de;
  border-color: #ffffff;
}
.btn--white:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ─── FORMS ──────────────────────────────────────────────── */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5a5d6e;
  margin-bottom: 6px;
}

.form-control {
  display: block;
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: #1a1b1e;
  background: #ffffff;
  border: 1px solid #cdcfd5;
  border-radius: 4px;
  transition: border-color 250ms ease, box-shadow 250ms ease;
  outline: none;
}

.form-control:focus {
  border-color: #3e64de;
  box-shadow: 0 0 0 3px rgba(62, 100, 222, 0.15);
}

.form-control::placeholder {
  color: #8a8d9e;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── CARDS ──────────────────────────────────────────────── */

.card {
  background: #ffffff;
  border: 1px solid #e3e5eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: 20px;
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1b1e;
}

.card__text {
  font-size: 14px;
  color: #5a5d6e;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ─── HEADER / NAV ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e3e5eb;
  transition: box-shadow 250ms ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #1a1b1e;
  text-decoration: none;
  transition: color 250ms ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3e64de;
  transform: scaleX(0);
  transition: transform 250ms ease;
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: #3e64de;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1b1e;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 250ms ease;
}
.nav-icon-btn:hover { color: #3e64de; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1b1e;
  border-radius: 2px;
  transition: all 250ms ease;
}

/* ─── MOBILE NAV ────────────────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e3e5eb;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  animation: slideDown 250ms ease;
}

.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 16px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO SECTION ──────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../docs/Resources/starsky.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease both;
}

.hero__title {
  font-size: 72px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.hero__quotes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 40px;
}

.hero__quote {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.6;
}

.hero__quote-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-style: normal;
  font-weight: 500;
  margin-top: 4px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── WHAT IS IT ABOUT ──────────────────────────────────── */

.about-section .about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.about-section .about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-section .about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0b395e;
}

.about-section .about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #5a5d6e;
}

.about-section .about-text .pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-section .pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3e5eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1b1e;
}

.about-section .pillar-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: #3e64de;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── CTA BANNER ────────────────────────────────────────── */

.cta-banner {
  background: #3e64de;
  padding: 56px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner__text {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  max-width: 680px;
}

/* ─── FREE BOOK FORM ────────────────────────────────────── */

.free-book-section {
  background: #f7f8fc;
}

.free-book-card {
  background: #ffffff;
  border: 1px solid #e3e5eb;
  border-radius: 12px;
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  text-align: center;
}

.free-book-card .badge {
  display: inline-block;
  background: #3e64de;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.free-book-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b395e;
}

.free-book-card .subtitle {
  font-size: 14px;
  color: #5a5d6e;
  margin-bottom: 32px;
}

/* ─── BOOK OVERVIEW ─────────────────────────────────────── */

.book-overview {
  background: #ffffff;
}

.book-overview__header {
  text-align: center;
  margin-bottom: 48px;
}

.book-overview__header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0b395e;
  margin-bottom: 12px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f7f8fc;
  border-radius: 8px;
  border: 1px solid #e3e5eb;
}

.audience-item__icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.audience-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1b1e;
  margin-bottom: 4px;
}

.audience-item__desc {
  font-size: 13px;
  color: #5a5d6e;
  line-height: 1.6;
  margin: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-box {
  text-align: center;
  padding: 24px;
  background: #0b395e;
  border-radius: 10px;
  color: #ffffff;
}

.stat-box__number {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-box__label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── ARTICLES ──────────────────────────────────────────── */

.articles-section {
  background: #f0f2f8;
}

.article-card {
  background: #ffffff;
  border: 1px solid #e3e5eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.article-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card__body {
  padding: 22px;
}

.article-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3e64de;
  margin-bottom: 8px;
}

.article-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1b1e;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card__excerpt {
  font-size: 13px;
  color: #5a5d6e;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ─── PHILOSOPHY SECTIONS ───────────────────────────────── */

.philosophy-section {
  background: #ffffff;
}

.philosophy-section .quote-highlight {
  background: linear-gradient(135deg, #0b395e 0%, #1e73be 100%);
  border-radius: 12px;
  padding: 40px 48px;
  color: #ffffff;
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  margin: 32px 0;
  position: relative;
}

.philosophy-section .quote-highlight::before {
  content: '"';
  font-size: 80px;
  color: rgba(255,255,255,0.2);
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ─── HISTORY SECTION ───────────────────────────────────── */

.history-section {
  background: #f7f8fc;
}

.history-timeline {
  position: relative;
  padding-left: 32px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3e64de, #0b395e);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #3e64de;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #3e64de;
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  color: #3e64de;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1b1e;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 13px;
  color: #5a5d6e;
  line-height: 1.7;
  margin: 0;
}

/* ─── TESTIMONIALS ──────────────────────────────────────── */

.testimonials-section {
  background: #f0f2f8;
}

.testimonials-section .section-title {
  color: #0b395e;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e3e5eb;
  border-radius: 10px;
  padding: 24px;
  transition: box-shadow 250ms ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e3e5eb;
  flex-shrink: 0;
}

.testimonial-card__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3e64de, #1e73be);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
  color: #1a1b1e;
}

.testimonial-card__role {
  font-size: 12px;
  color: #8a8d9e;
}

.testimonial-card__stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 10px;
}

.testimonial-card__text {
  font-size: 13px;
  color: #5a5d6e;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

/* ─── COURSE CTA ────────────────────────────────────────── */

.course-cta {
  background: linear-gradient(135deg, #0b395e 0%, #1e4a7a 50%, #1e73be 100%);
  position: relative;
  overflow: hidden;
}

.course-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../docs/Resources/Dance.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.course-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.course-cta__inner h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.course-cta__inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ─── CONTACT SECTION ───────────────────────────────────── */

.contact-section {
  background: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0b395e;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: #5a5d6e;
  line-height: 1.8;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.site-footer {
  background: #1a1b1e;
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 250ms ease;
}
.footer-nav a:hover { color: #ffffff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}

/* ─── COMING SOON PAGE ──────────────────────────────────── */

.coming-soon {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f0f2f8 0%, #ffffff 100%);
}

.coming-soon__inner {
  max-width: 480px;
  padding: 48px 24px;
}

.coming-soon__icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: block;
}

.coming-soon__title {
  font-size: 40px;
  font-weight: 700;
  color: #0b395e;
  margin-bottom: 12px;
}

.coming-soon__text {
  font-size: 16px;
  color: #5a5d6e;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */

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

@media (max-width: 768px) {
  html { font-size: 14px; }

  .section { padding: 56px 0; }
  .section--lg { padding: 64px 0; }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .hero__title { font-size: 44px; }

  .site-nav { display: none; }
  .hamburger { display: flex; }

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

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__text { font-size: 20px; }

  .form-row { grid-template-columns: 1fr; }

  .free-book-card { padding: 32px 24px; }

  .stats-row { grid-template-columns: 1fr; }

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

  .course-cta__inner h2 { font-size: 28px; }

  .about-section .about-image img { height: 280px; }

  .about-section .pillars { grid-template-columns: 1fr; }

  .book-overview__header h2 { font-size: 26px; }

  .philosophy-section .quote-highlight {
    padding: 28px 28px;
    font-size: 17px;
  }

  .footer-nav { gap: 16px; }

  .history-section .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}

/* ─── UTILITY ─────────────────────────────────────────────── */

.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }

.d-flex          { display: flex; }
.align-center    { align-items: center; }
.justify-center  { justify-content: center; }
.gap-4           { gap: 16px; }
.gap-6           { gap: 24px; }

.w-full   { width: 100%; }
.mx-auto  { margin-left: auto; margin-right: auto; }

.divider {
  border: none;
  border-top: 1px solid #e3e5eb;
  margin: 40px 0;
}

/* ─── THEME TOGGLE BUTTON ───────────────────────────────────── */

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1b1e;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 250ms ease, transform 250ms ease;
}
.theme-toggle:hover { color: #3e64de; transform: rotate(15deg); }

/* ─── USER NAV CHIP ─────────────────────────────────────────── */

.nav-user-chip {
  font-size: 13px;
  font-weight: 500;
  color: #5a5d6e;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user-chip a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-user-chip .user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3e64de;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 768px) { .nav-user-chip { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — all overrides live here
   Applied via: <html data-theme="dark">
   ═══════════════════════════════════════════════════════════════ */

[data-theme="dark"] body {
  background: #0f0f0f;
  color: #e0e0e0;
}

[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: #e8e8e8;
}

[data-theme="dark"] a { color: #e8c85a; }
[data-theme="dark"] a:hover { color: #d4b54a; }

/* Header */
[data-theme="dark"] .site-header {
  background: #141414;
  border-color: #2a2a2a;
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .mobile-nav {
  background: #141414;
  border-color: #2a2a2a;
}
[data-theme="dark"] .nav-link { color: #e0e0e0; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: #e8c85a; }
[data-theme="dark"] .nav-link::after { background: #e8c85a; }
[data-theme="dark"] .hamburger span { background: #e0e0e0; }
[data-theme="dark"] .nav-icon-btn { color: #e0e0e0; }
[data-theme="dark"] .nav-icon-btn:hover { color: #e8c85a; }
[data-theme="dark"] .theme-toggle { color: #e0e0e0; }
[data-theme="dark"] .theme-toggle:hover { color: #e8c85a; }
[data-theme="dark"] .nav-user-chip { color: #888; }
[data-theme="dark"] .nav-user-chip .user-avatar { background: #e8c85a; color: #0a0a0a; }

/* Sections */
[data-theme="dark"] .section--light,
[data-theme="dark"] .section--blue,
[data-theme="dark"] .free-book-section,
[data-theme="dark"] .history-section { background: #141414; }
[data-theme="dark"] .philosophy-section,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .book-overview { background: #0f0f0f; }
[data-theme="dark"] .articles-section,
[data-theme="dark"] .testimonials-section { background: #141414; }
[data-theme="dark"] .section-title { color: #e8e8e8; }
[data-theme="dark"] .section-subtitle { color: #999; }
[data-theme="dark"] .coming-soon { background: #0f0f0f; }
[data-theme="dark"] .coming-soon__title { color: #e8e8e8; }
[data-theme="dark"] .coming-soon__text { color: #999; }

/* Cards */
[data-theme="dark"] .card,
[data-theme="dark"] .article-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .audience-item,
[data-theme="dark"] .pillar-item,
[data-theme="dark"] .module-card { background: #1c1c1c; border-color: #2a2a2a; }
[data-theme="dark"] .card__title,
[data-theme="dark"] .article-card__title { color: #e8e8e8; }
[data-theme="dark"] .card__text,
[data-theme="dark"] .article-card__excerpt,
[data-theme="dark"] .testimonial-card__text { color: #999; }
[data-theme="dark"] .testimonial-card__name { color: #e8e8e8; }
[data-theme="dark"] .testimonial-card__role { color: #666; }
[data-theme="dark"] .audience-item__title { color: #e8e8e8; }
[data-theme="dark"] .audience-item__desc { color: #999; }
[data-theme="dark"] .pillar-item { color: #e8e8e8; }
[data-theme="dark"] .module-title { color: #e8e8e8; }
[data-theme="dark"] .module-desc { color: #999; }
[data-theme="dark"] .module-card::after { color: #e8c85a; }
[data-theme="dark"] .timeline-title { color: #e8e8e8; }
[data-theme="dark"] .timeline-text { color: #999; }
[data-theme="dark"] .timeline-year { color: #e8c85a; }

/* Free book card */
[data-theme="dark"] .free-book-card {
  background: #1c1c1c;
  border-color: #2a2a2a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
[data-theme="dark"] .free-book-card h2 { color: #e8e8e8; }
[data-theme="dark"] .free-book-card .subtitle { color: #999; }

/* Forms */
[data-theme="dark"] .form-control {
  background: #1c1c1c;
  border-color: #2a2a2a;
  color: #e8e8e8;
}
[data-theme="dark"] .form-control::placeholder { color: #555; }
[data-theme="dark"] .form-control:focus {
  border-color: #e8c85a;
  box-shadow: 0 0 0 3px rgba(232,200,90,0.15);
}
[data-theme="dark"] .form-label { color: #888; }

/* About section */
[data-theme="dark"] .about-section .about-text h2 { color: #e8e8e8; }
[data-theme="dark"] .about-section .about-text p { color: #999; }

/* Book overview */
[data-theme="dark"] .book-overview__header h2 { color: #e8e8e8; }

/* Contact */
[data-theme="dark"] .contact-info h2 { color: #e8e8e8; }
[data-theme="dark"] .contact-info p { color: #999; }

/* Misc */
[data-theme="dark"] .blockquote { background: #1c1c1c; border-color: #e8c85a; color: #999; }
[data-theme="dark"] .divider { border-color: #2a2a2a; }
[data-theme="dark"] .stat-box { background: #1c1c1c; }

/* ── Course pages in DARK MODE ──────────────────────────────── */
/* These override the light-mode course vars (defined in course.css :root) */
[data-theme="dark"] {
  --c-bg: #0a0a0a;
  --c-surface: #141414;
  --c-card: #1c1c1c;
  --c-border: #2a2a2a;
  --c-text: #f0f0f0;
  --c-muted: #888;
  --c-accent: #e8c85a;
  --c-accent-dim: rgba(232,200,90,0.15);
}

[data-theme="dark"] .header-logo img {
  filter: brightness(0) invert(1);
}
