/* ==========================================================================
   XenoTech Chess Academy - Premium Landing Page Styles
   Recreating Visual Reference Design with High Fidelity
   ========================================================================== */

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

:root {
  --landing-bg: #08090D;
  --landing-surface: rgba(255, 255, 255, 0.028);
  --landing-surface-subtle: rgba(255, 255, 255, 0.025);
  --landing-surface-product: rgba(255, 255, 255, 0.045);
  --landing-card: rgba(255, 255, 255, 0.032);
  --landing-card-hover: rgba(255, 255, 255, 0.05);
  --landing-border: rgba(255, 255, 255, 0.07);
  --landing-border-light: rgba(255, 255, 255, 0.09);
  --landing-border-orange: rgba(255, 122, 0, 0.4);

  --landing-text-primary: #F5F5F5;
  --landing-text-secondary: #A7ABB8;
  --landing-text-muted: #6B7280;

  --landing-orange: #FF7A00;
  --landing-orange-hover: #FF8500;
  --landing-orange-glow: rgba(255, 122, 0, 0.07);
  --landing-gold: #FFC928;
  --landing-green: #22C55E;
  --landing-blue: #3B82F6;
  --landing-blue-accent: #8EC5DB;

  --font-landing: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base resets for landing page */
body.landing-page {
  background-color: var(--landing-bg) !important;
  color: var(--landing-text-primary);
  font-family: var(--font-landing);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force override of global uppercase headings */
body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page h4,
body.landing-page h5,
body.landing-page .hero-heading,
body.landing-page .hero-tier-static,
body.landing-page .hero-rotator-item,
body.landing-page .curriculum-sidebar h2,
body.landing-page .platform-copy h2,
body.landing-page .testimonials-header h2,
body.landing-page .cta-heading {
  text-transform: none !important;
  font-family: var(--font-landing);
}

.landing-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ==========================================================================
   1. TOP NAVIGATION
   ========================================================================== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 9, 13, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.72rem 0;
  transition: all 0.3s ease;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand .brand-knight {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 122, 0, 0.35));
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.nav-brand .brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--landing-orange);
  text-transform: uppercase;
}

/* Menu links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #A7ABB8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-menu a:hover {
  color: #FFFFFF;
}

.nav-menu a.active {
  color: var(--landing-orange);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2.5px;
  background: var(--landing-orange);
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(255, 122, 0, 0.6);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-nav-login {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--landing-border-light);
  border-radius: 50px;
  padding: 0.5rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-nav-trial {
  background: var(--landing-orange);
  color: #FFFFFF;
  border: 1px solid var(--landing-orange);
  border-radius: 50px;
  padding: 0.52rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nav-trial:hover {
  background: var(--landing-orange-hover);
  border-color: var(--landing-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

/* Authenticated State in Public Navbar */
.nav-user-greeting {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E2E8F0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
}

.nav-user-greeting i {
  color: var(--landing-orange);
  font-size: 1rem;
}

.btn-nav-logout-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  border-radius: 50px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-nav-logout-sm:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.landing-hero {
  padding-top: 6.5rem;
  padding-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 620px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.22) 0%, rgba(255, 122, 0, 0.05) 55%, rgba(8, 9, 13, 0) 75%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  background: var(--landing-orange);
  border: 1px solid var(--landing-orange);
  color: #0B0C10;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0.38rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.45);
}

.hero-heading {
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem 0;
  color: #FFFFFF;
}

.hero-heading .text-orange {
  color: var(--landing-orange);
  display: block;
}

.text-orange,
.hero-headline-accent {
  color: #FF7A00 !important;
}

.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
  max-width: 480px;
  margin: 0 0 2rem 0;
}

/* Two-Tier Hero Typography Block */
.hero-two-tier {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.1rem;
  width: 100%;
}

.hero-tier-static {
  font-family: var(--font-landing);
  font-size: clamp(2.05rem, 3.1vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Creative Floating Kinetic Value Stream (No boxy card) */
.hero-tier-rotator {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 530px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.hero-chess-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 1.15rem 0 0.85rem 0;
  width: 100%;
}

.chess-piece-lineup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: #FFA43A;
  user-select: none;
}

.chess-piece-lineup i {
  opacity: 0.6;
  color: #FFA43A;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
  cursor: default;
}

.chess-piece-lineup i:hover {
  opacity: 1;
  color: #FFB049;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(255, 122, 0, 0.8));
}

.chess-piece-lineup i.fa-chess-knight {
  opacity: 1;
  color: #FF7A00;
  font-size: 1.08rem;
  filter: drop-shadow(0 0 8px rgba(255, 122, 0, 0.85));
}

.chess-divider-beam--left {
  display: none;
}

.chess-divider-beam--right {
  flex: 1;
  max-width: 260px;
  height: 1.5px;
  background: linear-gradient(90deg, #FF7A00 0%, rgba(255, 122, 0, 0.35) 55%, transparent 100%);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.35);
}

@media (max-width: 640px) {
  .hero-chess-divider {
    gap: 10px;
    margin: 0.95rem 0 0.75rem 0;
  }
  .chess-piece-lineup {
    gap: 10px;
    font-size: 0.88rem;
  }
  .chess-piece-lineup i.fa-chess-knight {
    font-size: 0.98rem;
  }
  .chess-divider-beam {
    max-width: 160px;
  }
}



.rotator-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 2.75em;
  align-items: center;
  position: relative;
}

.hero-rotator-item {
  grid-area: 1 / 1 / 2 / 2;
  font-family: var(--font-landing);
  font-size: clamp(1.12rem, 1.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #D2D6E4;
  margin: 0;
  text-wrap: balance;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.99);
  filter: blur(4px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
  pointer-events: none;
}

.hero-rotator-item span {
  color: #E2E5F0;
}

.rotator-glow-text {
  color: #FFA43A;
  background: linear-gradient(135deg, #FFB049 0%, #FF7A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  display: inline;
}

.hero-rotator-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  pointer-events: auto;
}

.hero-rotator-item.is-exiting {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.99);
  filter: blur(4px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotator-item {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.3s ease !important;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: var(--landing-orange);
  color: #FFFFFF;
  border: 1px solid var(--landing-orange);
  border-radius: 50px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: var(--landing-orange-hover);
  border-color: var(--landing-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.45);
}

.btn-hero-secondary {
  background: #111319;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 122, 0, 0.65);
  border-radius: 50px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 122, 0, 0.1);
  border-color: var(--landing-orange);
  transform: translateY(-2px);
}

/* Social trust row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--landing-bg);
  object-fit: cover;
  margin-left: -8px;
  display: block;
}

.hero-avatar-img:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-size: 0.84rem;
  color: var(--landing-text-secondary);
  line-height: 1.35;
  max-width: 220px;
  margin: 0;
}

/* Right column - Laptop Frame */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.laptop-chassis {
  width: 100%;
  max-width: 680px;
  position: relative;
}

.laptop-screen {
  background: #0E0F14;
  border-radius: 14px 14px 2px 2px;
  padding: 9px 9px 12px 9px;
  border: 1.5px solid #2B2E3C;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 45px rgba(255, 122, 0, 0.06);
  position: relative;
}

.laptop-camera-notch {
  width: 5px;
  height: 5px;
  background: #1B1D25;
  border-radius: 50%;
  margin: 0 auto 6px auto;
}

.laptop-display {
  background: #0D0F16;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 88px 1fr;
  height: 335px;
  font-size: 0.72rem;
  color: var(--landing-text-primary);
  user-select: none;
}

/* Laptop Sidebar */
.dash-sidebar {
  background: #0B0C10;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.2rem 0.55rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-brand img {
  height: 18px;
  width: auto;
}

.dash-brand span {
  font-size: 0.6rem;
  font-weight: 800;
  color: #FFFFFF;
}

.dash-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.35rem;
  border-radius: 4px;
  color: #727888;
  font-size: 0.64rem;
  font-weight: 500;
}

.dash-nav-item.active {
  background: rgba(255, 122, 0, 0.16);
  color: var(--landing-orange);
  font-weight: 700;
}

.dash-nav-item i {
  font-size: 0.68rem;
  width: 12px;
}

/* Laptop Main Content */
.dash-main {
  padding: 0.9rem 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #0D0F16;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-greeting {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.dash-user-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  font-size: 0.64rem;
  color: var(--landing-text-secondary);
}

.dash-avatar-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--landing-orange);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.dash-stat-card {
  background: #13151E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-stat-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.dash-stat-lbl {
  font-size: 0.56rem;
  color: var(--landing-text-muted);
  margin-top: 0.15rem;
}

