/* ============================================================
   Data & AI Pros — shared stylesheet
   Design tokens derived from the DEFB 2026 slide deck palette
   ============================================================ */

:root {
  /* Navy / ink */
  --navy-950: #141433;
  --navy-900: #161632;
  --navy-800: #1B2A4A;
  --navy-700: #1E1B4B;
  --navy: #1A183F;
  --ink: #14152B;

  /* Blue */
  --blue: #0A85F0;
  --blue-deep: #1B5FD9;

  /* Violet */
  --violet: #7C3AED;
  --violet-light: #9B6BFF;
  --violet-deep: #3B1D6E;

  /* Magenta */
  --magenta: #C026D3;
  --magenta-light: #E048E0;

  /* Cyan */
  --cyan: #35C4F5;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-100: #E7E9EF;
  --gray-200: #E4E7EF;
  --gray-300: #C9D4F0;
  --gray-500: #9AA0B4;
  --gray-700: #5A5A72;

  /* Gradients */
  --grad-brand: linear-gradient(115deg, var(--blue) 0%, var(--violet) 55%, var(--magenta) 100%);
  --grad-hero-bg: radial-gradient(120% 140% at 15% 0%, #1E1B4B 0%, #161632 45%, #0F0E24 100%);

  /* Type */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "SFMono-Regular", Menlo, monospace;

  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 60px -25px rgba(20, 21, 43, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(20, 21, 43, 0.18);

  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  /* letter-spacing: 0.14em; */
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
}
.eyebrow--light { color: var(--gray-300); }
.eyebrow--dark { color: var(--violet-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(124, 58, 237, 0.65); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--gray-300);
}
.btn-ghost-dark:hover { background: var(--gray-100); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* background: rgba(20, 21, 43, 0.96); */
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-300);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 900;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--white);
  text-shadow: 0 0 14px rgba(255,255,255,0.55);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile menu overlay — a sibling of .site-nav (not nested inside it) so its
   opaque background never interacts with the header's backdrop-filter/blur
   stacking context. */
.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary { padding: 11px 18px; font-size: 13.5px; }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--navy-950);
    padding: 32px 28px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-links { display: flex; flex-direction: column; gap: 24px; }
  .mobile-menu-links a { color: var(--white); font-size: 20px; font-weight: 700; }
  .mobile-menu-links a[aria-current="page"] { color: var(--cyan); }
  .mobile-menu .btn { margin-top: 32px; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-dark { background: var(--navy-900); color: var(--white); }
.section-tight { padding: 64px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--gray-700); font-size: 17px; margin-top: 14px; }
.section-dark .section-head p { color: var(--gray-300); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero-bg);
  color: var(--white);
  padding: 84px 0 110px;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin-top: 18px;
}
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--gray-300);
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 13.5px; color: var(--gray-500); font-family: var(--font-mono); }

.page-hero {
  background: var(--grad-hero-bg);
  color: var(--white);
  padding: 76px 0 88px;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 48px); }
.page-hero p { margin-top: 18px; color: var(--gray-300); font-size: 17px; max-width: 58ch; }

/* ---------- Pipeline signature visual ---------- */
.pipeline {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 520;
}
.pipeline svg { width: 100%; height: 100%; overflow: visible; }
.pipeline-node-bg { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.pipeline-node-dot { fill: var(--navy-900); }
.pipeline-label { font-family: var(--font-mono); font-size: 12px; fill: var(--gray-300); }
.pipeline-track-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pipeline-path {
  fill: none;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 2;
}
.pipeline-pulse {
  fill: none;
  stroke: url(#pulseGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 90 439;
  animation: pulseflow 7s linear infinite;
}
.pipeline-pulse-ai { stroke: url(#pulseGradAI); }
@keyframes pulseflow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -529; }
}
.pipeline-glow { animation: glowpulse 2.6s ease-in-out infinite; }
@keyframes glowpulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ---------- Audience / feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .card-grid { grid-template-columns: 1fr; } }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .card-grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 20px; margin-top: 16px; }
.card p { color: var(--gray-700); margin-top: 10px; font-size: 15px; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.icon-badge svg { width: 22px; height: 22px; }
.bg-blue { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.bg-violet { background: linear-gradient(135deg, var(--violet-light), var(--violet)); }
.bg-magenta { background: linear-gradient(135deg, var(--magenta-light), var(--magenta)); }
.bg-cyan { background: linear-gradient(135deg, #6FE0FF, var(--cyan)); }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
}
.pill-blue { background: rgba(10,133,240,0.1); color: var(--blue-deep); }
.pill-violet { background: rgba(124,58,237,0.1); color: var(--violet); }
.pill-magenta { background: rgba(192,38,211,0.1); color: var(--magenta); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Numbered badge — used only for genuinely sequential content */
.num-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: var(--grad-brand);
  flex-shrink: 0;
}

/* ---------- Callout ---------- */
.callout {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.6;
}
.callout strong { color: var(--cyan); }
.callout-light {
  background: var(--gray-100);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

/* ---------- Instructor teaser / bio ---------- */
.instructor-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 860px) { .instructor-block { grid-template-columns: 1fr; } }
.instructor-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/4.6;
  background: var(--navy-800);
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor-name { font-size: 15px; font-weight: 700; margin-top: 4px; }
.instructor-role { font-family: var(--font-mono); font-size: 13px; color: var(--gray-300); margin-top: 4px; }

.credibility-list { display: grid; gap: 16px; margin-top: 26px; }
.credibility-list li { display: flex; gap: 14px; align-items: flex-start; }
.credibility-list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand);
  margin-top: 8px; flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; }
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(440px, 88vw);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.testimonial-card p.quote { font-size: 16px; color: var(--ink); }
.testimonial-card .who { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--gray-700); }
.testimonial-nav { display: flex; gap: 10px; margin-top: 20px; }
.tnav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.tnav-btn:hover { background: var(--gray-100); }
.tnav-btn svg { width: 18px; height: 18px; }

