/* ====================================
   aidowith.me — Design System
   Single source of truth for all styles.
   See .claude/docs/design-system.md for documentation.
   ==================================== */

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary — Royal Blue (trust, professionalism, tech) */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e40af;
  --primary-light: #dbeafe;
  --primary-lighter: #eff6ff;

  /* Accent — Emerald Green (growth, progress, CTA "go!") */
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #d1fae5;
  --accent-lighter: #ecfdf5;

  /* Highlight — Amber (urgency, badges, early bird) */
  --highlight: #f59e0b;
  --highlight-light: #fef3c7;

  /* Semantic */
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;

  /* Text */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-dark: #f8fafc;

  /* Borders & Effects */
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #2563eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-primary: 0 4px 14px 0 rgb(37 99 235 / 0.25);
  --shadow-accent: 0 4px 14px 0 rgb(16 185 129 / 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Animation easing (De-AI Phase 2.5) */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Skill branch colors */
  --branch-foundations: #2563eb;
  --branch-marketing: #ec4899;
  --branch-building: #8b5cf6;
  --branch-productivity: #f59e0b;
  --branch-analytics: #06b6d4;
  --branch-content: #f43f5e;

  /* Icon box backgrounds (light tints) */
  --icon-bg-primary: var(--primary-light);
  --icon-bg-accent: var(--accent-light);
  --icon-bg-amber: var(--highlight-light);
  --icon-bg-rose: #ffe4e6;
  --icon-bg-violet: #ede9fe;
  --icon-bg-cyan: #cffafe;
  --icon-bg-pink: #fce7f3;
  --icon-bg-slate: var(--bg-tertiary);

  /* Icon stroke colors (dark, saturated) */
  --icon-stroke-primary: var(--primary-dark);
  --icon-stroke-accent: var(--accent-dark);
  --icon-stroke-amber: #b45309;
  --icon-stroke-rose: #be123c;
  --icon-stroke-violet: #6d28d9;
  --icon-stroke-cyan: #0e7490;
  --icon-stroke-pink: #be185d;
  --icon-stroke-slate: var(--text-secondary);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
}

/* Headings inside dark-bg hero sections must inherit the light color */
.course-hero h1,
.course-hero h2,
.course-hero h3 {
  color: inherit;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-muted {
  color: var(--text-muted);
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 2rem;
}

.section--compact {
  padding: 4rem 2rem;
}

/* Visual divider (De-AI Phase 2) - decorative element */
#problem {
  position: relative;
}

#problem::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--accent) 50%, var(--primary) 80%, transparent 100%);
  border-radius: var(--radius-full);
}

