/* ============ TOKENS ============ */
:root {
  /* Backgrounds — deep navy ramp */
  --bg:          #060d1a;
  --bg-alt:      #0b1529;
  --bg-surface:  #111e38;
  --bg-card:     #162240;

  /* Glass layers */
  --glass:        rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(201, 162, 39, 0.30);

  /* Gold — the only warm colour */
  --gold:        #c9a227;
  --gold-light:  #f0d070;
  --gold-soft:   rgba(201, 162, 39, 0.12);
  --gold-glow:   rgba(201, 162, 39, 0.22);
  --grad:        linear-gradient(135deg, #c9a227, #f0d070);

  /* Text */
  --text:        #eef0f4;
  --muted:       #9eaec4;
  --faint:       #5b7aa0;

  /* Misc */
  --radius:      14px;
  --radius-sm:   10px;
  --display:     'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============ GLOW BACKDROPS ============ */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: 0;
  pointer-events: none;
}
.glow-a {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.10), transparent 70%);
  top: -180px; left: -160px;
}
.glow-b {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30, 60, 140, 0.20), transparent 70%);
  bottom: -220px; right: -180px;
}

/* ============ GLASS CARD ============ */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(201,162,39,0.30);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.45),
    0 0 30px rgba(201,162,39,0.08),
    0 1px 0 rgba(255,255,255,0.10) inset;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 26, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 1rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text);
}
.brand em { font-style: normal; color: var(--gold); font-weight: 600; }
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--gold-glow);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.88rem; color: var(--muted); font-weight: 400; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; }
.nav-mobile {
  display: none; flex-direction: column; gap: 14px;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 13, 26, 0.95);
}
.nav-mobile a { color: var(--muted); font-size: 0.95rem; }
.nav-mobile.open { display: flex; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 100px;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  white-space: nowrap; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--grad);
  color: #060d1a;
  font-weight: 600;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-ghost {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); }
.btn-discord {
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.28);
  color: #a5b4fc;
  padding: 9px 18px;
  font-size: 0.82rem;
}
.btn-discord:hover { background: rgba(88, 101, 242, 0.22); color: #c7d2fe; }

/* ============ HERO ============ */
.hero {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto;
  padding: 110px 24px 100px;
}
.hero-kicker {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text);
}
.gold-text { color: var(--gold); }
.hero-sub {
  color: var(--muted); font-size: 1rem; line-height: 1.7;
  max-width: 460px; margin: 22px 0 32px;
}
.hero-loop {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  color: var(--muted); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-loop span { color: var(--gold); font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.status-strip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--faint);
}
.status-strip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5feaa0;
  box-shadow: 0 0 8px rgba(95, 234, 160, 0.55);
}

/* ============ SECTIONS ============ */
.section {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 90px 24px;
}
.section-dark {
  background: var(--bg-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  max-width: none;
}
.section-dark > * {
  max-width: 1180px;
  margin-left: auto; margin-right: auto;
  padding-left: 24px; padding-right: 24px;
}
/* Override to keep section-dark children padded correctly */
.section-dark.section {
  padding-left: 24px; padding-right: 24px;
}
.section-head { max-width: 560px; margin-bottom: 52px; }
.eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }

