/* ==========================================================================
   AIValytics - AI-Native Builder Program
   Design System: Editorial Luxury Cream & Antique Obsidian Ink Theme
   Directly Inspired by AIValytics Brand Slide:
     - Canvas: Warm Ivory Parchment (#F4F1E9)
     - Cards: Stone Tan (#EBE6DB) & Sage Forest (#E5E5DC, #486C52)
     - Typography: Playfair Display / Fraunces (Headings & Logo), Public Sans (Body), Caveat (Handwriting)
     - Accents: Ochre Bronze (#B3724B) & British Forest Sage (#2F4D38, #486C52)
     - Official Logos: Exact Vectors for Claude, ChatGPT, OpenAI, n8n, Wispr Flow, Lovable, Supabase, Vercel, ElevenLabs
   ========================================================================== */

:root {
  /* Canvas / Backgrounds */
  --bg-deep: #ECE7DD;
  --bg: #F4F1E9;
  --bg-2: #EBE6DB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF7F2;
  --bg-card-alt: #EBE6DB;
  --bg-card-sage: #E5E5DC;
  --white: #FFFFFF;

  /* Typography / Inks */
  --ink: #1F1C16;
  --ink-heading: #312C1D;
  --ink-soft: #2B261D;
  --muted: #6B6557;
  --muted-dark: #8F8776;

  /* Sage / Forest Green Accents (from Card 3 border) */
  --sage: #486C52;
  --sage-deep: #2F4D38;
  --sage-light: #5B8268;
  --sage-soft: #DCE5DC;
  --sage-glow: rgba(72, 108, 82, 0.22);

  /* Gold / Ochre / Bronze Accents (from Kicker & Card 1 border) */
  --gold: #B3724B;
  --gold-deep: #8F5530;
  --gold-light: #C59B4B;
  --gold-soft: #F6EFE2;
  --gold-border: #C5B899;

  /* Borders & Shadows */
  --border: #D8D0C0;
  --border-strong: #C5B899;
  --border-sage: #486C52;
  --border-bright: #312C1D;
  --shadow-neo: 4px 4px 0 #1F1C16;
  --shadow-sage: 4px 4px 0 #2F4D38;

  /* Fonts */
  --font-logo: "Playfair Display", "Fraunces", Georgia, serif;
  --head: "Fraunces", Georgia, serif;
  --body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: 
    linear-gradient(to right, rgba(197, 184, 153, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 184, 153, 0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--ink-soft);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink-heading);
  letter-spacing: -0.018em;
  line-height: 1.22;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 780px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* Highlighting Marker Effect */
.hl {
  background: linear-gradient(transparent 58%, rgba(72, 108, 82, 0.24) 58%);
  padding: 0 0.12em;
  color: var(--ink-heading);
}

.hl.gold {
  background: linear-gradient(transparent 58%, rgba(224, 185, 115, 0.42) 58%);
  color: var(--ink-heading);
}

/* Editorial Kicker Pill */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(179, 114, 75, 0.08);
  border: 1px solid rgba(179, 114, 75, 0.32);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.kicker.sage {
  color: var(--sage);
  background: rgba(72, 108, 82, 0.09);
  border-color: rgba(72, 108, 82, 0.32);
}

.h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  color: var(--ink-heading);
  margin-bottom: 12px;
}

.lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons (Neo-Brutalist Hard Drop Shadow)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--sage-deep);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  font-family: var(--body);
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--sage);
}

.btn.small {
  padding: 8px 16px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 10px;
}

.btn.small:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4.5px 4.5px 0 var(--ink);
}

.btn.secondary {
  background: #FFFFFF;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.secondary:hover {
  background: #FAF7F2;
  box-shadow: 6px 6px 0 var(--ink);
}