.section--alt {
  background: var(--bg-secondary);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark p {
  color: rgb(248 250 252 / 0.7);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin: 1rem auto 0;
}

/* ---- Grid ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ---- Layout Variations (De-AI Phase 2) ---- */

/* 2x2 grid for Problem section */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Featured layout for Solution section - 1 large + 3 smaller */
.grid-featured-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-featured-layout > .solution-card--featured {
  grid-column: span 3;
}

.solution-card--featured .icon-box {
  width: 3.5rem;
  height: 3.5rem;
}

/* Course featured layout - 1 full width + grid-3 below */
.grid-course-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-course-featured > .course-card--featured {
  grid-column: span 3;
  background: linear-gradient(135deg, rgb(99 102 241 / 0.03) 0%, rgb(168 85 247 / 0.03) 100%);
  border: 1px solid rgb(99 102 241 / 0.15);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: white;
  box-shadow: var(--shadow-accent);
}

/* CTA — green accent, used for primary conversion actions (waitlist, signup) */
.btn-cta {
  background: var(--accent);
  color: white;
}

.btn-cta:hover {
  background: var(--accent-dark);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ---- Cards ---- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* ---- Form Elements ---- */
.input {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.input::placeholder {
  color: var(--text-muted);
}

.input:focus {
  border-color: var(--border-focus);
  outline: none;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* ---- Icon Boxes ---- */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.icon-box--sm { width: 40px; height: 40px; }
.icon-box--sm svg { width: 20px; height: 20px; }

.icon-box--md { width: 48px; height: 48px; }
.icon-box--md svg { width: 24px; height: 24px; }

.icon-box--lg { width: 56px; height: 56px; }
.icon-box--lg svg { width: 28px; height: 28px; }

.icon-box--xl { width: 64px; height: 64px; }
.icon-box--xl svg { width: 32px; height: 32px; }

/* Color variants */
.icon-box--primary { background: var(--icon-bg-primary); color: var(--icon-stroke-primary); }
.icon-box--accent  { background: var(--icon-bg-accent);  color: var(--icon-stroke-accent); }
.icon-box--amber   { background: var(--icon-bg-amber);   color: var(--icon-stroke-amber); }
.icon-box--rose    { background: var(--icon-bg-rose);    color: var(--icon-stroke-rose); }
.icon-box--violet  { background: var(--icon-bg-violet);  color: var(--icon-stroke-violet); }
.icon-box--cyan    { background: var(--icon-bg-cyan);    color: var(--icon-stroke-cyan); }
.icon-box--pink    { background: var(--icon-bg-pink);    color: var(--icon-stroke-pink); }
.icon-box--slate   { background: var(--icon-bg-slate);   color: var(--icon-stroke-slate); }

/* Shape variant */
.icon-box--round { border-radius: var(--radius-full); }

/* Dark section variants */
.section--dark .icon-box--primary { background: rgb(37 99 235 / 0.15);  color: #93bbfd; }
.section--dark .icon-box--accent  { background: rgb(16 185 129 / 0.15); color: #6ee7b7; }
.section--dark .icon-box--amber   { background: rgb(245 158 11 / 0.15); color: #fcd34d; }
.section--dark .icon-box--rose    { background: rgb(244 63 94 / 0.15);  color: #fda4af; }
.section--dark .icon-box--violet  { background: rgb(139 92 246 / 0.15); color: #c4b5fd; }
.section--dark .icon-box--cyan    { background: rgb(6 182 212 / 0.15);  color: #67e8f9; }
.section--dark .icon-box--pink    { background: rgb(236 72 153 / 0.15); color: #f9a8d4; }
.section--dark .icon-box--slate   { background: rgb(148 163 184 / 0.15); color: #cbd5e1; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-dark);
  text-decoration: none;
}

.nav-logo-icon {
  display: block;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--text-on-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgb(248 250 252 / 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn-cta {
  color: white;
}

.nav-cta .btn-cta:hover {
  color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  padding: 5rem 2rem 2rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgb(255 255 255 / 0.7);
  padding: 0 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA inside footer */
.footer-cta {
  text-align: center;
  padding: 4rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-cta p {
  color: rgb(255 255 255 / 0.6);
  margin-bottom: 1.5rem;
}

.footer-cta .trust-line {
  margin-top: 1rem;
}

/* Divider between CTA and links */
.footer-divider {
  height: 1px;
  background: rgb(255 255 255 / 0.08);
  margin: 0 0 2.5rem;
}

/* Links grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-logo:hover {
  color: white;
}

.footer-desc {
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.5);
  line-height: 1.6;
  max-width: 260px;
}

.footer h4 {
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgb(255 255 255 / 0.5);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.35);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.lang-switch a {
  color: rgb(255 255 255 / 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.lang-switch a:hover {
  color: rgb(255 255 255 / 0.8);
}

.lang-switch span[aria-current] {
  color: rgb(255 255 255 / 0.7);
  font-weight: 500;
}

.lang-switch-sep {
  color: rgb(255 255 255 / 0.2);
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content--centered {
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content--centered .hero-subtitle {
  max-width: 60ch;
  margin: 0 auto;
}

.hero-content--centered .waitlist-form-inner {
  justify-content: center;
}

.hero-content--centered .trust-line {
  text-align: center;
}

.badge-hero {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  width: fit-content;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text-on-dark);
  text-wrap: balance;
}

.hero-title-static {
  display: block;
}

.hero-content--centered .hero-title {
  width: 100%;
}

.hero-title-rotator {
  position: relative;
  display: block;
  width: 100%;
  height: 1.2em;
  overflow: hidden;
}

.hero-rotating-phrase {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--accent);
  opacity: 0;
  transform: translateY(100%);
}

.hero-rotating-phrase--active {
  opacity: 1;
  transform: translateY(0);
}

.hero-rotating-phrase--exit {
  opacity: 0;
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-rotating-phrase {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgb(16 185 129 / 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

/* ---- Hero Path SVG ---- */
.hero-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Static state — all visible (used on non-index pages) */
.hero-path-line,
.hero-path-glow {
  stroke-dasharray: 1800;
  stroke-dashoffset: 0;
}

.hero-path-dot,
.hero-path-ring,
.hero-path-accent {
  opacity: 1;
}

/* Animated state — only on pages with .hero-path-animated */
.hero-path-animated .hero-path-line,
.hero-path-animated .hero-path-glow {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
}

.hero-path-animated .hero-path-dot,
.hero-path-animated .hero-path-ring,
.hero-path-animated .hero-path-accent {
  opacity: 0;
  transform-origin: center;
  transform: scale(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-path-animated .hero-path-line {
    animation: heroPathDraw 2.5s var(--ease-out) 0.3s forwards;
  }
  .hero-path-animated .hero-path-glow {
    animation: heroPathDraw 2.5s var(--ease-out) 0.5s forwards;
  }
  .hero-path-animated .hero-path-dot--1 {
    animation: heroNodePop 0.4s var(--ease-spring) 0.6s forwards;
  }
  .hero-path-animated .hero-path-dot--2 {
    animation: heroNodePop 0.4s var(--ease-spring) 1.0s forwards;
  }
  .hero-path-animated .hero-path-dot--3 {
    animation: heroNodePop 0.4s var(--ease-spring) 1.4s forwards;
  }
  .hero-path-animated .hero-path-dot--4 {
    animation: heroNodePop 0.4s var(--ease-spring) 1.8s forwards;
  }
  .hero-path-animated .hero-path-dot--5 {
    animation: heroNodePop 0.4s var(--ease-spring) 2.2s forwards;
  }
  .hero-path-animated .hero-path-ring--2 {
    animation: heroRingPop 0.5s var(--ease-out) 1.1s forwards;
  }
  .hero-path-animated .hero-path-ring--4 {
    animation: heroRingPop 0.5s var(--ease-out) 1.9s forwards;
  }
  .hero-path-animated .hero-path-accent--1 {
    animation: heroAccentFade 0.4s ease 0.8s forwards;
  }
  .hero-path-animated .hero-path-accent--2 {
    animation: heroAccentFade 0.4s ease 1.2s forwards;
  }
  .hero-path-animated .hero-path-accent--3 {
    animation: heroAccentFade 0.4s ease 1.6s forwards;
  }
  .hero-path-animated .hero-path-accent--4 {
    animation: heroAccentFade 0.4s ease 2.0s forwards;
  }
}

@keyframes heroPathDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes heroNodePop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroRingPop {
  0% { opacity: 0; transform: scale(0); }
  70% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 0.3; transform: scale(1); }
}

@keyframes heroAccentFade {
  to { opacity: 0.5; transform: scale(1); }
}

.hero-subtitle {
  color: rgb(248 250 252 / 0.7);
  max-width: 50ch;
}

.trust-line {
  font-size: 0.875rem;
  color: rgb(248 250 252 / 0.5);
  max-width: none;
}

.urgency-line {
  font-size: 0.9375rem;
  color: var(--highlight);
  font-weight: 600;
  max-width: none;
}

/* Waitlist form */
.waitlist-form-inner {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
}

.waitlist-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ====================================
   SOCIAL PROOF / STATS BAR
   ==================================== */

.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ====================================
   PAIN POINT CARDS
   ==================================== */

.pain-icon {
  margin-bottom: 1rem;
}

.pain-card h3 {
  margin-bottom: 0.5rem;
}

/* ====================================
   SOLUTION CARDS
   ==================================== */

.solution-card {
  border-left: 4px solid var(--accent-light);
}

.solution-icon {
  margin-bottom: 0.75rem;
}

.solution-card h3 {
  margin-bottom: 0.5rem;
}

/* ====================================
   COURSE CARDS
   ==================================== */

/* Base card — replaces .card for course cards */
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Banner gradient area */
.course-card-image {
  height: 130px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Branch gradient backgrounds */
.course-card-image--foundation {
  background:
    radial-gradient(ellipse 60% 80% at 25% 40%, rgba(99, 102, 241, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 75% 30%, rgba(59, 130, 246, 0.85) 0%, transparent 65%),
    radial-gradient(ellipse 45% 60% at 50% 80%, rgba(139, 92, 246, 0.7) 0%, transparent 60%),
    radial-gradient(circle at 80% 75%, rgba(167, 139, 250, 0.5) 0%, transparent 40%),
    linear-gradient(160deg, #0f0a2e 0%, #1e1b4b 40%, #1a1640 100%);
}

.course-card-image--marketing {
  background:
    radial-gradient(ellipse 55% 75% at 70% 35%, rgba(236, 72, 153, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 25% 55%, rgba(244, 63, 94, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 55% 80%, rgba(251, 113, 133, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 15% 25%, rgba(190, 24, 93, 0.5) 0%, transparent 35%),
    linear-gradient(160deg, #2a0a1e 0%, #3b0a2a 40%, #2d0f24 100%);
}

.course-card-image--building {
  background:
    radial-gradient(ellipse 50% 70% at 30% 35%, rgba(139, 92, 246, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 55% 75% at 75% 55%, rgba(124, 58, 237, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 85%, rgba(192, 132, 252, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(167, 139, 250, 0.4) 0%, transparent 35%),
    linear-gradient(160deg, #1a0a30 0%, #2e1065 40%, #1e0f3a 100%);
}

.course-card-image--hr {
  background:
    radial-gradient(ellipse 55% 70% at 65% 40%, rgba(245, 158, 11, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 25% 50%, rgba(217, 119, 6, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 50% 85%, rgba(251, 191, 36, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(252, 211, 77, 0.4) 0%, transparent 35%),
    linear-gradient(160deg, #1c1007 0%, #2d1a08 40%, #261509 100%);
}

.course-card-image--sales {
  background:
    radial-gradient(ellipse 55% 75% at 35% 40%, rgba(6, 182, 212, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 78% 50%, rgba(8, 145, 178, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 55% 85%, rgba(34, 211, 238, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 20% 75%, rgba(103, 232, 249, 0.4) 0%, transparent 35%),
    linear-gradient(160deg, #041c22 0%, #0a2e38 40%, #06242e 100%);
}

/* Card body wrapper */
.course-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-top {
  margin-bottom: 0.75rem;
}

.course-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.course-card-prefix {
  font-weight: 400;
  color: var(--text-muted);
}

.course-card-body p {
  font-size: 0.9375rem;
  flex-grow: 1;
}

/* Role tags */
.course-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  letter-spacing: 0.01em;
}

/* Stretched link: h3 > a covers entire card */
.course-card-link {
  color: inherit;
  text-decoration: none;
}

.course-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* Card footer */
.course-card-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Meta: steps + time with icons */
.course-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.meta-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.meta-sep {
  margin: 0 0.125rem;
  opacity: 0.5;
}

/* "Tell me more" hint — hidden by default, shown on card hover */
.course-card-hint {
  position: absolute;
  left: 0;
  top: calc(50% + 0.5rem);
  transform: translateY(-50%);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.course-card:hover .course-meta {
  opacity: 0;
}

.course-card:hover .course-card-hint {
  opacity: 1;
}

/* "Let's do it!" pill — sits above stretched link */
.course-card-start {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.course-card-start:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
  color: white;
}

/* Section footer with count + CTA */
.section-footer {
  text-align: center;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.courses-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: inline-block;
}

/* Sticky tabs navigation (courses page) */
.courses-tabs-sticky {
  position: sticky;
  top: 64px;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 10;
  padding: 0.75rem 0;
}

.courses-tabs {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.courses-tab {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.courses-tab:hover {
  color: var(--primary);
}

/* Popular badge on course cards */
.course-card--popular {
  position: relative;
  border-color: var(--primary);
  background: linear-gradient(135deg, rgb(99 102 241 / 0.02) 0%, rgb(168 85 247 / 0.02) 100%);
}

.course-popular-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: white;
  background: var(--primary);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 2;
}

/* Branch badges */
.branch-badge {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.625rem;
}

.branch-badge--foundations {
  background: rgb(37 99 235 / 0.1);
  color: var(--branch-foundations);
}

.branch-badge--marketing {
  background: rgb(236 72 153 / 0.1);
  color: var(--branch-marketing);
}

.branch-badge--building {
  background: rgb(139 92 246 / 0.1);
  color: var(--branch-building);
}

.branch-badge--productivity {
  background: rgb(245 158 11 / 0.1);
  color: var(--branch-productivity);
}

.branch-badge--analytics {
  background: rgb(6 182 212 / 0.1);
  color: var(--branch-analytics);
}

.branch-badge--content {
  background: rgb(244 63 94 / 0.1);
  color: var(--branch-content);
}

/* ====================================
   CARD ILLUSTRATIONS
   ==================================== */

.card-illust {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.illust-obj {
  position: absolute;
  transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .course-card:hover .illust-obj {
    transform: var(--hover-transform);
  }
}

/* --- Foundation (Prompts) --- */
.illust-chat {
  width: 52px;
  height: 38px;
  right: 12%;
  top: 16%;
  background: rgba(99, 102, 241, 0.5);
  border-radius: 12px 12px 12px 3px;
  border: 1.5px solid rgba(165, 180, 252, 0.35);
  transform: rotate(-8deg);
  filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.5));
  --hover-transform: rotate(-8deg) translateY(-4px) scale(1.05);
}
.illust-chat::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(199, 210, 254, 0.5);
  box-shadow: 0 7px 0 rgba(199, 210, 254, 0.35);
}
.illust-chat-sm {
  width: 36px;
  height: 26px;
  left: 18%;
  bottom: 18%;
  background: rgba(59, 130, 246, 0.4);
  border-radius: 10px 10px 3px 10px;
  border: 1.5px solid rgba(147, 197, 253, 0.3);
  transform: rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.35));
  --hover-transform: rotate(5deg) translateY(-3px);
}
.illust-chat-sm::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: rgba(191, 219, 254, 0.4);
}
.illust-sparkle {
  width: 28px;
  height: 28px;
  left: 45%;
  top: 10%;
  color: rgba(199, 210, 254, 0.6);
  transform: rotate(15deg);
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
  --hover-transform: rotate(15deg) scale(1.15);
}
.illust-cursor {
  width: 2px;
  height: 28px;
  left: 8%;
  top: 24%;
  background: rgba(165, 180, 252, 0.7);
  border-radius: 1px;
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
  --hover-transform: scaleY(1.1);
}
.illust-key {
  width: 26px;
  height: 26px;
  right: 28%;
  bottom: 16%;
  background: rgba(49, 46, 129, 0.6);
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(165, 180, 252, 0.6);
  transform: rotate(-3deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
  --hover-transform: rotate(-3deg) translateY(-2px);
}
.illust-key-2 {
  width: 22px;
  height: 22px;
  left: 35%;
  bottom: 25%;
  background: rgba(49, 46, 129, 0.45);
  border: 1.5px solid rgba(99, 102, 241, 0.25);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(165, 180, 252, 0.45);
  transform: rotate(8deg);
  --hover-transform: rotate(8deg) translateY(-2px);
}
.illust-fdot--1 {
  width: 6px; height: 6px;
  right: 8%; top: 55%;
  color: rgba(165, 180, 252, 0.35);
  --hover-transform: translateY(-2px);
}
.illust-fdot--2 {
  width: 5px; height: 5px;
  left: 55%; bottom: 10%;
  color: rgba(99, 102, 241, 0.3);
  --hover-transform: translateX(2px);
}

/* --- Marketing (Content Plan, Reels) --- */
.illust-calendar {
  width: 52px;
  height: 48px;
  right: 12%;
  top: 14%;
  background: rgba(157, 23, 77, 0.5);
  border: 1.5px solid rgba(244, 114, 182, 0.3);
  border-radius: 8px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.45));
  --hover-transform: rotate(-6deg) translateY(-4px) scale(1.05);
}
.illust-calendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(236, 72, 153, 0.5);
  border-radius: 6px 6px 0 0;
}
.illust-cal-grid {
  position: absolute;
  bottom: 5px;
  left: 6px;
  display: grid;
  grid-template-columns: repeat(4, 6px);
  gap: 3px;
}
.illust-cal-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(249, 168, 212, 0.35);
}
.illust-cal-dot--active {
  background: rgba(236, 72, 153, 0.7);
}
.illust-megaphone {
  width: 40px;
  height: 40px;
  left: 8%;
  top: 18%;
  color: rgba(249, 168, 212, 0.6);
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.4));
  --hover-transform: rotate(-10deg) translateY(-3px);
}
.illust-play {
  width: 30px;
  height: 30px;
  left: 38%;
  bottom: 14%;
  background: rgba(190, 24, 93, 0.45);
  border: 1.5px solid rgba(236, 72, 153, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 10px rgba(236, 72, 153, 0.3));
  --hover-transform: scale(1.1);
}
.illust-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent rgba(249, 168, 212, 0.6);
  margin-left: 2px;
}
.illust-hashtag {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(244, 114, 182, 0.4);
  right: 30%;
  bottom: 20%;
  transform: rotate(12deg);
  filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.2));
  --hover-transform: rotate(12deg) translateY(-2px);
}
.illust-heart {
  width: 18px;
  height: 18px;
  left: 30%;
  top: 12%;
  color: rgba(251, 113, 133, 0.45);
  --hover-transform: scale(1.15);
}
.illust-mdot--1 {
  width: 6px; height: 6px;
  left: 55%; top: 8%;
  color: rgba(244, 114, 182, 0.35);
  --hover-transform: translateY(-2px);
}
.illust-mdot--2 {
  width: 7px; height: 7px;
  right: 6%; bottom: 30%;
  color: rgba(236, 72, 153, 0.25);
  --hover-transform: translateX(-2px);
}

/* --- Building (Telegram Bot, Landing Page, etc.) --- */
.illust-telegram {
  width: 56px;
  height: 56px;
  right: 15%;
  top: 18%;
  color: #c4b5fd;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.6));
  --hover-transform: rotate(-12deg) translateY(-4px) scale(1.05);
}
.illust-code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(192, 132, 252, 0.55);
  left: 8%;
  top: 22%;
  transform: rotate(-6deg);
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
  --hover-transform: rotate(-6deg) translateY(-3px);
}
.illust-gear {
  width: 36px;
  height: 36px;
  left: 18%;
  bottom: 12%;
  color: rgba(167, 139, 250, 0.45);
  transform: rotate(0deg);
  --hover-transform: rotate(45deg);
}
.illust-terminal {
  width: 72px;
  height: 44px;
  right: 8%;
  bottom: 14%;
  background: rgba(30, 15, 58, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 6px;
  padding: 6px 8px;
  transform: rotate(4deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  --hover-transform: rotate(4deg) translateY(-3px);
}
.illust-terminal::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 4px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.5) 60%, transparent 60%);
}
.illust-terminal::after {
  content: '';
  display: block;
  width: 70%;
  height: 3px;
  margin-bottom: 3px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.35) 45%, transparent 45%);
}
.illust-terminal-line {
  display: block;
  width: 55%;
  height: 3px;
  border-radius: 1px;
  background: rgba(139, 92, 246, 0.3);
}
.illust-bot {
  width: 34px;
  height: 30px;
  left: 48%;
  top: 12%;
  background: rgba(124, 58, 237, 0.5);
  border-radius: 8px 8px 6px 6px;
  border: 1.5px solid rgba(167, 139, 250, 0.4);
  transform: rotate(6deg);
  filter: drop-shadow(0 3px 10px rgba(124, 58, 237, 0.3));
  --hover-transform: rotate(6deg) translateY(-3px);
}
.illust-bot::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 14px 0 0 #c4b5fd;
}
.illust-bot::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50% 50% 0 0;
  border: 1.5px solid rgba(167, 139, 250, 0.5);
  border-bottom: none;
  background: transparent;
}
.illust-dot {
  border-radius: 50%;
  background: currentColor;
  filter: blur(1px);
}
.illust-dot--1 {
  width: 6px; height: 6px;
  left: 42%; bottom: 20%;
  color: rgba(192, 132, 252, 0.4);
  --hover-transform: translateY(-2px);
}
.illust-dot--2 {
  width: 4px; height: 4px;
  right: 38%; top: 10%;
  color: rgba(167, 139, 250, 0.3);
  --hover-transform: translateY(-2px);
}
.illust-dot--3 {
  width: 8px; height: 8px;
  left: 5%; bottom: 30%;
  color: rgba(139, 92, 246, 0.25);
  --hover-transform: translateX(2px);
}

/* --- HR (Hiring Package) --- */
.illust-resume {
  width: 44px;
  height: 54px;
  right: 14%;
  top: 10%;
  background: rgba(120, 53, 15, 0.5);
  border: 1.5px solid rgba(251, 191, 36, 0.3);
  border-radius: 6px;
  padding: 8px 6px;
  transform: rotate(5deg);
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.4));
  --hover-transform: rotate(5deg) translateY(-4px) scale(1.05);
}
.illust-resume-line {
  display: block;
  height: 2.5px;
  border-radius: 1px;
  margin-bottom: 4px;
}
.illust-resume-line--1 { width: 60%; background: rgba(252, 211, 77, 0.5); }
.illust-resume-line--2 { width: 85%; background: rgba(251, 191, 36, 0.35); }
.illust-resume-line--3 { width: 75%; background: rgba(251, 191, 36, 0.3); }
.illust-resume-line--4 { width: 50%; background: rgba(251, 191, 36, 0.25); margin-top: 6px; }
.illust-resume-photo {
  position: absolute;
  top: 7px;
  right: 5px;
  width: 12px;
  height: 14px;
  border-radius: 3px;
  background: rgba(217, 119, 6, 0.4);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.illust-person {
  width: 32px;
  height: 32px;
  left: 10%;
  top: 20%;
  color: rgba(252, 211, 77, 0.5);
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
  --hover-transform: rotate(-5deg) translateY(-3px);
}
.illust-briefcase {
  width: 34px;
  height: 34px;
  left: 32%;
  bottom: 12%;
  color: rgba(251, 191, 36, 0.45);
  transform: rotate(-8deg);
  filter: drop-shadow(0 3px 10px rgba(245, 158, 11, 0.3));
  --hover-transform: rotate(-8deg) translateY(-3px);
}
.illust-checkbadge {
  width: 28px;
  height: 28px;
  right: 30%;
  bottom: 18%;
  background: rgba(217, 119, 6, 0.45);
  border-radius: 50%;
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
  --hover-transform: scale(1.1);
}
.illust-checkbadge::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid rgba(252, 211, 77, 0.7);
  border-bottom: 2px solid rgba(252, 211, 77, 0.7);
  transform: rotate(-45deg);
  margin-top: -2px;
}
.illust-hdot--1 {
  width: 6px; height: 6px;
  left: 50%; top: 8%;
  color: rgba(251, 191, 36, 0.3);
  --hover-transform: translateY(-2px);
}
.illust-hdot--2 {
  width: 5px; height: 5px;
  right: 8%; bottom: 45%;
  color: rgba(245, 158, 11, 0.25);
  --hover-transform: translateX(-2px);
}

/* --- Sales (Call Prep) --- */
.illust-phone {
  width: 40px;
  height: 40px;
  right: 14%;
  top: 14%;
  color: rgba(103, 232, 249, 0.6);
  transform: rotate(-15deg);
  filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.5));
  --hover-transform: rotate(-15deg) translateY(-4px) scale(1.05);
}
.illust-chart {
  position: absolute;
  left: 8%;
  top: 16%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.3));
  --hover-transform: rotate(-3deg) translateY(-3px);
}
.illust-bar {
  width: 8px;
  border-radius: 3px 3px 1px 1px;
  background: rgba(6, 182, 212, 0.4);
}
.illust-bar--1 { height: 14px; }
.illust-bar--2 { height: 22px; background: rgba(34, 211, 238, 0.45); }
.illust-bar--3 { height: 32px; background: rgba(6, 182, 212, 0.55); }
.illust-bar--4 { height: 42px; background: rgba(34, 211, 238, 0.6); border: 1px solid rgba(103, 232, 249, 0.3); }
.illust-target {
  width: 36px;
  height: 36px;
  left: 42%;
  bottom: 12%;
  border: 2px solid rgba(6, 182, 212, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.25));
  --hover-transform: scale(1.08);
}
.illust-target::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid rgba(34, 211, 238, 0.35);
  border-radius: 50%;
}
.illust-target::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(6, 182, 212, 0.6);
  border-radius: 50%;
}
.illust-handshake {
  width: 36px;
  height: 36px;
  right: 8%;
  bottom: 16%;
  color: rgba(103, 232, 249, 0.4);
  transform: rotate(5deg);
  filter: drop-shadow(0 3px 8px rgba(6, 182, 212, 0.25));
  --hover-transform: rotate(5deg) translateY(-3px);
}
.illust-trending {
  width: 28px;
  height: 28px;
  left: 35%;
  top: 10%;
  color: rgba(34, 211, 238, 0.45);
  transform: rotate(-5deg);
  --hover-transform: rotate(-5deg) translateY(-2px);
}
.illust-sdot--1 {
  width: 6px; height: 6px;
  right: 35%; top: 8%;
  color: rgba(103, 232, 249, 0.3);
  --hover-transform: translateY(-2px);
}
.illust-sdot--2 {
  width: 5px; height: 5px;
  left: 6%; bottom: 20%;
  color: rgba(6, 182, 212, 0.25);
  --hover-transform: translateX(2px);
}

/* --- Presentation (Foundation branch) --- */
.illust-pres-slide {
  width: 92px;
  height: 58px;
  right: 8%;
  top: 12%;
  background: rgba(49, 46, 129, 0.55);
  border: 1.5px solid rgba(165, 180, 252, 0.35);
  border-radius: 6px;
  padding: 10px 10px 8px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.5));
  --hover-transform: rotate(-6deg) translateY(-4px) scale(1.04);
  overflow: hidden;
}
.illust-pres-line {
  display: block;
  height: 3px;
  border-radius: 1.5px;
  margin-bottom: 4px;
}
.illust-pres-line--1 { width: 55%; background: rgba(199, 210, 254, 0.7); }
.illust-pres-line--2 { width: 80%; background: rgba(165, 180, 252, 0.4); }
.illust-pres-line--3 { width: 68%; background: rgba(165, 180, 252, 0.3); }
.illust-pres-minibars {
  position: absolute;
  bottom: 8px;
  right: 9px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}
.illust-pres-mb {
  width: 6px;
  border-radius: 2px 2px 1px 1px;
}
.illust-pres-mb--1 { height: 10px; background: rgba(99, 102, 241, 0.45); }
.illust-pres-mb--2 { height: 16px; background: rgba(99, 102, 241, 0.6); }
.illust-pres-mb--3 { height: 22px; background: rgba(165, 180, 252, 0.65); border: 1px solid rgba(199, 210, 254, 0.3); }
.illust-pres-ptr {
  width: 24px;
  height: 24px;
  left: 8%;
  top: 22%;
  color: rgba(199, 210, 254, 0.65);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.45));
  --hover-transform: translateX(6px);
}
.illust-prdot--1 {
  width: 6px; height: 6px;
  left: 35%; bottom: 16%;
  color: rgba(165, 180, 252, 0.35);
  --hover-transform: translateY(-2px);
}
.illust-prdot--2 {
  width: 5px; height: 5px;
  left: 12%; bottom: 10%;
  color: rgba(99, 102, 241, 0.3);
  --hover-transform: translateX(2px);
}

/* --- Reels (Marketing branch) --- */
.illust-reel-phone {
  width: 38px;
  height: 64px;
  right: 16%;
  top: 12%;
  background: rgba(157, 23, 77, 0.5);
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  border-radius: 9px;
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 18px rgba(236, 72, 153, 0.55));
  --hover-transform: rotate(-5deg) translateY(-4px) scale(1.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.illust-reel-phone::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent rgba(249, 168, 212, 0.75);
  margin-left: 3px;
}
.illust-reel-strip {
  position: absolute;
  left: 8%;
  top: 14%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(5deg);
  filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.3));
  --hover-transform: rotate(5deg) translateY(-3px);
}
.illust-reel-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(236, 72, 153, 0.35);
  background: rgba(190, 24, 93, 0.3);
  display: block;
  position: relative;
}
.illust-reel-circle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(190, 24, 93, 0.5);
  border: 1.5px solid rgba(244, 114, 182, 0.3);
}
.illust-reel-circle--sm {
  width: 22px; height: 22px;
}
.illust-reel-likes {
  position: absolute;
  left: 44%;
  bottom: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  --hover-transform: translateY(-3px);
}
.illust-reel-heart-icon {
  width: 20px; height: 20px;
  color: rgba(251, 113, 133, 0.65);
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.4));
}
.illust-reel-count {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(244, 114, 182, 0.55);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.illust-rldot--1 {
  width: 6px; height: 6px;
  right: 8%; bottom: 28%;
  color: rgba(244, 114, 182, 0.35);
  --hover-transform: translateY(-2px);
}
.illust-rldot--2 {
  width: 5px; height: 5px;
  left: 60%; top: 8%;
  color: rgba(236, 72, 153, 0.25);
  --hover-transform: translateX(-2px);
}

/* --- Landing Page (Building branch) --- */
.illust-browser {
  width: 96px;
  height: 68px;
  right: 6%;
  top: 10%;
  background: rgba(20, 10, 48, 0.7);
  border: 1.5px solid rgba(167, 139, 250, 0.35);
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.5));
  --hover-transform: rotate(-5deg) translateY(-4px) scale(1.04);
}
.illust-browser-bar {
  height: 16px;
  background: rgba(124, 58, 237, 0.4);
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
}
.illust-browser-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.illust-browser-dot--r { background: rgba(244, 63, 94, 0.55); }
.illust-browser-dot--y { background: rgba(251, 191, 36, 0.45); }
.illust-browser-dot--g { background: rgba(52, 211, 153, 0.45); }
.illust-browser-url {
  flex: 1;
  height: 5px;
  border-radius: 2px;
  background: rgba(167, 139, 250, 0.2);
  margin-left: 4px;
}
.illust-browser-body {
  padding: 7px 8px 6px;
}
.illust-browser-hero {
  height: 22px;
  border-radius: 3px;
  background: rgba(124, 58, 237, 0.35);
  margin-bottom: 5px;
}
.illust-browser-cta {
  width: 38px; height: 10px;
  border-radius: 3px;
  background: rgba(192, 132, 252, 0.45);
}
.illust-lp-cursor {
  width: 20px;
  height: 20px;
  left: 26%;
  top: 30%;
  color: rgba(216, 180, 254, 0.75);
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5));
  --hover-transform: translate(8px, 6px);
}
.illust-lpdot--1 {
  width: 6px; height: 6px;
  left: 8%; bottom: 18%;
  color: rgba(192, 132, 252, 0.35);
  --hover-transform: translateY(-2px);
}
.illust-lpdot--2 {
  width: 5px; height: 5px;
  left: 16%; top: 12%;
  color: rgba(139, 92, 246, 0.3);
  --hover-transform: translateX(2px);
}