.dash-stat-icon {
  font-size: 0.85rem;
  color: var(--landing-orange);
}

.dash-streak-card {
  justify-content: flex-start;
  gap: 0.55rem;
}

.dash-flame-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.dash-mid-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.55rem;
}

.dash-panel {
  background: #13151E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-panel-title {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--landing-text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.dash-learning-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.45rem;
  border-radius: 5px;
}

.dash-learning-thumb {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 122, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-orange);
  font-size: 0.72rem;
}

.dash-learning-info {
  flex: 1;
}

.dash-learning-name {
  font-size: 0.66rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.dash-learning-meta {
  font-size: 0.56rem;
  color: var(--landing-text-muted);
  margin: 0;
}

.dash-play-btn {
  color: var(--landing-orange);
  font-size: 0.8rem;
}

.dash-chart-trend {
  font-size: 0.56rem;
  color: var(--landing-orange);
  font-weight: 600;
}

.dash-sparkline-svg {
  width: 100%;
  height: 38px;
  overflow: visible;
}

.dash-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.dash-mini-card {
  background: #13151E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dash-mini-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.icon-puzzle { background: rgba(168, 85, 247, 0.15); color: #C084FC; }
.icon-review { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }

.dash-mini-title {
  font-size: 0.66rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.dash-mini-desc {
  font-size: 0.56rem;
  color: var(--landing-text-muted);
  margin: 0;
}

.laptop-base {
  height: 12px;
  background: #191B22;
  border-radius: 0 0 16px 16px;
  position: relative;
  margin: 0 auto;
  border-top: 1px solid #303340;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.8);
}

.laptop-notch {
  width: 70px;
  height: 4px;
  background: #0D0E13;
  border-radius: 0 0 5px 5px;
  margin: 0 auto;
}

.laptop-glow {
  position: absolute;
  bottom: -15px;
  left: 10%;
  right: 10%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* ==========================================================================
   3. CREDIBILITY / STATS BAR
   ========================================================================== */
.landing-credibility {
  padding: 0.8rem 0 3.8rem 0;
}

.credibility-box {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.75rem 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.credibility-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 0 1.6rem;
  position: relative;
}

.credibility-item:first-child {
  padding-left: 0.2rem;
}

.credibility-item:last-child {
  padding-right: 0.2rem;
}

.credibility-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.credibility-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-top: 3px;
}

.credibility-content {
  display: flex;
  flex-direction: column;
}

.credibility-sub {
  font-size: 0.78rem;
  color: #A7ABB8;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 0.15rem;
}

.credibility-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 0.35rem 0;
}

.credibility-desc {
  font-size: 0.82rem;
  color: #8E93A4;
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   4. CURRICULUM SECTION
   ========================================================================== */
.landing-curriculum {
  padding: 5rem 0;
}

.curriculum-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--landing-orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.curriculum-sidebar h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 1rem 0;
}

.curriculum-sidebar p {
  font-size: 1rem;
  color: var(--landing-text-secondary);
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.btn-curriculum-details {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--landing-orange);
  background: transparent;
  border: 1px solid var(--landing-orange);
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-curriculum-details:hover {
  background: rgba(255, 122, 0, 0.12);
  transform: translateX(3px);
}

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

.phase-card {
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.phase-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.25);
}

.phase-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.phase-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.phase-num.num-green { background: #22C55E; color: #08090D; }
.phase-num.num-orange { background: #FFC928; color: #08090D; }
.phase-num.num-blue { background: #38BDF8; color: #08090D; }

.phase-title-wrap {
  display: flex;
  flex-direction: column;
}

.phase-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.phase-badge {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.badge-green { color: var(--landing-green); }
.badge-orange { color: #FFA43A; }
.badge-blue { color: #38BDF8; }

.phase-checklist {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.phase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #C0C4D0;
  line-height: 1.4;
}

.phase-checklist i {
  color: var(--landing-green);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.phase-card:nth-child(2) .phase-checklist i {
  color: #FFA43A;
}

.phase-card:nth-child(3) .phase-checklist i {
  color: #38BDF8;
}

.phase-divider {
  height: 1px;
  background: var(--landing-border);
  margin-bottom: 1rem;
}

.phase-goal {
  margin: 0;
}

.phase-goal-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #A7ABB8;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: 0.25rem;
}

.phase-goal-text {
  font-size: 0.82rem;
  color: var(--landing-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   5. STUDENT PLATFORM SHOWCASE (2-Column Layout matching screenshot)
   ========================================================================== */
.landing-platform {
  padding: 5rem 0;
}

.platform-layout-2col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.platform-copy h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.platform-copy h2 .text-orange {
  color: var(--landing-orange);
  display: block;
}

.platform-copy p {
  font-size: 1.02rem;
  color: var(--landing-text-secondary);
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

/* The Analysis Platform Window */
.platform-window {
  background: #0E1017;
  border: 1px solid var(--landing-border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 122, 0, 0.06);
  display: grid;
  grid-template-columns: 165px 1fr 255px;
  min-height: 400px;
}

.plat-sidebar {
  background: #0A0C10;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.plat-board-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--landing-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.plat-board-header img {
  height: 16px;
  width: auto;
}

.plat-tool-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plat-tool-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.65rem;
  border-radius: 6px;
  color: #8C92A4;
  font-size: 0.76rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.plat-tool-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

.plat-tool-btn i {
  font-size: 0.8rem;
  width: 14px;
}

/* Center Board Area - Warm Wooden Chessboard */
.plat-board-area {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #11131A;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.board-render-wrap {
  width: 290px;
  max-width: 100%;
  position: relative;
}

.sim-chessboard {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  position: relative;
}

/* Warm wooden classic lichess/chess.com board theme */
.sim-square {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  user-select: none;
  position: relative;
}

.sim-square.light { background: #EDD6B0; color: #222; }
.sim-square.dark { background: #B88B4A; color: #111; }
.sim-square.highlight { background: #ABC064 !important; }

/* Move step controls */
.board-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  color: #7B8194;
}

.board-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A0A5B8;
  width: 28px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}

.board-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Right Analysis / Engine Panel */
.plat-analysis-panel {
  background: #0A0C10;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.plat-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.45rem;
  gap: 1.1rem;
}

.plat-tab-item {
  color: #7C8296;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.plat-tab-item.active {
  color: #FFFFFF;
  position: relative;
}

.plat-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--landing-orange);
}

.plat-eval-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.eval-score {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.eval-depth {
  font-size: 0.68rem;
  color: var(--landing-text-muted);
  margin-left: 0.35rem;
  white-space: nowrap;
}

.plat-lines {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.plat-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #C0C4D2;
  font-family: monospace;
}

.plat-line-eval {
  color: var(--landing-orange);
  font-weight: 600;
}

.plat-eval-chart {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 0.4rem;
}

.plat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.btn-plat-save {
  background: var(--landing-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-plat-save:hover {
  background: var(--landing-orange-hover);
}

.btn-plat-explore {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid var(--landing-border);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-plat-explore:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   6. VALUE PROPOSITION STRIP (6 Cards)
   ========================================================================== */
.landing-features-strip {
  padding: 4.5rem 0;
}

.features-strip-kicker {
  text-align: left;
  margin-bottom: 2rem;
}

.features-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.strip-card {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  padding: 1.6rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease;
}

.strip-card:last-child {
  border-right: none;
}

.strip-card:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: none;
}

.strip-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.strip-card-icon {
  font-size: 1.5rem;
  color: var(--landing-orange);
  line-height: 1;
  flex-shrink: 0;
}

.strip-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.strip-card-desc {
  font-size: 0.78rem;
  color: var(--landing-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   7. TESTIMONIALS SECTION (Modern Translucent Layered Hierarchy)
   ========================================================================== */
.landing-testimonials,
.classes-testimonials {
  padding: 5.5rem 0;
  position: relative;
}

.testimonials-header,
.classes-section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.8rem;
  gap: 2rem;
}

.testimonials-header h2,
.classes-section-header-split h2 {
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0.35rem 0 0.4rem 0;
  letter-spacing: -0.02em;
}

.testimonials-subtitle {
  font-size: 0.98rem;
  color: #9DA3B4;
  margin: 0;
  line-height: 1.55;
  max-width: 580px;
}

/* Trust Rating Summary Pill */
.testimonials-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-shrink: 0;
}

.trust-stars {
  display: flex;
  gap: 0.2rem;
  color: #FFA43A;
  font-size: 0.88rem;
}

.trust-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.trust-rating {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
}

.trust-desc {
  font-size: 0.74rem;
  color: #8E93A4;
  font-weight: 500;
}

/* 3-Column Responsive Grid */
.testimonials-grid,
.testimonials-grid-2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Testimonial Card */
.testi-card,
.classes-testi-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.55rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.testi-card:hover,
.classes-testi-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 122, 0, 0.06);
}

/* Card Top Row */
.testi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.testi-stars {
  display: flex;
  gap: 0.2rem;
  color: #FFA43A;
  font-size: 0.82rem;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.testi-badge.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.testi-badge.badge-orange {
  background: rgba(255, 122, 0, 0.12);
  color: #FFA43A;
  border: 1px solid rgba(255, 122, 0, 0.25);
}

.testi-badge.badge-amber {
  background: rgba(251, 191, 36, 0.12);
  color: #FCD34D;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.testi-badge.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.testi-badge.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.testi-badge.badge-cyan {
  background: rgba(20, 184, 166, 0.12);
  color: #2DD4BF;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

/* Card Quote Text */
.testi-quote-wrap {
  position: relative;
  flex: 1;
}

.testi-quote-text {
  font-size: 0.92rem;
  line-height: 1.62;
  color: #CCD1DE;
  margin: 0;
}

.testi-quote-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Card Author Profile */
.testi-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testi-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 122, 0, 0.4);
  flex-shrink: 0;
}

.testi-avatar.avatar-green {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  color: #4ADE80;
}

.testi-avatar.avatar-orange {
  border-color: rgba(255, 122, 0, 0.5);
  background: rgba(255, 122, 0, 0.1);
  color: #FFA43A;
}

.testi-avatar.avatar-amber {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.1);
  color: #FCD34D;
}

.testi-avatar.avatar-blue {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
  color: #60A5FA;
}

.testi-avatar.avatar-purple {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.1);
  color: #C084FC;
}

.testi-avatar.avatar-cyan {
  border-color: rgba(20, 184, 166, 0.5);
  background: rgba(20, 184, 166, 0.1);
  color: #2DD4BF;
}

.testi-author-meta {
  display: flex;
  flex-direction: column;
}

.testi-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.testi-author-title {
  font-size: 0.76rem;
  color: #8E93A4;
  margin-top: 0.15rem;
}

.testi-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .testimonials-grid,
  .testimonials-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-header,
  .classes-section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .testimonials-grid,
  .testimonials-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. LARGE CLOSING CTA
   ========================================================================== */
.landing-cta-banner {
  padding: 3rem 0 5.5rem 0;
}

.cta-banner-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 18px;
  padding: 2.8rem 3.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 40px rgba(255, 122, 0, 0.06);
}

.cta-left-content {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

.cta-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--landing-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  flex-shrink: 0;
}

.cta-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.02em;
}

.cta-subtext {
  font-size: 0.95rem;
  color: var(--landing-text-secondary);
  margin: 0;
}

.cta-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  margin-right: 120px;
}

.btn-cta-coach {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid var(--landing-border-light);
  border-radius: 50px;
  padding: 0.85rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-cta-coach:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-watermark {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  height: 90%;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-watermark img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255, 122, 0, 0.5));
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.landing-footer {
  background: #06070A;
  border-top: 1px solid var(--landing-border);
  padding: 2.8rem 0 1.8rem 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-brand .brand-knight {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-brand .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.footer-brand .brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--landing-orange);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--landing-text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.footer-socials a {
  color: var(--landing-text-muted);
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--landing-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #555A68;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-right: 4.5rem;
}

.footer-legal-links a {
  color: #555A68;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--landing-text-secondary);
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
  }
  .hero-two-tier {
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tier-static {
    text-align: center;
  }
  .hero-tier-rotator {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-chess-divider {
    justify-content: center;
    margin: 1rem auto 0.85rem auto;
    gap: 12px;
    max-width: 520px;
  }
  .chess-divider-beam--left {
    display: block;
    flex: 1;
    max-width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 122, 0, 0.35) 45%, #FF7A00 100%);
    border-radius: 99px;
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.35);
  }
  .chess-divider-beam--right {
    flex: 1;
    max-width: 80px;
  }
  .chess-piece-lineup {
    gap: 10px;
    font-size: 0.9rem;
  }
  .hero-rotator-item {
    text-align: center;
  }
  .hero-subtext {
    max-width: 600px;
  }
  .platform-layout-2col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .platform-copy {
    text-align: center;
    align-items: center;
  }
  .features-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .curriculum-layout {
    grid-template-columns: 1fr;
  }
  .curriculum-sidebar {
    text-align: center;
  }
}

.mobile-only-auth {
  display: none;
}

@media (max-width: 900px) {
  .mobile-only-auth {
    display: block;
  }
  .mobile-toggle {
    display: block !important;
  }
  .nav-menu.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0B0C10;
    border-bottom: 1px solid var(--landing-border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.nav-links.active {
    display: flex !important;
  }
  .credibility-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .credibility-item {
    padding: 0;
  }
  .credibility-item:not(:last-child)::after {
    display: none;
  }
  .curriculum-cards {
    grid-template-columns: 1fr;
  }
  .platform-window {
    grid-template-columns: 1fr;
  }
  .plat-sidebar {
    display: none;
  }
  .plat-analysis-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2.2rem 1.8rem;
    position: relative;
  }
  .cta-watermark {
    opacity: 0.18;
    width: 130px;
    right: -10px;
  }
  .cta-right-actions {
    width: 100%;
    flex-wrap: wrap;
    margin-right: 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

@media (max-width: 600px) {
  .landing-nav-inner {
    gap: 0.5rem;
  }
  .btn-nav-login {
    padding: 0.44rem 0.75rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  .btn-nav-trial {
    padding: 0.44rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
  .brand-knight {
    height: 30px !important;
  }
  .brand-name {
    font-size: 0.98rem !important;
  }
  .landing-hero {
    padding-top: 6.2rem;
  }
  .hero-heading {
    font-size: 2.25rem;
  }
  .hero-two-tier {
    gap: 0.85rem;
    margin-bottom: 1.8rem;
  }
  .hero-tier-static {
    font-size: clamp(1.72rem, 6.2vw, 2.15rem);
    line-height: 1.15;
  }
  .hero-tier-rotator {
    padding: 0;
    max-width: 100%;
  }
  .hero-rotator-item {
    font-size: 1.02rem;
    line-height: 1.45;
  }
  .rotator-stage {
    min-height: 3.2em;
  }
  .testi-card {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.6rem;
  }
  .credibility-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .features-grid-6 {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   11. OUR CLASSES PAGE SPECIFIC STYLES (MATCHING media_1791206873853.png)
   ========================================================================== */

/* Eyebrows & Badges */
.classes-eyebrow {
  color: #FFA43A;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-arrow-badge {
  color: #FFA43A;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

/* 1. Classes Hero Section */
.classes-hero {
  padding: 4.5rem 0 3rem 0;
  position: relative;
}

.classes-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.classes-hero-copy {
  display: flex;
  flex-direction: column;
}

.classes-hero-title {
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem 0;
}

.classes-hero-title .text-orange {
  color: #FFA43A;
}

.classes-hero-sub {
  font-size: 0.98rem;
  color: #9DA3B4;
  line-height: 1.6;
  max-width: 490px;
  margin: 0 0 2rem 0;
}

.classes-hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.btn-hero-primary {
  background: #FF7A00;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.35);
  border: 1px solid #FF7A00;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: #E56E00;
  border-color: #E56E00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.45);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

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

.classes-hero-visual::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0.03) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(45px);
  z-index: 0;
}

.classes-progression-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  display: block;
}

/* 2. Stats / Credibility Bar */
.classes-stats-section {
  padding: 1rem 0 3.5rem 0;
}

.classes-stats-box {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.4rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.classes-stat-col {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0 1.5rem;
  position: relative;
}

.classes-stat-col:first-child {
  padding-left: 0.5rem;
}

.classes-stat-col:last-child {
  padding-right: 0.5rem;
}

.classes-stat-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.classes-stat-svg {
  width: 32px;
  height: 32px;
  color: #FFA43A;
  stroke: #FFA43A;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.classes-stat-info {
  display: flex;
  flex-direction: column;
}

.classes-stat-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.classes-stat-sub {
  font-size: 0.78rem;
  color: #8E93A4;
  line-height: 1.35;
  margin-top: 0.2rem;
}

/* 3. Why XenoTech Section */
.classes-why {
  padding: 3.5rem 0;
}

.classes-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.8rem;
  align-items: center;
}

.classes-why-left h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

.classes-why-left p {
  font-size: 0.95rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
}

.classes-why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.classes-why-pillar {
  display: flex;
  flex-direction: column;
}

.classes-pillar-svg {
  width: 28px;
  height: 28px;
  color: #FFA43A;
  stroke: #FFA43A;
  stroke-width: 2;
  fill: none;
  margin-bottom: 0.75rem;
}

.classes-pillar-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.4rem 0;
}

.classes-pillar-text {
  font-size: 0.82rem;
  color: #8E93A4;
  line-height: 1.48;
  margin: 0;
}

/* 4. Curriculum Section */
.classes-curriculum {
  padding: 3.5rem 0;
}

.classes-section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
  gap: 2rem;
}

.classes-section-header-split h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.classes-section-header-split p {
  font-size: 0.92rem;
  color: #9DA3B4;
  max-width: 380px;
  text-align: right;
  line-height: 1.5;
  margin: 0;
}

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

.classes-phase-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.classes-phase-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.25);
}

.classes-phase-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.classes-phase-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-num-green { background: #22C55E; color: #08090D; }
.badge-num-gold { background: #FFA43A; color: #08090D; }
.badge-num-blue { background: #38BDF8; color: #08090D; }

.classes-phase-titles {
  display: flex;
  flex-direction: column;
}

.classes-phase-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.classes-phase-level {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.classes-phase-intro {
  font-size: 0.85rem;
  color: #9DA3B4;
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
  min-height: 38px;
}

.classes-section-subhead {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.4px;
  margin-bottom: 0.7rem;
}

.classes-learn-list {
  list-style: none;
  margin: 0 0 1.4rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.classes-learn-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #C0C4D0;
}

.classes-phase-card:nth-child(1) .classes-learn-list i { color: #22C55E; }
.classes-phase-card:nth-child(2) .classes-learn-list i { color: #FFA43A; }
.classes-phase-card:nth-child(3) .classes-learn-list i { color: #38BDF8; }

.classes-outcome-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}

.classes-outcome-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.classes-outcome-text {
  font-size: 0.82rem;
  color: #8E93A4;
  line-height: 1.45;
  margin: 0;
}

/* 5. Beyond Classes Section */
.classes-beyond {
  padding: 3.5rem 0;
}

.classes-beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 3.5rem;
  align-items: center;
}

.beyond-copy h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem 0;
}

.beyond-copy p {
  font-size: 0.95rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
}

.beyond-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.8rem 0 2rem 0;
}

.beyond-feature-item {
  display: flex;
  flex-direction: column;
}

.beyond-feature-svg {
  width: 26px;
  height: 26px;
  color: #FFA43A;
  stroke: #FFA43A;
  stroke-width: 2;
  fill: none;
  margin-bottom: 0.4rem;
}

.beyond-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.25rem 0;
}

.beyond-feature-desc {
  font-size: 0.8rem;
  color: #8E93A4;
  line-height: 1.42;
  margin: 0;
}

.btn-beyond-platform {
  background: #111319;
  border: 1px solid #FF7A00;
  color: #FF7A00 !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-beyond-platform:hover {
  background: rgba(255, 122, 0, 0.12);
  border-color: #FFA43A;
  color: #FFA43A !important;
  transform: translateY(-2px);
}

.beyond-visual picture,
.beyond-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 122, 0, 0.05);
  display: block;
}

/* 6. Class Formats & Pricing Section */
.classes-pricing {
  padding: 3.5rem 0;
}

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

.pricing-card-box {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.pricing-card-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.25);
}

.pricing-card-box.featured-card {
  background: rgba(255, 122, 0, 0.035);
  border: 1.5px solid rgba(255, 122, 0, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 122, 0, 0.07);
  position: relative;
}

.pricing-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.8rem 0;
}

.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.pricing-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.pricing-frequency {
  font-size: 0.95rem;
  color: #8E93A4;
}

.pricing-card-box.featured-card .pricing-frequency {
  color: #FFA43A;
  font-weight: 600;
}

.pricing-note {
  font-size: 0.8rem;
  color: #8E93A4;
  margin: 0 0 1.4rem 0;
  min-height: 19px;
}

.pricing-feature-list {
  list-style: none;
  margin: 0 0 1.8rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #C0C4D0;
}

.pricing-card-box:nth-child(1) .pricing-feature-list li i { color: #22C55E; font-size: 0.76rem; }
.pricing-card-box:nth-child(2) .pricing-feature-list li i { color: #FFA43A; font-size: 0.76rem; }
.pricing-card-box:nth-child(3) .pricing-feature-list li i { color: #22C55E; font-size: 0.76rem; }

.btn-join-class {
  background: #FF7A00;
  color: #FFFFFF !important;
  border: 1px solid #FF7A00;
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 5px 18px rgba(255, 122, 0, 0.32);
  transition: all 0.2s ease;
}

.btn-join-class:hover {
  background: #E56E00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.45);
}

/* 7. Meet the Coaches Section */
.classes-coaches {
  padding: 3.5rem 0;
}

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

.coach-profile-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.coach-profile-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.25);
}

.coach-profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.coach-profile-info {
  display: flex;
  flex-direction: column;
}

.coach-profile-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.coach-profile-rating {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFA43A;
  margin: 0.15rem 0 0.35rem 0;
}

.coach-profile-cred {
  font-size: 0.76rem;
  color: #9DA3B4;
  line-height: 1.35;
  margin: 0 0 0.45rem 0;
}

.coach-profile-focus {
  font-size: 0.74rem;
  color: #8E93A4;
  line-height: 1.35;
  margin: 0;
}

.coach-profile-focus strong {
  color: #D1D5DB;
}

/* 8. What Students Say (Testimonials) */
.classes-testimonials {
  padding: 3.5rem 0;
}

.testimonials-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.classes-testi-card {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.classes-testi-quote {
  color: #FFA43A;
  font-size: 1.8rem;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 700;
}

.classes-testi-text {
  font-size: 0.92rem;
  color: #C0C4D0;
  line-height: 1.55;
  margin: 0;
}

.classes-testi-author {
  font-size: 0.82rem;
  color: #8E93A4;
  font-weight: 600;
  margin: 0;
}

.link-view-all {
  color: #FFA43A !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.link-view-all:hover {
  opacity: 0.85;
}

/* 9. Bottom Banner Card */
.classes-banner-section {
  padding: 2rem 0 3.5rem 0;
}

.classes-banner-box {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 14px;
  padding: 1.8rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 40px rgba(255, 122, 0, 0.06);
}

.classes-banner-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  z-index: 2;
}

.classes-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B0D12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  flex-shrink: 0;
}

.classes-banner-content {
  display: flex;
  flex-direction: column;
}

.classes-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
}

.classes-banner-sub {
  font-size: 0.86rem;
  color: #9DA3B4;
  margin: 0 0 1.1rem 0;
}

.classes-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.classes-banner-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: linear-gradient(to right, #111319 0%, rgba(17, 19, 25, 0.2) 35%, transparent 70%), url('classes-banner-bg.png') no-repeat right center;
  background-size: cover;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
}

/* Responsive updates for classes page */
@media (max-width: 1100px) {
  .classes-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .classes-hero-copy {
    align-items: center;
  }
  .classes-hero-buttons {
    justify-content: center;
  }
  .classes-stats-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .classes-stat-col:not(:last-child)::after {
    display: none;
  }
  .classes-why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .classes-section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .classes-section-header-split p {
    text-align: left;
  }
  .classes-beyond-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .coaches-grid-3col {
    grid-template-columns: 1fr;
  }
  .classes-banner-box {
    padding: 1.6rem;
  }
  .classes-banner-visual {
    display: none;
  }
}

@media (max-width: 900px) {
  .curriculum-grid-3col {
    grid-template-columns: 1fr;
  }
  .pricing-grid-3col {
    grid-template-columns: 1fr;
  }
  .classes-why-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonials-grid-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .classes-stats-box {
    grid-template-columns: 1fr;
  }
  .beyond-features-grid {
    grid-template-columns: 1fr;
  }
  .classes-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .classes-hero-buttons a {
    width: 100%;
  }
  .classes-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .classes-banner-actions a {
    width: 100%;
  }
}

/* ==========================================================================
   FLAGSHIP STUDENT PLATFORM SHOWCASE (Home Page)
   ========================================================================== */
.platform-flagship-section {
  padding: 5.5rem 0 6rem 0;
  position: relative;
  background: transparent;
}

.platform-flagship-header {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.platform-flagship-title {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0.9rem 0 1.1rem 0;
  animation: pulse-platform-heading 3.6s ease-in-out infinite;
  display: inline-block;
  transform-origin: left center;
}

@keyframes pulse-platform-heading {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 122, 0, 0);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.012);
    text-shadow: 0 0 24px rgba(255, 122, 0, 0.42), 0 0 50px rgba(255, 122, 0, 0.18);
    filter: brightness(1.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-flagship-title {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.platform-flagship-sub {
  font-size: 1.05rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
  max-width: 660px;
}

.platform-flagship-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 3.8rem;
  align-items: center;
}

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

.platform-visual-ambient {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.07) 0%, rgba(255, 122, 0, 0.015) 50%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.platform-visual-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 40px rgba(255, 122, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-visual-frame:hover {
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.50), 0 0 50px rgba(255, 122, 0, 0.08);
  transform: translateY(-2px);
}

.platform-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-flagship-capabilities {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.capability-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.capability-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.capability-num {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FF7A00;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
  min-width: 28px;
}

.capability-content {
  flex: 1;
}

.capability-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem 0;
}

.capability-desc {
  font-size: 0.92rem;
  color: #9DA3B4;
  line-height: 1.55;
  margin: 0;
}

.platform-flagship-cta {
  margin-top: 0.5rem;
}

@media (max-width: 992px) {
  .platform-flagship-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .platform-flagship-header {
    margin-bottom: 2.5rem;
  }
}

/* ==========================================================================
   PUBLIC STUDENT PLATFORM PAGE (student-platform.html)
   ========================================================================== */

/* 1. Hero */
.platform-hero-section {
  padding: 4.8rem 0 5rem 0;
  position: relative;
  text-align: center;
}

.platform-hero-header {
  max-width: 840px;
  margin: 0 auto 3rem auto;
}

.platform-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FF7A00;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.platform-hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem 0;
}

.platform-hero-sub {
  font-size: 1.1rem;
  color: #A7ABB8;
  line-height: 1.65;
  margin: 0 auto 2.2rem auto;
  max-width: 660px;
}

.platform-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.2rem;
}

.platform-hero-proof-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.86rem;
  color: #8E93A4;
  margin-bottom: 3.5rem;
}

.platform-hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.platform-hero-proof-item i {
  color: #FF7A00;
  font-size: 0.95rem;
}

.platform-hero-visual-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.platform-hero-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 85%;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.16) 0%, rgba(255, 122, 0, 0.03) 50%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.platform-hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0B0C10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.platform-hero-frame picture,
.platform-hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
}

