/* ═══════════════════════════════
   GENERAT_ED — generatededucation.co.uk
═══════════════════════════════ */
:root {
  --bg: #090b12;
  --cream: #F2EDE3;
  --cream-dim: rgba(242,237,227,0.65);
  --cream-faint: rgba(242,237,227,0.35);
  --gold: #E8A020;
  --gold-dim: rgba(232,160,32,0.13);
  --gold-border: rgba(232,160,32,0.35);
  --glass: rgba(9,11,18,0.72);
  --glass-border: rgba(255,255,255,0.09);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); border: none; cursor: pointer; background: none; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #0a0a10;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem 0.75rem 1.6rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,160,32,0.38); }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem; height: 1.9rem;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-outline {
  display: block;
  text-align: center;
  border: 1px solid var(--glass-border);
  color: var(--cream-dim);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold-border); color: var(--cream); background: var(--gold-dim); }

.btn-large { font-size: 1rem; padding: 0.9rem 1.8rem 0.9rem 2rem; }
.btn-large .btn-arrow { width: 2.1rem; height: 2.1rem; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.25rem;
}


/* ════════════════════════════
   BACKGROUND LAYER
════════════════════════════ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.panorama-scroll {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 400vw;
  animation: panoramaX 90s linear infinite;
  will-change: transform;
}

.panorama-float {
  display: flex;
  position: relative;
  width: 100%;
  height: calc(100% + 30px);
  margin-top: -15px;
  animation: panoramaFloat 12s ease-in-out infinite;
  will-change: transform;
}

.pan-panel {
  position: relative;
  width: 100vw;
  flex-shrink: 0;
  height: 100%;
  background-size: cover;
  background-position: center 42%;
}

.pan-panel::before, .pan-panel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}
.pan-panel::before {
  left: 0;
  background: linear-gradient(to right, rgba(10,8,24,0.35) 0%, transparent 100%);
}
.pan-panel::after {
  right: 0;
  background: linear-gradient(to left, rgba(10,8,24,0.35) 0%, transparent 100%);
}

/* ════════════════════════════
   CLOUD SEAM COLUMNS
════════════════════════════ */
/* ════════════════════════════
   VERTICAL TEXT SEAM STRIPS
════════════════════════════ */
.seam-strip {
  position: absolute;
  top: 0;
  height: 100%;
  width: 2px;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 6vh 0;
  transform: translateX(-50%);
}