/* --- Pitch Deck (Building branch) --- */
.illust-pitch-back2 {
  width: 68px; height: 44px;
  right: 20%; top: 28%;
  background: rgba(76, 29, 149, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 4px;
  transform: rotate(-12deg);
  --hover-transform: rotate(-13deg);
}
.illust-pitch-back1 {
  width: 68px; height: 44px;
  right: 16%; top: 22%;
  background: rgba(109, 40, 217, 0.28);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 4px;
  transform: rotate(-7deg);
  --hover-transform: rotate(-8deg) translateY(-1px);
}
.illust-pitch-front {
  width: 68px; height: 44px;
  right: 12%; top: 16%;
  background: rgba(124, 58, 237, 0.5);
  border: 1.5px solid rgba(192, 132, 252, 0.4);
  border-radius: 4px;
  padding: 8px 8px 6px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.5));
  --hover-transform: rotate(-3deg) translateY(-5px) scale(1.06);
  overflow: hidden;
}
.illust-pitch-title {
  display: block;
  width: 58%;
  height: 4px;
  border-radius: 2px;
  background: rgba(216, 180, 254, 0.75);
  margin-bottom: 5px;
}
.illust-pitch-sub {
  display: block;
  width: 78%;
  height: 3px;
  border-radius: 1.5px;
  background: rgba(192, 132, 252, 0.35);
}
.illust-pitch-chart {
  position: absolute;
  left: 8%;
  bottom: 10%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  transform: rotate(2deg);
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
  --hover-transform: rotate(2deg) translateY(-4px);
}
.illust-pitch-bar {
  width: 9px;
  border-radius: 3px 3px 1px 1px;
}
.illust-pitch-bar--1 { height: 14px; background: rgba(109, 40, 217, 0.45); }
.illust-pitch-bar--2 { height: 26px; background: rgba(124, 58, 237, 0.55); }
.illust-pitch-bar--3 { height: 38px; background: rgba(139, 92, 246, 0.6); }
.illust-pitch-bar--4 { height: 52px; background: rgba(167, 139, 250, 0.7); border: 1px solid rgba(216, 180, 254, 0.3); }
.illust-pitch-star {
  width: 22px; height: 22px;
  left: 44%; top: 10%;
  color: rgba(216, 180, 254, 0.55);
  transform: rotate(15deg);
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.4));
  --hover-transform: rotate(15deg) scale(1.2);
}
.illust-pitdot--1 {
  width: 6px; height: 6px;
  right: 8%; bottom: 28%;
  color: rgba(192, 132, 252, 0.3);
  --hover-transform: translateY(-2px);
}
.illust-pitdot--2 {
  width: 5px; height: 5px;
  left: 50%; bottom: 8%;
  color: rgba(139, 92, 246, 0.25);
  --hover-transform: translateX(2px);
}