/* ============ ECOSYSTEM GRID ============ */
.ecosystem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ecosystem-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 100%);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s ease, box-shadow .3s ease;
  position: relative;
}
.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none;
}
.ecosystem-card:hover {
  background: linear-gradient(160deg, rgba(201,162,39,0.07) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: inset 0 0 40px rgba(201,162,39,0.04);
}
.ecosystem-card .num {
  font-family: var(--sans); font-weight: 600;
  color: var(--gold); font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.ecosystem-card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 1.35rem; color: var(--text);
  margin-top: 2px;
}
.ecosystem-card p { color: var(--muted); font-size: 0.90rem; line-height: 1.65; }
.ecosystem-card .link {
  margin-top: 10px; font-size: 0.82rem; font-weight: 500; color: var(--gold);
  transition: gap .2s;
  display: inline-flex; gap: 4px;
}
.ecosystem-card:hover .link { gap: 8px; }

/* ============ STATEMENT SECTION ============ */
.statement-section {
  max-width: 700px; margin: 0 auto;
  padding: 100px 24px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.statement-section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.statement-list { display: flex; flex-direction: column; gap: 0; }
.statement-list p {
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text);
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transition: border-left-color .2s, color .2s;
  line-height: 1.3;
}
.statement-list p:last-child { border-bottom: none; }
.statement-list p:hover { border-left-color: var(--gold); color: var(--gold); }

/* ============ PATH LIST ============ */
.path-list { display: flex; flex-direction: column; }
.path-item {
  display: flex; align-items: baseline; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: padding-left .25s ease;
}
.path-item:first-child { border-top: 1px solid var(--glass-border); }
.path-item:hover { padding-left: 8px; }
.path-num {
  font-family: var(--sans); font-weight: 600;
  color: var(--gold); font-size: 0.78rem;
  letter-spacing: 0.04em; min-width: 28px;
}
.path-item h4 {
  font-size: 1rem; font-weight: 500; color: var(--text);
}
.section-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 30px; font-size: 0.88rem;
  font-weight: 500; color: var(--gold);
  transition: gap .2s;
}
.section-cta:hover { gap: 10px; }

/* ============ KNOWLEDGE STATEMENT ============ */
.knowledge-statement {
  max-width: 620px; margin: 0 auto;
  padding: 100px 24px; text-align: center;
}
.knowledge-arrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.knowledge-statement h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.knowledge-statement p { color: var(--muted); font-size: 0.97rem; margin-bottom: 28px; }

