/* ============================================================
   Codextroop AI Curriculum — Landing Page
   Theme aligned with Codextroop Prompt Library
   Emerald UI · Lime CTAs · Light mint surfaces · No purple
   ============================================================ */
:root {
  --lp-bg: #ffffff;
  --lp-bg-2: #f8fafc;
  --lp-section: #f8fafc;
  --lp-mint: #ecfdf5;
  --lp-mint-strong: #d1fae5;
  --lp-hover-mint: #f0fdf4;
  --lp-surface: #ffffff;
  --lp-border: #e2e8f0;
  --lp-text: #111827;
  --lp-text-dim: #475569;
  --lp-text-muted: #64748b;
  --lp-primary: #059669;
  --lp-primary-dark: #047857;
  --lp-primary-light: #d1fae5;
  --lp-cta: #00cc00;
  --lp-cta-hover: #00b300;
  --lp-teal: #0f766e;
  --lp-amber: #f59e0b;
  --lp-blue: #2563eb;
  --lp-rose: #e11d48;
  --lp-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --lp-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --lp-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --lp-radius: 16px;
  --lp-radius-sm: 10px;
  --lp-radius-btn: 10px;
  --lp-shadow: 0 4px 20px rgb(15 23 42 / 0.06);
  --lp-shadow-lift: 0 10px 30px rgb(15 23 42 / 0.08);
}

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

html { scroll-behavior: smooth; }

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

.landing-page a { text-decoration: none; color: inherit; }
.landing-page a.lp-btn-primary,
.landing-page a.lp-btn-hero.primary {
  color: #ffffff;
}
.landing-page .lp-logo .lp-product-badge {
  color: #ffffff;
}

/* ---------- Background (mint grid like Prompt Library) ---------- */
.lp-bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(209, 250, 229, 0.7), transparent 60%),
    radial-gradient(ellipse 45% 35% at 90% 10%, rgba(236, 253, 245, 0.9), transparent 55%);
}

.lp-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(#d1fae5 1px, transparent 1px),
    linear-gradient(90deg, #d1fae5 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(20px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lp-brand-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.lp-product-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--lp-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--lp-primary);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.lp-logo .lp-product-badge {
  color: #ffffff;
}

.lp-brand-eyebrow {
  font-family: var(--lp-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin: 0 0 14px;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lp-text-dim);
  transition: color 0.2s;
}

.lp-nav-links a:hover { color: var(--lp-primary); }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-btn-ghost {
  font-family: var(--lp-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--lp-radius-btn);
  border: 1px solid var(--lp-border);
  background: transparent;
  color: var(--lp-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.lp-btn-ghost:hover {
  border-color: var(--lp-primary);
  background: var(--lp-hover-mint);
  color: var(--lp-primary-dark);
}

.lp-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lp-btn-hero .lp-btn-icon {
  width: 18px;
  height: 18px;
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--lp-radius-btn);
  border: none;
  background: var(--lp-cta);
  color: #ffffff !important;
  cursor: pointer;
  box-shadow: var(--lp-shadow);
  transition: background 0.2s, transform 0.2s;
}

.lp-btn-primary:hover {
  background: var(--lp-cta-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.lp-btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--lp-radius-btn);
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: var(--lp-primary);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lp-btn-install:hover {
  background: #d1fae5;
  transform: translateY(-1px);
}

.lp-btn-hero.secondary[hidden],
.lp-btn-install[hidden] {
  display: none !important;
}

.lp-menu-toggle {
  display: none;
  background: var(--lp-bg-2);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  width: 42px;
  height: 42px;
  border-radius: var(--lp-radius-btn);
  cursor: pointer;
  font-size: 1.25rem;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px clamp(20px, 5vw, 80px) 80px;
  min-height: calc(100vh - 72px);
  max-width: 1280px;
  margin: 0 auto;
}

.lp-hero-content { max-width: 560px; }

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lp-primary-dark);
  border: 1px solid var(--lp-mint-strong);
  background: var(--lp-mint);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: lp-fade-up 0.7s ease both;
}

.lp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.lp-hero h1 {
  font-family: var(--lp-display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin: 0 0 16px;
  animation: lp-fade-up 0.7s 0.1s ease both;
}

.lp-hero-gradient {
  display: block;
  color: var(--lp-primary);
  -webkit-text-fill-color: var(--lp-primary);
  background: none;
}

.lp-hero-desc {
  font-size: 1.05rem;
  color: var(--lp-text-dim);
  margin: 0 0 28px;
  max-width: 480px;
  line-height: 1.65;
  animation: lp-fade-up 0.7s 0.2s ease both;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: lp-fade-up 0.7s 0.3s ease both;
}

.lp-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--lp-radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.lp-btn-hero.primary {
  background: var(--lp-cta);
  color: #fff;
  box-shadow: var(--lp-shadow);
}

.lp-btn-hero.primary:hover {
  background: var(--lp-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lift);
}

.lp-btn-hero.secondary {
  background: #fff;
  color: var(--lp-primary);
  border: 2px solid var(--lp-primary);
}

.lp-btn-hero.secondary:hover {
  background: var(--lp-primary-light);
}

.lp-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background: var(--lp-mint);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  color: var(--lp-primary-dark);
}

/* ---------- Hero Visual ---------- */
.lp-hero-visual {
  position: relative;
  height: 480px;
  animation: lp-fade-up 0.9s 0.2s ease both;
}

.lp-desk-surface {
  position: absolute;
  inset: 10% 0 0 5%;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 20px;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-lift);
  overflow: hidden;
}