.seam-strip span {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(8px, 0.75vw, 11px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

/* Join 1: trades → academic — warm amber glow */
.seam-strip--a {
  left: 100vw;
  border-left: 1.5px solid rgba(255, 225, 150, 0.30);
  box-shadow: 0 0 12px rgba(255, 210, 100, 0.15), inset 0 0 6px rgba(255, 210, 100, 0.1);
}
.seam-strip--a span { color: rgba(255, 235, 170, 0.60); }

/* Join 2: academic → mixed — cool lavender */
.seam-strip--b {
  left: 200vw;
  border-left: 1.5px solid rgba(180, 170, 255, 0.28);
  box-shadow: 0 0 12px rgba(160, 150, 255, 0.12), inset 0 0 6px rgba(160, 150, 255, 0.08);
}
.seam-strip--b span { color: rgba(200, 195, 255, 0.58); }

/* Join 3: mixed → trades — soft cloud white */
.seam-strip--c {
  left: 300vw;
  border-left: 1.5px solid rgba(210, 225, 255, 0.25);
  box-shadow: 0 0 12px rgba(200, 215, 255, 0.10);
}
.seam-strip--c span { color: rgba(215, 225, 255, 0.55); }

.bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(to bottom, rgba(9,11,18,0.35) 0%, transparent 22%),
    linear-gradient(to top, rgba(9,11,18,0.92) 0%, rgba(9,11,18,0.55) 28%, transparent 58%);
  pointer-events: none;
}

/* ════════════════════════════
   ATMOSPHERIC DEPTH LAYERS
════════════════════════════ */
.atmos-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* Deep cloud bank — very wide, heavily blurred, slow drift */
.atmos-fog-a {
  position: absolute;
  inset: -15% -10%;
  filter: blur(72px);
  background:
    radial-gradient(ellipse 58% 38% at 10% 26%, rgba(255,210,115,0.15), transparent 70%),
    radial-gradient(ellipse 85% 42% at 50% 36%, rgba(150,168,235,0.13), transparent 70%),
    radial-gradient(ellipse 52% 32% at 84% 30%, rgba(95,122,218,0.11), transparent 70%),
    radial-gradient(ellipse 72% 28% at 44% 58%, rgba(85,108,198,0.09), transparent 70%),
    radial-gradient(ellipse 100% 20% at 50% 14%, rgba(208,218,255,0.07), transparent 70%);
  animation: fogDriftA 52s ease-in-out infinite;
  will-change: transform;
}

/* Mid-level wisps — sharper, slightly faster, lighter touch */
.atmos-fog-b {
  position: absolute;
  inset: -10% -8%;
  filter: blur(36px);
  background:
    radial-gradient(ellipse 32% 24% at 20% 30%, rgba(255,238,185,0.12), transparent 70%),
    radial-gradient(ellipse 38% 30% at 46% 34%, rgba(170,188,252,0.10), transparent 70%),
    radial-gradient(ellipse 28% 22% at 71% 26%, rgba(125,152,238,0.09), transparent 70%),
    radial-gradient(ellipse 62% 20% at 54% 63%, rgba(98,118,202,0.08), transparent 70%),
    radial-gradient(ellipse 22% 16% at 90% 42%, rgba(155,178,252,0.07), transparent 70%);
  animation: fogDriftB 37s ease-in-out infinite;
  will-change: transform;
}

@keyframes fogDriftA {
  0%,100% { transform: translate(0,0)       scale(1);     }
  25%     { transform: translate(-1.6%,1%)  scale(1.015); }
  50%     { transform: translate(0.9%,-0.8%) scale(0.984); }
  75%     { transform: translate(-0.4%,1.6%) scale(1.01); }
}
@keyframes fogDriftB {
  0%,100% { transform: translate(0,0)        scale(1);    }
  33%     { transform: translate(1.4%,-0.9%) scale(1.02); }
  66%     { transform: translate(-0.9%,0.7%) scale(0.98); }
}

/* God rays — thin diagonal shafts from warm sky upper-left */
.atmos-rays {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -13deg,
      transparent                  0,
      transparent                  155px,
      rgba(255,235,155,0.020)      155px,
      rgba(255,235,155,0.020)      158px,
      transparent                  158px,
      transparent                  235px,
      rgba(255,222,135,0.013)      235px,
      rgba(255,222,135,0.013)      237px
    );
  transform-origin: 12% 0;
  animation: rayShimmer 22s ease-in-out infinite;
}
@keyframes rayShimmer {
  0%,100% { opacity: 0.55; transform: scaleX(1)    skewX(0deg);   }
  40%     { opacity: 1;    transform: scaleX(1.025) skewX(0.4deg); }
  70%     { opacity: 0.65; transform: scaleX(0.99)  skewX(-0.2deg); }
}

/* Drifting dust / luminous particles */
.atmos-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px   at 50% 50%, rgba(255,238,175,0.55), transparent),
    radial-gradient(circle 1.5px at 50% 50%, rgba(192,208,255,0.45), transparent),
    radial-gradient(circle 1px   at 50% 50%, rgba(212,224,255,0.40), transparent);
  background-size:    88px  62px,
                     142px  97px,
                     215px 148px;
  background-position: 12px 18px, 52px 38px, 28px 62px;
  animation: particleDrift 110s linear infinite;
}
@keyframes particleDrift {
  0%   { background-position:  12px  18px,   52px  38px,   28px  62px; }
  100% { background-position: -76px -44px,  -90px -59px, -187px -86px; }
}

@keyframes panoramaX {
  from { transform: translateX(0); }
  to   { transform: translateX(-300vw); }
}

@keyframes panoramaFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  40%       { transform: translateY(-12px) scale(1.01); }
  70%       { transform: translateY(-18px) scale(1.013); }
}


