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

:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a0e;
  --bg-elevated: #111117;
  --gold: #f5a623;
  --gold-dark: #c8861a;
  --gold-glow: rgba(245, 166, 35, 0.08);
  --text: #f5f0e8;
  --text-dim: #9a9080;
  --border-muted: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(245, 166, 35, 0.18);
  --border-accent-strong: rgba(245, 166, 35, 0.35);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg-primary);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.script {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

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

/* ===== COMMON LAYOUTS ===== */
section.block {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

h2.title {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.15;
  margin-bottom: 18px;
}

h2.title em {
  font-style: normal;
  color: var(--gold);
}

.section-sub {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-ghost {
  border-color: var(--border-accent);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.03);
}

.btn-ghost:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0c0802;
  box-shadow: 0 4px 20px -6px rgba(245, 166, 35, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gold:hover::before {
  transform: translateX(100%);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(245, 166, 35, 0.55);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
}

/* ===== GLASS CARD UTILITY ===== */
.glass-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px -10px rgba(245, 166, 35, 0.1);
  transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-muted);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav-logo img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 1.5px solid var(--gold);
}

.nav-logo span b {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.2px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  background: var(--bg-elevated);
  color: var(--gold);
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 920px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .nav-actions .icon-btn:not(.hamburger) {
    display: none;
  }
  .nav-actions .hamburger {
    display: flex;
  }
}

/* ── Drawer backdrop ── */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Slide-in sidebar ── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  height: 100dvh;
  background: #111115;
  border-left: 1px solid rgba(255, 255, 255, .07);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -12px 0 48px rgba(0, 0, 0, .5);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  flex-shrink: 0;
}

/* Search shortcut inside drawer */
.drawer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 16px 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #777;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  flex-shrink: 0;
}
.drawer-search:hover {
  background: rgba(212, 175, 55, .08);
  border-color: rgba(212, 175, 55, .25);
  color: #d4af37;
}
.drawer-search svg { flex-shrink: 0; opacity: .6; }

/* Section labels */
.drawer-section {
  padding: 16px 20px 6px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #444;
  flex-shrink: 0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  flex-shrink: 0;
}

.drawer-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-links a:hover,
.drawer-links a.active {
  background: rgba(212, 175, 55, .08);
  color: #d4af37;
}

/* CTA at bottom of drawer */
.drawer-cta {
  margin: auto 16px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drawer-cta a {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #d4af37, #b8932a);
  color: #000;
  font-weight: 700;
  font-size: .88rem;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .2s;
}
.drawer-cta a:hover { opacity: .9; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 35%, rgba(245, 166, 35, 0.15), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 166, 35, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
  mask: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid var(--border-accent);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

h1.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  margin: 20px 0;
}

h1.hero-title .line2 {
  color: var(--gold);
}

h1.hero-title .accent {
  display: block;
  font-size: 0.35em;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.hero-kw {
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 14px;
  line-height: 1.55;
  opacity: 0.75;
}
.hero-kw strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-sub b {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-dim);
}

.trust .sep {
  color: var(--gold);
  opacity: 0.5;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.mascot-wrap {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  animation: float 6s ease-in-out infinite;
}

.mascot-wrap::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.mascot-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  border: 1px solid var(--border-accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stat-orbit {
  position: absolute;
  background: rgba(17, 17, 22, 0.8);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  animation: orbit-fade 0.8s ease both;
  z-index: 2;
}

.stat-orbit .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.12);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.stat-orbit b {
  color: var(--gold);
  font-size: 14.5px;
  display: block;
  line-height: 1.1;
}

.stat-orbit small {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 11.5px;
}

.o1 { top: 12%; left: -6%; animation-delay: 0.2s; }
.o2 { top: 40%; right: -8%; animation-delay: 0.5s; }
.o3 { bottom: 10%; left: 4%; animation-delay: 0.8s; }

@keyframes orbit-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 360px; order: -1; }
  .mascot-wrap { width: min(80%, 320px); }
  .o1 { left: -2%; }
  .o2 { right: -2%; }
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }

.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
}

.marquee-track span::after {
  content: '•';
  color: var(--gold);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== LOGO CLOUD ===== */
.logo-cloud {
  padding: 48px 0;
  text-align: center;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-muted);
}

.logo-cloud-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  opacity: 0.45;
  transition: var(--transition-smooth);
}