.btn.gold {
  background: var(--gold);
  color: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.gold:hover {
  background: var(--gold-deep);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn.whatsapp {
  background: #25D366;
  color: #020705;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.whatsapp:hover {
  background: #20bd5a;
  box-shadow: 6px 6px 0 var(--ink);
}

/* Yellow / Ochre CTA button */
.btn.yellow {
  background: var(--gold);
  color: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.yellow:hover {
  background: var(--gold-deep);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

/* ==========================================================================
   Payment Modal Overlay
   ========================================================================== */

.pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(18, 20, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pay-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pay-sheet {
  background: #FFFFFF !important;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--ink);
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1.2);
}

.pay-overlay.open .pay-sheet {
  transform: translateY(0) scale(1);
}

.pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
}

.pay-title {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-heading);
}

.pay-price-badge {
  background: var(--gold);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.pay-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.pay-close:hover {
  color: var(--ink);
  background: var(--bg-2);
}

.pay-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.pay-iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.pay-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  transition: opacity 0.3s;
}

.pay-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.pay-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pay-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-2);
}

/* ==========================================================================
   Success Toast
   ========================================================================== */

.pay-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 10000;
  background: #2F4D38;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1.2);
  pointer-events: none;
  white-space: nowrap;
}

.pay-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Enrollment Form Fields
   ========================================================================== */

.enroll-field {
  margin-bottom: 16px;
}

.enroll-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.enroll-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 2px 2px 0 rgba(49,44,29,0.07);
}

.enroll-input:focus {
  border-color: var(--sage);
  box-shadow: 2px 2px 0 var(--sage);
}

.enroll-input::placeholder {
  color: var(--muted-dark);
  opacity: 0.7;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.draft-ribbon {
  background: #EBE6DB;
  border-bottom: 1px solid var(--border);
  color: var(--ink-heading);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.draft-ribbon .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--sage);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
}

.nav .wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Authentic AIValytics Logo from the Slide */
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.brand-frame {
  position: relative;
  padding: 4px 6px 4px 12px;
}

.brand-frame .corner-mark {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--head);
  font-size: 20px;
  line-height: 1;
  color: var(--gold-border);
  font-weight: 300;
}

.brand-name {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-heading);
  line-height: 1.1;
  display: block;
}

.brand-sub {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--sage);
  font-weight: 800;
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-heading);
}

.nav-links a {
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--sage);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   Hero Section & Floating Tool Badges
   ========================================================================== */

.hero {
  position: relative;
  padding: 56px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero .stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 var(--gold-border);
}

.hero .stat-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(72, 108, 82, 0.45);
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 auto 16px;
  max-width: 920px;
  color: var(--ink-heading);
}

.hero .tagline {
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink-heading);
}

.hero .lede {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reassure {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.start-note {
  max-width: 640px;
  margin: 18px auto 0;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  box-shadow: 3px 3px 0 rgba(49, 44, 29, 0.08);
}

.start-note .tag {
  background: var(--sage);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Floating AI Tools in Hero */
.tools-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tools-float .tool {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--ink-heading);
  border: 1.5px solid var(--gold-border);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  animation: floaty ease-in-out infinite alternate;
}

.tools-float .tool svg {
  width: 18px;
  height: 18px;
}

@keyframes floaty {
  0% { transform: translateY(0) rotate(var(--r)); }
  100% { transform: translateY(-14px) rotate(calc(var(--r) * -1)); }
}

@media (max-width: 900px) {
  .tools-float {
    display: none;
  }
}

/* Horizontal mini tool row */
.tools-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tool-mini {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  padding: 6px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-heading);
  box-shadow: 2px 2px 0 rgba(49, 44, 29, 0.1);
  transition: all 0.2s;
}

.tool-mini:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--sage);
}

/* ==========================================================================
   The Walking Mascot & Thought Bubble (Official Claude Logo on Stage)
   ========================================================================== */

.stage {
  position: relative;
  height: 115px;
  margin-top: 40px;
  overflow: hidden;
}

.ground {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--sage);
  opacity: 0.85;
}

.walker {
  position: absolute;
  bottom: 12px;
  left: 8px;
  width: 180px;
  height: 105px;
  animation: walk 24s linear infinite;
}

.puppet {
  width: 68px;
  height: 82px;
  position: absolute;
  bottom: 0;
  left: 20px;
  transform-origin: 50% 100%;
  animation: face 24s steps(1) infinite;
}

.bodybob {
  animation: bob 0.4s ease-in-out infinite alternate;
  transform-origin: 50% 80%;
}

