/* ==========================================================================
   ACADEMEE LANDING PAGE — GSAP SCROLL-DRIVEN REDESIGN
   Theme: Editorial Dark-to-Warm Immersive Narrative
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Kalam:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg-dark: #0c0d0f;
  --bg-dark-mid: #121315;
  --bg-desk: #E2DDD0;
  --bg-paper: #FFFDF9;
  --bg-paper-yellow: #FFFDDF;
  --ink-primary: #1E2229;
  --ink-light: #F3F4F6;
  --ink-muted: #9CA3AF;
  --ink-secondary: #6B7280;
  --ink-pen-blue: #1C448E;
  --brand-navy: #1F3E5D;
  --brand-ochre: #DF9A26;
  --brand-sage: #3E7B5C;
  --brand-brick: #C24C37;
  --brand-cream-dark: #F2ECE0;

  --border-thick: 2px solid var(--ink-primary);
  --border-thick-light: 2px solid rgba(243,244,246,0.25);
  --shadow-flat-dark: 6px 6px 0px 0px var(--ink-primary);
  --shadow-flat-light: 6px 6px 0px 0px rgba(243,244,246,0.2);

  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Kalam', cursive;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.6s var(--ease-out-expo);
  --transition-fast: all 0.25s var(--ease-out-expo);
}

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

html {
  scroll-behavior: auto; /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--ink-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ── Navigation (Editorial Masthead) ────────────────────────────────────────────────────────── */
.header-dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0 14px;
  pointer-events: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The rule spans the viewport, the content stays on the page measure. */
.header-dock-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* With no panel to darken, scrolling only strengthens the rule. */
.header-dock.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.26);
}

.header-island-logo {
  padding: 0;
}

.header-island-menu {
  padding: 0;
}

.header-island-actions {
  padding: 0;
  gap: 18px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(223, 154, 38, 0.3));
}

.nav-logo em {
  font-style: italic;
  color: var(--brand-ochre);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #94A3B8;
  transition: color 0.2s ease;
  padding: 4px 0;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand-ochre);
}

.nav-link-login {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #94A3B8;
  transition: color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link-login:hover {
  color: #FFFFFF;
}

.header-btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--brand-ochre);
  color: #0E1013 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--brand-ochre);
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.header-btn-launch:hover {
  background: #F5A623;
  border-color: #F5A623;
}

@media (max-width: 960px) {
  .nav {
    top: 10px;
    padding: 0 12px;
  }
  .nav-inner {
    height: 54px;
    padding: 0 14px;
  }
  .nav-links {
    display: none;
  }
  .nav-logo {
    font-size: 20px;
  }
  .nav-cta {
    padding: 7px 14px;
    font-size: 12.5px !important;
  }
}

/* ── SECTION 1: HERO (Visual & Value-Driven) ───────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 130px 24px 60px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 36px;
}

.hero-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-headline {
  max-width: 100%;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.15;
}

.hero-greeting {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 76px);
  color: var(--brand-ochre);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-shadow: 0 4px 24px rgba(223, 154, 38, 0.15);
}

.hero-statement {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-statement .word {
  display: inline-block;
  margin-right: 0.22em;
  white-space: nowrap;
}

.hero-statement .word-interactive {
  display: inline-block;
}

.hero-statement .word-interactive .hero-char {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
  animation: heroCharFloat 3.2s ease-in-out infinite;
  animation-delay: calc(var(--char-index, 0) * 0.1s);
  user-select: none;
  color: var(--brand-gold, #F5A623);
}

.hero-statement .word-interactive .hero-char:hover {
  transform: translateY(-8px) scale(1.2) !important;
  color: #FFFFFF;
}

@keyframes heroCharFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 0 0 28px 0;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15.5px;
  font-weight: 800;
  background: var(--brand-ochre);
  color: #0E1013;
  border-radius: 4px;
  border: 1px solid var(--brand-ochre);
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(223, 154, 38, 0.3);
}

.btn-primary:hover {
  background: #F5A623;
  border-color: #F5A623;
  color: #0E1013;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(223, 154, 38, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(20, 23, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  transition: all 0.25s var(--ease-out-expo);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(223, 154, 38, 0.4);
  background: rgba(223, 154, 38, 0.08);
  transform: translateY(-2px);
}

.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-mee-stage-v2 {
  position: relative;
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mee-glow-base {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(223, 154, 38, 0.22) 0%, rgba(223, 154, 38, 0.04) 55%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 1;
}

.hero-mee-float-wrapper {
  position: relative;
  z-index: 2;
  animation: meeHeroFloat 4.6s ease-in-out infinite;
}

.hero-mee-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.65));
  display: block;
}

@keyframes meeHeroFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

/* ── Scroll-expanding Interactive Stage (Inspo Frame 1 -> Frame 3) ── */
.hero-stage-expansion-wrapper {
  max-width: 1160px;
  margin: 40px auto 0;
  width: 100%;
  transform-origin: center top;
  transition: transform 0.4s ease-out;
}

