/* ============================================
   NISM Series XV — Premium Career Guide
   Design: Indigo Ink × Parchment Editorial
   Fonts: Cormorant Garamond + Manrope + Space Mono
   ============================================ */

:root {
  --ink:        #1B0A3C;
  --ink-mid:    #3D1E7C;
  --ink-light:  #7B68EE;
  --parchment:  #F4ECD8;
  --parchment-2:#E8DCC8;
  --cream:      #FAF7F2;
  --gold:       #C9A87C;
  --gold-light: #E8D5B0;
  --white:      #FFFFFF;
  --text:       #2C1A4A;
  --text-mid:   #5A4A7A;
  --text-light: #9A8AB0;
  --success:    #2D6A1E;
  --danger:     #8B1A1A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', system-ui, sans-serif;
  --font-mono:  'Space Mono', monospace;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(27,10,60,0.10);
  --shadow-lg:  0 12px 48px rgba(27,10,60,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--ink-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── READING PROGRESS ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--ink-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 124, 0.2);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  background: var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
}
.nav-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(27,10,60,0.06);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #2D1060 50%, #1B0A3C 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,124,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,124,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--ink-light);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -100px; left: -100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(201,168,124,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,124,0.3);
  padding: 5px 12px;
  border-radius: 20px;
}
.badge-outline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.2);
}
.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.hero-heading-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.hero-heading-main {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-heading-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 100px;
}
.stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,124,0.4);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-size: 0.8rem;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--ink);
}
.section-cream {
  background: var(--parchment);
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.light { color: rgba(201,168,124,0.7); }
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-heading.light { color: var(--white); }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.section-desc.light { color: rgba(255,255,255,0.65); }
.sub-heading {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
  margin-top: 4rem;
}
.sub-heading.light { color: var(--white); }

/* ── OVERVIEW ── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
.overview-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.overview-text strong { color: var(--ink); }
.info-callout {
  display: flex;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(27,10,60,0.05), rgba(201,168,124,0.1));
  border: 1px solid rgba(201,168,124,0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.callout-icon { font-size: 1.2rem; flex-shrink: 0; }
.overview-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.info-card-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.info-list { display: flex; flex-direction: column; gap: 0.5rem; }
.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(27,10,60,0.05);
}
.info-list li:last-child { border-bottom: none; }
.info-list li span { color: var(--text-mid); }
.info-list li strong { color: var(--ink); font-weight: 700; }

/* Registration Steps */
.registration-section { margin-top: 4rem; }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.step-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.step-body p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  padding: 0 0.5rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── SYLLABUS ── */
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.syllabus-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.syllabus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--ink-light);
}
.syllabus-card[data-weight="high"]::before { background: var(--gold); }
.syllabus-card[data-weight="low"]::before { background: rgba(255,255,255,0.2); }
.syllabus-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
}
.syllabus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.ch-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.ch-weight {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.ch-weight.high { background: rgba(201,168,124,0.2); color: var(--gold); }
.ch-weight.medium { background: rgba(123,104,238,0.2); color: var(--ink-light); }
.ch-weight.low { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }
.syllabus-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.syllabus-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.ch-marks {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
}

/* Weightage Bars */
.weightage-section { margin-top: 2rem; }
.weightage-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.w-bar-item { display: flex; align-items: center; gap: 1rem; }
.w-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  min-width: 280px;
  flex-shrink: 0;
}
.w-bar-track {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.w-bar-fill {
  height: 100%;
  background: var(--ink-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  transition: width 1s ease;
}
.w-bar-fill.accent { background: var(--gold); color: var(--ink); }
.w-bar-fill.gold { background: linear-gradient(90deg, var(--gold), #E8C87A); color: var(--ink); }
.w-bar-fill.muted { background: rgba(255,255,255,0.15); }

/* ── STUDY PLAN ── */
.plan-phases { display: flex; flex-direction: column; gap: 2rem; }
.phase-block {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, var(--ink), #2D1060);
  flex-wrap: wrap;
}
.phase-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
}
.phase-badge.week2 { background: var(--ink-light); color: var(--white); }
.phase-badge.week3 { background: #7B68EE; color: var(--white); }
.phase-badge.week4 { background: #C9A87C; color: var(--ink); }
.phase-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  flex: 1;
}
.phase-days {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}
.plan-days { padding: 0.5rem 0; }
.day-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1.75rem;
  border-bottom: 1px solid rgba(27,10,60,0.05);
  transition: background var(--transition);
}
.day-row:last-child { border-bottom: none; }
.day-row:hover { background: rgba(27,10,60,0.02); }
.day-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 50px;
  padding-top: 2px;
  flex-shrink: 0;
}
.day-task {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

/* Resources */
.resources-section { margin-top: 4rem; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.resource-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink-mid);
}
.resource-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.resource-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.resource-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(27,10,60,0.07);
  color: var(--ink-mid);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── FORMULAS ── */
.formula-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(27,10,60,0.1);
  padding-bottom: 0;
}
.ftab {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.ftab:hover { color: var(--ink); }
.ftab.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.formula-content { display: none; }
.formula-content.active { display: block; }
.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.formula-card {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.formula-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,124,0.4);
}
.formula-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.formula-eq {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
  background: rgba(27,10,60,0.04);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  word-break: break-word;
}
.formula-note {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── CAREER ── */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.career-card {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.career-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.career-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #FFFDF8, #FFF8EC);
  grid-column: span 1;
}
.career-icon { font-size: 2rem; margin-bottom: 1rem; }
.career-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.career-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.salary-range { margin-bottom: 1.25rem; }
.salary-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.6rem;
}
.salary-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.s-level {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}
.s-level span {
  min-width: 80px;
  color: var(--text-mid);
  flex-shrink: 0;
}
.s-bar {
  height: 22px;
  background: linear-gradient(90deg, var(--ink), var(--ink-mid));
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  min-width: 60px;
}
.career-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.career-skills span {
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(27,10,60,0.06);
  color: var(--ink-mid);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Roadmap */
.roadmap-section { margin-top: 4rem; }
.roadmap-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(27,10,60,0.08);
}
.roadmap-node {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.rn-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-mid));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27,10,60,0.3);
  flex-shrink: 0;
}
.rn-content h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.rn-content p {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.roadmap-line {
  flex: 0 0 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-light), var(--gold));
  margin-top: 22px;
  align-self: flex-start;
}

