/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0b0f;
  --bg-card: rgba(18, 20, 28, 0.95);
  --bg-card-hover: rgba(24, 27, 38, 0.95);
  --bg-section-dark: rgba(8, 9, 16, 0.92);
  --border: #1e2130;
  --text: #f2f3f8;
  --text-dim: #a0a4b8;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --green: #00d2a0;
  --green-dim: rgba(0, 210, 160, 0.12);
  --red: #ff6b6b;
  --orange: #ffa94d;
  --gradient: linear-gradient(135deg, #6c5ce7, #00d2a0);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(10, 11, 15, 0.75), rgba(10, 11, 15, 0.75)),
    url('/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(108, 92, 231, 0.5);
  color: var(--accent-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.15);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-course-link {
  color: var(--accent-light) !important;
  background: rgba(108,92,231,0.12);
  padding: 6px 14px !important;
  border-radius: 20px;
  border: 1px solid rgba(108,92,231,0.3);
  font-weight: 600 !important;
  transition: all 0.2s;
}
.nav-course-link:hover {
  background: rgba(108,92,231,0.22) !important;
  color: #fff !important;
  border-color: rgba(108,92,231,0.5);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 210, 160, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; }
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0, 210, 160, 0.2);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--bg-section-dark);
  backdrop-filter: blur(8px);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Utility Layouts ── */
.narrow-copy {
  max-width: 760px;
}
.narrow-copy h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.narrow-copy p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.feature-tiers { display: flex; gap: 8px; flex-wrap: wrap; }
.tier {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--mono);
  background: rgba(0, 210, 160, 0.08);
  color: var(--green);
  border: 1px solid rgba(0, 210, 160, 0.15);
}
.tier-mid {
  background: rgba(255, 169, 77, 0.08);
  color: var(--orange);
  border-color: rgba(255, 169, 77, 0.15);
}
.tier-high {
  background: rgba(255, 107, 107, 0.08);
  color: var(--red);
  border-color: rgba(255, 107, 107, 0.15);
}

/* ── Proof / Audience / Link Cards ── */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proof-item,
.audience-card,
.link-card,
.case-study-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.proof-item {
  padding: 24px;
}
.proof-item h3,
.audience-card h3,
.link-card h3,
.case-study-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.proof-item p,
.audience-card p,
.link-card p,
.case-study-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}
.audience-grid,
.link-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  padding: 30px 26px;
}
.link-card {
  display: block;
  padding: 30px 26px;
  transition: border-color 0.3s, transform 0.2s;
}
.link-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}
.case-study-card {
  max-width: 820px;
  margin: 48px auto 0;
  padding: 32px 30px;
}

/* ── Methodology Flow ── */
.method-flow {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.method-flow::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--green));
  opacity: 0.3;
}
.method-step {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}
.method-step:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent-light);
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 4px;
}
.step-content p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── Alert Preview ── */
.alert-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.alert-mock {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.alert-mock-header {
  padding: 16px 20px;
  background: rgba(108, 92, 231, 0.06);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-mock-icon { font-size: 1.2rem; }
.alert-mock-type { font-size: 0.9rem; }
.alert-mock-body { padding: 20px; }
.alert-mock-question {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.alert-mock-bar {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.alert-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.alert-mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.alert-mock-stats strong { color: var(--text); }
.alert-mock-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
}
.alert-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  cursor: pointer;
}
.alert-trade { color: var(--green); }

.alert-info-list { display: flex; flex-direction: column; gap: 28px; }
.alert-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.alert-info-icon { font-size: 1.5rem; flex-shrink: 0; padding-top: 2px; }
.alert-info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.alert-info-item p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(108, 92, 231, 0.3); }
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--bg-card); }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-light);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CTA ── */
.section-cta {
  text-align: center;
  padding: 120px 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
}
.section-cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-cta p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── Course Promo ── */
.course-promo-card {
  background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(0,210,160,0.08));
  border: 1px solid rgba(108,92,231,0.25);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
}
.course-promo-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.course-promo-content > p {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}
.course-promo-highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.course-promo-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.course-promo-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.course-promo-highlight span:last-child {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.course-promo-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .course-promo-card { padding: 2rem 1.5rem; }
  .course-promo-content h2 { font-size: 1.5rem; }
  .course-promo-highlights { gap: 1.5rem; }
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: rgba(10, 11, 15, 0.9);
  backdrop-filter: blur(12px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ── Logo Favicon ── */
.logo-icon {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Page Hero (subpages) ── */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 {
  margin-bottom: 24px;
}
.page-hero .hero-sub {
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.page-hero .hero-actions {
  margin-bottom: 72px;
}
.page-hero .hero-stats {
  gap: 56px;
}

/* ── Nav Active ── */
.nav-active { color: var(--text) !important; }

/* ── Methodology Detail Sections ── */
.method-detail { max-width: 1000px; margin: 0 auto; }

.method-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.method-detail-icon { font-size: 2.5rem; flex-shrink: 0; }
.method-detail-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
}
.method-detail-tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 4px;
}

.method-detail-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.method-detail-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 28px;
  color: var(--text);
}
.method-detail-text h3:first-child { margin-top: 0; }
.method-detail-text p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.method-detail-text code {
  font-family: var(--mono);
  font-size: 0.82rem;
  background: rgba(108, 92, 231, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-light);
}

/* ── Tier Table ── */
.tier-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 8px;
}
.tier-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tier-row .tier { min-width: 140px; text-align: center; }
.tier-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ── Visual Cards ── */
.method-detail-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.visual-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.visual-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.visual-big {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--mono);
}
.visual-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ── Flow Steps ── */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.flow-step {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
}
.flow-arrow {
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1;
}
.accent-step {
  background: rgba(108, 92, 231, 0.1);
  border-color: rgba(108, 92, 231, 0.3);
  color: var(--accent-light);
  font-weight: 600;
}