.logo-grid:hover {
  opacity: 0.75;
}

.logo-grid img {
  height: 28px;
  filter: grayscale(1) brightness(1.6);
  object-fit: contain;
}

@media (max-width: 600px) {
  .logo-grid { gap: 20px 32px; }
  .logo-grid img { height: 20px; }
}

/* ===== STATS ===== */
.stats {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-muted);
}

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

.stat {
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid var(--border-muted);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  color: var(--gold);
  line-height: 1.1;
  font-weight: 800;
}

.stat .lbl {
  color: var(--text-dim);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  font-weight: 600;
}

@media (max-width: 780px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border-muted); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--border-muted); }
}

/* ===== COURSES ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 920px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .courses-grid { grid-template-columns: 1fr; } }

.course-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px -15px rgba(245, 166, 35, 0.12);
  transform: translateY(-4px);
}

.course-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #16161c, #0b0b0e);
}

.course-thumb .thumb-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: rgba(245, 166, 35, 0.8);
  background-size: cover;
  background-position: center;
}

.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.7), transparent 60%);
}

.level {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.level.beg { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.level.int { background: rgba(245, 166, 35, 0.15); color: var(--gold); border: 1px solid var(--border-accent); }
.level.adv { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.price {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2;
  border: 1px solid var(--border-muted);
}

.price.free { color: #4ade80; border-color: rgba(34, 197, 94, 0.2); }

.course-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.course-body p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-muted);
  font-size: 13px;
  color: var(--text-dim);
}

.course-meta .start {
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.course-card:hover .start {
  gap: 10px;
}

/* ===== ACCORDION TIMELINE ===== */
.curriculum-accordion {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 6px;
  transition: var(--transition-smooth);
}

.accordion-item:focus-within, .accordion-item:hover {
  border-color: var(--border-accent);
}

.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  outline: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.accordion-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.accordion-icon {
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 16px 20px 24px 74px;
  border-top: 1px solid var(--border-muted);
  margin-top: 6px;
}

.accordion-week {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.accordion-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}

.accordion-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.accordion-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 11.5px;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .accordion-content { padding: 16px 14px 20px 20px; }
  .accordion-summary { padding: 12px 14px; }
}

/* ===== WHY SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 920px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

.why-list {
  display: grid;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.why-item:hover {
  border-color: var(--border-muted);
  background: var(--bg-secondary);
}

.why-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

.why-visual {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--gold-glow), transparent 60%);
  pointer-events: none;
}

.mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-elevated);
}

.mock-bar span:first-child { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }

.mock-row {
  background: rgba(25, 25, 30, 0.5);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mock-row .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0c0802;
  flex-shrink: 0;
  font-size: 13.5px;
}

.mock-row .txt {
  flex: 1;
  font-size: 13.5px;
}

.mock-row .txt b {
  display: block;
  font-weight: 600;
}

.mock-row .txt small {
  color: var(--text-dim);
  font-size: 11.5px;
}

.mock-row .prog {
  width: 100%;
  height: 5px;
  background: var(--bg-primary);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.mock-row .prog i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
}

/* ===== MASTERCLASS PANEL ===== */
.mc-section {
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  padding: 80px 24px;
  background: linear-gradient(135deg, #0e0a03 0%, var(--bg-primary) 60%, #0d0a04 100%);
}

.mc-container {
  max-width: 860px;
  margin: 0 auto;
}

.mc-poster-wrap {
  width: 100%;
  line-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 24px 60px -20px rgba(245, 166, 35, 0.2);
}

.mc-poster-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.mc-strip {
  background: rgba(17, 17, 22, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px 32px;
}

.mc-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mc-strip-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--border-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 0 0 8px #ff5f57;
  flex-shrink: 0;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.mc-strip-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  flex-wrap: wrap;
}

.mc-sep {
  color: var(--gold);
  opacity: 0.4;
}

.mc-strip-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mc-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-orig {
  font-size: 18px;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 500;
}

.mc-now {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.mc-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

@media(max-width: 720px) {
  .mc-strip { padding: 24px 20px; }
  .mc-strip-inner { flex-direction: column; align-items: flex-start; }
  .mc-strip-right { width: 100%; justify-content: space-between; }
}

/* ===== COUNTDOWN TIMER ===== */
.mc-countdown {
  margin-top: 24px;
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: var(--transition-smooth);
}

.mc-countdown:hover {
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px -10px rgba(245, 166, 35, 0.12);
}

.mc-countdown-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-right: 12px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cd-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--gold);
  line-height: 1;
  min-width: 68px;
  text-align: center;
  background: rgba(245, 166, 35, 0.04);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.15);
  box-shadow: inset 0 0 12px rgba(245, 166, 35, 0.02);
}