/* ====================================
   HOW IT WORKS — STEPS
   ==================================== */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  border-top: 2px dashed var(--border-hover);
  margin-top: 24px;
  flex-shrink: 0;
}

/* Horizontal timeline layout (De-AI Phase 2) */
.steps--horizontal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: step-counter;
}

.steps--horizontal .step {
  counter-increment: step-counter;
  padding: 0;
}

.steps--horizontal .step::before {
  content: counter(step-counter);
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.steps--horizontal::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(to right, var(--primary) 0%, var(--accent) 100%);
  z-index: -1;
}

/* ====================================
   SKILL TREE
   ==================================== */

.skill-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
}

.skill-tree-core {
  position: relative;
  z-index: 1;
}

/* Vertical trunk: Foundation → horizontal bar */
.skill-tree-trunk {
  width: 1px;
  height: 40px;
  background: var(--border-hover);
  margin: 0 auto;
}

/* Wrapper holds the horizontal line + branch columns */
.skill-tree-branches-wrapper {
  position: relative;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

/* Horizontal connector spanning from 1st branch center to last */
.skill-tree-hline {
  position: absolute;
  top: 0;
  left: calc(12.5% - 0.625rem);
  right: calc(12.5% - 0.625rem);
  height: 1px;
  background: var(--border);
}

/* Grid for 4 branches */
.skill-tree-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

/* Single branch: vertical line + node */
.skill-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Colored vertical drop from horizontal bar to node */
.skill-branch-line {
  width: 1px;
  height: 32px;
  flex-shrink: 0;
}

.skill-branch-line--marketing { background: rgb(236 72 153 / 0.3); }
.skill-branch-line--building { background: rgb(139 92 246 / 0.3); }
.skill-branch-line--productivity { background: rgb(245 158 11 / 0.3); }
.skill-branch-line--analytics { background: rgb(6 182 212 / 0.3); }
.skill-branch-line--content { background: rgb(244 63 94 / 0.3); }

/* ---- Nodes ---- */
.skill-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1.125rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 170px;
  text-align: center;
}