.hero-stage-card {
  background: rgba(18, 20, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.desk-dropzone {
  background: rgba(13, 15, 20, 0.85);
  border: 1.5px dashed rgba(223, 154, 38, 0.35);
  border-radius: 4px;
  padding: 24px 32px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.desk-dropzone:hover {
  border-color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.04);
  box-shadow: 0 0 28px rgba(223, 154, 38, 0.15);
  transform: translateY(-1px);
}

.desk-dropzone-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
}

.desk-dropzone-icon {
  width: 44px;
  height: 44px;
  background: rgba(223, 154, 38, 0.12);
  border: 1px solid rgba(223, 154, 38, 0.35);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ochre);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.desk-dropzone:hover .desk-dropzone-icon {
  transform: scale(1.08);
}

.desk-dropzone-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.desk-primary-text {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.desk-sub-text {
  font-size: 13px;
  color: #9CA3AF;
}

.desk-browse-btn {
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.desk-dropzone:hover .desk-browse-btn {
  background: var(--brand-ochre);
  color: #0E1013;
  border-color: var(--brand-ochre);
}

.stage-pills-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.stage-pill-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: -0.1px;
}

/* ── SECTION 2: HOW IT WORKS (Inspo Frame 9 Bold Numbered Cards) ────────── */
.steps-section {
  padding: clamp(70px, 8vw, 110px) 0;
  background: var(--bg-dark);
  position: relative;
}

.steps-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.steps-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.steps-heading em {
  font-style: italic;
  color: var(--brand-ochre);
}

.steps-sub {
  font-size: 16px;
  color: #9CA3AF;
  line-height: 1.6;
}

.inspo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.inspo-step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inspo-card-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.inspo-card-inner {
  position: relative;
  height: 240px;
  border-radius: 12px;
  background: #14161C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.inspo-step-card:hover .inspo-card-inner {
  transform: translateY(-4px);
  background: #181B24;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 44px -6px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.inspo-card-stage-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-ochre);
  text-transform: uppercase;
}

.inspo-step-card[data-step="2"] .inspo-card-stage-tag {
  color: #93C5FD;
}

.inspo-step-card[data-step="3"] .inspo-card-stage-tag {
  color: #4ADE80;
}

.inspo-card-num {
  font-family: var(--font-sans);
  font-size: clamp(64px, 5.5vw, 84px);
  font-weight: 800;
  line-height: 0.9;
  color: #FFFFFF;
  letter-spacing: -2px;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.inspo-card-mascot-wrap {
  position: absolute;
  right: 66px;
  bottom: 0;
  width: 120px;
  height: 155px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspo-step-card:hover .inspo-card-mascot-wrap {
  transform: translateY(-6px);
}

.inspo-card-mascot-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.inspo-card-arrow-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  z-index: 2;
  transition: all 0.25s ease;
}

.inspo-step-card:hover .inspo-card-arrow-btn {
  background: var(--brand-ochre);
  color: #0E1013;
  border-color: var(--brand-ochre);
  transform: translateY(-2px);
}

.inspo-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
}

/* ── SECTION 3: TRANSFORMATIVE IMPACT (Inspo Frame 11 Giant Stats) ──────── */
.transformation {
  position: relative;
  background: var(--bg-dark-mid);
  overflow: hidden;
  padding: clamp(70px, 8vw, 110px) 0;
  border-top: var(--border-thick-light);
  border-bottom: var(--border-thick-light);
}

.transformation-header {
  max-width: 820px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.inspo-impact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 72px;
}

.inspo-impact-row {
  display: grid;
  grid-template-columns: 140px 240px 1fr;
  align-items: center;
  gap: 36px;
  padding: 36px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease;
}

.inspo-impact-row:last-child {
  border-bottom: none;
}

.inspo-impact-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.inspo-impact-visual {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.inspo-impact-visual img {
  max-width: 95px;
  max-height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.inspo-impact-row:hover .inspo-impact-visual img {
  transform: scale(1.08);
}

.inspo-impact-stat-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspo-stat-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
  display: inline-block;
}

.inspo-stat-number {
  font-family: var(--font-sans);
  font-size: clamp(52px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.inspo-stat-gold {
  color: var(--brand-ochre);
}

.inspo-stat-white {
  color: #FFFFFF;
}

.inspo-stat-emerald {
  color: #4ADE80;
}

.inspo-impact-text-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspo-impact-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.inspo-impact-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #9CA3AF;
  margin: 0;
  max-width: 640px;
}

.transform-text-col {
  position: relative;
}

.transform-label {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--brand-ochre);
  margin-bottom: 16px;
  display: block;
}

.transform-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.6px;
  text-align: center;
  margin-bottom: 18px;
}

.transform-heading em {
  font-style: italic;
  color: var(--brand-ochre);
}

.transform-body {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.transform-demo-col {
  position: relative;
  perspective: 1200px;
}

.demo-page {
  background: var(--bg-paper);
  border: var(--border-thick);
  box-shadow: 8px 8px 0px 0px rgba(0,0,0,0.3);
  padding: 40px 40px 40px 56px;
  color: var(--ink-primary);
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.demo-page-holes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 24px 0;
}

.demo-page-hole {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink-primary);
  background: var(--bg-dark-mid);
}

.demo-page-margin {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42px;
  width: 2px;
  background: rgba(200,60,60,0.15);
}

.demo-static-text {
  position: relative;
}

.demo-static-text .line {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-secondary);
  font-family: var(--font-serif);
  transition: all 0.5s ease;
}

.demo-static-text .line .highlight {
  background: transparent;
  padding: 1px 4px;
  border-radius: 2px;
  transition: all 0.5s ease;
  position: relative;
}

.demo-static-text .line .highlight.active {
  background: rgba(223,154,38,0.25);
  color: var(--ink-primary);
  font-weight: 700;
}

.demo-quiz-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: 56px;
  background: var(--bg-paper-yellow);
  border: var(--border-thick);
  padding: 16px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s var(--ease-out-expo);
}