/* ── Support Grid ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.support-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.2s;
}
.support-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}
.support-icon { font-size: 1.8rem; margin-bottom: 14px; }
.support-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.support-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner .btn { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .features-grid { grid-template-columns: 1fr; }
  .alert-preview-grid { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .link-cards-grid { grid-template-columns: 1fr; }

  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .method-flow::before { left: 22px; }
  .step-num { width: 44px; height: 44px; font-size: 0.78rem; }

  .method-detail-body { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .tier-row { flex-direction: column; gap: 6px; align-items: flex-start; }
  .tier-row .tier { min-width: auto; }
}

/* ══════════════════════════════════════════
   Course Page Styles
   ══════════════════════════════════════════ */

/* ── Syllabus Grid ── */
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.syllabus-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.2s;
}
.syllabus-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}
.syllabus-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent-light);
  margin-bottom: 14px;
}
.syllabus-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.syllabus-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Who It's Not For ── */
.not-for {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}
.not-for h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dim);
}
.not-for ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.not-for li {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.not-for li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ── Checklist Preview ── */
.checklist-preview {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.checklist-item:last-child {
  border-bottom: none;
}
.checklist-item::before {
  content: '\2610';
  font-size: 1.1rem;
  color: var(--accent-light);
  flex-shrink: 0;
}
.checklist-locked {
  position: relative;
  filter: blur(3px);
  user-select: none;
  pointer-events: none;
}
.checklist-locked::after {
  content: '\1F512  Unlock full course';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(10, 11, 15, 0.6);
  filter: none;
  border-radius: var(--radius-sm);
}

/* ── Pricing Card ── */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  transition: border-color 0.3s;
}
.pricing-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}
.pricing-features li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.pricing-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ── Access Modal ── */
.access-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.access-modal.open {
  opacity: 1;
  visibility: visible;
}
.access-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.access-modal-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.access-modal-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.55;
}
.access-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.access-modal-close:hover {
  color: var(--text);
}
.access-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
.access-input::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}
.access-input:focus {
  border-color: var(--accent);
}
.access-error {
  font-size: 0.82rem;
  color: var(--red);
  margin-top: 8px;
  min-height: 1.2em;
}
.access-success {
  font-size: 0.82rem;
  color: var(--green);
  margin-top: 8px;
  min-height: 1.2em;
}

/* ── Course Gate ── */
.course-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 100px 24px;
  text-align: center;
}
.course-gate h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.course-gate p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 420px;
}

/* ── Course App Layout ── */
.course-app {
  display: flex;
  min-height: calc(100vh - 72px);
  padding-top: 72px;
}

/* ── Course Sidebar ── */
.course-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.course-progress {
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.course-progress-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 600;
}
.course-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.course-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0%;
}
.course-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.course-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.course-sidebar-link.active {
  background: rgba(108, 92, 231, 0.08);
  color: var(--text);
  border-left-color: var(--accent);
  font-weight: 600;
}
.course-sidebar-link.completed::after {
  content: '\2713';
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}
.course-sidebar-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.course-sidebar-link.active .course-sidebar-num {
  background: rgba(108, 92, 231, 0.15);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ── Course Main Content ── */
.course-main {
  flex: 1;
  min-width: 0;
  padding: 40px 48px 80px;
  overflow-y: auto;
}

/* ── Module Content ── */
.course-module {
  display: none;
  max-width: 780px;
}
.course-module.active {
  display: block;
}
.module-header {
  margin-bottom: 36px;
}
.module-header .syllabus-num {
  margin-bottom: 12px;
}
.module-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
}
.module-goal {
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}
.module-goal strong {
  color: var(--accent-light);
}
.module-section {
  margin-bottom: 36px;
}
.module-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.module-section p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.module-section ul,
.module-section ol {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.75;
  padding-left: 24px;
  margin-bottom: 12px;
}
.module-section li {
  margin-bottom: 6px;
}
.module-section code {
  font-family: var(--mono);
  font-size: 0.82rem;
  background: rgba(108, 92, 231, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-light);
}
.module-key-takeaways {
  background: rgba(0, 210, 160, 0.04);
  border: 1px solid rgba(0, 210, 160, 0.12);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-top: 32px;
}
.module-key-takeaways h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--green);
}
.module-key-takeaways ul {
  list-style: none;
  padding: 0;
}
.module-key-takeaways li {
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 8px;
}
.module-key-takeaways li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.module-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.module-nav .btn {
  min-width: 160px;
}
.module-nav-prev,
.module-nav-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}
.module-nav-prev {
  background: transparent;
  border: 2px solid rgba(108, 92, 231, 0.5);
  color: var(--accent-light);
}
.module-nav-prev:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.15);
  transform: translateY(-2px);
}
.module-nav-next {
  background: var(--gradient);
  color: #fff;
}
.module-nav-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