.cd-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.cd-sep {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 20px; /* aligns separator vertically with the center of cd-num */
}

@media (max-width: 680px) {
  .mc-countdown {
    padding: 20px;
    justify-content: center;
  }
  .mc-countdown-label {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 12px;
  }
}


/* ===== RESOURCES SCROLL ===== */
.res-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 290px;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-accent) var(--bg-elevated);
}

.res-scroll::-webkit-scrollbar {
  height: 6px;
}

.res-scroll::-webkit-scrollbar-track {
  background: var(--bg-elevated);
  border-radius: 3px;
}

.res-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

.res-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 26px;
  scroll-snap-align: start;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}

.res-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px -10px rgba(245, 166, 35, 0.08);
}

.res-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.08);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.res-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.res-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.res-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.res-session {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), var(--bg-secondary));
}

.res-session-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-accent);
  margin-bottom: 2px;
  width: fit-content;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-secondary);
}

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

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

.testi {
  background: var(--bg-elevated);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition-smooth);
}

.testi:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.testi-tier3 {
  border-top: 3px solid var(--gold);
}

.testi .qm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 80px;
  color: var(--gold);
  line-height: 0.4;
  opacity: 0.25;
  position: absolute;
  top: 36px;
  right: 28px;
  user-select: none;
}

.testi p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-muted);
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0c0802;
  flex-shrink: 0;
  font-size: 14px;
}

.testi-foot .who b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.testi-foot .who small {
  color: var(--text-dim);
  font-size: 12.5px;
}

.testi-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.08);
  color: var(--gold);
  font-weight: 700;
  border: 1px solid var(--border-accent);
}

/* ===== YOUTUBE SECTION ===== */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.yt-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.yt-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px -10px rgba(245, 166, 35, 0.08);
}

.yt-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1f160b, #0b0b0e);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.yt-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 166, 35, 0.25), transparent 60%);
}

.yt-thumb h5 {
  font-size: 26px;
  color: var(--gold);
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.yt-thumb.yt-real {
  background-size: cover;
  background-position: center;
}

.yt-thumb.yt-real::after {
  background: linear-gradient(to top, rgba(6, 6, 8, 0.6), rgba(6, 6, 8, 0.2) 60%, transparent);
}

.yt-play {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.95);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px -6px rgba(239, 68, 68, 0.6);
}

.yt-card:hover .yt-play {
  transform: scale(1.1);
  box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.8);
}

.yt-play::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.yt-body {
  padding: 20px;
}

.yt-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.yt-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== COMMUNITY ===== */
.community {
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(245, 166, 35, 0.05), transparent 40%), radial-gradient(circle at 80% 70%, rgba(245, 166, 35, 0.04), transparent 40%);
  pointer-events: none;
}

.comm-grid.single {
  max-width: 480px;
  margin: 0 auto;
}

.comm-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-smooth);
  display: block;
}

.comm-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px -20px rgba(245, 166, 35, 0.12);
  transform: translateY(-4px);
}

.comm-ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.comm-card.wa .comm-ico { background: rgba(37, 211, 102, 0.12); color: #25D366; }

.comm-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.comm-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.comm-card .members {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== TUTOR PROFILE ===== */
.tutor {
  background: var(--bg-secondary);
}

.tutor-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-muted);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.tutor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, var(--gold-glow), transparent 45%);
  pointer-events: none;
}

.tutor-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1b1307, #0b0b0e);
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tutor-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.35), transparent 60%);
  filter: blur(30px);
}

.tutor-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.tutor-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tutor-name-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tutor-name-row h3 {
  font-size: 38px;
  line-height: 1.1;
}

.li-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0a66c2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.li-btn:hover {
  background: #084d8e;
  transform: translateY(-1px);
}

.tutor-role {
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
}

.tutor-bio {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 580px;
}

.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.cred {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
}

.cred-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
  object-fit: contain;
}