.demo-quiz-overlay.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-quiz-overlay h5 {
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--ink-pen-blue);
  margin-bottom: 8px;
}

.demo-quiz-option {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--ink-primary);
  margin-bottom: 4px;
  background: white;
}

.demo-quiz-option.correct {
  background: #d4edda;
  border-color: var(--brand-sage);
  font-weight: 700;
}

.demo-mindmap-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 160px;
  height: 120px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s var(--ease-out-expo) 0.2s;
}

.demo-mindmap-overlay.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── SECTION 2 EXTENSION: AI COMPARISON MATRIX (SEO & AI-SEO) ───────────── */
/* Wider than the standard .container (1200px): the matrix has five columns
   and needs roughly 1240px of inner width before the text starts to wrap. */
.ai-comparison-container {
  max-width: 1340px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
}

.ai-comparison-header {
  text-align: center;
  margin-bottom: 28px;
}

.ai-matrix-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.1);
  border: 1px solid rgba(223, 154, 38, 0.3);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.ai-matrix-heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.25;
  margin-bottom: 10px;
}

.ai-matrix-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--ink-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.ai-matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #11141A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
}

.ai-matrix-table {
  width: 100%;
  /* Five columns need real room. The wrapper already scrolls horizontally,
     so on viewports narrower than ~1216px the table scrolls instead of
     crushing the cell text to one word per line. */
  min-width: 1120px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.ai-matrix-table thead th {
  padding: 16px 16px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #161A22;
}

.ai-matrix-table .matrix-col-criteria {
  color: var(--ink-muted);
  width: 15%;
}

.ai-matrix-table .matrix-col-slides {
  color: #94A3B8;
  width: 18%;
}

.ai-matrix-table .matrix-col-chatgpt {
  color: #F87171;
  width: 20%;
}

/* Academee is the product column: it gets the most space on purpose.
   Without an explicit width it collapsed as soon as the Anki column was
   added, squeezing the cell text to one word per line. */
.ai-matrix-table .matrix-col-academee {
  width: 30%;
  color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.08);
  border-top: 3px solid var(--brand-ochre);
  border-left: 1px solid rgba(223, 154, 38, 0.25);
  border-right: 1px solid rgba(223, 154, 38, 0.25);
  width: 28%;
}

.ai-matrix-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.ai-matrix-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ai-matrix-table tbody tr:last-child {
  border-bottom: none;
}

.ai-matrix-table tbody th.matrix-row-label {
  padding: 18px 16px;
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  font-weight: 700;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.015);
  vertical-align: top;
}

.ai-matrix-table tbody td {
  padding: 18px 16px;
  line-height: 1.55;
  vertical-align: top;
}

.ai-matrix-table tbody td.matrix-cell-dim {
  color: #94A3B8;
  font-size: 13.5px;
}