/* ============ RESOURCES ============ */
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resource-card {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,162,39,0.28);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(201,162,39,0.08);
}
.resource-card h3 {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.resource-card p { color: var(--muted); font-size: 0.92rem; }

/* ============ PRINCIPLE SECTION ============ */
.principle-section {
  max-width: 760px; margin: 0 auto;
  padding: 110px 24px; text-align: center;
  border-top: 1px solid var(--glass-border);
}
.principle-statement {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.principle-sub { color: var(--muted); font-size: 1rem; max-width: 440px; margin: 0 auto; }

/* ============ DISCORD SECTION ============ */
.discord-section {
  max-width: 600px; margin: 0 auto;
  padding: 90px 24px; text-align: center;
  border-top: 1px solid var(--glass-border);
}
.discord-section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.discord-section p { color: var(--muted); margin-bottom: 28px; font-size: 0.97rem; }

/* ============ FOOTER ============ */
.footer {
  max-width: 1180px; margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px;
  border-top: 1px solid var(--glass-border);
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; max-width: 240px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.footer-cols a {
  display: block; font-size: 0.88rem;
  margin-bottom: 10px; color: var(--muted);
  transition: color .2s;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem; color: var(--faint);
}

/* ============ MODULE CARDS ============ */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, background .25s, box-shadow .25s;
  position: relative;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.module-card:hover {
  background: linear-gradient(135deg, rgba(201,162,39,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(201,162,39,0.28);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(201,162,39,0.06);
}
.module-num {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--faint);
  min-width: 24px;
  flex-shrink: 0;
  line-height: 1;
}
.module-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.module-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.module-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.module-category {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.module-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-info p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  display: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 6px;
}
.module-meta {
  font-size: 0.68rem;
  color: var(--faint);
  white-space: nowrap;
}
.module-arrow {
  font-size: 1rem;
  color: var(--faint);
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.module-card:hover .module-arrow {
  color: var(--gold);
  transform: translateX(3px);
}
@media (min-width: 540px) {
  .module-info h4 { white-space: normal; font-size: 0.92rem; }
  .module-info p { display: block; white-space: normal; }
  .module-num { font-size: 1rem; min-width: 28px; }
  .module-icon { width: 40px; height: 40px; }
  .module-card { padding: 18px 20px; gap: 14px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .hero { padding: 72px 20px 80px; }
  .section { padding: 64px 20px; }
  .statement-section,
  .principle-section,
  .knowledge-statement,
  .discord-section { padding: 72px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* ============ MODULE & LESSON SHARED STYLES ============ */

/* BREADCRUMB */
.breadcrumb {
  max-width: 860px; margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 0.8rem; color: var(--faint);
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--faint); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--glass-border); }

/* MODULE HEADER */
.module-header {
  max-width: 860px; margin: 0 auto;
  padding: 40px 24px 56px;
}
.module-tag {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.module-platform {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--glass-border);
  padding: 3px 10px; border-radius: 100px;
  margin-left: 10px;
}
.module-header h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.module-header p {
  color: var(--muted); font-size: 1rem;
  max-width: 560px; line-height: 1.7;
}

/* LESSONS LIST */
.lessons-wrap {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px 80px;
}
.lessons-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}
.lesson-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: padding-left .2s, background .2s;
  text-decoration: none; color: inherit;
  border-radius: 4px;
}
.lesson-row:hover { padding-left: 8px; }
.lesson-num {
  font-size: 0.78rem; font-weight: 600;
  color: var(--faint); min-width: 28px; margin-top: 3px;
}
.lesson-info { flex: 1; }
.lesson-info h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--text); margin-bottom: 4px;
  transition: color .2s;
}
.lesson-row:hover .lesson-info h3 { color: var(--gold); }
.lesson-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.lesson-arrow {
  color: var(--faint); font-size: 1rem;
  margin-top: 2px;
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}
.lesson-row:hover .lesson-arrow { color: var(--gold); transform: translateX(4px); }

/* LESSON PAGE HEADER */
.lesson-header {
  max-width: 720px; margin: 0 auto;
  padding: 40px 24px 50px;
}
.lesson-tag {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.lesson-platform {
  font-size: 0.68rem; color: var(--faint);
  letter-spacing: 0.08em; text-transform: uppercase;
  float: right; margin-top: 2px;
}
.lesson-header h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 14px 0 18px; clear: both;
}
.lesson-header p { color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* LESSON CONTENT */
.lesson-content {
  max-width: 720px; margin: 0 auto;
  padding: 0 24px 40px;
}
.lesson-content h2 {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 700;
  margin: 40px 0 14px; color: var(--text);
}
.lesson-content p {
  color: var(--muted); font-size: 0.95rem;
  line-height: 1.75; margin-bottom: 16px;
}
.lesson-content ul {
  margin: 0 0 16px 0; padding: 0; list-style: none;
}
.lesson-content ul li {
  color: var(--muted); font-size: 0.95rem;
  line-height: 1.65; padding: 5px 0 5px 18px;
  position: relative; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lesson-content ul li:last-child { border-bottom: none; }
.lesson-content ul li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--gold); font-size: 1.2rem; top: 3px;
}

/* TAKEAWAY BOX */
.takeaway {
  background: linear-gradient(135deg, rgba(201,162,39,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(201,162,39,0.20);
  border-radius: var(--radius);
  padding: 24px 28px; margin: 32px 0;
  position: relative; overflow: hidden;
}
.takeaway::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), transparent);
}
.takeaway-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.takeaway ul { list-style: none; padding: 0; margin: 0; }
.takeaway ul li {
  color: var(--muted); font-size: 0.9rem;
  line-height: 1.6; padding: 5px 0 5px 16px;
  position: relative;
}
.takeaway ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.75rem; top: 7px;
}

/* NEXT LESSON */
.next-lesson {
  max-width: 720px; margin: 0 auto;
  padding: 20px 24px 80px;
  display: flex; justify-content: flex-end;
}
.next-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 24px; text-align: right;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  min-width: 240px;
}
.next-btn:hover {
  border-color: rgba(201,162,39,0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(201,162,39,0.08);
}
.next-btn span {
  display: block; font-size: 0.68rem; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 6px;
}
.next-btn strong { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.next-btn .arr { color: var(--gold); margin-left: 6px; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--glass-border); margin: 0; }

/* FOOTER */
.footer {
  max-width: 1180px; margin: 0 auto;
  padding: 32px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer p { font-size: 0.78rem; color: var(--faint); }

/* BTN DISCORD (reused on module pages) */
.btn-discord {
  background: rgba(88,101,242,0.14);
  border: 1px solid rgba(88,101,242,0.28);
  color: #a5b4fc; padding: 9px 18px;
  border-radius: 100px; font-size: 0.82rem; font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .module-header, .lesson-header, .lessons-wrap, .lesson-content { padding-left: 16px; padding-right: 16px; }
  .next-lesson { padding-left: 16px; padding-right: 16px; }
  .lesson-platform { float: none; display: block; margin-top: 6px; }
}
