:root {
  --bg: #050816;
  --bg-soft: rgba(13, 18, 38, 0.7);
  --panel: rgba(15, 20, 42, 0.72);
  --panel-strong: rgba(19, 26, 56, 0.92);
  --line: rgba(173, 205, 255, 0.14);
  --line-strong: rgba(173, 205, 255, 0.3);
  --text: #eef4ff;
  --muted: #a7b5d6;
  --cyan: #5ce6ff;
  --blue: #6d8dff;
  --orange: #ff9d2f;
  --gold: #ffd15b;
  --violet: #b66dff;
  --green: #66ffa7;
  --pink: #ff6fe1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 28px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(92, 230, 255, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 157, 47, 0.12), transparent 24%),
    linear-gradient(180deg, #050816 0%, #070b18 34%, #03050d 100%);
  color: var(--text);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
  opacity: 0.28;
  pointer-events: none;
}

.aurora {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.38;
}

.aurora-a {
  width: 28rem;
  height: 28rem;
  top: 5rem;
  left: -8rem;
  background: rgba(92, 230, 255, 0.2);
}

.aurora-b {
  width: 24rem;
  height: 24rem;
  top: 10rem;
  right: -8rem;
  background: rgba(182, 109, 255, 0.22);
}

.aurora-c {
  width: 18rem;
  height: 18rem;
  bottom: 12rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 157, 47, 0.16);
}