.lp-desk-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(209, 250, 229, 0.65), transparent 55%);
}

.lp-laptop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-55%, -52%);
  width: 72%;
  z-index: 2;
}

.lp-laptop-screen {
  background: #0b1220;
  border-radius: 12px 12px 0 0;
  border: 2px solid #1e293b;
  border-bottom: none;
  padding: 12px 14px 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}

.lp-laptop-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.lp-laptop-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.lp-laptop-bar span:nth-child(1) { background: #f87171; }
.lp-laptop-bar span:nth-child(2) { background: #fbbf24; }
.lp-laptop-bar span:nth-child(3) { background: #34d399; }

.lp-code {
  font-family: var(--lp-mono);
  font-size: clamp(0.55rem, 1.2vw, 0.72rem);
  line-height: 1.65;
  color: #cbd5e1;
}

.lp-code .kw { color: #34d399; }
.lp-code .fn { color: #6ee7b7; }
.lp-code .str { color: #a7f3d0; }
.lp-code .cm { color: #64748b; }
.lp-code .ty { color: #5eead4; }

.lp-laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
  width: 108%;
  transform: translateX(-3.7%);
  border: 1px solid var(--lp-border);
  border-top: none;
}

.lp-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-family: var(--lp-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--lp-border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--lp-shadow);
  animation: lp-float 4s ease-in-out infinite;
  z-index: 3;
}

.lp-float-badge.py {
  top: 8%;
  right: 8%;
  color: #047857;
  animation-delay: 0s;
}

.lp-float-badge.ts {
  top: 28%;
  right: 2%;
  color: #0f766e;
  animation-delay: 0.5s;
}

.lp-float-badge.react {
  top: 52%;
  right: 6%;
  color: #059669;
  animation-delay: 1s;
}

.lp-float-badge.docker {
  bottom: 28%;
  right: 0;
  color: #2563eb;
  animation-delay: 1.5s;
}

.lp-float-badge.ai {
  bottom: 10%;
  right: 18%;
  background: var(--lp-primary);
  color: #fff;
  border-color: var(--lp-primary);
  animation-delay: 2s;
}

.lp-books {
  position: absolute;
  left: 4%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 2;
  transform: perspective(400px) rotateY(8deg);
}

.lp-book {
  box-sizing: border-box;
  width: max-content;
  height: auto;
  min-height: 18px;
  border-radius: 2px 3px 3px 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: inset -3px 0 0 rgba(0, 0, 0, 0.12);
}

.lp-book:nth-child(1) { background: linear-gradient(90deg, #047857, #059669); }
.lp-book:nth-child(2) { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.lp-book:nth-child(3) { background: linear-gradient(90deg, #00b300, #00cc00); }

.lp-coffee {
  position: absolute;
  left: 30%;
  bottom: 8%;
  width: 28px;
  height: 36px;
  background: linear-gradient(180deg, #fff, #f1f5f9);
  border-radius: 4px 4px 8px 8px;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  z-index: 2;
}

.lp-coffee::after {
  content: 'AI';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--lp-mono);
  font-size: 0.45rem;
  color: var(--lp-primary);
  font-weight: 700;
}

/* ---------- Stats Bar ---------- */
.lp-stats-wrap {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 80px);
  margin-top: -40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 8px 0;
  box-shadow: var(--lp-shadow);
}

.lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--lp-border);
}

.lp-stat:last-child { border-right: none; }

.lp-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lp-stat-icon.emerald { background: #ecfdf5; color: #047857; }
.lp-stat-icon.blue { background: #eff6ff; color: #1d4ed8; }
.lp-stat-icon.amber { background: #fffbeb; color: #b45309; }
.lp-stat-icon.rose { background: #fff1f2; color: #be123c; }

.lp-stat-num {
  font-family: var(--lp-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
  color: var(--lp-text);
}

.lp-stat-label {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
}

/* ---------- Features ---------- */
.lp-features-section {
  position: relative;
  z-index: 1;
  background: var(--lp-bg);
  color: var(--lp-text);
  padding: 96px clamp(20px, 5vw, 80px) 72px;
  margin-top: 48px;
}

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

.lp-section-header h2 {
  font-family: var(--lp-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--lp-text);
}

.lp-section-header p {
  color: var(--lp-text-dim);
  font-size: 1rem;
  margin: 0;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

#features .lp-features {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1280px;
}

#features .lp-feature-card {
  padding: 20px 14px;
}

#features .lp-feature-icon {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

#features .lp-feature-card h3 {
  font-size: 0.92rem;
  line-height: 1.25;
}

#features .lp-feature-card p {
  font-size: 0.78rem;
  line-height: 1.45;
}

.lp-feature-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 28px 22px;
  box-shadow: var(--lp-shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  background: var(--lp-hover-mint);
  box-shadow: var(--lp-shadow-lift);
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.lp-feature-icon.emerald { background: #ecfdf5; }
.lp-feature-icon.blue { background: #eff6ff; }
.lp-feature-icon.amber { background: #fffbeb; }
.lp-feature-icon.teal { background: #f0fdfa; }

.lp-feature-card h3 {
  font-family: var(--lp-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.lp-feature-card p {
  font-size: 0.9rem;
  color: var(--lp-text-dim);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Certification Showcase ---------- */
.lp-cert-section {
  position: relative;
  z-index: 1;
  padding: 88px clamp(20px, 5vw, 80px);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgb(209 250 229 / 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgb(167 243 208 / 0.35), transparent 50%),
    var(--lp-mint);
  border-top: 1px solid var(--lp-mint-strong);
  border-bottom: 1px solid var(--lp-mint-strong);
  overflow: hidden;
}

.lp-cert-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgb(5 150 105 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(5 150 105 / 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}

.lp-cert-shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.lp-cert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.lp-cert-visual {
  position: relative;
  margin: 0;
}

.lp-cert-visual-backdrop {
  position: absolute;
  inset: 8% 4% -6%;
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(5 150 105 / 0.12), rgb(16 185 129 / 0.04));
  filter: blur(2px);
  z-index: 0;
}

.lp-cert-frame {
  position: relative;
  z-index: 1;
  background: var(--lp-surface);
  border: 1px solid rgb(5 150 105 / 0.15);
  border-radius: 20px;
  padding: clamp(14px, 2vw, 22px);
  box-shadow:
    0 4px 6px rgb(15 23 42 / 0.04),
    0 24px 48px rgb(15 23 42 / 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lp-cert-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 12px rgb(15 23 42 / 0.05),
    0 32px 64px rgb(5 150 105 / 0.12);
}

.lp-cert-sample-label {
  position: absolute;
  top: clamp(22px, 3vw, 30px);
  left: clamp(22px, 3vw, 30px);
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  border: 1px solid var(--lp-border);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  backdrop-filter: blur(6px);
}

.lp-cert-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.lp-cert-visual-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.lp-cert-visual-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lp-text-dim);
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.04);
}

.lp-cert-caption {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--lp-text-muted);
  line-height: 1.45;
}

.lp-cert-header {
  margin-bottom: 28px;
}

.lp-cert-eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-primary);
}

.lp-cert-content h2 {
  font-family: var(--lp-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--lp-text);
}

.lp-cert-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 1.02rem;
  color: var(--lp-text-dim);
  line-height: 1.65;
}

.lp-cert-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.lp-cert-plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: 0 2px 12px rgb(15 23 42 / 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-cert-plan-foundation {
  border-color: rgb(5 150 105 / 0.28);
  box-shadow:
    0 2px 12px rgb(15 23 42 / 0.04),
    inset 3px 0 0 var(--lp-primary);
}

.lp-cert-plan-foundation:hover {
  border-color: rgb(5 150 105 / 0.45);
  box-shadow:
    0 8px 24px rgb(5 150 105 / 0.1),
    inset 3px 0 0 var(--lp-primary);
}

.lp-cert-plan-professional {
  background: linear-gradient(180deg, #fafafa 0%, var(--lp-surface) 100%);
  opacity: 0.88;
}

.lp-cert-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lp-cert-plan-top h3 {
  margin: 0;
  font-family: var(--lp-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-text);
}

.lp-cert-plan-sub {
  margin: 3px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lp-primary-dark);
}

.lp-cert-plan-status {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-cert-plan-status.is-live {
  background: var(--lp-primary-light);
  color: var(--lp-primary-dark);
}

.lp-cert-plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-cert-plan-metrics div {
  text-align: center;
  padding: 0 6px;
}

.lp-cert-plan-metrics div:not(:last-child) {
  border-right: 1px solid var(--lp-border);
}

.lp-cert-plan-metrics dt {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
}

.lp-cert-plan-metrics dd {
  margin: 0;
  font-family: var(--lp-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-cert-plan-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
}

.lp-cert-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.65);
  border: 1px solid rgb(5 150 105 / 0.12);
}

.lp-cert-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.lp-cert-features li span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.lp-cert-features strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1.3;
}

.lp-cert-features em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--lp-text-muted);
  line-height: 1.35;
}

.lp-cert-feature-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  color: var(--lp-primary);
  box-shadow: 0 1px 4px rgb(15 23 42 / 0.04);
}

.lp-cert-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.lp-cert-cta {
  min-width: min(100%, 280px);
  justify-content: center;
}

.lp-cert-footnote {
  margin: 0;
  max-width: 48ch;
  font-size: 0.8rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
}

/* Legacy tier classes — kept for other pages if referenced */
.lp-cert-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.lp-cert-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: var(--lp-radius-sm);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  text-align: center;
}

.lp-cert-tier-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-cert-tier-score {
  font-family: var(--lp-mono);
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-cert-tier-note {
  font-size: 0.68rem;
  color: var(--lp-text-muted);
}

.lp-cert-tier-excellent { border-color: #86efac; background: #f0fdf4; }
.lp-cert-tier-excellent .lp-cert-tier-label { color: #047857; }
.lp-cert-tier-excellent .lp-cert-tier-score { color: #059669; }

.lp-cert-tier-good { border-color: #93c5fd; background: #eff6ff; }
.lp-cert-tier-good .lp-cert-tier-label { color: #1d4ed8; }
.lp-cert-tier-good .lp-cert-tier-score { color: #2563eb; }

.lp-cert-tier-pass { border-color: #fcd34d; background: #fffbeb; }
.lp-cert-tier-pass .lp-cert-tier-label { color: #b45309; }
.lp-cert-tier-pass .lp-cert-tier-score { color: #d97706; }

.lp-cert-note {
  margin: 0 0 24px;
  font-size: 0.88rem;
  color: var(--lp-text-muted);
  line-height: 1.55;
}

/* ---------- Curriculum Preview ---------- */
.lp-curriculum-section {
  position: relative;
  z-index: 1;
  padding: 72px clamp(20px, 5vw, 80px);
  background: var(--lp-section);
}

.lp-curriculum-section .lp-section-header {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-volumes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.lp-vol-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 22px;
  box-shadow: var(--lp-shadow);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.lp-vol-card:hover {
  border-color: #a7f3d0;
  background: var(--lp-hover-mint);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lift);
}

.lp-vol-num {
  font-family: var(--lp-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--lp-primary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.lp-vol-card h3 {
  font-family: var(--lp-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--lp-text);
}

.lp-vol-card p {
  font-size: 0.85rem;
  color: var(--lp-text-dim);
  margin: 0 0 16px;
}

.lp-vol-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--lp-text-muted);
  font-family: var(--lp-mono);
}

/* ---------- CTA ---------- */
.lp-cta {
  position: relative;
  z-index: 1;
  margin: 0 clamp(20px, 5vw, 80px) 72px;
  padding: 56px clamp(24px, 5vw, 64px);
  border-radius: 20px;
  background: var(--lp-mint);
  border: 1px solid var(--lp-mint-strong);
  text-align: center;
  overflow: hidden;
}

.lp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(209, 250, 229, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 250, 229, 0.9) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.lp-cta h2 {
  position: relative;
  font-family: var(--lp-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--lp-text);
}

.lp-cta p {
  position: relative;
  font-size: 1rem;
  color: var(--lp-text-dim);
  margin: 0 auto 24px;
  max-width: 520px;
}

.lp-cta .lp-btn-hero {
  position: relative;
  background: var(--lp-cta);
  color: #fff;
  box-shadow: var(--lp-shadow);
}

.lp-cta .lp-btn-hero:hover {
  background: var(--lp-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lift);
}

/* ---------- Content disclaimer ---------- */
.lp-disclaimer {
  position: relative;
  z-index: 1;
  margin: 0 clamp(20px, 5vw, 80px) 56px;
}

.lp-disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: var(--lp-radius);
  border: 1px solid #fde68a;
  background: #fffbeb;
  box-shadow: var(--lp-shadow);
}

.lp-disclaimer-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fef3c7;
  color: #b45309;
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-disclaimer h2 {
  font-family: var(--lp-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--lp-text);
}

.lp-disclaimer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--lp-text-dim);
}

@media (max-width: 600px) {
  .lp-disclaimer-inner {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
}

/* ---------- Footer ---------- */
.lp-footer {
  position: relative;
  z-index: 1;
  background: var(--lp-section);
  border-top: 1px solid var(--lp-border);
  padding: 40px clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
}

.lp-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-footer-brand .lp-brand-logo {
  height: 32px;
}

.lp-footer-tagline {
  font-size: 0.85rem;
  color: var(--lp-text-dim);
  line-height: 1.5;
  margin: 0;
}

.lp-footer-tagline a {
  color: var(--lp-primary);
  font-weight: 600;
}

.lp-footer-tagline a:hover { color: var(--lp-primary-dark); }

.lp-footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 8px 32px;
  justify-self: end;
  align-content: start;
}

.lp-footer-links a {
  font-size: 0.85rem;
  color: var(--lp-text-dim);
  transition: color 0.2s;
  white-space: nowrap;
}

.lp-footer-links a:hover { color: var(--lp-primary); }

.lp-footer-copy,
.lp-footer-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
}

.lp-footer-disclaimer {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--lp-border);
  text-align: left;
}

.lp-footer-copy {
  padding-top: 16px;
  border-top: 1px solid var(--lp-border);
  text-align: center;
  font-family: var(--lp-mono);
}

/* ---------- Mobile nav drawer ---------- */
.lp-mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  padding: 28px clamp(20px, 5vw, 80px);
  gap: 4px;
  border-bottom: 1px solid var(--lp-border);
}

.lp-mobile-menu.open { display: flex; }

.lp-mobile-menu a {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--lp-border);
  color: var(--lp-text-dim);
}

.lp-mobile-menu a:hover { color: var(--lp-primary); }

/* ---------- Animations ---------- */
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.lp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 72px;
  }

  .lp-hero-visual {
    height: 380px;
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .lp-hero-content {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .lp-hero-desc { margin-left: auto; margin-right: auto; }
  .lp-hero-ctas { justify-content: center; }

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

  #features .lp-features {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  #features .lp-feature-card {
    padding: 16px 10px;
  }

  #features .lp-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  #features .lp-feature-card h3 {
    font-size: 0.8rem;
  }

  #features .lp-feature-card p {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .lp-cert-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .lp-cert-content {
    order: 2;
  }

  .lp-cert-visual {
    order: 1;
  }

  .lp-cert-action {
    align-items: stretch;
  }

  .lp-cert-cta {
    width: 100%;
  }

  .lp-curriculum-section .lp-section-header {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .lp-nav-links, .lp-nav-actions .lp-btn-ghost { display: none; }
  .lp-menu-toggle { display: grid; place-items: center; }
  .lp-brand-logo { height: 30px; max-width: 120px; }
  .lp-product-badge { font-size: 9px; padding: 4px 8px; }

  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stat { border-right: none; border-bottom: 1px solid var(--lp-border); padding: 20px 12px; }
  .lp-stat:nth-child(odd) { border-right: 1px solid var(--lp-border); }
  .lp-stat:nth-last-child(-n+2) { border-bottom: none; }

  .lp-features { grid-template-columns: 1fr; }
  .lp-features-section { padding-top: 72px; }

  #features .lp-features {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  #features .lp-feature-card {
    padding: 12px 8px;
  }

  #features .lp-feature-card h3 {
    font-size: 0.72rem;
  }

  #features .lp-feature-card p {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .lp-cert-section { padding-top: 56px; padding-bottom: 56px; }
  .lp-cert-compare { grid-template-columns: 1fr; }
  .lp-cert-features { grid-template-columns: 1fr; }
  .lp-cert-tiers { grid-template-columns: 1fr; }

  .lp-footer {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .lp-footer-links {
    justify-self: start;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 10px 24px;
  }

  .lp-hero-visual { height: 320px; }
  .lp-float-badge { width: 42px; height: 42px; font-size: 0.65rem; }
  .lp-book {
    font-size: 10px;
    padding: 3px 7px;
    min-height: 16px;
  }
  .lp-coffee { left: 36%; }
}

@media (max-width: 480px) {
  .lp-hero-ctas { flex-direction: column; width: 100%; }
  .lp-btn-hero { justify-content: center; width: 100%; }
  .lp-stats-wrap { margin-top: -24px; }
  .lp-product-badge { font-size: 8px; padding: 4px 7px; }
  .lp-brand-logo { height: 28px; max-width: 120px; }

  #features .lp-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #features .lp-feature-card {
    padding: 20px 18px;
  }

  #features .lp-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  #features .lp-feature-card h3 {
    font-size: 1.05rem;
  }

  #features .lp-feature-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}