/* Floating Product Showcase Frames for Supporting Overview Visuals */
.platform-floating-showcase {
  margin-top: 3.5rem;
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.platform-floating-ambient {
  position: absolute;
  inset: -15px;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.055) 0%, rgba(255, 122, 0, 0.01) 55%, transparent 72%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.platform-floating-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 45px rgba(255, 122, 0, 0.05);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-floating-frame:hover {
  border-color: rgba(255, 122, 0, 0.22);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55), 0 0 55px rgba(255, 122, 0, 0.08);
  transform: translateY(-2px);
}

.platform-floating-frame picture,
.platform-floating-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .platform-floating-showcase {
    margin-top: 2.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .platform-floating-showcase::-webkit-scrollbar {
    display: none;
  }

  .platform-floating-frame {
    min-width: 480px;
  }
}

/* 2. The Big Idea: Learning Loop */
.platform-loop-section {
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0A0C11;
}

.platform-loop-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.platform-loop-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1rem 0;
}

.platform-loop-header p {
  font-size: 1.02rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
}

.platform-loop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.platform-loop-step {
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.platform-loop-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 0, 0.3);
}

.platform-loop-step-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FF7A00;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.platform-loop-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.platform-loop-step-desc {
  font-size: 0.85rem;
  color: #9DA3B4;
  line-height: 1.48;
  margin: 0;
}