.glass {
  background: linear-gradient(180deg, rgba(15, 19, 40, 0.84), rgba(10, 14, 29, 0.72));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glow-card {
  position: relative;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(92, 230, 255, 0.4), rgba(255, 157, 47, 0.2), rgba(182, 109, 255, 0.35));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: var(--container);
  margin: 12px auto 0;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong,
.brand span {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.topnav,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topnav a,
.mobile-dock a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.topnav a:hover,
.mobile-dock a:hover {
  color: var(--text);
}

.pill-button,
.secondary-button,
.ghost-button {
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #041022;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(92, 230, 255, 0.28);
}

.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.pill-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.ghost-button.small,
.pill-button.small {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  padding-top: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-subtitle,
.hero-note,
.section-head p,
.card p,
.product-card p,
.roadmap-card p,
.faq-answer,
.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  max-width: 58ch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  border-radius: var(--radius-xl);
  padding: 18px;
  min-width: 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  aspect-ratio: 0.65;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-caption {
  padding: 14px 6px 2px;
}

.media-caption span {
  display: block;
  color: var(--cyan);
  font-size: 0.82rem;
}

.media-caption strong {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
}

.section-head {
  max-width: 56rem;
  margin-bottom: 26px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5.3vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.card-grid,
.product-grid,
.pricing-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.card-grid.triple,
.product-grid,
.pricing-grid,
.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.product-card,
.pricing-card,
.roadmap-card,
.story-card,
.faq-item {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 23, 46, 0.9), rgba(10, 14, 29, 0.78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3,
.product-card h3,
.pricing-card h3,
.roadmap-card h3,
.story-card h3,
.faq-question {
  font-size: 1.12rem;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.product-card.palette-junior::after {
  background: rgba(255, 157, 47, 0.36);
}

.product-card.palette-academy::after {
  background: rgba(182, 109, 255, 0.38);
}

.product-card.palette-rehab::after {
  background: rgba(102, 255, 167, 0.28);
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-logo {
  width: 74px;
  aspect-ratio: 1;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-pill,
.price-badge,
.phase-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.product-card ul,
.pricing-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.launch-countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  padding: 16px 22px;
  border-radius: 24px;
  box-shadow: 0 0 42px rgba(255, 200, 87, 0.28);
}

.launch-countdown span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-countdown strong {
  color: #ffd36f;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
}

.launch-pricing-grid {
  align-items: stretch;
}

.launch-price-card {
  position: relative;
  overflow: hidden;
}

.launch-price-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 45%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.22), transparent 68%);
  pointer-events: none;
}

.launch-price-card.featured {
  border-color: rgba(255, 200, 87, 0.36);
  box-shadow: 0 0 52px rgba(255, 200, 87, 0.28);
  transform: translateY(-8px);
}

.old-price {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 900;
  text-decoration: line-through;
}

.launch-price {
  display: block;
  margin-top: 2px;
  color: #ffd36f;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1;
}

.launch-price-card small {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 56, 92, 0.12);
  color: #ffb5c1;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 110px;
}

.mini-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-point {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.story-stack {
  display: grid;
  gap: 14px;
}

.story-card {
  min-height: 180px;
}

.story-step {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  color: var(--cyan);
}

.curriculum-shell {
  border-radius: var(--radius-xl);
  padding: 18px;
}

.tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-button {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
}

.tab-button.active {
  background: linear-gradient(135deg, rgba(92, 230, 255, 0.18), rgba(182, 109, 255, 0.18));
  border-color: rgba(92, 230, 255, 0.34);
}

.curriculum-card {
  display: grid;
  gap: 18px;
}

.curriculum-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.subject-block {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.subject-block + .subject-block {
  margin-top: 12px;
}

.unit-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(8, 13, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.topic-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-size: 0.9rem;
}

.pricing-card {
  position: relative;
  padding-top: 24px;
}

.pricing-card.featured {
  transform: translateY(-8px);
  border-color: rgba(92, 230, 255, 0.28);
}

.pricing-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.price-line {
  margin: 18px 0 10px;
}

.price-line strong {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
}

.price-line span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.pricing-note {
  min-height: 68px;
}

.roadmap-card {
  min-height: 220px;
}

.phase-pill {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  margin-top: 12px;
}

.contact-card {
  border-radius: 36px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: min(360px, 100%);
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.legal-page {
  max-width: 920px;
}

.legal-card {
  margin-top: 24px;
  padding: 32px;
  border-radius: 28px;
}

.legal-card h1 {
  margin-top: 18px;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card a {
  color: var(--cyan);
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.admin-panel.open {
  display: block;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 12, 0.76);
}

.admin-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 100%);
  height: 100%;
  padding: 24px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}

.admin-header,
.admin-block-head,
.admin-footer,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-note,
.admin-block,
.editor-card {
  margin-top: 18px;
}

.admin-note {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.admin-block {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.admin-block label {
  display: block;
  margin-bottom: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-block input,
.admin-block textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(5, 10, 22, 0.92);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.editor-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 12, 25, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-card h5 {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.editor-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 18;
  width: min(560px, calc(100vw - 18px));
  padding: 12px 16px;
  border-radius: 999px;
  display: none;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .sticky-head {
    position: static;
  }

  .card-grid.triple,
  .product-grid,
  .pricing-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .topnav {
    display: none;
  }

  .mobile-dock {
    display: flex;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-media {
    order: -1;
  }

  .topbar {
    border-radius: 26px;
    top: 10px;
    padding: 12px 14px;
  }

  .topbar-actions .pill-button {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100vw - 18px, 100%);
  }

  .topbar {
    width: min(100vw - 18px, 100%);
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .stats-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-width: 0;
  }

  .video-shell {
    aspect-ratio: 0.76;
  }

  .mobile-dock a {
    font-size: 0.76rem;
  }
}

/* Softer second-pass visual system */
:root {
  --bg: #f4f8ff;
  --bg-soft: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(43, 72, 118, 0.14);
  --line-strong: rgba(43, 72, 118, 0.24);
  --text: #13203a;
  --muted: #66728a;
  --shadow: 0 24px 70px rgba(35, 54, 93, 0.14);
}

body {
  background:
    radial-gradient(circle at top left, rgba(92, 230, 255, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 209, 91, 0.22), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 46%, #ffffff 100%);
}

body::before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(20, 55, 100, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 55, 100, 0.06) 1px, transparent 1px);
}

.glass,
.card,
.product-card,
.pricing-card,
.roadmap-card,
.story-card,
.faq-item,
.subject-block,
.unit-card,
.dashboard-card,
.login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.74));
  border-color: var(--line);
}

.topbar,
.mobile-dock {
  background: rgba(255, 255, 255, 0.78);
}

.brand span,
.topnav a,
.mobile-dock a,
.hero-subtitle,
.hero-note,
.section-head p,
.card p,
.product-card p,
.roadmap-card p,
.faq-answer,
.contact-card p,
.pricing-note,
.product-card ul,
.pricing-card ul {
  color: var(--muted);
}

.eyebrow,
.status-pill,
.price-badge,
.phase-pill,
.topic-chip {
  background: rgba(255, 255, 255, 0.72);
  color: #2556a8;
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: block;
  padding: 76px 0 92px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.hero-media::before {
  display: none;
}

.video-shell {
  height: 100%;
  border: 0;
  border-radius: 34px;
  aspect-ratio: auto;
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.95) 0%, rgba(247, 251, 255, 0.78) 38%, rgba(247, 251, 255, 0.28) 100%),
    linear-gradient(0deg, rgba(247, 251, 255, 0.92), rgba(247, 251, 255, 0.12));
}

.video-shell video {
  object-position: center;
}

.media-caption {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 42px;
}

.hero-copy h1 {
  color: #0f1b33;
}

.hero-subtitle {
  font-size: 1.14rem;
}

.stats-grid {
  max-width: 620px;
}

.stat-card,
.mini-point,
.subject-block,
.unit-card {
  background: rgba(255, 255, 255, 0.72);
}

.secondary-button,
.ghost-button {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

.section {
  padding: 58px 0;
}

.section-head h2,
.dashboard-top h1,
.page-hero h1 {
  letter-spacing: 0;
}

.page-hero {
  position: relative;
  width: var(--container);
  min-height: 72vh;
  margin: 26px auto 0;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #f8fbff, #eaf4ff);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: min(520px, 88vw);
  background-position: right 8% center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.68), rgba(248, 251, 255, 0.2));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-hero h1 {
  margin: 18px 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.page-hero p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.08rem;
}

.soft-band {
  width: 100%;
  max-width: none;
  padding-left: max(14px, calc((100vw - 1180px) / 2));
  padding-right: max(14px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.72), rgba(255, 255, 255, 0));
}

.page-grid,
.experience-strip,
.curriculum-directory,
.dashboard-metrics,
.dashboard-grid {
  display: grid;
  gap: 16px;
}

.page-grid,
.experience-strip,
.dashboard-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-tile,
.experience-card,
.class-card,
.dashboard-metrics article {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.info-tile h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.info-tile span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.experience-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 30% 20%, rgba(92, 230, 255, 0.28), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 209, 91, 0.24), transparent 42%);
}