.skill-node:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

/* Foundation — hero node, slightly larger */
.skill-node--core {
  border-color: var(--primary-light);
  background: var(--bg);
  box-shadow: var(--shadow), 0 0 0 3px var(--primary-lighter);
  padding: 1.5rem 2.25rem;
  max-width: 200px;
}

.skill-node--core:hover {
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--primary-light);
}

/* Branch-colored subtle borders */
.skill-node--marketing { border-color: rgb(236 72 153 / 0.3); }
.skill-node--building { border-color: rgb(139 92 246 / 0.3); }
.skill-node--productivity { border-color: rgb(245 158 11 / 0.3); }
.skill-node--analytics { border-color: rgb(6 182 212 / 0.3); }
.skill-node--content { border-color: rgb(244 63 94 / 0.3); }

/* On hover, intensify the branch color */
.skill-node--marketing:hover { border-color: var(--branch-marketing); }
.skill-node--building:hover { border-color: var(--branch-building); }
.skill-node--productivity:hover { border-color: var(--branch-productivity); }
.skill-node--analytics:hover { border-color: var(--branch-analytics); }
.skill-node--content:hover { border-color: var(--branch-content); }

.skill-node-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.125rem;
}

.skill-node-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
}

.skill-node-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---- Skill tree: tablet ---- */
@media (max-width: 768px) {
  .skill-tree-branches-wrapper {
    max-width: 100%;
  }

  .skill-tree-hline {
    display: none;
  }

  .skill-tree-trunk {
    height: 24px;
  }

  .skill-tree-branches {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    justify-items: center;
  }

  .skill-branch-line {
    height: 20px;
  }

  .skill-node {
    padding: 1rem;
    max-width: 160px;
  }

  .skill-node--core {
    padding: 1.25rem 1.75rem;
    max-width: 190px;
  }

  .skill-node-name {
    font-size: 0.8125rem;
    white-space: normal;
  }
}