.cred-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.1);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cred b {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.cred small {
  color: var(--text-dim);
  font-size: 12px;
}

@media (max-width: 920px) {
  .tutor-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .tutor-photo { max-width: 240px; margin: 0 auto; }
  .creds { grid-template-columns: 1fr; }
}

/* ===== MENTORING SECTION ===== */
.mentoring {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.mentoring::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 75% 50%, rgba(245, 166, 35, 0.06), transparent 65%);
  pointer-events: none;
}

.mentoring-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.mentoring-header h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.mentoring-header p {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.65;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

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

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

.plan-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, #181106, var(--bg-elevated));
}

.plan-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 22px;
  right: -32px;
  background: var(--gold);
  color: #0c0802;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.plan-badge.basic { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); }
.plan-badge.adv { background: rgba(245, 166, 35, 0.12); color: var(--gold); border: 1px solid var(--border-accent); }
.plan-badge.pro { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--border-accent); }

.plan-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 46px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.plan-price span {
  font-size: 16px;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.plan-tagline {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border-muted);
  margin: 24px 0;
}

.plan-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  text-align: center;
}

.plan-stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--gold);
}

.plan-stat-lbl {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1106 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245, 166, 35, 0.15), transparent 60%);
  pointer-events: none;
}

.news-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.news-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.news-inner p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 32px;
}

.news-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-elevated);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-muted);
}

.news-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
}

.news-form input::placeholder {
  color: var(--text-dim);
}

.news-fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}

@media (max-width: 560px) {
  .news-form { flex-direction: column; background: transparent; border: none; padding: 0; }
  .news-form input { background: var(--bg-elevated); border: 1px solid var(--border-muted); border-radius: 12px; }
  .news-form .btn { width: 100%; justify-content: center; }
}

/* ===== FOOTER ===== */
footer {
  background: #08080a;
  padding: 70px 0 32px;
  border-top: 1px solid var(--border-muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 780px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

.foot-brand .nav-logo {
  margin-bottom: 12px;
}

.foot-tag {
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-muted);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.socials a:hover {
  background: var(--gold);
  color: #0c0802;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.foot-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.foot-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.foot-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--text);
}

.foot-bot {
  padding-top: 24px;
  border-top: 1px solid var(--border-muted);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* sticky mobile cta */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 90;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0c0802;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
  transition: var(--transition-smooth);
}

@media (max-width: 920px) {
  .sticky-cta { display: block; }
}

/* ==========================================
   ===== DOCUMENTATION PORTAL LAYOUT =====
   ========================================== */
.doc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 90px;
  height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 16px;
  border-right: 1px solid var(--border-muted);
}

.doc-sidebar::-webkit-scrollbar {
  width: 4px;
}
.doc-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-accent);
  border-radius: 4px;
}

.doc-sidebar h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.doc-sidebar-tree {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-sidebar-module {
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 12px;
}
.doc-sidebar-module:last-child {
  border-bottom: none;
}

.doc-sidebar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}
.doc-sidebar-title:hover {
  color: var(--gold);
}

.doc-sidebar-title svg {
  transition: transform 0.2s ease;
}
.doc-sidebar-module.active .doc-sidebar-title svg {
  transform: rotate(90deg);
}

.doc-sidebar-links {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 12px;
  margin-top: 6px;
  border-left: 1px solid var(--border-muted);
}

.doc-sidebar-module.active .doc-sidebar-links {
  display: flex;
}

.doc-sidebar-links a {
  font-size: 12.5px;
  color: #9a9ab0;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  display: block;
  padding: 4px 8px;
  margin: 1px 0;
  border-radius: 6px;
  border-left: 2px solid transparent;
}
.doc-sidebar-links a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.doc-sidebar-links a.active {
  color: var(--gold);
  font-weight: 600;
  background: rgba(212, 175, 55, 0.12);
  border-left-color: var(--gold);
}

/* Article Content Area */
.doc-content {
  max-width: 820px;
  min-width: 0;
  width: 100%;
  line-height: 1.7;
  font-size: 15.5px;
}

.doc-content h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 12px;
  line-height: 1.15;
}

.doc-content .meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-muted);
}

.doc-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-muted);
}

.doc-content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.doc-content p {
  margin-bottom: 20px;
}

.doc-content ul, .doc-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.doc-content li strong {
  color: var(--gold);
}