.ai-matrix-table tbody td.matrix-cell-warning {
  color: #CBD5E1;
  font-size: 13.5px;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.ai-matrix-table tbody td.matrix-cell-academee {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13.5px;
  background: rgba(223, 154, 38, 0.05);
  border-left: 1px solid rgba(223, 154, 38, 0.25);
  border-right: 1px solid rgba(223, 154, 38, 0.25);
}

.ai-matrix-footnote {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--ink-muted);
  opacity: 0.75;
  text-align: right;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .ai-comparison-container {
    margin-top: 40px;
    padding: 0 16px;
  }
  .ai-matrix-heading {
    font-size: 22px;
  }
  .ai-matrix-sub {
    font-size: 14px;
  }
  .ai-matrix-table tbody td,
  .ai-matrix-table tbody th.matrix-row-label {
    padding: 14px 14px;
  }
}

/* ── SECTION 2: HOW IT WORKS (MEE STUDY STUDIO) ────────────────────────── */
.steps-section {
  position: relative;
  background: #0E1013;
  padding: clamp(70px, 8vw, 110px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steps-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.steps-heading {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.steps-heading em {
  font-style: italic;
  color: var(--brand-ochre);
}

.steps-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: #9CA3AF;
  line-height: 1.6;
}

/* ── SECTION 4: SHOWCASE (Pinned Demo Frame) ───────────────────────────── */
.showcase {
  background: var(--bg-paper);
  border-top: var(--border-thick);
  position: relative;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  /* align-items: stretch (default) — required for sticky to work */
}

.showcase-text-track {
  padding: 40vh 0;
}

.showcase-text-block {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  opacity: 0.15;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.showcase-text-block.active {
  opacity: 1;
  transform: translateY(0);
}

.showcase-tag {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--brand-ochre);
  margin-bottom: 12px;
}

.showcase-text-block h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--brand-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-text-block p {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.showcase-sticky-col {
  position: relative;
}

.showcase-frame {
  position: sticky;
  top: 100px;
  background: white;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-dark);
  min-height: 480px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.showcase-frame:hover {
  box-shadow: 8px 8px 0px 0px var(--ink-primary);
}

.showcase-frame-header {
  background: var(--brand-navy);
  color: white;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: var(--border-thick);
}

.showcase-frame-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-ochre);
}

.showcase-frame-body {
  padding: 28px;
  position: relative;
  min-height: 420px;
}

.showcase-demo {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
}

.showcase-demo.active {
  opacity: 1;
  position: relative;
}

/* Demo 1: Summary */
.demo-summary-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brand-navy);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--brand-cream-dark);
  padding-bottom: 8px;
}

.demo-summary-text {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-primary);
}

.demo-summary-text .kw {
  background: rgba(223,154,38,0.2);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
  color: var(--ink-primary);
}

.demo-summary-text .kw-blue {
  background: rgba(28,68,142,0.12);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 600;
  color: var(--ink-pen-blue);
}

/* Demo 2: Quiz */
.demo-quiz-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed #ccc;
}

.demo-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-quiz-opt {
  padding: 14px 16px;
  border: 2px solid #c0c4cc;
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
  user-select: none;
}

.demo-quiz-opt:hover {
  background: var(--brand-cream-dark);
  transform: translateX(4px);
}

.demo-quiz-opt .opt-marker {
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-primary);
  transition: var(--transition-fast);
}

.demo-quiz-opt.selected-correct {
  background: #d4edda;
  border-color: var(--brand-sage);
}

.demo-quiz-opt.selected-correct .opt-marker {
  background: var(--brand-sage);
  border-color: var(--brand-sage);
  color: white;
}

.demo-quiz-opt.selected-wrong {
  background: #f8d7da;
  border-color: var(--brand-brick);
}

.demo-quiz-opt.selected-wrong .opt-marker {
  background: var(--brand-brick);
  border-color: var(--brand-brick);
  color: white;
}

.demo-quiz-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-paper-yellow);
  border: 2px solid var(--brand-ochre);
  font-family: var(--font-hand);
  font-size: 15px;
  display: none;
}

.demo-quiz-feedback.visible {
  display: block;
}

/* Demo 3: Matching */
.demo-matching-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.matching-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matching-col-title {
  font-family: var(--font-hand);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-pen-blue);
  text-align: center;
  margin-bottom: 6px;
}

.matching-item {
  padding: 12px 14px;
  border: 2px solid #c0c4cc;
  background: white;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.matching-item:hover {
  background: var(--brand-cream-dark);
}

.matching-item.selected {
  background: rgba(223,154,38,0.15);
  border-color: var(--brand-ochre);
}

.matching-item.matched {
  background: #d4edda;
  border-color: var(--brand-sage);
  pointer-events: none;
}

.matching-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 28px;
}

