/* ================================================================
   DEVOPS ДЛЯ РАЗРАБОТЧИКОВ
   Fonts: Russo One (display) + Syne (body) + JetBrains Mono (code)
   Palette: #07070E black + #FF3A00 orange-red + #39FF14 neon green
   ================================================================ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Design tokens ── */
:root {
  --bg:   #07070E;
  --bg-1: #0C0C18;
  --bg-2: #111120;
  --bg-3: #191930;

  /* Electric teal — технично, но не режет глаза */
  --accent:      #2DD4BF;
  --accent-lo:   rgba(45, 212, 191, 0.08);
  --accent-mid:  rgba(45, 212, 191, 0.18);
  --accent-glow: rgba(45, 212, 191, 0.28);

  --green:     #4ADE80;
  --green-dim: rgba(74, 222, 128, 0.85);
  --blue:      #60A5FA;

  --text:   #E8E8F0;
  --text-1: #9494B0;   /* было #5A5870 — поднимаем контраст */
  --text-2: #52516A;   /* было #28273A — теперь видно */

  --border:    rgba(255, 255, 255, 0.055);
  --border-hi: rgba(255, 255, 255, 0.13);

  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --font:    'Syne', sans-serif;
  --display: 'Russo One', sans-serif;
  --mono:    'JetBrains Mono', monospace;
}

/* ── Grain texture ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* ── Decorative background numbers ── */
.bg-num {
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: var(--display);
  font-size: clamp(140px, 18vw, 260px);
  color: var(--text);
  opacity: 0.022;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ── Typography system ── */
.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 48px;
}

.sec-title.no-mb { margin-bottom: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.btn-lg   { padding: 17px 36px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: #07080E;  /* тёмный текст на светлом teal */
  font-weight: 700;
}
.btn-accent:hover {
  background: #5DE8D8;
  box-shadow: 0 8px 40px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-accent:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover {
  background: var(--bg-2);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--accent-lo);
  border: 1px solid rgba(255, 58, 0, 0.3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 28px;
}
.badge-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pip 2s ease-in-out infinite;
}
@keyframes pip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.8); }
}

/* ── NAV ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(7, 7, 14, 0.88);
  backdrop-filter: blur(22px) saturate(1.5);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.lb { color: var(--accent); }

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 58, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 58, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, black, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: 15%;
  right: -8%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 58, 0, 0.07) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

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

/* staggered entrance */
.hero-content > * {
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.06s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.30s; }
.hero-content > *:nth-child(4) { animation-delay: 0.42s; }
.hero-content > *:nth-child(5) { animation-delay: 0.54s; }
.hero-terminal-wrap { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both; }

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

.hero-title {
  font-family: var(--display);
  font-size: clamp(60px, 9vw, 124px);
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ht-line { display: block; }
.ht-accent { color: var(--accent); }
.ht-sub {
  /* slightly smaller, faded */
  font-size: 0.72em;
  background: linear-gradient(135deg, var(--text) 35%, rgba(238, 236, 248, 0.38));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-1);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-chips span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-1);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.hero-chips span:hover {
  border-color: rgba(255, 58, 0, 0.3);
  color: var(--text);
}

/* ── Terminal ── */
.hero-terminal-wrap { position: relative; }

.terminal-shadow {
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--accent-glow);
  border-radius: var(--r-lg);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

.terminal {
  background: #080810;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 48px 96px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 58, 0, 0.06);
  position: relative;
  z-index: 1;
}

.tbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.tdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tdot.r { background: #FF5F57; }
.tdot.y { background: #FEBC2E; }
.tdot.g { background: #28C840; }

.ttitle {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-1);
  margin: 0 auto;
}

.tscreen { position: relative; }

.tscanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.055) 2px,
    rgba(0, 0, 0, 0.055) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.tbody {
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  height: 310px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 2;
  scrollbar-width: none;
}
.tbody::-webkit-scrollbar { display: none; }

/* terminal text classes */
.t-pr { color: var(--green-dim); }
.t-cm { color: var(--text); }
.t-o  { color: #3a3a5a; font-size: 12px; }
.t-ok { color: var(--green-dim); font-size: 12px; }
.t-bl { color: var(--blue); font-size: 12px; }
.t-ac { color: var(--accent); font-size: 12px; }

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: cur 1.1s step-end infinite;
}
@keyframes cur {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: scroll 32s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PROBLEMS ── */
.problems { background: var(--bg-1); }

.prob-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.prob-left {
  position: sticky;
  top: 120px;
}

.prob-right {
  display: flex;
  flex-direction: column;
}

.prob-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.prob-line:first-child { border-top: 1px solid var(--border); }

.prob-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  opacity: 0.7;
  padding-top: 4px;
}

.prob-line p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
}