.experience-card.palette-academy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 30% 20%, rgba(182, 109, 255, 0.3), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 209, 91, 0.24), transparent 42%);
}

.experience-card.palette-rehab {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 30% 20%, rgba(102, 255, 167, 0.28), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(92, 230, 255, 0.24), transparent 42%);
}

.experience-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.experience-card span {
  color: var(--muted);
}

.curriculum-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.class-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.class-card details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.class-card summary {
  cursor: pointer;
  font-weight: 700;
}

.dashboard-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  width: min(430px, 100%);
  padding: 26px;
  border-radius: 28px;
}

.dashboard-brand {
  margin-bottom: 18px;
}

.login-card label,
.dashboard-card label {
  display: block;
  margin: 12px 0 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-card input,
.dashboard-card input,
.dashboard-card textarea,
.dashboard-card select,
.partner-form input,
.partner-form textarea,
.partner-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 32, 0.86);
  color: var(--text);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color-scheme: dark;
  appearance: none;
}

.form-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 80px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-top h1 {
  margin-top: 14px;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.dashboard-actions {
  display: flex;
  gap: 10px;
}

.dashboard-metrics {
  margin-bottom: 16px;
}

.dashboard-metrics strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
}

.dashboard-metrics span {
  color: var(--muted);
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.dashboard-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dashboard-card-head,
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-row {
  margin-bottom: 10px;
}

.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-form.is-editing {
  padding: 14px;
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-radius: 22px;
  background: rgba(255, 200, 87, 0.055);
}

.edit-alert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.1);
  color: #ffe3a0;
  font-size: 0.88rem;
}