/* ════════════════════════════
   SPARKS
════════════════════════════ */
.sparks { position: absolute; inset: 0; pointer-events: none; }

.spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: sparkFloat 8s infinite;
}
.spark:nth-child(1) { left:12%; bottom:22%; animation-delay:0s; animation-duration:7s; }
.spark:nth-child(2) { left:28%; bottom:35%; animation-delay:1.5s; animation-duration:9s; }
.spark:nth-child(3) { left:50%; bottom:18%; animation-delay:2.8s; animation-duration:6s; }
.spark:nth-child(4) { left:65%; bottom:28%; animation-delay:0.9s; animation-duration:8s; }
.spark:nth-child(5) { left:78%; bottom:20%; animation-delay:3.2s; animation-duration:7s; }
.spark:nth-child(6) { left:88%; bottom:38%; animation-delay:1.8s; animation-duration:10s; width:3px; height:3px; }

@keyframes sparkFloat {
  0%  { opacity:0; transform:translateY(0) scale(1); }
  10% { opacity:0.9; }
  80% { opacity:0.3; }
  100%{ opacity:0; transform:translateY(-110px) scale(0.4); }
}


/* ════════════════════════════
   CHARACTER
════════════════════════════ */
.hero-character {
  position: fixed;
  z-index: 6;
  pointer-events: none;
  transition:
    left   0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    right  0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top    0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    bottom 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    width  0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.5s ease;
  /* Initial position: Panel 0 */
  left: 50%;
  bottom: 24%;
  width: clamp(280px, 34vw, 480px);
  transform: translateX(-50%);
  animation: charFloat 13s ease-in-out infinite;
}

.hero-character img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55)) drop-shadow(0 4px 12px rgba(232,160,32,0.18));
}

/* ── Character star trail ── */
.char-star {
  position: fixed;
  pointer-events: none;
  z-index: 50;
  color: var(--gold);
  line-height: 1;
  transform: translate(-50%, -50%);
  animation: charStarFade 0.9s ease-out forwards;
  text-shadow: 0 0 6px rgba(232,160,32,0.8);
}

@keyframes charStarFade {
  0%   { opacity: 1;   transform: translate(-50%, -50%) scale(1)   translate(0, 0); }
  30%  { opacity: 0.9; }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(0.2) translate(var(--dx), var(--dy)); }
}

@keyframes charFloat {
  0%   { transform: translateX(var(--char-tx, -50%)) translateY(0)    scale(0.76) rotate(-1.5deg); }
  22%  { transform: translateX(calc(var(--char-tx, -50%) + 14px)) translateY(-48px) scale(1.40) rotate(1.0deg); }
  38%  { transform: translateX(calc(var(--char-tx, -50%) + 6px))  translateY(-28px) scale(1.14) rotate(-0.8deg); }
  55%  { transform: translateX(calc(var(--char-tx, -50%) - 18px)) translateY(-62px) scale(0.62) rotate(1.8deg); }
  70%  { transform: translateX(calc(var(--char-tx, -50%) - 10px)) translateY(-18px) scale(1.36) rotate(-1.1deg); }
  85%  { transform: translateX(calc(var(--char-tx, -50%) + 20px)) translateY(-44px) scale(0.80) rotate(0.5deg); }
  100% { transform: translateX(var(--char-tx, -50%)) translateY(0)    scale(0.76) rotate(-1.5deg); }
}


/* ════════════════════════════
   NAV
════════════════════════════ */
.hero-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 0.55rem 1.1rem;
}

.nav-link {
  font-size: 0.8rem;
  color: rgba(242,237,227,0.7);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--cream); background: rgba(255,255,255,0.07); }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a0a10;
  background: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-left: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.04); }

.nav-logo {
  display: flex;
  align-items: center;
  padding: 0.1rem 0.5rem 0.1rem 0.15rem;
  margin-right: 0.3rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
}
.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

/* ════════════════════════════
   PANEL SYSTEM
════════════════════════════ */
.panels {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 5rem 4.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(6%);
}