/* 3. Major Feature Showcases */
.platform-feature-section {
  padding: 5.5rem 0;
  position: relative;
}

.platform-feature-section.alt-bg {
  background: #0A0C11;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-feature-header {
  max-width: 840px;
  margin-bottom: 2.8rem;
}

.platform-feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FF7A00;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.platform-feature-title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}

.platform-feature-sub {
  font-size: 1.05rem;
  color: #9DA3B4;
  line-height: 1.62;
  margin: 0;
  max-width: 740px;
}

/* Repertoire Comfort Scale Legend Bar */
.repertoire-comfort-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 0.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 50px;
  margin: 1.5rem 0 0 0;
  font-size: 0.82rem;
  color: #C0C4D0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.comfort-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.comfort-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comfort-dot.dot-grey { background: #5a5a68; }
.comfort-dot.dot-red { background: #f44336; }
.comfort-dot.dot-orange { background: #ff9800; }
.comfort-dot.dot-yellow { background: #ffd54f; }
.comfort-dot.dot-green { background: #4caf50; }

/* Game Journal Flow Pill Bar */
.journal-flow-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.65rem 1.3rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 50px;
  margin: 1.5rem 0 0 0;
  font-size: 0.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.journal-flow-step {
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.journal-flow-arrow {
  color: #FF7A00;
  font-size: 0.75rem;
}

/* Large Product Showcase Visual Frame */
.platform-feature-visual-wrap {
  position: relative;
  margin: 2.5rem 0 3.2rem 0;
}

.platform-feature-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 88%;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.07) 0%, rgba(255, 122, 0, 0.015) 50%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.platform-feature-frame {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 40px rgba(255, 122, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.platform-feature-frame:hover {
  border-color: rgba(255, 122, 0, 0.25);
  transform: translateY(-2px);
}

.platform-feature-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature 3-Pillar Cards Below Visual */
.platform-feature-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.platform-pillar-card {
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.platform-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 122, 0, 0.12);
  color: #FF7A00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.platform-pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
}

.platform-pillar-text {
  font-size: 0.88rem;
  color: #9DA3B4;
  line-height: 1.52;
  margin: 0;
}

/* 4. Secondary Platform Features */
.platform-secondary-section {
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-secondary-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem auto;
}

.platform-secondary-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.9rem 0;
}

.platform-secondary-header p {
  font-size: 1.02rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
}

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

.platform-secondary-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.platform-secondary-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.038);
  border-color: rgba(255, 122, 0, 0.22);
}

.platform-secondary-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 122, 0, 0.08);
  color: #FF7A00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.platform-secondary-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
}