.panel-flash {
  animation: panelFlash 950ms ease;
}

@keyframes panelFlash {
  0%,
  100% {
    box-shadow: none;
  }

  38% {
    box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.18), 0 0 42px rgba(255, 200, 87, 0.24);
  }
}

.partner-form textarea,
.partner-form button {
  grid-column: 1 / -1;
}

.form-section-title {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: #37f3ff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-shell {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

th,
td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #2556a8;
  font-size: 0.88rem;
}

td small {
  color: var(--muted);
}

@media (max-width: 1040px) {
  .page-grid,
  .experience-strip,
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .curriculum-directory {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 86vh;
    padding-top: 42px;
  }

  .video-shell::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.9), rgba(247, 251, 255, 0.76), rgba(247, 251, 255, 0.4)),
      linear-gradient(90deg, rgba(247, 251, 255, 0.96), rgba(247, 251, 255, 0.24));
  }

  .page-hero {
    min-height: 78vh;
    padding: 28px;
  }

  .page-hero-bg {
    background-position: center 12%;
    opacity: 0.34;
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.5), rgba(248, 251, 255, 0.96));
  }

  .page-hero-content {
    margin-top: auto;
  }

  .dashboard-top,
  .dashboard-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-grid,
  .experience-strip,
  .dashboard-metrics,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    width: min(100vw - 18px, 100%);
    border-radius: 28px;
  }

  .panel-row {
    display: grid;
  }

  .hero-copy {
    padding-top: 18px;
  }
}

/* GalaxyLAB SPA theme overrides for admin/partner panels */
body[data-dashboard] {
  background:
    radial-gradient(circle at 18% 18%, rgba(55, 243, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.22), transparent 26rem),
    radial-gradient(circle at 70% 88%, rgba(255, 56, 92, 0.13), transparent 25rem),
    #0b0c10;
}

body[data-dashboard]::before {
  background-size: 44px 44px;
  opacity: 0.36;
}

body[data-dashboard] .glass,
body[data-dashboard] .dashboard-card,
body[data-dashboard] .login-card,
body[data-dashboard] .dashboard-metrics article,
body[data-dashboard] .detail-panel {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-dashboard] .dashboard-card,
body[data-dashboard] .login-card,
body[data-dashboard] .detail-panel {
  border-radius: 32px;
}