.legL {
  transform-origin: 50px 88px;
  animation: stepA 0.4s ease-in-out infinite alternate;
}

.legR {
  transform-origin: 66px 88px;
  animation: stepB 0.4s ease-in-out infinite alternate;
}

.bubble {
  position: absolute;
  bottom: 74px;
  left: 28px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  color: var(--ink-heading);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bubble .spark {
  color: var(--gold);
  font-size: 14px;
}

.bubble .word {
  color: var(--ink-heading);
  transition: opacity 0.2s, transform 0.2s;
}

.bubble .word.out {
  opacity: 0;
  transform: translateY(-4px);
}

.bubble .dots i {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--sage);
  border-radius: 50%;
  margin: 0 1px;
  animation: dot 1.2s infinite ease-in-out;
}

.bubble .dots i:nth-child(2) { animation-delay: 0.2s; }
.bubble .dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes walk {
  0% { left: 8px; }
  45% { left: calc(100% - 190px); }
  52% { left: calc(100% - 190px); }
  95% { left: 8px; }
  100% { left: 8px; }
}

@keyframes face {
  0%, 48.9% { transform: scaleX(1); }
  49%, 98.9% { transform: scaleX(-1); }
  99%, 100% { transform: scaleX(1); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes stepA {
  0%, 100% { transform: rotate(16deg); }
  50% { transform: rotate(-16deg); }
}

@keyframes stepB {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */

section {
  padding: 72px 0;
  position: relative;
}

/* Letter / Note Format */
.note {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 6px 6px 0 var(--gold-border);
  position: relative;
}

.note .letter h2 {
  font-family: var(--head);
  font-size: clamp(26px, 3.8vw, 38px);
  color: var(--ink-heading);
  margin-top: 6px;
}

.note .letter p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 16px;
}

.note .letter strong {
  color: var(--ink-heading);
}

.note .letter .sign {
  font-family: var(--hand);
  font-size: 34px;
  color: var(--gold);
  margin-top: 24px;
}

/* ==========================================================================
   Animated 300+ / 15+ Counter & 12-Month Track Grid
   ========================================================================== */

.bignum-row {
  margin-top: 56px;
  text-align: center;
}

.bignum {
  font-family: var(--head);
  font-size: clamp(5.5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

.bignum-cap {
  margin-top: 12px;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 800;
  color: var(--ink-heading);
}

.bignum-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* The Timeline Comparison Track Grid */
.track {
  margin: 44px auto 0;
  max-width: 880px;
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--gold-border);
  padding: 28px 24px;
}

.track-title {
  font-family: var(--head);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink-heading);
}

.track-grid {
  display: grid;
  grid-template-columns: 170px repeat(14, 1fr);
  gap: 5px;
  align-items: center;
}

.track-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.track-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-heading);
  line-height: 1.25;
}

.track-label small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.track-rowgap {
  grid-column: 1 / -1;
  height: 10px;
}