.matching-arrow {
  color: var(--ink-muted);
  font-size: 18px;
  opacity: 0.3;
  transition: var(--transition-fast);
}

.matching-arrow.active {
  color: var(--brand-sage);
  opacity: 1;
}

/* Demo 4: Mindmap */
.demo-mindmap-container {
  width: 100%;
  height: 360px;
  position: relative;
}

.demo-mindmap-container svg {
  width: 100%;
  height: 100%;
}

.mm-node {
  cursor: pointer;
  transition: var(--transition-fast);
}

.mm-node:hover rect,
.mm-node:hover circle {
  filter: brightness(1.1);
}

/* ── SECTION 5: STATS ──────────────────────────────────────────────────── */
.stats-section {
  background: var(--bg-dark-mid);
  padding: 120px 0;
  border-top: var(--border-thick);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(223,154,38,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-header {
  text-align: center;
  margin-bottom: 72px;
}

.stats-label {
  font-family: var(--font-hand);
  color: var(--brand-ochre);
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}

.stats-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--ink-light);
  font-weight: 400;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(243,244,246,0.08);
  background: rgba(243,244,246,0.02);
  transition: var(--transition-fast);
}

.stat-card:hover {
  border-color: rgba(223,154,38,0.3);
  background: rgba(223,154,38,0.04);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--brand-ochre);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 0.5em;
  color: var(--ink-muted);
  font-weight: 400;
}

.stat-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── SECTION 6: LERNWELTEN GALLERY (Arc Scroll) ────────────────────────── */
.gallery-section {
  background: var(--bg-dark);
  padding: 100px 0 60px;
  border-top: var(--border-thick);
  overflow: hidden;
  position: relative;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.gallery-header-copy {
  flex: 1;
  text-align: left;
}

.gallery-mascot-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-mascot-img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(223, 154, 38, 0.28));
}

@media (max-width: 800px) {
  .gallery-header-flex {
    flex-direction: column;
    text-align: center;
  }
  .gallery-header-copy {
    text-align: center;
  }
}

.gallery-label {
  font-family: var(--font-hand);
  color: var(--brand-ochre);
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}

.gallery-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--ink-light);
  font-weight: 400;
}

.gallery-arc-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 20px 0 60px;
}

.gallery-arc-track {
  display: flex;
  gap: 24px;
  padding: 0 80px;
  width: max-content;
  will-change: transform;
}

/* Lernwelt Card — matches dark dashboard card style */
.lw-card {
  width: 260px;
  min-height: 300px;
  background: #1a1d23;
  border: 1px solid rgba(243,244,246,0.08);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  cursor: default;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
}

.lw-card:hover {
  transform: translateY(-12px) scale(1.03) !important;
  border-color: rgba(223,154,38,0.3);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(223,154,38,0.15);
}

.lw-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: var(--brand-navy);
  color: white;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.lw-card-icon {
  width: 72px;
  height: 72px;
  margin: 8px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243,244,246,0.05);
  border-radius: 4px;
  border: 1px solid rgba(243,244,246,0.08);
}

.lw-card-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--brand-ochre);
}

.lw-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-light);
  line-height: 1.3;
}

.lw-card-source {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.lw-card-stats {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(243,244,246,0.06);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lw-card-stats span {
  font-size: 11px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lw-card-stats svg {
  opacity: 0.5;
}

/* ── SECTION 8: FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: var(--bg-paper);
  padding: 100px 0;
  border-top: var(--border-thick);
  color: var(--ink-primary);
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.faq-label {
  font-family: var(--font-hand);
  color: var(--brand-ochre);
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}

.faq-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--brand-navy);
  font-weight: 400;
  margin-bottom: 16px;
}

.faq-sub {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

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

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-item:first-child {
  border-top: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: var(--transition-fast);
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-question h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.4;
  margin: 0;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-secondary);
  transition: transform 0.3s var(--ease-out-expo);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 0 24px;
}

.faq-answer p,
.faq-answer-inner p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.faq-answer p:last-child,
.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer-inner ul {
  padding-left: 20px;
  margin: 12px 0;
}

.faq-answer li,
.faq-answer-inner li {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.faq-answer strong,
.faq-answer-inner strong {
  color: var(--ink-primary);
}

/* ── SECTION 7: MADE IN GERMANY & TRUST ────────────────────────────────── */
.mig-section {
  background: var(--bg-dark);
  padding: 120px 0 100px;
  border-top: var(--border-thick);
  position: relative;
  overflow: hidden;
}

.mig-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(223, 154, 38, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.mig-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.mig-origin-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-left: 3px solid #FFCE00;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.mig-seal-flag {
  display: inline-flex;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mig-seal-flag svg {
  display: block;
}

.mig-seal-text {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-ochre);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mig-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 54px);
  color: var(--ink-light);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.mig-heading em {
  font-style: italic;
  color: var(--brand-ochre);
}

.mig-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--ink-muted);
  line-height: 1.7;
}

.mig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.mig-card {
  background: #181b20;
  border: 1px solid rgba(243, 244, 246, 0.08);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mig-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 154, 38, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.mig-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mig-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: rgba(223, 154, 38, 0.1);
  border: 1px solid rgba(223, 154, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ochre);
}

.mig-card-icon svg {
  width: 26px;
  height: 26px;
}

.mig-card-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(243, 244, 246, 0.06);
  color: var(--ink-muted);
  border: 1px solid rgba(243, 244, 246, 0.08);
}