.platform-secondary-card-desc {
  font-size: 0.88rem;
  color: #9DA3B4;
  line-height: 1.52;
  margin: 0;
}

/* 5. Ecosystem Section */
.platform-ecosystem-section {
  padding: 5.5rem 0;
  background: #0A0C11;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-ecosystem-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.platform-ecosystem-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1rem 0;
}

.platform-ecosystem-header p {
  font-size: 1.02rem;
  color: #9DA3B4;
  line-height: 1.6;
  margin: 0;
}

.ecosystem-chain-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.ecosystem-chain-step {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ecosystem-chain-step:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 122, 0, 0.25);
}

.ecosystem-chain-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FF7A00;
  margin-bottom: 0.5rem;
}

.ecosystem-chain-step h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
}

.ecosystem-chain-step p {
  font-size: 0.78rem;
  color: #8E93A4;
  line-height: 1.4;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .platform-loop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ecosystem-chain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .platform-loop-grid {
    grid-template-columns: 1fr;
  }
  .platform-feature-pillars {
    grid-template-columns: 1fr;
  }
  .platform-secondary-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-chain-grid {
    grid-template-columns: 1fr;
  }
  .platform-hero-proof-bar {
    gap: 1rem;
  }
}

/* 2-Column Split: Image alongside 3 Vertically Stacked Cards */
.platform-feature-section.alternating {
  padding: 5rem 0;
}