/* Certs */
.certs-section { margin-top: 4rem; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.cert-card {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.cert-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.cert-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── GLOSSARY ── */
.glossary-search-wrap { margin-bottom: 2rem; }
.glossary-search {
  width: 100%;
  max-width: 480px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.glossary-search::placeholder { color: rgba(255,255,255,0.35); }
.glossary-search:focus { border-color: var(--gold); }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0.75rem;
}
.gloss-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: all var(--transition);
}
.gloss-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,124,0.3);
}
.gloss-term {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.gloss-def {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── TRACKER ── */
.tracker-wrap {
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 4rem;
}
.tracker-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tracker-progress-bar {
  flex: 1;
  height: 10px;
  background: rgba(27,10,60,0.08);
  border-radius: 5px;
  overflow: hidden;
  min-width: 200px;
}
.tracker-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ink), var(--gold));
  border-radius: 5px;
  width: 0%;
  transition: width 0.5s ease;
}
.tracker-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.tracker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.tracker-item:hover {
  background: rgba(27,10,60,0.03);
  border-color: var(--gold);
}
.tracker-item.checked {
  background: rgba(27,10,60,0.04);
  border-color: var(--success);
}
.tracker-check { display: none; }
.tracker-content { flex: 1; }
.tracker-ch {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.2rem;
}
.tracker-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.tracker-item.checked .tracker-name { color: var(--success); }
.tracker-tick {
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0;
  transition: opacity var(--transition);
}
.tracker-item.checked .tracker-tick {
  color: var(--success);
  opacity: 1;
}

/* Tips */
.tips-section { margin-top: 4rem; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.tip-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(27,10,60,0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tip-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  min-width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-card p {
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-note {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.3) !important;
}
.footer-note a { color: var(--gold); }
.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .roadmap-track { flex-direction: column; align-items: flex-start; }
  .roadmap-node { flex-direction: row; text-align: left; }
  .roadmap-line { width: 2px; height: 2rem; margin-top: 0; margin-left: 21px; background: linear-gradient(to bottom, var(--ink-light), var(--gold)); }
  .w-label { min-width: 180px; font-size: 0.72rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(201,168,124,0.2);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .hero-stats { gap: 0.75rem; }
  .stat-card { padding: 0.75rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .w-bar-item { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .w-label { min-width: unset; }
  .w-bar-track { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 100px 1.25rem 60px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .formula-tabs { gap: 0.25rem; }
  .ftab { padding: 8px 12px; font-size: 0.75rem; }
}