/* SEO intro + related links (injected by scripts/apply_seo.py) */
.doc-content .seo-intro,
.seo-intro {
  color: #9a9ab0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 72ch;
}
.seo-related {
  margin: 2.5rem 0 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.seo-related p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #d4af37;
}
.seo-related ul {
  margin: 0;
  padding-left: 1.25rem;
}
.seo-related a {
  color: #c8c8d8;
  font-size: 0.9rem;
}
.seo-related a:hover {
  color: #d4af37;
}

/* Day sections (all tutorial tracks) */
.doc-content .day-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.doc-content .day-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #d4af37;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.doc-content .day-header h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
}
.doc-content section[id^="day"] {
  scroll-margin-top: 100px;
}
.doc-content .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}
.doc-content .comparison-table th {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.doc-content .comparison-table td {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #c0c0d0;
  vertical-align: top;
  line-height: 1.55;
}
.doc-content .comparison-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.doc-content > .doc-skip-link {
  display: none;
}

/* Callouts / Alert Blocks */
.callout {
  padding: 18px 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid transparent;
  display: flex;
  gap: 14px;
}

.callout-icon {
  font-size: 20px;
  line-height: 1;
}

.callout-body {
  flex: 1;
}

.callout-body h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.callout-body p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text);
  opacity: 0.95;
}

.callout-note {
  background: rgba(245, 166, 35, 0.03);
  border-color: var(--gold);
}
.callout-note h5 { color: var(--gold); }

.callout-tip {
  background: rgba(34, 197, 94, 0.03);
  border-color: #4ade80;
}
.callout-tip h5 { color: #4ade80; }

.callout-warning {
  background: rgba(239, 68, 68, 0.03);
  border-color: #f87171;
}
.callout-warning h5 { color: #f87171; }

/* Code Blocks styling */
.code-block-wrapper {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  margin: 24px 0;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
}

.code-copy-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.code-copy-btn:hover {
  color: var(--gold);
}

.code-block-wrapper pre {
  padding: 16px;
  margin: 0;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13.5px;
  line-height: 1.5;
}

.code-block-wrapper code {
  color: #e5c07b;
}

.math-inline {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 16px;
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-muted);
}

.math-block {
  font-family: 'Times New Roman', Times, serif;
  font-size: 19px;
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  margin: 24px 0;
  overflow-x: auto;
}

@media (max-width: 920px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 100px;
    overflow-x: hidden;
  }
  .doc-content > .doc-skip-link {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    text-decoration: none;
  }
  .doc-skip-link:hover {
    background: rgba(212, 175, 55, 0.15);
  }
  .doc-sidebar {
    position: relative;
    top: 0;
    height: auto;
    max-height: 40vh;
    overflow-y: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-muted);
    padding-bottom: 24px;
    padding-right: 0;
  }
}

/* ===== ANIMATED SYLLABUS HUB STYLE ===== */
.syllabus-header {
  text-align: center;
  padding: 120px 24px 48px;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(245, 166, 35, 0.12), transparent 70%);
}

.syllabus-progress-container {
  max-width: 860px;
  margin: 0 auto 40px;
  background: rgba(17, 17, 22, 0.5);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-header h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.progress-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #ffb443);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
}