.mig-card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-light);
  line-height: 1.3;
}

.mig-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.mig-trust-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
  background: rgba(243, 244, 246, 0.03);
  border: 1px dashed rgba(243, 244, 246, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mig-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.mig-trust-item svg {
  color: var(--brand-sage);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mig-grid {
    grid-template-columns: 1fr;
  }
  .mig-trust-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── SECTION 7: CTA ────────────────────────────────────────────────────── */
.cta-final {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(223,154,38,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.cta-mascot {
  width: 170px;
  max-width: 80vw;
  height: auto;
  margin: 0 auto 24px;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 8px 28px rgba(223,154,38,0.35));
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--ink-light);
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-headline em {
  font-style: italic;
  color: var(--brand-ochre);
}

.cta-sub {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 48px;
  font-size: 18px;
  font-weight: 800;
  background: var(--brand-ochre);
  color: var(--bg-dark);
  border: 2px solid var(--brand-ochre);
  box-shadow: 4px 4px 0px 0px rgba(243,244,246,0.15);
  transition: var(--transition-fast);
}

.cta-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px 0px rgba(243,244,246,0.2);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(243,244,246,0.08);
  padding: 60px 0 32px;
  text-align: left;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links li {
  margin: 0;
}

.site-footer .footer-link {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.site-footer .footer-link:hover {
  color: var(--brand-ochre);
}

.footer-badge {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(223, 154, 38, 0.15);
  color: var(--brand-ochre);
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(243,244,246,0.06);
  padding-top: 24px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-light);
}

.site-footer .footer-copy {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

/* ── UTILITIES ─────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.gsap-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ── 3.5 SCIENCE & EVIDENZ COMPACT SECTION ─────────────────────────────── */
.science-compact-section {
  padding: 90px 0;
  background: var(--bg-dark-mid);
  border-top: 1px solid rgba(243, 244, 246, 0.08);
  border-bottom: 1px solid rgba(243, 244, 246, 0.08);
  position: relative;
}

.science-compact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.science-visual-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 244, 246, 0.12);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.science-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ochre);
  margin-bottom: 6px;
}

.science-visual-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.science-graph-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.science-mascot-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science-mascot-img {
  width: 125px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.science-graph-stage .science-graph-wrapper {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.science-graph-wrapper {
  background: rgba(12, 13, 15, 0.6);
  border: 1px solid rgba(243, 244, 246, 0.08);
  border-radius: 3px;
  padding: 16px;
  margin-bottom: 12px;
}

.science-comparison-svg {
  width: 100%;
  height: auto;
  display: block;
}

.active-curve-anim {
  stroke-dasharray: 400;
  animation: activeCurveDraw 3.2s ease-in-out infinite alternate;
}

@keyframes activeCurveDraw {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.science-graph-caption {
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
}

.science-compact-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--ink-light);
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 14px;
}

.science-compact-sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.science-points-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.science-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point-icon {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: rgba(223, 154, 38, 0.14);
  border: 1px solid rgba(223, 154, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.science-point-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 4px;
}

.science-point-item p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.science-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62, 123, 92, 0.15);
  border: 1px solid rgba(62, 123, 92, 0.3);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 2px;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 968px) {
  .header-dock {
    padding: 14px 0 12px;
    top: 0;
  }

  .header-dock-inner {
    padding: 0 16px;
  }

  .header-island-menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-copy-col {
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    text-align: center;
  }

  .hero-statement {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .inspo-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .inspo-impact-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    padding: 24px 16px;
  }

  .inspo-impact-visual {
    width: 80px;
    height: 80px;
  }

  .science-compact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .showcase-sticky-col {
    order: -1;
  }

  .showcase-frame {
    position: relative !important;
    top: auto !important;
  }

  .showcase-text-track {
    padding: 20px 0;
  }

  .showcase-text-block {
    min-height: 40vh;
    opacity: 1;
    transform: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .demo-matching-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .matching-arrows {
    flex-direction: row;
    padding-top: 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .desk-dropzone {
    padding: 18px 16px;
  }

  .desk-dropzone-inner {
    justify-content: center;
    text-align: center;
  }

  .desk-dropzone-text {
    align-items: center;
  }
}

/* ── SECTION: MEE-CENTRIC VISUAL ARCHITECTURE & LAYOUT ────────────────── */

@keyframes meeFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes meePulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

/* 2. Process / How Mee Works Section */
.steps-dual-stage {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: 48px;
}

.steps-mascot-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.steps-mascot-img {
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.65));
  animation: meeHeroFloat 4.8s ease-in-out infinite;
}

.steps-cards-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1 !important;
  visibility: visible !important;
}