body[data-dashboard] .dashboard-brand img,
body[data-dashboard] .brand img {
  width: 48px;
  height: 48px;
  max-width: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

body[data-dashboard] .dashboard-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

body[data-dashboard] .pill-button {
  background: linear-gradient(135deg, #37f3ff, #a855f7);
  box-shadow: 0 0 34px rgba(55, 243, 255, 0.28);
}

body[data-dashboard] h1,
body[data-dashboard] h2,
body[data-dashboard] h3,
body[data-dashboard] strong,
body[data-dashboard] td {
  color: #eef4ff;
}

body[data-dashboard] th,
body[data-dashboard] label,
body[data-dashboard] .eyebrow {
  color: #37f3ff;
}

body[data-dashboard] .form-hint,
body[data-dashboard] small,
body[data-dashboard] .brand span,
body[data-dashboard] .dashboard-metrics span {
  color: rgba(238, 244, 255, 0.68);
}

body[data-dashboard] .ghost-button {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

body[data-dashboard] .ghost-button.danger {
  color: #ff9cad;
  border-color: rgba(255, 56, 92, 0.35);
}

body[data-dashboard] .dashboard-card input,
body[data-dashboard] .dashboard-card textarea,
body[data-dashboard] .dashboard-card select,
body[data-dashboard] .login-card input,
body[data-dashboard] .partner-form input,
body[data-dashboard] .partner-form textarea,
body[data-dashboard] .partner-form select {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.14);
  color: #eef4ff;
  color-scheme: dark;
  appearance: none;
}

body[data-dashboard] .dashboard-card select option,
body[data-dashboard] .partner-form select option {
  background: #0a1020;
  color: #eef4ff;
}

body[data-dashboard] input[readonly] {
  color: #ffc857;
  border-color: rgba(255, 200, 87, 0.3);
}

body[data-dashboard] .dashboard-card input:focus,
body[data-dashboard] .dashboard-card textarea:focus,
body[data-dashboard] .dashboard-card select:focus,
body[data-dashboard] .login-card input:focus {
  border-color: rgba(55, 243, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(55, 243, 255, 0.08);
  outline: none;
}

.detail-panel {
  margin: 18px 0;
  padding: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid div {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.detail-grid span,
.detail-grid strong {
  display: block;
}

.detail-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.detail-grid strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-dashboard] tbody tr {
  transition: background 180ms ease, transform 180ms ease;
}

body[data-dashboard] tbody tr:hover {
  background: rgba(55, 243, 255, 0.045);
}

body[data-dashboard] .table-actions .ghost-button {
  min-height: 38px;
}

body[data-dashboard] .dashboard-card textarea {
  min-height: 120px;
  resize: vertical;
}

.attention-card {
  border-color: rgba(255, 200, 87, 0.28) !important;
}

.attention-count {
  min-width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 200, 87, 0.14);
  color: #ffc857 !important;
  box-shadow: 0 0 28px rgba(255, 200, 87, 0.16);
}

.followup-list,
.partner-score-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.followup-item,
.partner-score {
  width: 100%;
  display: grid;
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
  color: inherit;
}

.followup-item {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.followup-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 200, 87, 0.35);
  background: rgba(255, 200, 87, 0.075);
}

.followup-item strong,
.followup-item small,
.partner-score strong,
.partner-score span {
  display: block;
}

.followup-item small,
.partner-score span,
.empty-state span {
  color: rgba(238, 244, 255, 0.62);
  line-height: 1.45;
}

.followup-item em,
.follow-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 244, 255, 0.78);
  font-style: normal;
  font-weight: 800;
  padding: 8px 10px;
  white-space: nowrap;
}

.follow-badge.due,
.followup-item em {
  border-color: rgba(255, 200, 87, 0.32);
  background: rgba(255, 200, 87, 0.12);
  color: #ffc857;
}