.platform-feature-showcase-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: stretch;
}

.platform-feature-showcase-split.reverse {
  grid-template-columns: 0.75fr 1.25fr;
}

.platform-feature-showcase-split.reverse .platform-feature-media-col {
  order: 2;
}

.platform-feature-showcase-split.reverse .platform-feature-stacked-cards {
  order: 1;
}

.platform-feature-media-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-feature-ambient-contain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 95%;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.07) 0%, rgba(255, 122, 0, 0.015) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.platform-feature-media-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 35px rgba(255, 122, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.platform-feature-media-frame:hover {
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.50), 0 0 45px rgba(255, 122, 0, 0.08);
  transform: translateY(-2px);
}

/* Repertoire Opening Mind-Map: breathe visually into page background */
#platform-repertoire .platform-feature-media-frame {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.40), 0 0 45px rgba(255, 122, 0, 0.05);
  position: relative;
}

#platform-repertoire .platform-feature-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 45% 50%, transparent 65%, rgba(8, 9, 13, 0.35) 100%);
  border-radius: 14px;
}

.platform-feature-media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-feature-stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: space-between;
  height: 100%;
}

.platform-stacked-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  flex: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.platform-stacked-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.25);
}

.platform-stacked-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 122, 0, 0.12);
  color: #FF7A00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.platform-stacked-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform-stacked-card-content h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
}

.platform-stacked-card-content p {
  font-size: 0.85rem;
  color: #8E93A4;
  line-height: 1.48;
  margin: 0;
}