.syllabus-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.syllabus-module-card {
  background: rgba(17, 17, 22, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.syllabus-module-card:hover {
  border-color: var(--border-accent);
}

.syllabus-module-card.expanded {
  border-color: var(--border-accent-strong);
  box-shadow: 0 12px 30px -10px rgba(245, 166, 35, 0.1);
}

.syllabus-module-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.syllabus-module-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.syllabus-module-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
}

.syllabus-module-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.syllabus-module-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.syllabus-module-chevron {
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.syllabus-module-card.expanded .syllabus-module-chevron {
  transform: rotate(180deg);
}

.syllabus-module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.syllabus-module-inner {
  padding: 0 32px 32px 76px;
  border-top: 1px solid transparent;
}

.syllabus-module-card.expanded .syllabus-module-inner {
  border-top-color: var(--border-muted);
}

.syllabus-topic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.syllabus-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.syllabus-topic-item:hover {
  background: rgba(245, 166, 35, 0.02);
  border-color: rgba(245, 166, 35, 0.15);
}

.syllabus-topic-checkbox-wrapper {
  margin-top: 2px;
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.syllabus-topic-checkbox {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 2;
}

.syllabus-topic-checkbox-visual {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--text-dim);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: transparent;
  transition: var(--transition-smooth);
  z-index: 1;
}

.syllabus-topic-checkbox:checked + .syllabus-topic-checkbox-visual {
  border-color: var(--gold);
  background: var(--gold);
  color: #0c0802;
}

.syllabus-topic-text {
  flex: 1;
}

.syllabus-topic-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.syllabus-topic-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.syllabus-topic-link:hover {
  opacity: 0.8;
}

.syllabus-topic-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.syllabus-project-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(245, 166, 35, 0.02);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.syllabus-project-box .project-icon {
  font-size: 20px;
  line-height: 1;
}

.syllabus-project-box h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.syllabus-project-box p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .syllabus-module-header {
    padding: 20px;
  }
  .syllabus-module-info {
    gap: 14px;
  }
  .syllabus-module-number {
    font-size: 22px;
  }
  .syllabus-module-title {
    font-size: 15px;
  }
  .syllabus-module-inner {
    padding: 0 20px 20px 20px;
  }
}

/* =====================================================
   TUTORIAL & DOCS — MOBILE / IPAD RESPONSIVE
   ===================================================== */

/* ── Global horizontal overflow guard ── */
/* clip avoids creating a scroll container (which breaks position:fixed nav) */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
}

/* iPad (768px) — doc layout tighten */
@media (max-width: 768px) {
  .doc-layout {
    padding: 90px 16px 60px;
    gap: 20px;
  }
  .doc-content {
    font-size: 15px;
  }
  .doc-content h1 {
    font-size: clamp(26px, 6vw, 36px);
  }
  .doc-content h2 {
    font-size: 20px;
    margin: 32px 0 12px;
  }
  .doc-content h3 {
    font-size: 17px;
  }
  /* Tables: scrollable on narrow screens */
  .comparison-table,
  .doc-content .comparison-table,
  .doc-content table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    max-width: 100%;
  }
  /* Code blocks */
  .code-block-wrapper {
    max-width: 100%;
    overflow: hidden;
  }
  .code-block-wrapper pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  /* Mastery / callout boxes */
  .mastery-why, .mastery-example, .mastery-mistakes,
  .mastery-interview, .mastery-practice, .mastery-project,
  .mastery-recap, .highlight-box, .callout {
    max-width: 100%;
    overflow-x: hidden;
  }
  /* Diagram flex — already wraps, ensure no overflow */
  .diagram-box {
    max-width: 100%;
    overflow-x: auto;
  }
  /* Inline prev/next nav */
  .doc-nav-bottom {
    flex-direction: column;
    gap: 12px;
  }
  /* Media */
  .doc-content img,
  .doc-content video,
  .doc-content iframe {
    max-width: 100%;
    height: auto;
  }
}

/* Phone (480px) */
@media (max-width: 480px) {
  .doc-layout {
    padding: 80px 12px 48px;
  }
  .doc-content {
    font-size: 14.5px;
  }
  .doc-content h1 {
    font-size: clamp(22px, 7vw, 30px);
  }
  /* Sidebar: shrink further on small phones */
  .doc-sidebar {
    max-height: 28vh;
    font-size: 13px;
  }
  /* Day header stacks */
  .day-header {
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 14px;
  }
  .day-header h2 {
    font-size: 1.15rem;
    width: 100%;
  }
  /* Code font smaller */
  .code-block-wrapper pre {
    font-size: 12px;
    padding: 12px;
    line-height: 1.45;
  }
  .code-header {
    font-size: 10px;
    padding: 8px 12px;
  }
  /* Callout compact */
  .callout {
    padding: 12px 14px;
    gap: 10px;
    font-size: .88rem;
  }
  .callout-icon {
    font-size: 16px;
  }
  /* highlight / mastery boxes compact */
  .highlight-box,
  .mastery-why, .mastery-example, .mastery-mistakes,
  .mastery-interview, .mastery-practice, .mastery-project,
  .mastery-recap {
    padding: 12px 14px;
    font-size: .87rem;
  }
  /* Step list */
  .step-list li {
    gap: 10px;
  }
  /* Math block scroll */
  .math-block {
    font-size: 15px;
    padding: 14px;
    overflow-x: auto;
  }
}