.cell {
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.cell.course {
  background: var(--sage);
  color: #FFFFFF;
  border-color: var(--sage-deep);
  font-weight: 900;
}

.cell.gap {
  background: var(--bg-2);
  border: 2px dashed var(--border);
  color: var(--muted);
}

.cell.on {
  background: var(--sage-deep);
  color: #FFFFFF;
  border-color: var(--sage);
}

.track-legend {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.track-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-legend .lg {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.quote-line {
  margin-top: 40px;
  text-align: center;
  font-family: var(--head);
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--ink-heading);
}

/* The Timeline Comparison Track Grid - Horizontal touch scroll enabled */
.track {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 820px) {
  .track {
    padding: 20px 14px !important;
    border-radius: 16px !important;
  }
  .track-grid {
    min-width: 680px !important;
    display: grid !important;
    grid-template-columns: 140px repeat(14, 1fr) !important;
    gap: 4px !important;
    padding-bottom: 8px !important;
  }
}

/* ==========================================================================
   The Simple Formula
   ========================================================================== */

.formula {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.f-card {
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: 4px 4px 0 var(--gold-border);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.f-card .tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.f-card h3 {
  font-size: 21px;
  color: var(--ink-heading);
  margin-bottom: 8px;
}

.f-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .formula {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .formula {
    grid-template-columns: 1fr;
  }
}

/* Key Stats Bar */
.numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px 20px;
  box-shadow: 5px 5px 0 var(--gold-border);
  margin-top: 48px;
  text-align: center;
}

.num-item .n {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 900;
  color: var(--sage);
}

.num-item .c {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Wherever You're Starting From (Audience Ladder)
   ========================================================================== */

.ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.step {
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step .lvl {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step .from {
  font-size: 15px;
  color: var(--ink-heading);
  line-height: 1.4;
}

.step .arrow {
  margin: 16px 0;
  color: var(--sage);
}

.step .to {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sage-deep);
}

@media (max-width: 768px) {
  .ladder {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Curriculum / Modules Grid
   ========================================================================== */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.mod {
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 4px 4px 0 var(--ink);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mod .no {
  font-family: var(--head);
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.mod h3 {
  font-size: 19px;
  color: var(--ink-heading);
  margin-bottom: 8px;
}

.mod p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mod.live {
  background: var(--bg-card-alt);
  border-color: var(--gold-border);
  box-shadow: 4px 4px 0 var(--ink);
}

.mod.live .no {
  color: var(--sage);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mod.highlight-card {
  background: var(--bg-card-sage);
  border-color: var(--sage);
  box-shadow: 4px 4px 0 var(--sage-deep);
}

@media (max-width: 900px) {
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .modules {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Editorial Case Study Slide Recreation (from User Upload)
   ========================================================================== */

.slide-container {
  background: var(--bg);
  border: 1.5px solid var(--gold-border);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  box-shadow: 6px 6px 0 var(--gold-border);
  margin-top: 40px;
  text-align: left;
}

.slide-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.slide-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slide-brand-mark .bracket {
  font-family: var(--head);
  font-size: 24px;
  color: var(--gold-border);
  line-height: 1;
}

.slide-brand-mark .brand-name {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-heading);
}

.slide-part-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slide-part-tag .bracket {
  font-family: var(--head);
  font-size: 24px;
  color: var(--gold-border);
  line-height: 1;
}

.slide-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.slide-title {
  font-family: var(--head);
  font-size: clamp(30px, 4.2vw, 44px);
  color: var(--ink-heading);
  margin-bottom: 32px;
  font-weight: 600;
}

.slide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.slide-card {
  border-radius: 14px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s;
}

.slide-card.tan {
  background: var(--bg-2);
  border: 1.5px solid var(--gold-border);
}

.slide-card.sage {
  background: var(--bg-card-sage);
  border: 2px solid var(--sage);
}

.slide-card .c-num {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.slide-card.tan .c-num {
  color: var(--gold);
}

.slide-card.sage .c-num {
  color: var(--sage);
}

.slide-card h3 {
  font-family: var(--head);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-heading);
  line-height: 1.3;
  margin-bottom: 18px;
}

.slide-card .c-divider {
  height: 1px;
  background: rgba(197, 184, 153, 0.6);
  margin-bottom: 16px;
}

.slide-card.sage .c-divider {
  background: rgba(72, 108, 82, 0.35);
}

.slide-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.slide-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 184, 153, 0.5);
}

.slide-footer-phrase {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-heading);
}

.slide-footer-bld {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .slide-cards-grid {
    grid-template-columns: 1fr;
  }
  .slide-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   Company Decodes & Special Labs
   ========================================================================== */

.decodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.decode-card {
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 5px 5px 0 var(--gold-border);
  text-align: left;
}

.decode-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.decode-card .company-name {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-heading);
}

.decode-card .val-badge {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
}

.decode-card .sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.decode-build {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.decode-build .b-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.decode-build h4 {
  font-size: 16px;
  color: var(--ink-heading);
  margin-bottom: 4px;
}

.decode-build p {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .decodes-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Offer Box, Value Stack & Pricing
   ========================================================================== */

.offer {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  margin-top: 36px;
  text-align: left;
}

.offer .stack {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 6px 6px 0 var(--gold-border);
}

.offer .stack h3 {
  font-family: var(--head);
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--ink-heading);
}

.offer .stack ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer .stack li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.offer .stack .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.offer .price-box {
  background: #1F2E24;
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 6px 6px 0 var(--gold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

.offer .price-box .save-badge {
  display: inline-block;
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.offer .price-box .now {
  font-family: var(--head);
  font-size: 54px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.offer .price-box .monthly {
  margin: 10px 0 20px;
}

.offer .price-box .monthly .m {
  font-weight: 800;
  color: #A3D9B5;
  font-size: 15px;
  display: block;
}

.offer .price-box .monthly small {
  font-size: 12.5px;
  color: #CBD5CD;
}

.offer .price-box .fine {
  font-size: 12px;
  color: #CBD5CD;
  margin-top: 16px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .offer {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Compare Expenses Bars
   ========================================================================== */

.compare {
  margin-top: 40px;
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: 6px 6px 0 var(--gold-border);
  text-align: left;
}

.compare h3 {
  font-family: var(--head);
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--ink-heading);
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 220px 1fr 110px;
  gap: 16px;
  align-items: center;
}

.bar-row .lab {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-heading);
}

.bar-row.us {
  font-weight: 800;
  color: var(--sage);
}

.bar-row.us .lab {
  color: var(--sage-deep);
}

.track-b {
  height: 18px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: var(--w);
  background: var(--border-strong);
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar-row.us .fill {
  background: var(--sage);
}

.amt {
  font-size: 14.5px;
  font-weight: 800;
  text-align: right;
  color: var(--ink-heading);
}

.amt small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.compare .note-line {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

@media (max-width: 680px) {
  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .amt {
    text-align: left;
  }
}

/* ==========================================================================
   Guarantee Promise Seal
   ========================================================================== */

.promise {
  margin-top: 36px;
  background: #FFFFFF;
  border: 2px solid var(--gold-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  gap: 26px;
  align-items: center;
  text-align: left;
}

.promise .seal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px dashed var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}

.promise h3 {
  font-family: var(--head);
  font-size: 21px;
  color: var(--ink-heading);
  margin-bottom: 8px;
}

.promise p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.promise .sign {
  font-family: var(--hand);
  font-size: 28px;
  color: var(--gold);
  margin-top: 12px;
}

.refund-badge {
  margin-top: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-heading);
}

@media (max-width: 680px) {
  .promise {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */

.faq {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--sage);
}

.faq-item.open {
  border-color: var(--sage);
  box-shadow: 4px 4px 0 var(--sage);
}

.faq-head {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-q {
  font-family: var(--head);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1.35;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(72, 108, 82, 0.1);
  border: 1px solid var(--sage);
  color: var(--sage);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.faq-item.open .faq-toggle {
  background: var(--sage);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-body {
  max-height: 400px;
  padding: 0 24px 22px 24px;
}

.faq-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================================================
   Closing CTA Banner
   ========================================================================== */

.closing {
  background: #1F2E24;
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 60px 32px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--gold);
  color: #FFFFFF;
}

.closing h2 {
  font-family: var(--head);
  font-size: clamp(32px, 5.2vw, 54px);
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.15;
}

.closing h2 .y {
  color: #E2C07D;
}

.closing p {
  font-size: 17px;
  color: #CBD5CD;
  margin-bottom: 28px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: #EBE6DB;
  border-top: 2px solid var(--border);
  padding: 44px 0 32px;
  font-size: 13.5px;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer a:hover {
  color: var(--sage);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #25D366;
  color: #020705;
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.floating-whatsapp:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ==========================================================================
   Scroll Reveal Animation System
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.js .cell {
  opacity: 0;
  transform: scale(0.6);
}

.js .reveal.in .cell {
  opacity: 1;
  transform: scale(1);
}

.js .compare:not(.in) .fill {
  width: 0 !important;
}


/* ==========================================================================
   Meet Your Instructor (Maaz Patel, Founder AIValytics)
   Directly matching brand slide layout
   ========================================================================== */

.instructor-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--gold-border);
  display: grid;
  grid-template-columns: 320px 1fr;
  margin-top: 40px;
  text-align: left;
}

.instructor-panel-left {
  background: #0B1610;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border-right: 2px solid var(--ink);
}

.instructor-brand-mark {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.instructor-photo-frame {
  margin: 20px 0;
  position: relative;
  border: 2.5px solid var(--gold-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  background: #0B1610;
  max-width: 230px;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructor-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
}

.instructor-tagline-bld {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.instructor-panel-right {
  padding: 44px 38px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.instructor-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.instructor-top-meta .badge-session {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.instructor-name {
  font-family: var(--head);
  font-size: clamp(34px, 4.8vw, 50px);
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1.1;
  margin: 4px 0 6px;
}

.instructor-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sage-deep);
  margin-bottom: 24px;
}

.instructor-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.instructor-pillar {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(197, 184, 153, 0.55);
}

.instructor-pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.pillar-num {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
}

.pillar-title {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-heading);
}

.pillar-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-left: 31px;
}

.instructor-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 20px;
}

.i-stat .val {
  font-family: var(--head);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.i-stat .lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.instructor-quote {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-style: italic;
  background: var(--bg-2);
  border-left: 3px solid var(--sage);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
}

@media (max-width: 900px) {
  .instructor-card {
    grid-template-columns: 1fr;
  }
  .instructor-panel-left {
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }
}

@media (max-width: 580px) {
  .instructor-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .instructor-panel-right {
    padding: 28px 20px;
  }
}


/* Tool Tags on Live Project Cards */
.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: transform 0.15s;
}

.mod.live:hover .tool-tag {
  background: #FFF;
  border-color: var(--gold);
}

/* Modal Cohort Radio Cards */
.modal-cohort-card {
  transition: all 0.15s ease;
}

.modal-cohort-card:hover {
  border-color: var(--gold) !important;
  transform: translateY(-1px);
}

.mentor-card {
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.2s ease;
}

.mentor-card:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--ink) !important;
}



/* ==========================================================================
   Comprehensive Mobile Viewport Optimizations (320px - 768px)
   ========================================================================== */

/* 1. Global Viewport & Container Safety */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* 2. Scroll Reveal Mobile Fallback: Never hide content on mobile */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* 3. Section & Wrap Spacing */
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px !important;
  }
  section {
    padding: 44px 0 !important;
  }
  .h2 {
    font-size: clamp(25px, 6.5vw, 34px) !important;
    line-height: 1.2 !important;
  }
  .kicker {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
  }
  .lede.narrow, .lede {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }
}

/* 4. Top Ribbon & Sticky Navigation Bar */
@media (max-width: 640px) {
  .draft-ribbon {
    font-size: 10.5px !important;
    padding: 7px 10px !important;
    line-height: 1.35 !important;
  }
  .draft-ribbon span {
    white-space: normal !important;
    text-align: center;
  }
  .nav .wrap {
    height: 58px !important;
    padding: 0 16px !important;
    gap: 10px !important;
  }
  .brand-frame {
    padding: 2px 4px 2px 8px !important;
  }
  .brand-name {
    font-size: 19px !important;
  }
  .brand-sub {
    font-size: 8px !important;
    letter-spacing: 0.12em !important;
  }
  /* Hide redundant WhatsApp button in top header; floating WA pill handles mobile contact */
  .nav .btn.whatsapp {
    display: none !important;
  }
  .nav #nav-pay-btn {
    padding: 7px 13px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
  }
}

/* 5. Hero Section & Interactive Cohort Selector */
@media (max-width: 640px) {
  .hero {
    padding: 28px 0 0 !important;
  }
  .hero .stat-pill {
    font-size: 10px !important;
    padding: 5px 12px !important;
    letter-spacing: 0.04em !important;
    max-width: 95% !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
    text-align: center !important;
  }
  .hero h1 {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }
  .hero .tagline {
    font-size: clamp(16px, 4.6vw, 21px) !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
  }
  .hero .lede {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }
  .hero-cta > div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  .cohort-picker-bar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .cohort-picker-bar .cohort-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .reassure {
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
  }
}

/* 6. Numbers Bar (Symmetrical 2x2 + 1 Centered Footer) */
@media (max-width: 640px) {
  .numbers {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
    margin-top: 32px !important;
    box-shadow: 4px 4px 0 var(--gold-border) !important;
  }
  .numbers .num-item:last-child {
    grid-column: 1 / -1 !important;
    border-top: 1px dashed var(--border) !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
  }
  .num-item .n {
    font-size: 28px !important;
  }
  .num-item .c {
    font-size: 11.5px !important;
  }
}

/* 7. The Simple Formula */
@media (max-width: 540px) {
  .formula {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .f-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    box-shadow: 3px 3px 0 var(--gold-border) !important;
  }
  .f-card h3 {
    font-size: 19px !important;
  }
}

/* 8. Meet Your Instructor & Mentors Network */
@media (max-width: 640px) {
  .instructor-card {
    grid-template-columns: 1fr !important;
    border-radius: 16px !important;
  }
  .instructor-panel-left {
    padding: 24px 16px !important;
    border-right: none !important;
    border-bottom: 2px solid var(--ink) !important;
  }
  .instructor-photo-frame {
    width: 170px !important;
    height: 190px !important;
    border-radius: 16px !important;
  }
  .instructor-name {
    font-size: 24px !important;
  }
  .instructor-panel-right {
    padding: 22px 16px !important;
  }
  .instructor-stats-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px 0 !important;
  }
  .i-stat {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }
  .i-stat .val {
    font-size: 24px !important;
  }

  /* Mentors Network Cards */
  .mentors-grid, #mentors-list {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .mentor-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    gap: 12px !important;
  }
  .mentor-card div[style*="width:95px"] {
    width: 74px !important;
    height: 74px !important;
    border-radius: 12px !important;
  }
  .mentor-card h4 {
    font-size: 17px !important;
  }
  .mentor-card p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
}

/* 9. Curriculum Modules, Projects & Capstone */
@media (max-width: 640px) {
  .modules {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .mod {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .mod h3 {
    font-size: 18px !important;
  }
  .mod p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Capstone Project 12 Card */
  .mod.live[style*="grid-column: 1 / -1"] {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .mod.live[style*="grid-column: 1 / -1"] h3 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
  .mod.live[style*="grid-column: 1 / -1"] p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  .tool-tag {
    font-size: 10.5px !important;
    padding: 2.5px 7px !important;
  }
}

/* 10. Case Studies / Company Decodes */
@media (max-width: 640px) {
  .slide-container {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .slide-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
  }
  .slide-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .decodes-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .decode-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

/* 11. Offer Box, Value Stack & Pricing */
@media (max-width: 768px) {
  .offer {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .offer .stack {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }
  .offer .stack h3 {
    font-size: 20px !important;
  }
  .offer .stack li {
    font-size: 13.5px !important;
    gap: 10px !important;
  }
  .offer .price-box {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
  .offer .now {
    font-size: 42px !important;
  }
  .offer .btn.yellow {
    font-size: 16px !important;
    padding: 14px 20px !important;
    width: 100% !important;
  }
  .compare {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .compare h3 {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }
}

/* 12. Payment Modal Overlay (#pay-overlay) */
@media (max-width: 520px) {
  .pay-overlay {
    padding: 10px !important;
    align-items: flex-end !important;
  }
  .pay-sheet {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 14px 14px !important;
    max-height: 92vh !important;
  }
  .pay-header {
    padding: 14px 16px 12px !important;
  }
  .pay-title {
    font-size: 17px !important;
  }
  .pay-body {
    padding: 16px 14px 0 !important;
  }
  .modal-cohort-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .modal-cohort-card {
    padding: 10px 12px !important;
  }
  .enroll-field {
    margin-bottom: 14px !important;
  }
  .enroll-input {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  .enroll-submit {
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}


/* 13. Floating WhatsApp Circular FAB on Mobile */
@media (max-width: 600px) {
  .floating-wa-text {
    display: none !important;
  }
  .floating-whatsapp {
    bottom: 20px !important;
    right: 20px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 2px 2px 0 var(--ink) !important;
  }
  .floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
  }
}

/* 14. Closing Banner & CTA */
@media (max-width: 640px) {
  .closing {
    padding: 36px 18px !important;
    border-radius: 20px !important;
  }
  .closing h2 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.18 !important;
  }
  .closing p {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }
  .closing > div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .closing .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}