.step-card-v2 {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 24px 28px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.step-card-v2:hover {
  border-color: rgba(223, 154, 38, 0.4);
  background: #181C23;
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.step-num-badge {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.12);
  border: 1px solid rgba(223, 154, 38, 0.35);
  border-radius: 4px;
  padding: 6px 12px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.step-card-v2:nth-child(2) .step-num-badge {
  color: #4ADE80;
  background: rgba(62, 123, 92, 0.18);
  border-color: rgba(62, 123, 92, 0.4);
}

.step-card-v2:nth-child(3) .step-num-badge {
  color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.12);
  border-color: rgba(223, 154, 38, 0.35);
}

.step-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.step-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #9CA3AF;
  margin: 0;
}

/* 3. Showcase Section with Mee Presenter */
.showcase-section {
  background: var(--bg-dark);
  padding: clamp(70px, 9vw, 110px) 0;
  border-top: var(--border-thick-light);
  border-bottom: var(--border-thick-light);
  position: relative;
}

.showcase-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.showcase-stage-wrapper {
  position: relative;
  margin-top: 24px;
  margin-bottom: 40px;
}

.showcase-presenter-mee {
  position: absolute;
  top: -76px;
  right: 28px;
  z-index: 15;
  pointer-events: none;
}

.showcase-presenter-mee .showcase-mee-img {
  width: 190px;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.65));
  animation: meeFloat 4.4s ease-in-out infinite;
}

.showcase-interactive-stage {
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.showcase-nav-bar {
  display: flex;
  background: #161920;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.showcase-tab-btn:hover {
  color: var(--ink-light);
  background: rgba(255, 255, 255, 0.03);
}

.showcase-tab-btn.active {
  color: var(--brand-ochre);
  border-bottom-color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.08);
}

.showcase-viewport {
  padding: clamp(24px, 4vw, 40px);
  min-height: 380px;
  position: relative;
  background: #0E1014;
  color: var(--ink-light);
}

.demo-summary-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-bottom: 10px;
}

.demo-summary-text {
  font-size: 15px;
  line-height: 1.85;
  color: #D1D5DB !important;
}

.demo-summary-text strong {
  color: #FFFFFF;
}

.demo-summary-text .kw {
  background: transparent !important;
  color: var(--brand-ochre) !important;
  font-weight: 700;
  padding: 0 1px !important;
  border-radius: 0 !important;
  border-bottom: 1.5px solid rgba(223, 154, 38, 0.65);
}

.demo-summary-text .kw-blue {
  background: transparent !important;
  color: #60A5FA !important;
  font-weight: 700;
  padding: 0 1px !important;
  border-radius: 0 !important;
  border-bottom: 1.5px solid rgba(96, 165, 250, 0.65);
}

.demo-quiz-question {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15) !important;
}

.demo-quiz-opt {
  background: #15181F !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #E5E7EB !important;
  border-radius: 3px;
}

.demo-quiz-opt:hover {
  background: #1B202A !important;
  border-color: var(--brand-ochre) !important;
}

.demo-quiz-opt .opt-marker {
  border: 1.5px solid var(--brand-ochre) !important;
  border-radius: 2px !important;
  color: var(--brand-ochre) !important;
  background: rgba(223, 154, 38, 0.12);
}