.panel.slide-from-left  { transform: translateX(-6%); }
.panel.active           { opacity: 1; transform: translateX(0); pointer-events: all; }

/* Hero panel — bottom aligned */
.panel--hero {
  align-items: flex-end;
  padding-bottom: 3.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* Glowing lightbulb logo — floats left of the CTA text */
.cta-bulb {
  position: absolute;
  right: calc(clamp(320px, 32vw, 560px) + 6vw);
  top: 50%;
  transform: translateY(-52%);
  width: clamp(180px, 20vw, 300px);
  mix-blend-mode: screen;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(255,195,50,0.55)) drop-shadow(0 0 80px rgba(255,160,20,0.25));
  animation: bulbFloat 6s ease-in-out infinite;
}
@keyframes bulbFloat {
  0%,100% { transform: translateY(-52%) scale(1);    }
  50%      { transform: translateY(-56%) scale(1.02); }
}

/* CTA panel — text lives in the right half, character owns the left */
.panel--cta {
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  padding-right: 6vw;
}

.panel--cta .cta-content {
  max-width: 520px;
}

.panel--cta .cta-content p {
  margin-left: 0;
  margin-right: 0;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-content p { color: var(--cream-dim); font-size: 1rem; margin-bottom: 2rem; max-width: 440px; margin-left: auto; margin-right: auto; }


/* ── Panel glass box ── */
.panel-box {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  max-width: 860px;
  width: 100%;
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.panel-box--wide { max-width: 1060px; }


/* ════════════════════════════
   HERO CONTENT
════════════════════════════ */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-end;
  width: 100%;
  max-width: 1400px;
}

.hero-tagline { font-size: clamp(0.8rem, 1.3vw, 1rem); color: var(--cream-dim); margin-bottom: 0.35rem; }

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 11rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--cream);
  white-space: nowrap;
}

.brand-accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(0.82rem, 1.15vw, 0.97rem);
  color: var(--cream-dim);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  max-width: 400px;
}

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.btn-note { font-size: 0.72rem; color: var(--cream-faint); }


/* ── Teacher control callout ── */
.control-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.55;
}

.control-callout strong { color: var(--cream); display: block; margin-bottom: 0.2rem; font-size: 0.88rem; }
.control-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; color: var(--gold); }

/* ── Accuracy note ── */
.accuracy-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--cream-faint);
  border-left: 2px solid rgba(232,160,32,0.3);
  padding-left: 0.75rem;
  line-height: 1.5;
}

/* ── Data trust line ── */
.data-trust-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(232,160,32,0.07);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--cream-dim);
  line-height: 1.5;
}
.data-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.data-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.data-link:hover { opacity: 0.8; }

/* ════════════════════════════
   FEATURES GRID
════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.feature-card {
  display: flex;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.14); }
.feature-card--gold { background: var(--gold-dim); border-color: var(--gold-border); }
.feature-card--gold:hover { border-color: rgba(232,160,32,0.55); }

.feature-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.feature-card p { font-size: 0.78rem; color: var(--cream-dim); line-height: 1.5; }


/* ════════════════════════════
   VAULT PANEL
════════════════════════════ */
.vault-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.vault-left { display: flex; flex-direction: column; gap: 1rem; }
.vault-hero-icon { width: 180px; filter: drop-shadow(0 0 24px rgba(200,133,42,0.5)); margin-bottom: 0.5rem; }
.vault-intro { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.65; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ════════════════════════════
   SUBJECTS PANEL
════════════════════════════ */
.subjects-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

.subjects-intro { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.55; margin-bottom: 1.2rem; }

.level-chips, .subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.level-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.subject-chips span {
  font-size: 0.7rem;
  color: var(--cream-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}
.subject-chips span:hover { border-color: var(--gold-border); color: var(--cream); }

.subjects-grid-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 0.75rem; }

.pedagogy-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.badge strong { font-size: 0.78rem; color: var(--cream); font-weight: 600; }
.badge span   { font-size: 0.68rem; color: var(--cream-faint); }
.badge--obs {
  grid-column: 1 / -1;
  background: rgba(232,160,32,0.1);
  border-color: rgba(232,160,32,0.4);
}
.badge--obs strong { color: var(--gold); }
.badge--obs span   { color: rgba(232,160,32,0.7); }
.obs-reassure {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--cream-dim);
  line-height: 1.65;
  border-left: 2px solid rgba(232,160,32,0.35);
  padding-left: 0.75rem;
}