/* Single Join the Class Button in CTA Banner */
.btn-join-cta {
  background: #111319;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 122, 0, 0.7);
  border-radius: 50px;
  padding: 0.88rem 2.2rem;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-join-cta:hover {
  background: rgba(255, 122, 0, 0.15);
  border-color: #FF7A00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.25);
}

/* Responsive adjustments for 2-col showcase */
@media (max-width: 1024px) {
  .platform-feature-showcase-split,
  .platform-feature-showcase-split.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
  }
  .platform-feature-showcase-split.reverse .platform-feature-media-col {
    order: 1;
  }
  .platform-feature-showcase-split.reverse .platform-feature-stacked-cards {
    order: 2;
  }
  .platform-feature-stacked-cards {
    height: auto;
  }
  .platform-stacked-card {
    flex: none;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}




/* "Want to join as a coach?" — a quiet but clear card above the hero laptop, aligned to its right edge. */
.hero-mockup-wrap { flex-direction: column; align-items: center; gap: 1.2rem; }
.hero-coach-row { width: 100%; max-width: 680px; display: flex; justify-content: flex-end; }
.hero-coach-cta {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.65rem 0.55rem 0.6rem;
  border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.hero-coach-cta:hover { border-color: rgba(255, 122, 0, 0.7); background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(255, 255, 255, 0.03)); transform: translateY(-1px); }
.hero-coach-cta__icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 122, 0, 0.9); color: #fff; font-size: 0.95rem;
}
.hero-coach-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-coach-cta__text strong { font-size: 0.92rem; font-weight: 700; }
.hero-coach-cta__text small { font-size: 0.76rem; color: #a9a9b8; font-weight: 500; margin-top: 1px; }
.hero-coach-cta__go {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-left: 0.25rem;
  background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 0.72rem; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-coach-cta:hover .hero-coach-cta__go { background: #ff7a00; transform: translateX(2px); }
@media (max-width: 1100px) { .hero-coach-row { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hero-coach-cta, .hero-coach-cta__go { transition: none; } }

/* Hero laptop shows a real screenshot of the student dashboard. */
.laptop-display--shot { display: block; }
.laptop-display--shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
@media (max-width: 760px) {
  .laptop-display--shot { height: auto; aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   HOME PAGE ONLY (index.html): trust strip, platform feature cards, closing row.
   Every selector is lp- prefixed or scoped under .lp-closing, so levels.html and
   student-platform.html (which share this file) are unaffected.
   ========================================================================== */

/* Trust strip, between the hero and the curriculum */
.lp-trust-strip {
  margin-top: 2.75rem;
  background: #0F1016;
  border-top: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
}
.lp-trust-list {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
}
.lp-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}
.lp-trust-list i {
  color: var(--landing-orange);
  font-size: 1.3rem;
  width: 1.5rem;
  text-align: center;
}

/* Student platform: four feature cards, each opening its section on student-platform.html */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.lp-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.lp-feature-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 122, 0, 0.35);
}
.lp-feature-card:focus-visible {
  outline: 2px solid var(--landing-orange);
  outline-offset: 3px;
}
.lp-feature-shot {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--landing-border);
  background: #0D0F16;
}
.lp-feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.4s ease;
}
.lp-feature-card:hover .lp-feature-shot img { transform: scale(1.03); }
.lp-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem 1.4rem 1.6rem;
}
.lp-feature-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.lp-feature-title i { color: var(--landing-orange); font-size: 1.1rem; }
.lp-feature-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
}
.lp-feature-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* Closing row: WhatsApp community (narrow, left) + trial class card (right) */
.lp-closing {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: 1.5rem;
  align-items: stretch;
}
.lp-community-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2.4rem 2.2rem;
  border-radius: 18px;
  background: var(--landing-surface);
}
.lp-community-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lp-community-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  font-size: 1.45rem;
}
.lp-community-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.lp-community-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
}
.lp-community-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  background: #25D366;
  color: #0B1A10;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.lp-community-btn:hover { background: #2FE06F; }
.lp-community-btn:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }

/* The trial card in the narrower right column: text on top, button below it. */
.lp-closing .cta-banner-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.4rem 190px 2.4rem 2.6rem; /* the right padding keeps text clear of the knight */
}
.lp-closing .cta-right-actions {
  margin-right: 0;
  padding-left: calc(48px + 1.75rem);
}
.lp-closing .cta-watermark { width: 160px; right: 20px; }

@media (max-width: 1024px) {
  .lp-trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }
  .lp-trust-list li { white-space: normal; }
  .lp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-closing { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-trust-strip { margin-top: 2rem; }
  .lp-trust-list { gap: 0.9rem 1rem; padding: 1.15rem 0; }
  .lp-trust-list li { font-size: 0.9rem; gap: 0.55rem; }
  .lp-trust-list i { font-size: 1.1rem; width: 1.2rem; }
  .lp-feature-grid { grid-template-columns: 1fr; }
  .lp-community-card, .lp-closing .cta-banner-card { padding: 1.8rem 1.4rem; }
  .lp-closing .cta-right-actions { padding-left: 0; }
  .lp-closing .cta-left-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .lp-closing .cta-watermark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-feature-card, .lp-feature-shot img { transition: none; }
  .lp-feature-card:hover, .lp-feature-card:hover .lp-feature-shot img { transform: none; }
}

/* --- Home: shared section heading ----------------------------------------------------- */
.lp-section-head { max-width: 760px; margin-bottom: 2.6rem; }
.lp-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 0.9rem 0;
}
.lp-section-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
  margin: 0;
}

/* --- Home: FAQ (same two-column rhythm as the curriculum section) ----------------------- */
.lp-faq { padding: 1.5rem 0 5rem; }
.lp-faq-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.lp-faq-head .lp-section-sub { max-width: 560px; }
.lp-faq-contact { gap: 0.55rem; flex-shrink: 0; }
.lp-faq-cols,
.lp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: stretch;
}
.lp-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.lp-faq-item {
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-faq-item[open] { border-color: rgba(255, 122, 0, 0.3); background: rgba(255, 255, 255, 0.04); }
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  min-height: 5.5rem;
  box-sizing: border-box;
  flex-grow: 1;
}
.lp-faq-item[open] summary {
  flex-grow: 0;
  min-height: auto;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary:focus-visible { outline: 2px solid var(--landing-orange); outline-offset: 2px; border-radius: 12px; }
.lp-faq-item summary i { flex-shrink: 0; color: var(--landing-orange); font-size: 0.9rem; transition: transform 0.2s ease; }
.lp-faq-item[open] summary i { transform: rotate(45deg); }
.lp-faq-item p,
.lp-faq-content { margin: 0; padding: 0 1.3rem 1.25rem; font-size: 0.95rem; line-height: 1.65; color: var(--landing-text-secondary); }
.lp-faq-content p { margin: 0 0 0.6rem 0; padding: 0; }
.lp-faq-content ul { margin: 0.5rem 0 0 0; padding: 0; list-style: none; }
.lp-faq-content li { position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; line-height: 1.55; color: var(--landing-text-secondary); }
.lp-faq-content li:last-child { margin-bottom: 0; }
.lp-faq-content li::before { content: '•'; position: absolute; left: 0.2rem; top: 0; color: var(--landing-orange); font-size: 1.2rem; line-height: 1.4; }
.lp-faq-content strong { color: #FFFFFF; }

/* --- Home: a faint chessboard behind the closing trial card ------------------------------ */
.lp-closing .cta-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-conic-gradient(rgba(255, 255, 255, 0.05) 0 25%, transparent 0 50%);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 45%, #000 100%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 45%, #000 100%);
}
.lp-closing .cta-banner-card::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 50%;
  width: 60%;
  height: 160%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.10) 0%, transparent 65%);
}

@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .lp-faq-head { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .lp-faq-cols,
  .lp-faq-grid { grid-template-columns: 1fr; }
  .lp-faq-item summary { min-height: auto; }
  .lp-section-title { font-size: 1.9rem; }
}
@media (max-width: 600px) {
  .lp-benefits { padding-top: 3.5rem; }
  .lp-faq { padding-top: 0.5rem; padding-bottom: 3.5rem; }
  .lp-faq-item summary { padding: 1rem 1.1rem; font-size: 0.97rem; }
  .lp-faq-item p,
  .lp-faq-content { padding: 0 1.1rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-faq-item summary i, .lp-faq-item { transition: none; }
}

/* --- Testimonial carousel (home + Our Classes): two at a time, one on small screens ----- */
.lp-testi-carousel { position: relative; }
.lp-testi-viewport { overflow: hidden; padding: 6px 2px 10px; margin: -6px -2px -10px; }
.lp-testi-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  will-change: transform;   /* moved frame by frame by testimonial-carousel.js */
}
.lp-testi-track > .testi-card {
  flex: 0 0 calc((100% - 1.5rem) / 2);
  padding: 2.1rem 2.3rem 1.8rem;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}
.lp-testi-track > .testi-card:hover { transform: none; }
.lp-testi-track > .testi-card::before {
  content: '\201D';
  position: absolute;
  bottom: 4.6rem;
  right: 1.8rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6.5rem;
  line-height: 1;
  color: rgba(255, 122, 0, 0.14);
  pointer-events: none;
}
.lp-testi-track .testi-quote-text {
  font-size: 1.12rem;
  line-height: 1.72;
  color: #D3D7E2;
}
.lp-testi-track .testi-quote-text strong {
  color: #FFA43A;
  font-weight: 700;
}
.lp-testi-track .testi-author-row { padding-top: 1.2rem; }
.lp-testi-track .testi-author-name { font-size: 1rem; }
.lp-testi-track .testi-avatar { width: 44px; height: 44px; font-size: 0.9rem; }