.matching-col-title {
  color: var(--brand-ochre) !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matching-item {
  background: #15181F !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #E5E7EB !important;
  border-radius: 3px;
}

.matching-item:hover {
  background: #1B202A !important;
  border-color: rgba(223, 154, 38, 0.4) !important;
}

.showcase-panel {
  display: none;
  animation: paneFadeIn 0.3s ease forwards;
}

.showcase-panel.active {
  display: block;
}

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

.showcase-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spec-card {
  background: #13161C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 22px 20px;
  transition: all 0.25s ease;
}

.spec-card:hover {
  border-color: rgba(223, 154, 38, 0.4);
  transform: translateY(-3px);
}

.spec-num {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-ochre);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.spec-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

/* Showcase 24/7 AI Tutor Callout Banner */
.showcase-tutor-banner {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(223, 154, 38, 0.25);
  border-left: 3px solid var(--brand-ochre);
  border-radius: 4px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.showcase-tutor-mascot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutor-mascot-img {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.showcase-tutor-content {
  flex: 1;
}

.tutor-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.tutor-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .showcase-tutor-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

/* 4. CTA Stage */
.cta-mascot-visual {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.cta-mascot-visual img {
  animation: meeFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5));
}

/* 5. Responsive Adjustments */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy-col {
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    text-align: center;
  }

  .hero-sub {
    text-align: center;
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps-dual-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .steps-mascot-stage {
    margin-bottom: 20px;
  }

  .showcase-presenter-mee {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }

  .showcase-presenter-mee .showcase-mee-img {
    width: 150px;
  }

  .showcase-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .showcase-features-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════════════
   CONVERSION UPGRADES (SEO + Conversion Merge)
   Value-first CTA, risk-reversal assurance, Anki/Quizlet matrix
   column and the mobile sticky action bar. Brutalist academic style:
   sharp boxes, border-radius max 4px, no pill badges, no eyebrows.
   ══════════════════════════════════════════════════════════════════ */

/* Risk-reversal line under the final CTA button.
   Strict No-Pill-Badge: a square seal with border-radius: 4px. */
.cta-assurance {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(223, 154, 38, 0.28);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  text-align: left;
}

.cta-assurance svg {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .cta-assurance {
    font-size: 12.5px;
    padding: 8px 13px;
    align-items: flex-start;
  }
  .cta-assurance svg {
    margin-top: 2px;
  }
}

/* Anki / Quizlet competitor column. Distinct from the ChatGPT red and the
   Academee ochre so the three alternatives stay visually separable. */
.ai-matrix-table .matrix-col-anki {
  color: #A78BFA;
  width: 17%;
}

.ai-matrix-table tbody td.matrix-cell-dim {
  color: var(--ink-secondary);
}

/* ══ MOBILE STICKY ACTION BAR ══
   Only on small viewports, and hidden once the final CTA is on screen so
   it never competes with the primary call to action. */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 860px) {
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(12, 13, 15, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(223, 154, 38, 0.22);
    transform: translateY(110%);
    transition: transform 0.32s ease;
  }

  .mobile-sticky-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-sticky-info {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }

  .mobile-sticky-info img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .mobile-sticky-text {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-light);
    line-height: 1.25;
  }

  .mobile-sticky-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    background: var(--brand-ochre);
    color: #14161A;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid var(--brand-ochre);
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
  }

  .mobile-sticky-btn:active {
    transform: translateY(1px);
  }

  /* Keep the page content clear of the fixed bar. */
  .site-footer {
    padding-bottom: 84px;
  }
}

@media (min-width: 861px) {
  .mobile-sticky-btn {
    display: none;
  }
}

/* =============================================================================
   TEXT-TO-VISUAL PASS (2026-10-05)

   Two sections carried prose that repeated what the page already shows:

     1. The four SPEC cards described, in a sentence each, the four things the
        interactive demo directly above them demonstrates. Those paragraphs are
        gone. Each card now carries a text-free diagram of its own mechanic
        (a marked-up summary, a question with answer bars, two terms joined to
        one definition, a node map) and opens the matching demo tab on click.
     2. The cognitive-science section lost its intro sentence and the one
        description under each of the three bullets. The heading, the
        forgetting-curve graph and the three titles stay.

   The "Made in Germany" block was removed outright and needs no rules here.

   These rules cover the shapes that changed; everything else is untouched.
   ========================================================================== */

/* --- 1. SPEC cards: diagram replaces the paragraph ------------------------ */

.spec-card {
  display: block;
  text-decoration: none;
}

.spec-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  color: var(--brand-ochre);
  background: rgba(223, 154, 38, 0.12);
  border: 1px solid rgba(223, 154, 38, 0.32);
  border-radius: 3px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.spec-card-icon svg {
  width: 34px;
  height: 34px;
}

.spec-card:hover .spec-card-icon {
  background: rgba(223, 154, 38, 0.2);
  border-color: rgba(223, 154, 38, 0.6);
}

.spec-card h4 {
  margin-bottom: 0;
}

/* The bullet descriptions are gone, so the title is the last element in the
   point and must not keep the margin that used to clear the paragraph. */
.science-point-item h4:last-child {
  margin-bottom: 0;
}

.science-point-item h4:last-child {
  margin-bottom: 0;
}