/* ── Bonus Materials ── */
.bonus-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bonus-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.bonus-checklist li::before {
  content: '\2610';
  font-size: 1.1rem;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.bonus-template {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bonus-template-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bonus-template-field label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.bonus-template-field .field-value {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  min-height: 38px;
}
.bonus-cheatsheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bonus-cheatsheet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.bonus-cheatsheet-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-light);
}
.bonus-cheatsheet-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Course Responsive ── */
@media (max-width: 768px) {
  .syllabus-grid {
    grid-template-columns: 1fr;
  }
  .course-app {
    flex-direction: column;
  }
  .course-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0;
    gap: 0;
  }
  .course-progress {
    display: none;
  }
  .course-sidebar-link {
    white-space: nowrap;
    padding: 10px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 0.82rem;
  }
  .course-sidebar-link.active {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
  .course-main {
    padding: 28px 20px 60px;
  }
  .module-header h1 {
    font-size: 1.4rem;
  }
  .module-nav {
    flex-direction: column;
  }
  .module-nav .btn,
  .module-nav-prev,
  .module-nav-next {
    width: 100%;
    justify-content: center;
  }
  .pricing-card {
    padding: 36px 24px;
  }
  .bonus-cheatsheet {
    grid-template-columns: 1fr;
  }
  .access-modal-content {
    margin: 16px;
  }
}

/* ══════════════════════════════════════════
   Course Diagrams & Visual Aids
   ══════════════════════════════════════════ */

.diagram {
  margin: 28px 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.diagram-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 20px;
  text-align: center;
}

/* Flow chart (vertical) */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-node {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  max-width: 320px;
  width: 100%;
}
.flow-node-primary {
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.3);
  color: var(--accent-light);
}
.flow-node-success {
  background: rgba(0, 210, 160, 0.08);
  border: 1px solid rgba(0, 210, 160, 0.2);
  color: var(--green);
}
.flow-node-danger {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: var(--red);
}
.flow-node-neutral {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.flow-node-warning {
  background: rgba(255, 169, 77, 0.08);
  border: 1px solid rgba(255, 169, 77, 0.2);
  color: var(--orange);
}
.flow-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  padding: 6px 0;
}
.flow-branch {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}
.flow-branch .flow-node { flex: 1; }
.flow-branch-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 6px;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.compare-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 2px solid var(--border);
}
.compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .accent { color: var(--accent-light); font-weight: 600; }
.compare-table .green { color: var(--green); font-weight: 600; }
.compare-table .red { color: var(--red); font-weight: 600; }
.compare-table .orange { color: var(--orange); font-weight: 600; }

/* Visual meters / bars */
.meter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.meter-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  min-width: 100px;
  flex-shrink: 0;
}
.meter-bar {
  flex: 1;
  height: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.meter-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.meter-fill-accent { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.meter-fill-green { background: linear-gradient(90deg, #00a87d, var(--green)); }
.meter-fill-red { background: linear-gradient(90deg, #cc5555, var(--red)); }
.meter-fill-orange { background: linear-gradient(90deg, #cc8833, var(--orange)); }

/* Pyramid / stacking visual */
.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pyramid-level {
  padding: 10px 20px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s;
}
.pyramid-level:hover { transform: scale(1.02); }

/* Decision tree */
.dtree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.dtree-q {
  padding: 12px 20px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  max-width: 360px;
  width: 100%;
}
.dtree-arrows {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 4px 0;
}
.dtree-yes, .dtree-no {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dtree-yes { color: var(--green); }
.dtree-yes::after { content: ' ↓'; }
.dtree-no { color: var(--red); }
.dtree-no::after { content: ' →'; }
.dtree-stop {
  padding: 8px 16px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
}

/* Diagram responsive */
@media (max-width: 768px) {
  .diagram { padding: 20px 16px; }
  .flow-branch { flex-direction: column; max-width: 260px; }
  .meter-label { min-width: 70px; font-size: 0.75rem; }
  .compare-table { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  .dtree-arrows { gap: 30px; }
}