/* ---------- Journey / rhythm steps ---------- */
.journey {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 8px 4px 18px;
}
.journey-step {
  flex: 1 0 150px;
  min-width: 150px;
  position: relative;
  padding: 0 14px;
  text-align: center;
}
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px; right: -22px;
  width: 44px; height: 2px;
  background: var(--gray-300);
}
.section-dark .journey-step:not(:last-child)::after { background: rgba(255,255,255,0.18); }
.journey-dot {
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  color: var(--white);
  background: var(--grad-brand);
  position: relative; z-index: 1;
}
.journey-step h4 { font-size: 14.5px; }
.journey-step p { font-size: 13px; color: var(--gray-700); margin-top: 6px; }
.section-dark .journey-step p { color: var(--gray-300); }

/* ---------- Weekly rhythm cards ---------- */
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .rhythm-grid { grid-template-columns: 1fr; } }
.rhythm-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--white);
}
.rhythm-card .pill { margin-bottom: 16px; }
.rhythm-card h4 { font-size: 17px; }
.rhythm-card p { font-size: 14.5px; color: var(--gray-700); margin-top: 8px; }
.rhythm-arrow { display: flex; align-items: center; justify-content: center; color: var(--gray-500); }
.rhythm-arrow svg { width: 22px; height: 22px; }
@media (max-width: 800px) { .rhythm-arrow { transform: rotate(90deg); margin: -4px 0; } }

/* ---------- Is / Is not ---------- */
.isnot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px) { .isnot-grid { grid-template-columns: 1fr; } }
.isnot-card { border-radius: var(--radius-lg); padding: 30px; }
.isnot-card.no { background: var(--gray-100); }
.isnot-card.yes { background: var(--navy-900); color: var(--white); }
.isnot-card h4 { font-size: 15px; font-family: var(--font-mono); letter-spacing: 0.04em; margin-bottom: 18px; }
.isnot-card.no h4 { color: var(--gray-700); }
.isnot-card.yes h4 { color: var(--cyan); }
.isnot-card ul { display: grid; gap: 14px; }
.isnot-card li { display: flex; gap: 12px; font-size: 15px; }
.isnot-card li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.isnot-card.no li svg { color: var(--magenta); }
.isnot-card.yes li svg { color: var(--cyan); }

/* ---------- Stack chips ---------- */
.stack-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stack-chip {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Curriculum list ---------- */
.curriculum-list { display: grid; gap: 18px; }
.curriculum-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
.curriculum-item:hover { background: var(--gray-100); }
.curriculum-item h4 { font-size: 16.5px; }
.curriculum-item p { font-size: 14.5px; color: var(--gray-700); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero-bg);
  color: var(--white);
  border-radius: 28px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: clamp(24px, 3vw, 32px); max-width: 40ch; }
.cta-band p { color: var(--gray-300); margin-top: 10px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; max-width: 620px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-300);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error {
  display: none;
  color: var(--magenta);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--magenta); }
.field.invalid .error { display: block; }

.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 6px;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(53,196,245,0.12); color: var(--blue-deep); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  color: var(--navy-900);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--gray-500); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--gray-700);
  font-size: 15px;
}
.faq-a-inner { padding-bottom: 22px; max-width: 68ch; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 32ch; color: var(--gray-500); }
.footer-col h5 { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