/* ---- Skill tree: small mobile ---- */
@media (max-width: 480px) {
  .skill-tree-branches {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .skill-node {
    max-width: 150px;
    padding: 0.875rem 0.75rem;
  }

  .skill-node-name {
    font-size: 0.75rem;
  }

  .skill-node-count {
    font-size: 0.6875rem;
  }
}

/* ====================================
   PATH LEVELS (progression)
   ==================================== */

.path-levels {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.path-level {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.path-level:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.path-level--active {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.path-level-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.path-level-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.path-level-info {
  flex: 1;
}

.path-level-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.path-level-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.path-level-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Example tasks as pills */
.path-level-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.path-example {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--primary-lighter);
  border: 1px solid var(--primary-light);
}

/* Role tags row */
.path-level-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

/* The connector between levels */
.path-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0 auto;
  position: relative;
}

/* ====================================
   PRICING CARDS
   ==================================== */

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  padding: 2.5rem 2rem;
}

.pricing-card--popular {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-primary);
  transform: scale(1.03);
}

.pricing-card--popular:hover {
  transform: scale(1.05);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 600;
}

.pricing-btn {
  width: 100%;
  margin-top: auto;
}

.pricing-urgency {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--highlight);
  margin-top: 2rem;
  max-width: none;
}

/* ====================================
   FAQ ACCORDION
   ==================================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ====================================
   PRICING PAGE — COMPARISON TABLE
   ==================================== */

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.875rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-secondary);
}