.lp-testi-controls {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.lp-testi-dots { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lp-testi-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.lp-testi-dot.is-active { width: 22px; background: var(--landing-orange); }
.lp-testi-dot:focus-visible, .lp-testi-arrow:focus-visible { outline: 2px solid var(--landing-orange); outline-offset: 3px; }
.lp-testi-nav { display: flex; gap: 0.6rem; }
.lp-testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--landing-border-light);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lp-testi-arrow:hover { border-color: var(--landing-orange); background: rgba(255, 122, 0, 0.1); }

@media (max-width: 899px) {
  .lp-testi-track > .testi-card { flex-basis: 100%; padding: 1.7rem 1.5rem 1.5rem; }
  .lp-testi-track .testi-quote-text { font-size: 1.02rem; }
  .lp-testi-track > .testi-card::before { font-size: 5rem; right: 1rem; bottom: 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-testi-dot { transition: none; }
}

/* --- Home: curriculum. Heading on top, three cards side by side; subgrid gives the
       cards shared rows, so title, "who it's for", list and "By the end" line up. --- */
.lp-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-section-head--center .lp-section-sub { max-width: 620px; margin: 0 auto; }
.lp-curriculum { gap: 1.5rem; }
.lp-curriculum > .phase-card { padding: 1.8rem 1.8rem 1.7rem; }
.lp-phase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.lp-phase-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-phase-level {
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.lp-phase-green .lp-phase-num { background: rgba(34, 197, 94, 0.12); color: #4ADE80; }
.lp-phase-green .lp-phase-level { color: #4ADE80; background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
.lp-phase-orange .lp-phase-num { background: rgba(255, 122, 0, 0.14); color: #FF8A1F; }
.lp-phase-orange .lp-phase-level { color: #FF8A1F; background: rgba(255, 122, 0, 0.08); border-color: rgba(255, 122, 0, 0.35); }
.lp-phase-blue .lp-phase-num { background: rgba(56, 189, 248, 0.12); color: #38BDF8; }
.lp-phase-blue .lp-phase-level { color: #38BDF8; background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.35); }
.lp-curriculum .phase-title { font-size: 1.45rem; margin: 0 0 0.5rem; letter-spacing: -0.015em; }
.lp-curriculum .lp-phase-for {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: #FFA43A;
}
.lp-curriculum .phase-checklist { flex: 0 0 auto; margin: 0 0 1.5rem; gap: 0.8rem; }
.lp-curriculum .phase-checklist li { font-size: 0.95rem; line-height: 1.5; gap: 0.65rem; }
.lp-curriculum .phase-checklist i { margin-top: 5px; }
.lp-phase-goal {
  margin-top: auto;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--landing-border);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
}
.lp-phase-goal strong { color: #FFFFFF; font-weight: 700; }
.lp-curriculum-cta { margin-top: 2.5rem; display: flex; justify-content: center; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .lp-curriculum { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .lp-curriculum > .phase-card {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .lp-curriculum .lp-phase-goal { align-self: start; margin-top: 0; }
  }
}

/* Home only: the FAQ follows the closing cards, so close the gap between them. */
.landing-cta-banner:has(+ .lp-faq) { padding-bottom: 3.5rem; }
.lp-nowrap { white-space: nowrap; }

/* --- Home: benefits of chess. Every card has the same five rows (icon, title, stat,
       sentence, source), shared across the row of cards, so nothing drifts. ----------- */
.lp-benefits { padding: 4.75rem 0 0.25rem; }
.lp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.lp-benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.35rem;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.lp-benefit::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-orange), rgba(255, 122, 0, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lp-benefit:hover { border-color: rgba(255, 122, 0, 0.28); background: rgba(255, 255, 255, 0.045); transform: translateY(-3px); }
.lp-benefit:hover::before { opacity: 1; }
.lp-benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.22);
  color: var(--landing-orange);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.lp-benefit-title {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  white-space: nowrap;
}
.lp-benefit-stat {
  margin: 0 0 1.05rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 122, 0, 0.06);
  border-left: 3px solid var(--landing-orange);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.lp-benefit-stat strong {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--landing-orange);
  font-variant-numeric: tabular-nums;
}
.lp-benefit-stat span { font-size: 0.8rem; line-height: 1.4; color: var(--landing-text-secondary); }
.lp-benefit-text { margin: 0 0 1.2rem; font-size: 0.93rem; line-height: 1.6; color: var(--landing-text-secondary); }
.lp-benefit-source {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--landing-border);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--landing-text-muted);
  text-decoration: none;
}
.lp-benefit-source i { font-size: 0.72rem; color: var(--landing-text-muted); }
.lp-benefit-source:hover, .lp-benefit-source:hover i { color: var(--landing-orange); }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    .lp-benefit-grid { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .lp-benefit { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .lp-benefit-source { margin-top: 0; align-self: end; }
  }
}
@media (max-width: 1100px) {
  .lp-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lp-benefits { padding-top: 3.5rem; }
  .lp-benefit-grid { grid-template-columns: 1fr; }
  .lp-benefit-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-benefit, .lp-benefit::before { transition: none; }
  .lp-benefit:hover { transform: none; }
}

/* --- Home hero: slideshow of what classes and the platform include --------------------- */
.lp-hero-slides { width: 100%; max-width: 680px; }
.lp-hero-slides__frame {
  position: relative;
  aspect-ratio: 1280 / 801;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.lp-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.7s ease, transform 1.2s ease;
  mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, black 82%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, black 82%, transparent 100%);
}
.lp-hero-slide.is-active { opacity: 1; transform: scale(1); }
.lp-hero-slides__controls {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.lp-slide-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--landing-border-light);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lp-slide-arrow:hover { border-color: var(--landing-orange); background: rgba(255, 122, 0, 0.1); }
.lp-slide-dots { display: flex; gap: 0.45rem; }
.lp-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.lp-slide-dot.is-active { width: 24px; background: var(--landing-orange); }
.lp-slide-arrow:focus-visible, .lp-slide-dot:focus-visible { outline: 2px solid var(--landing-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .lp-hero-slide, .lp-slide-dot { transition: none; }
}

/* Phones: the nav keeps both "Free Trial" and "Login" on screen (Login is not in the menu). */
.btn-nav-trial__short { display: none; }
@media (max-width: 600px) {
  .nav-actions .btn-nav-trial__long { display: none; }
  .nav-actions .btn-nav-trial__short { display: inline; }
  .nav-actions .btn-nav-trial > i { display: none; }
  .nav-actions { gap: 0.4rem; flex-shrink: 0; }
  .nav-user-greeting { display: none !important; }
  .btn-nav-logout-sm > span { display: none; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 0.86rem !important; }
}
/* Phones: the closing banners stack their arrow icon above the text instead of squeezing it. */
@media (max-width: 600px) {
  .cta-left-content,
  .classes-banner-left { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-icon-circle,
  .classes-banner-icon { width: 40px; height: 40px; }
  .classes-banner-actions .btn-hero-primary { width: 100%; justify-content: center; }
}

/* Phones: the platform page's two hero buttons stack instead of squeezing the second. */
@media (max-width: 600px) {
  .platform-hero-actions { flex-direction: column; align-items: stretch; }
  .platform-hero-actions > a { width: 100%; justify-content: center; }
}