/* ── JOURNEY ── */
.journey { background: var(--bg); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px;
}

.jcard {
  background: var(--bg-1);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: background 0.2s, border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.jcard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: transparent;
  transition: background 0.25s;
}
.jcard:hover {
  background: var(--bg-2);
  border-color: rgba(255, 58, 0, 0.2);
  transform: translateY(-4px);
}
.jcard:hover::after { background: var(--accent); }

.jcard-final {
  background: var(--accent-lo);
  border-color: rgba(255, 58, 0, 0.2);
}

.jn {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.ji  { font-size: 32px; display: block; margin-bottom: 12px; }
.jt  { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.jd  { font-family: var(--mono); font-size: 11px; color: var(--text-1); line-height: 1.6; }

/* ── FORMAT ── */
.format { background: var(--bg-1); }

.format-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.format-body {
  font-size: 17px;
  color: var(--text-1);
  line-height: 1.82;
  margin-top: 16px;
}

.format-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: rgba(255, 58, 0, 0.2); }

.stat-v {
  font-family: var(--display);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.stat-l {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.4;
}

/* ── CURRICULUM ── */
.curriculum { background: var(--bg); }

.modules { display: flex; flex-direction: column; gap: 2px; }

.module {
  background: var(--bg-1);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 0;
  transition: border-color 0.2s;
}
.module:first-child { border-radius: var(--r) var(--r) 0 0; }
.module:last-child  { border-radius: 0 0 var(--r) var(--r); }
.module:hover { border-color: var(--border-hi); }
.module.open  { border-color: rgba(255, 58, 0, 0.22); }

.mod-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  transition: background 0.15s;
}
.mod-btn:hover { background: rgba(255, 255, 255, 0.02); }

.mod-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 22px;
}
.mod-name { font-size: 15px; font-weight: 600; flex: 1; }
.mod-arr {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-2);
  transition: transform 0.25s ease, color 0.2s;
  flex-shrink: 0;
}
.module.open .mod-arr { transform: rotate(180deg); color: var(--accent); }

.mod-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.mod-body ul { list-style: none; padding: 4px 28px 24px 70px; }
.mod-body li {
  font-size: 14px;
  color: var(--text-1);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mod-body li:last-child { border-bottom: none; }
.mod-body li::before {
  content: '→';
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── PRICING ── */
.pricing { background: var(--bg-1); }

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid rgba(255, 58, 0, 0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 58, 0, 0.06),
    0 60px 120px rgba(0, 0, 0, 0.65),
    0 0 100px rgba(255, 58, 0, 0.07);
}

.pc-top {
  padding: 48px 48px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pc-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 58, 0, 0.07), transparent);
  pointer-events: none;
}

.pc-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--accent-lo);
  border: 1px solid rgba(255, 58, 0, 0.28);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.pc-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pc-price-old {
  font-family: var(--display);
  font-size: 28px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  position: relative;
}
.pc-price-old::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: #e05050;
  transform: rotate(-6deg);
  border-radius: 2px;
}

.pc-discount {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e05050;
  background: rgba(224, 80, 80, 0.12);
  border: 1px solid rgba(224, 80, 80, 0.28);
  padding: 4px 10px;
  border-radius: 100px;
}

.pc-price {
  line-height: 1;
  margin-bottom: 10px;
}
.pc-price sup {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  vertical-align: super;
  line-height: 1;
}
.pc-price span {
  font-family: var(--display);
  font-size: 100px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pc-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-1);
  letter-spacing: 0.05em;
}