/* ════════════════════════════
   PRICING
════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-card .plan-features {
  flex: 1;
}

.pricing-card--featured {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  animation: cardPulse 4s ease-in-out infinite;
}

@keyframes cardPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,160,32,0); }
  50%      { box-shadow: 0 0 28px 4px rgba(232,160,32,0.15); }
}

.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a10;
  background: var(--gold);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.plan-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--cream); margin-bottom: 0.35rem; }

.plan-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.plan-price span { font-size: 0.9rem; font-weight: 400; color: var(--cream-dim); letter-spacing: 0; }

.plan-period { font-size: 0.75rem; color: var(--cream-faint); margin-bottom: 1rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.plan-features li { font-size: 0.8rem; color: var(--cream-dim); padding-left: 1.1rem; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }


/* ════════════════════════════
   NAV ARROWS
════════════════════════════ */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(232,160,32,0.35);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.3s;
}

.nav-arrow:hover {
  background: rgba(232,160,32,0.18);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.nav-arrow--left  { left: 1.2rem; }
.nav-arrow--right { right: 1.2rem; }
.nav-arrow.dimmed { opacity: 0.25; pointer-events: none; }


/* ════════════════════════════
   PANEL DOTS
════════════════════════════ */
.panel-dots {
  position: fixed;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(242,237,227,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.panel-dot.active { background: var(--gold); transform: scale(1.3); }

.testimonial-carousel { display: grid; margin: 0 0 2rem; max-width: 600px; }
.testimonial-slide {
  grid-area: 1 / 1;
  margin: 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(232,160,32,0.07);
  border-radius: 0 8px 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  align-self: start;
}
.testimonial-slide.active { opacity: 1; visibility: visible; }
.testimonial-slide p { font-size: 0.88rem; color: rgba(242,237,227,0.72); line-height: 1.7; font-style: italic; margin-bottom: 0.6rem; }
.testimonial-slide cite { font-size: 0.8rem; font-style: normal; font-weight: 600; color: var(--gold); letter-spacing: 0.03em; }

.testimonial-dots { grid-area: 2 / 1; display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.testimonial-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(242,237,227,0.25); border: none; cursor: pointer; transition: background 0.25s, transform 0.25s; padding: 0; }
.testimonial-dot.active { background: var(--gold); transform: scale(1.3); }


/* ════════════════════════════
   TRUST STRIP
════════════════════════════ */
.trust-strip {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  background: rgba(9,11,18,0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(232,160,32,0.1);
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.trust-strip .dot { opacity: 0.35; }
.trust-privacy { color: var(--gold); opacity: 0.75; transition: opacity 0.2s; }
.trust-privacy:hover { opacity: 1; }


/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 900px) {
  .panel { padding: 4.5rem 1.5rem 4rem; }
  .hero-content { grid-template-columns: 1fr; gap: 0.75rem; padding-bottom: 1rem; }
  .hero-brand { font-size: clamp(3rem, 18vw, 7rem); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .vault-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .vault-hero-icon { width: 120px; }
  .subjects-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .nav-arrow--left  { left: 0.5rem; }
  .nav-arrow--right { right: 0.5rem; }
  .panel-box { padding: 1.5rem; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .vault-grid { grid-template-columns: 1fr; }
  .hero-brand { font-size: clamp(2.8rem, 18vw, 5rem); }
  .panel-title { font-size: 1.4rem; }
}


/* ════════════════════════════
   REDUCED MOTION
════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .panorama-scroll, .panorama-float, .spark, .hero-character { animation: none !important; }
  .panel { transition: opacity 0.3s ease !important; transform: none !important; }
}