.partner-score {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.score-grid span {
  border-radius: 16px;
  background: rgba(55, 243, 255, 0.08);
  border: 1px solid rgba(55, 243, 255, 0.12);
  padding: 10px;
  text-align: center;
  font-size: 0.82rem;
}

.score-grid b {
  display: block;
  color: #37f3ff;
  font-size: 1.05rem;
}

.empty-state {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.empty-state strong,
.empty-state span {
  display: block;
}

@media (max-width: 860px) {
  body[data-dashboard] .dashboard-shell {
    width: min(100vw - 18px, 100%);
    padding: 18px 0 52px;
  }

  body[data-dashboard] .dashboard-top h1 {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  body[data-dashboard] .dashboard-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-dashboard] .dashboard-actions .ghost-button {
    width: 100%;
  }

  body[data-dashboard] .dashboard-card,
  body[data-dashboard] .login-card,
  body[data-dashboard] .detail-panel {
    border-radius: 24px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .table-actions {
    min-width: 190px;
  }

  body[data-dashboard] table {
    min-width: 900px;
  }

  .partner-score {
    grid-template-columns: 1fr;
  }
}

/* Pricing landing: dark neon, product-tabs, and mobile-safe menus. */
body.pricing-body {
  --bg: #050816;
  --bg-soft: rgba(13, 18, 38, 0.7);
  --panel: rgba(15, 20, 42, 0.72);
  --panel-strong: rgba(19, 26, 56, 0.92);
  --line: rgba(173, 205, 255, 0.16);
  --line-strong: rgba(173, 205, 255, 0.32);
  --text: #eef4ff;
  --muted: #a7b5d6;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(92, 230, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(182, 109, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 70% 90%, rgba(255, 209, 91, 0.13), transparent 24rem),
    #050816;
}

body.pricing-body .glass {
  background: rgba(255, 255, 255, 0.058);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.pricing-body .topbar {
  background: rgba(8, 13, 30, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.pricing-nav a,
.pricing-nav-button,
.mobile-dock button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.pricing-nav a,
.pricing-nav-button {
  padding: 10px 13px;
  border-radius: 999px;
}

.pricing-nav a.active,
.pricing-nav a:hover,
.pricing-nav-button:hover,
.mobile-dock a.active {
  color: #ffd15b;
  background: rgba(255, 209, 91, 0.1);
}

.pricing-menu-wrap {
  position: relative;
}

.pricing-menu,
.mobile-pricing-menu {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.2, 1.2, .22, 1);
}

.pricing-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 12px);
  left: 0;
  width: 245px;
  padding: 10px;
  border-radius: 24px;
}

.pricing-menu-wrap:hover .pricing-menu,
.pricing-menu.open,
.mobile-pricing-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pricing-menu a,
.mobile-pricing-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.pricing-menu a:hover,
.mobile-pricing-menu a:hover {
  background: rgba(92, 230, 255, 0.1);
  color: var(--cyan);
}

.pricing-page {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 34px auto 90px;
}

.pricing-hero {
  min-height: 64vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(34px, 7vw, 76px);
  border-radius: 38px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.pricing-hero h1 {
  max-width: 880px;
  margin: 18px auto;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  line-height: 0.98;
}

.pricing-hero p,
.pricing-product-section .section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(920px, 100%);
  margin: 24px auto 18px;
}

.pricing-product-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.pricing-product-tabs button:hover,
.pricing-product-tabs button.active {
  transform: translateY(-3px);
  border-color: rgba(92, 230, 255, 0.45);
  background: rgba(92, 230, 255, 0.12);
  box-shadow: 0 0 32px rgba(92, 230, 255, 0.22);
}

.pricing-product-tabs strong,
.pricing-product-tabs span {
  display: block;
}

.pricing-product-tabs span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.selected-product {
  width: min(900px, 100%);
  margin: 0 auto 22px;
  padding: 22px;
  border-radius: 28px;
  animation: basketPop 520ms cubic-bezier(.2, 1.2, .22, 1) both;
}

.selected-product span {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.selected-product h3 {
  margin: 9px 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
}

.selected-product p {
  color: var(--muted);
  line-height: 1.65;
}

.selected-product strong {
  color: #ffd15b;
}

.selected-product.accent-pink span {
  color: #ff6b8a;
}

.selected-product.accent-green span {
  color: #66ffa7;
}

.launch-feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.launch-feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.launch-feature-list i {
  color: #66ffa7;
  font-style: normal;
  font-weight: 900;
}

.launch-feature-list .negative i {
  color: #ff6b8a;
}

.mobile-pricing-menu {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 60;
  width: min(320px, calc(100vw - 28px));
  padding: 10px;
  border-radius: 24px;
  transform: translate(-50%, 18px) scale(0.96);
}

.mobile-pricing-menu.open {
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 860px) {
  body.pricing-body .topbar {
    position: relative;
  }

  .pricing-page {
    margin-top: 18px;
    margin-bottom: 120px;
  }

  .pricing-product-tabs {
    grid-template-columns: 1fr;
  }

  .launch-price-card.featured {
    transform: none;
  }

  .mobile-dock button {
    font-size: 0.76rem;
  }
}