.pc-feats { list-style: none; padding: 0 48px; }
.pc-feats li {
  font-size: 15px;
  color: var(--text-1);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-feats li:first-child { border-top: 1px solid var(--border); }
.pc-feats li b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-dim);
  font-weight: 700;
  flex-shrink: 0;
}

.pc-actions {
  padding: 28px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── FAQ ── */
.faq { background: var(--bg); }

.faq-list { }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }

.faq-plus {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a p {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.78;
  padding-bottom: 22px;
}

/* ── FOOTER ── */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal { transform: none; }

.modal-x {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 22px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-x:hover { background: var(--bg-3); color: var(--text); }

.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal-sub   { font-size: 14px; color: var(--text-1); margin-bottom: 28px; }

.modal-form  { display: flex; flex-direction: column; gap: 14px; }

.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fg input, .fg textarea {
  background: var(--bg-1);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
  outline: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-2); }
.fg input:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lo);
}

/* ── Centred narrow wrapper (FAQ, HOW) ── */
.narrow-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ================================================================
   NEW SECTIONS
   ================================================================ */

/* ── Nav links ── */
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-1);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

/* ── Hero stats row ── */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  overflow: hidden;
  width: fit-content;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  gap: 2px;
  background: var(--bg-1);
  transition: background 0.15s;
}
.hstat:hover { background: var(--bg-2); }
.hstat-val {
  font-family: var(--display);
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hstat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-1);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hstat-div {
  width: 1px;
  align-self: stretch;
  background: var(--border-hi);
}

/* ── FOR WHOM ── */
.for-whom { background: var(--bg-1); }

.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.fw-card {
  padding: 36px 40px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.fw-yes {
  background: rgba(45, 212, 191, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.18);
}

.fw-no {
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.fw-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.fw-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.fw-icon-no {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-hi);
  color: var(--text-2);
}

.fw-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.fw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fw-list li {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.6;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fw-list li:last-child { border-bottom: none; }
.fw-list li::before {
  content: '✓';
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.fw-list-no li::before {
  content: '✗';
  color: var(--text-2);
}

.fw-note {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-3);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fw-note-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.fw-note-btn:hover { opacity: 0.75; }


/* ── OUTCOMES ── */
.outcomes { background: var(--bg-1); }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}

.outcome-card {
  background: var(--bg-2);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.25s, transform 0.25s;
}
.outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.outcome-card:hover {
  background: var(--bg-3);
  border-color: rgba(45, 212, 191, 0.2);
  transform: translateY(-3px);
}
.outcome-card:hover::before { opacity: 1; }

.oc-ico { font-size: 30px; display: block; margin-bottom: 14px; }
.outcome-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.outcome-card p {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.65;
  font-family: var(--mono);
}

/* ── JOURNEY updated ── */
.jcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.jcard-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.jcard-meta span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

/* ── HOW IT WORKS ── */
.how { background: var(--bg); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  position: relative;
}

/* connecting line */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 60px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(45, 212, 191, 0.1) 100%);
}

.step-num {
  font-family: var(--display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-num::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.step-body {
  padding: 20px 0 40px 24px;
  border-left: none;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-desc {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.75;
}

/* ── FORMAT updated ── */
.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.format-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 4px;
  color: var(--accent);
  background: var(--accent-lo);
  letter-spacing: 0.04em;
}

/* ── CURRICULUM mod-info ── */
.mod-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mod-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

/* ── INSTRUCTOR ── */
.instructor { background: var(--bg-1); }

.instructor-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* heading above card */
.ins-header {
  margin-bottom: 48px;
}

/* no card box — content floats on section bg */
.instructor-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.instructor-avatar {
  position: relative;
}

.instructor-avatar img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
  /* fade to section bg at bottom */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 50%,
    rgba(0,0,0,0.85) 68%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 50%,
    rgba(0,0,0,0.85) 68%,
    transparent 100%
  );
}

.instructor-info {
  padding-top: 8px;
}

/* name + badge row */
.ins-name-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.instructor-name {
  font-family: var(--display);
  font-size: 32px;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1;
}

.instructor-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-lo);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instructor-role {
  font-size: 15px;
  color: var(--text-1);
  margin-bottom: 32px;
  line-height: 1.7;
}