.comparison-table th.popular-col {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tbody tr:hover {
  background: var(--bg-secondary);
}

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.cross {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ====================================
   ABOUT PAGE
   ==================================== */

.about-story {
  max-width: 680px;
  margin: 0 auto;
}

.about-story p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* Alternating blocks layout (De-AI Phase 2) */
.approach-alternating {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.approach-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.approach-block--reverse {
  grid-template-columns: 1fr 120px;
}

.approach-block--reverse .approach-block-icon {
  order: 2;
}

.approach-block--reverse .approach-block-content {
  order: 1;
  text-align: right;
}

.approach-block-icon {
  display: flex;
  justify-content: center;
}

.approach-block-content h3 {
  margin-bottom: 0.75rem;
}

.approach-block-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Old approach-cards (keep for backwards compat if needed elsewhere) */
.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.approach-card {
  text-align: center;
}

.approach-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.approach-card h3 {
  margin-bottom: 0.5rem;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-info h3 {
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ====================================
   LEGAL PAGES
   ==================================== */

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ====================================
   404 PAGE
   ==================================== */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  letter-spacing: -0.04em;
}

.error-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ====================================
   COURSE PAGE — Russian (lang="ru")
   Scoped to [lang="ru"] to avoid overriding
   EN course pages which use inline <style>.
   ==================================== */

/* Breadcrumb */
[lang="ru"] .breadcrumb {
  padding: 1rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

[lang="ru"] .breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

[lang="ru"] .breadcrumb li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--border-hover);
}

[lang="ru"] .breadcrumb li:first-child::before {
  display: none;
}

[lang="ru"] .breadcrumb a {
  color: var(--text-secondary);
}

[lang="ru"] .breadcrumb a:hover {
  color: var(--primary);
}

[lang="ru"] .breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* Course Hero */
[lang="ru"] .course-hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 6rem 2rem 4rem;
  text-align: center;
}

[lang="ru"] .course-hero p {
  color: rgb(248 250 252 / 0.7);
  margin: 1rem auto 0;
}

[lang="ru"] .course-hero .badge-hero {
  margin-bottom: 1rem;
}

[lang="ru"] .course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgb(248 250 252 / 0.6);
}

[lang="ru"] .course-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

[lang="ru"] .course-hero-meta svg,
[lang="ru"] .course-hero-meta i {
  opacity: 0.7;
}

[lang="ru"] .course-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Before / After comparison */
[lang="ru"] .before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

[lang="ru"] .before-after-col {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

[lang="ru"] .before-after-col h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

[lang="ru"] .before-after-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[lang="ru"] .before-after-col li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

[lang="ru"] .before-after-col li::before {
  position: absolute;
  left: 0;
  top: 0;
}

[lang="ru"] .before-after-col--before {
  border-color: rgb(239 68 68 / 0.2);
  background: rgb(254 242 242 / 0.5);
}

[lang="ru"] .before-after-col--before h3 {
  color: var(--danger);
}

[lang="ru"] .before-after-col--before li::before {
  content: '✕';
  color: var(--danger);
  font-weight: 700;
}

[lang="ru"] .before-after-col--after {
  border-color: rgb(16 185 129 / 0.2);
  background: rgb(236 253 245 / 0.5);
}

[lang="ru"] .before-after-col--after h3 {
  color: var(--success);
}

[lang="ru"] .before-after-col--after li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* Steps Timeline */
[lang="ru"] .course-steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

[lang="ru"] .course-step-group {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

[lang="ru"] .course-step-group h3 {
  margin-bottom: 0.5rem;
}

[lang="ru"] .course-step-group p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

[lang="ru"] .course-step-group-marker {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

[lang="ru"] .step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Audience grid */
[lang="ru"] .audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

[lang="ru"] .audience-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

[lang="ru"] .audience-card .icon-box {
  margin: 0 auto 1rem;
}

[lang="ru"] .audience-card h3 {
  margin-bottom: 0.5rem;
}

[lang="ru"] .audience-card p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

/* Course quote / testimonial */
[lang="ru"] .course-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

[lang="ru"] .course-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  position: relative;
  padding: 0 2rem;
}

[lang="ru"] .course-quote blockquote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: var(--font-heading);
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
}

[lang="ru"] .course-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ====================================
   UTILITIES
   ==================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Scroll Reveal (De-AI Phase 2.5) ---- */
@media (prefers-reduced-motion: no-preference) {
  /* Base reveal - just triggers visibility, children do the animation */
  .reveal {
    opacity: 1;
  }

  /* Section headers - subtle reveal */
  .reveal.section-header {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .reveal.section-header.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Cards inside reveals - stagger animation */
  .reveal .card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }

  .reveal.visible .card {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger delays for card grids */
  .reveal.visible .card:nth-child(1) { transition-delay: 0s; }
  .reveal.visible .card:nth-child(2) { transition-delay: 0.08s; }
  .reveal.visible .card:nth-child(3) { transition-delay: 0.16s; }
  .reveal.visible .card:nth-child(4) { transition-delay: 0.24s; }
  .reveal.visible .card:nth-child(5) { transition-delay: 0.32s; }
  .reveal.visible .card:nth-child(6) { transition-delay: 0.4s; }
  .reveal.visible .card:nth-child(7) { transition-delay: 0.48s; }
  .reveal.visible .card:nth-child(8) { transition-delay: 0.56s; }
  .reveal.visible .card:nth-child(9) { transition-delay: 0.64s; }

  /* Steps - alternate from sides */
  .reveal.steps--horizontal .step {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .reveal.steps--horizontal .step:nth-child(odd) {
    transform: translateX(-16px);
  }

  .reveal.steps--horizontal .step:nth-child(even) {
    transform: translateX(16px);
  }

  .reveal.steps--horizontal.visible .step {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal.steps--horizontal.visible .step:nth-child(1) { transition-delay: 0s; }
  .reveal.steps--horizontal.visible .step:nth-child(2) { transition-delay: 0.1s; }
  .reveal.steps--horizontal.visible .step:nth-child(3) { transition-delay: 0.2s; }

  /* Stats bar - fade only, no movement */
  .reveal.stats-bar {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
  }

  .reveal.stats-bar.visible {
    opacity: 1;
  }

  /* FAQ items - fade only */
  .reveal .faq-item {
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
  }

  .reveal.visible .faq-item {
    opacity: 1;
  }

  .reveal.visible .faq-item:nth-child(1) { transition-delay: 0s; }
  .reveal.visible .faq-item:nth-child(2) { transition-delay: 0.08s; }
  .reveal.visible .faq-item:nth-child(3) { transition-delay: 0.16s; }
  .reveal.visible .faq-item:nth-child(4) { transition-delay: 0.24s; }
  .reveal.visible .faq-item:nth-child(5) { transition-delay: 0.32s; }
  .reveal.visible .faq-item:nth-child(6) { transition-delay: 0.4s; }

  /* Generic reveals (text blocks, section-footer, etc) */
  .reveal:not(.section-header):not(.steps--horizontal):not(.stats-bar):not(:has(.card)):not(:has(.faq-item)) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .reveal:not(.section-header):not(.steps--horizontal):not(.stats-bar):not(:has(.card)):not(:has(.faq-item)).visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================
   WHY BLOCKS (How It Works page)
   ==================================== */

.why-block {
  margin-bottom: 2rem;
}

.why-block:last-child {
  margin-bottom: 0;
}

.why-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.why-block p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ====================================
   WAITLIST SUCCESS STATE
   ==================================== */

.hidden {
  display: none !important;
}

.footer-cta-success {
  padding: 3rem 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-cta-success h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-cta-success p {
  color: rgb(255 255 255 / 0.6);
  margin-bottom: 0;
}

.success-share {
  margin-top: 2rem;
}

.success-share-label {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.5);
  margin-bottom: 0.75rem !important;
}

.success-share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgb(255 255 255 / 0.15);
  color: rgb(255 255 255 / 0.8);
  background: rgb(255 255 255 / 0.05);
}

.btn-share:hover {
  background: rgb(255 255 255 / 0.12);
  color: white;
  border-color: rgb(255 255 255 / 0.25);
}

/* Urgency line in footer */
.footer-cta .urgency-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* De-AI Phase 2 responsive */
  .grid-featured-layout > .solution-card--featured {
    grid-column: span 2;
  }

  .grid-course-featured > .course-card--featured {
    grid-column: span 2;
  }

  .steps--horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steps--horizontal .step:last-child {
    grid-column: span 2;
  }

  .steps--horizontal::after {
    display: none;
  }

  [lang="ru"] .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .section { padding: 4rem 1.25rem; }
  .section--compact { padding: 3rem 1.25rem; }
  .container { padding: 0 1.25rem; }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2x2,
  .grid-featured-layout,
  .grid-course-featured {
    grid-template-columns: 1fr;
  }

  .grid-featured-layout > .solution-card--featured,
  .grid-course-featured > .course-card--featured {
    grid-column: span 1;
  }

  .steps--horizontal {
    grid-template-columns: 1fr;
  }

  .steps--horizontal .step:last-child {
    grid-column: span 1;
  }

  /* Nav mobile */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero mobile */
  .hero {
    padding: 6rem 1.25rem 4rem;
  }

  .hero-title-rotator {
    height: 2.5em;
  }

  .waitlist-form-inner {
    flex-direction: column;
    max-width: 100%;
  }

  .waitlist-btn {
    width: 100%;
  }

  /* Stats bar mobile */
  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  /* Steps mobile */
  .steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step {
    padding: 0;
  }

  .step-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    border-top: none;
    border-left: 2px dashed var(--border-hover);
  }

  /* Path levels mobile */
  .path-level {
    padding: 1.5rem;
  }

  .path-level-header {
    flex-wrap: wrap;
  }

  .path-level-count {
    margin-left: auto;
  }

  /* Pricing mobile */
  .pricing-card--popular {
    transform: none;
  }

  .pricing-card--popular:hover {
    transform: scale(1.02);
  }

  /* About mobile */
  .approach-cards {
    grid-template-columns: 1fr;
  }

  .approach-alternating {
    gap: 2rem;
  }

  .approach-block,
  .approach-block--reverse {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .approach-block--reverse .approach-block-icon {
    order: 1;
  }

  .approach-block--reverse .approach-block-content {
    order: 2;
    text-align: center;
  }

  .approach-block-icon {
    justify-content: center;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  /* Footer mobile */
  .footer-cta h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Course page mobile (RU) */
  [lang="ru"] .course-hero {
    padding: 5rem 1.25rem 3rem;
  }

  [lang="ru"] .course-hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  [lang="ru"] .before-after {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  [lang="ru"] .course-steps-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  [lang="ru"] .audience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  [lang="ru"] .course-quote blockquote {
    font-size: 1.125rem;
    padding: 0 1rem;
  }

  [lang="ru"] .course-quote blockquote::before {
    font-size: 3rem;
    left: -0.25rem;
  }

  /* Error page mobile */
  .error-code {
    font-size: 5rem;
  }
}