.instructor-facts {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.ifact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--border);
  margin-right: 24px;
}
.ifact:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.ifact-val {
  font-family: var(--display);
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.ifact-lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-1);
  letter-spacing: 0.04em;
}

.instructor-quote {
  font-size: 16px;
  color: var(--text-1);
  line-height: 1.8;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

/* ── PRICING updated layout ── */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.05),
    0 60px 120px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(45, 212, 191, 0.05);
}

.pc-top {
  padding: 40px 40px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pc-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 212, 191, 0.06), transparent);
  pointer-events: none;
}

.pc-include {
  padding: 0 40px;
}
.pc-include-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  padding: 20px 0 4px;
}

.pc-feats { list-style: none; }
.pc-feats li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pc-feats li:last-child { border-bottom: none; }
.pc-feats li b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-dim);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pc-feats li div { display: flex; flex-direction: column; gap: 2px; }
.pc-feats li strong { font-size: 14px; font-weight: 600; color: var(--text); }
.pc-feats li span  { font-size: 13px; color: var(--text-1); font-family: var(--mono); }

.pc-actions {
  padding: 24px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-guarantee {
  margin: 20px 40px 32px;
  padding: 16px 20px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: var(--r);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pc-g-icon { font-size: 20px; flex-shrink: 0; }
.pc-guarantee p { font-size: 13px; color: var(--text-1); line-height: 1.6; }

/* ── PRICING SIDE ── */
.pricing-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}

.why-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.why-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-ico { font-size: 20px; flex-shrink: 0; }
.why-item p { font-size: 14px; color: var(--text-1); line-height: 1.65; }
.why-item strong { color: var(--text); }

.faq-mini {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}

.faq-mini-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 16px;
}

.faq-mini-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.faq-mini-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-mini-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.faq-mini-item p { font-size: 13px; color: var(--text-1); line-height: 1.6; }

/* ── FAQ CTA ── */
.faq-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq-cta p { font-size: 16px; color: var(--text-1); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pricing-wrap { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .nav-links    { display: none; }
}

@media (max-width: 920px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 48px; }
  .hero-terminal-wrap { order: -1; }
  .hero-desc          { max-width: 100%; }
  .format-inner       { grid-template-columns: 1fr; gap: 40px; }
  .prob-inner         { grid-template-columns: 1fr; gap: 40px; }
  .prob-left          { position: static; }
  .prob-line p        { font-size: 16px; }
  .fw-grid            { grid-template-columns: 1fr; }
  .instructor-card    { grid-template-columns: 1fr; gap: 36px; }
  .instructor-avatar img {
    height: 280px;
    -webkit-mask-image: linear-gradient(to bottom, black 40%, rgba(0,0,0,0.7) 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 40%, rgba(0,0,0,0.7) 70%, transparent 100%);
  }
  .instructor-info    { padding-top: 0; }
  .section            { padding: 80px 0; }
}

@media (max-width: 600px) {
  .hero-title        { font-size: 52px; }
  .hero-cta          { flex-direction: column; }
  .hero-cta .btn     { width: 100%; }
  .hero-stats-row    { width: 100%; flex-wrap: wrap; }
  .hstat             { flex: 1; min-width: 80px; }
  .format-stats      { grid-template-columns: 1fr 1fr; }
  .journey-grid      { grid-template-columns: 1fr 1fr; }
  .outcomes-grid     { grid-template-columns: 1fr 1fr; }
  .pc-top, .pc-include, .pc-actions { padding-left: 24px; padding-right: 24px; }
  .pc-guarantee      { margin: 16px 24px 24px; }
  .pc-price span     { font-size: 72px; }
  .bg-num            { font-size: 110px; }
  .fw-card           { padding: 24px 20px; }
  .instructor-facts  { flex-wrap: wrap; gap: 0; }
  .ifact             { min-width: 120px; padding-bottom: 16px; }
  .faq-cta           { flex-direction: column; align-items: flex-start; }
  .step              { grid-template-columns: 60px 1fr; }
  .step:not(:last-child)::before { left: 29px; }
}
