/* Homepage-only styles (hero, carousel, trust bar) */

/* ── Header mega nav (hover to reveal) ── */
.site-nav-mega {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mega {
  position: relative;
}
.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: #062D5A;
  cursor: default;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-mega-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.15s ease;
}
.nav-mega:hover .nav-mega-trigger,
.nav-mega:focus-within .nav-mega-trigger {
  color: #5645E6;
  background: rgba(107, 92, 255, 0.08);
}
.nav-mega:hover .nav-mega-trigger::after,
.nav-mega:focus-within .nav-mega-trigger::after {
  transform: rotate(180deg);
  opacity: 0.85;
}
.nav-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  min-width: 13.5rem;
  padding: 0.65rem 0.5rem 0.5rem;
  border-radius: 0.875rem;
  background: var(--home-nav-panel);
  border: 1px solid var(--home-nav-panel-border);
  box-shadow:
    0 16px 40px -12px rgba(10, 102, 194, 0.22),
    0 4px 12px -4px rgba(6, 45, 90, 0.08);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.nav-mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0.65rem;
  transform: translateY(-100%);
}
.nav-mega:hover .nav-mega-panel,
.nav-mega:focus-within .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-mega-panel a {
  display: block;
  padding: 0.5625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #073F7D;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-mega-panel a:hover {
  background: #EFF6FF;
  color: #0A66C2;
}
.nav-mega-panel a:focus-visible {
  outline: 2px solid #6B5CFF;
  outline-offset: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .nav-mega-panel,
  .nav-mega-trigger::after { transition: none; }
}

section[id],
details[id] {
  scroll-margin-top: 5.5rem;
}

a[href]:not([href=""]) {
  cursor: pointer;
}

.glass {
  background: var(--home-glass);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
header .glass {
  border-color: var(--home-glass-border) !important;
}

.gradient-border {
  position: relative;
  isolation: isolate;
}
.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #0A66C2, #6B5CFF, #0A66C2);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: shimmer 8s linear infinite;
  pointer-events: none;
}

/* ── Unified page canvas (single 2.5D layout) ── */
.page-canvas {
  position: relative;
  isolation: isolate;
  background: var(--home-canvas);
  color: var(--home-text);
  transition: background 0.5s ease, color 0.35s ease;
}
.page-canvas-mesh,
.page-canvas-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-canvas-mesh {
  background: var(--home-mesh);
  animation: hero-mesh-drift 18s ease-in-out infinite alternate;
}
.page-canvas-grid {
  background-image:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
.page-section {
  position: relative;
  z-index: 1;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
@media (min-width: 640px) {
  .page-section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
}
.page-section--hero {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .page-section--hero {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }
}
.page-section--after-trust {
  padding-top: 1.25rem;
}
@media (min-width: 640px) {
  .page-section--after-trust { padding-top: 1.5rem; }
}
.section-intro {
  max-width: 48rem;
}
.section-intro--center {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.panel-glass {
  position: relative;
  isolation: isolate;
  background: var(--home-panel);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--home-panel-border);
  box-shadow: var(--home-depth-ambient);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease;
}
.panel-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--home-glass-inset);
  pointer-events: none;
  z-index: 1;
}
.hero-slide-inner {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--home-panel);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--home-panel-border);
  box-shadow: var(--home-depth-ambient);
}
.hero-slide-inner header {
  border-bottom: 1px solid var(--home-panel-border) !important;
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.35), rgba(227, 223, 255, 0.28)) !important;
}
html[data-theme="twilight"] .hero-slide-inner header {
  background: linear-gradient(90deg, rgba(30, 58, 95, 0.35), rgba(99, 102, 241, 0.2)) !important;
}
.fx-depth-inner {
  position: relative;
  box-shadow: var(--home-depth-ambient);
}
html[data-theme="twilight"] .fx-depth-inner {
  box-shadow: var(--home-depth-ambient);
}

.audience-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .audience-path-grid { grid-template-columns: 1fr 1fr; }
}
.audience-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.375rem;
  border-radius: 1.5rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.audience-path-card:not(.is-pointer-active):hover {
  box-shadow: var(--home-depth-hover);
}
.audience-path-card:focus-visible {
  outline: 3px solid #6B5CFF;
  outline-offset: 3px;
}
.audience-path-card--parents,
.audience-path-card--learn { border: none; }
.audience-path-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.audience-path-title {
  font-family: Lexend, Inter, system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: #062D5A;
}
.audience-path-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(6, 45, 90, 0.82);
  flex: 1;
}
.audience-path-link {
  font-size: 14px;
  font-weight: 600;
  color: #0A66C2;
}
.audience-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .audience-pillar-grid { grid-template-columns: 1fr 1fr; }
}
.audience-pillar-item {
  display: block;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  transition: background 0.15s ease;
}
.audience-pillar-item:hover { background: rgba(255, 255, 255, 0.55); }
.audience-pillar-item strong {
  display: block;
  font-family: Lexend, Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #062D5A;
  margin-bottom: 0.2rem;
}

.hero-bg {
  background: linear-gradient(145deg, #dbeafe 0%, #ede9fe 38%, #ffefe2 72%, #e0f2fe 100%);
}
.hero-bg-mesh {
  background:
    radial-gradient(ellipse 55% 45% at 8% 12%, rgba(107, 92, 255, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(10, 102, 194, 0.32), transparent 50%),
    radial-gradient(ellipse 60% 50% at 78% 88%, rgba(247, 166, 114, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 35% at 22% 78%, rgba(139, 122, 255, 0.22), transparent 50%);
  animation: hero-mesh-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-mesh-drift {
  0%   { transform: scale(1) translate(0, 0); opacity: 0.95; }
  100% { transform: scale(1.06) translate(1.5%, -1%); opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.hero-bg-grid {
  background-image:
    linear-gradient(rgba(10, 102, 194, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 102, 194, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

/* ── Hero carousel chrome & slides ── */
.hero-carousel-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5645E6;
  background: rgba(107, 92, 255, 0.1);
  border: 1px solid rgba(107, 92, 255, 0.2);
}
.hero-carousel-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(10, 102, 194, 0.15);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  color: #0852A1;
  cursor: pointer;
  box-shadow: var(--home-depth-ambient);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}
.hero-carousel-btn:hover {
  background: #fff;
  border-color: #93C5FD;
  transform: translateY(-2px);
  box-shadow: var(--home-depth-hover);
}
.hero-carousel-btn svg { width: 1.125rem; height: 1.125rem; }
.hero-email-avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0A66C2, #6B5CFF);
  flex-shrink: 0;
}
.hero-safety-pill {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-safety-pill--ok {
  color: #047857;
  background: #D1FAE5;
}
.hero-agent-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid var(--home-panel-border);
}
html[data-theme="twilight"] .hero-agent-row {
  background: rgba(255, 255, 255, 0.06);
}
.hero-agent-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  font-size: 14px;
  flex-shrink: 0;
}
.hero-agent-icon--shield { background: #DBEAFE; }
.hero-agent-icon--eye    { background: #E3DFFF; }
.hero-agent-icon--lock   { background: #D1FAE5; }
.hero-agent-row > div { flex: 1; min-width: 0; }
.hero-agent-status {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-agent-status--live { color: #5645E6; background: #E3DFFF; }
.hero-agent-status--ok   { color: #047857; background: #D1FAE5; }
.hero-connect-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-connect-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.hero-connect-num {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0A66C2, #5645E6);
  flex-shrink: 0;
}
.hero-mentor-strip {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}
.hero-tutor-bubble {
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 13px;
  line-height: 1.45;
  color: #062D5A;
}
.hero-tutor-bubble--kid {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
}
.hero-tutor-bubble--ai {
  background: #F5F3FF;
  border: 1px solid #E3DFFF;
}
.hero-tutor-name {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-tutor-bubble--kid .hero-tutor-name { color: #0A66C2; }
.hero-tutor-bubble--ai .hero-tutor-name { color: #5645E6; }

.hero-carousel-viewport { position: relative; }
#hero-carousel-track {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  visibility: hidden;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}
.hero-slide.is-leaving {
  opacity: 0;
  transform: translateX(-28px) scale(0.985);
  visibility: visible;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
  .hero-slide:not(.is-active):not(.is-leaving) { visibility: hidden; opacity: 0; pointer-events: none; }
  .hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .hero-slide.is-leaving { opacity: 0; visibility: hidden; }
  .hero-bg-mesh,
  .page-canvas-mesh,
  .hero-launch-badge-dot { animation: none; }
  .gradient-border::before { animation: none; }
  .fx-3d-tilt,
  .fx-3d-tilt.is-pointer-active { transform: none !important; transition: none; }
  .fx-3d-float-layer,
  .fx-3d-float-layer--back,
  .fx-3d-float-layer--front { animation: none; transform: none; }
  .fx-3d-reveal { opacity: 1; transform: none; transition: none; }
}

.hero-dot {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  flex-shrink: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hero-dot::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #93C5FD;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.hero-dot.is-active::after {
  width: 1.5rem;
  height: 0.5rem;
  background-color: #0A66C2;
}
.hero-carousel-controls { position: relative; z-index: 10; }
.hero-carousel-dots { flex-wrap: nowrap; min-width: 0; }
.hero-carousel-nav { position: relative; z-index: 10; }
.hero-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}
.hero-slide-link:hover { gap: 0.5rem; }

/* ── Trust bar ── */
.trust-bar-section {
  position: relative;
  z-index: 1;
  padding: 0 0 0.75rem;
  margin-top: -0.75rem;
}
@media (min-width: 640px) {
  .trust-bar-section { padding-bottom: 1rem; margin-top: -1rem; }
}
.trust-bar-depth {
  position: absolute;
  border-radius: 2rem;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.trust-bar-depth--left {
  top: -1.5rem;
  left: 4%;
  width: 7rem;
  height: 7rem;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.35), rgba(107, 92, 255, 0.28));
  opacity: 0.55;
}
.trust-bar-depth--right {
  bottom: 0.5rem;
  right: 6%;
  width: 5.5rem;
  height: 5.5rem;
  background: linear-gradient(135deg, rgba(247, 166, 114, 0.4), rgba(107, 92, 255, 0.3));
  opacity: 0.5;
}
.trust-bar-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .trust-bar-grid { grid-template-columns: repeat(5, 1fr); }
}
.trust-bar-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transform-style: preserve-3d;
}
.trust-bar-link::after {
  content: "";
  position: absolute;
  inset: 0.35rem 0.5rem -0.35rem;
  border-radius: inherit;
  background: rgba(10, 102, 194, 0.06);
  transform: translateZ(-8px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.trust-bar-link:not(.is-pointer-active):hover::after {
  opacity: 1;
  transform: translateZ(-12px) translateY(4px);
}
.trust-bar-link:not(.is-pointer-active):hover {
  box-shadow: var(--home-depth-hover);
  transform: translateY(-4px) translateZ(8px);
}
.trust-bar-link:not(.is-pointer-active):hover .trust-bar-icon {
  transform: translateY(-3px) translateZ(16px) scale(1.06);
  box-shadow: 0 8px 18px -8px rgba(10, 102, 194, 0.28);
}
.trust-bar-link:focus-visible {
  outline: 3px solid #6B5CFF;
  outline-offset: 2px;
}
.trust-bar-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.trust-bar-icon svg { width: 1.25rem; height: 1.25rem; display: block; }
.trust-bar-icon--safety     { background: rgba(219, 234, 254, 0.55); color: #0A66C2; }
.trust-bar-icon--email      { background: rgba(227, 223, 255, 0.55); color: #5645E6; }
.trust-bar-icon--connect    { background: rgba(224, 231, 255, 0.55); color: #4338CA; }
.trust-bar-icon--compliance { background: rgba(209, 250, 229, 0.55); color: #047857; }
.trust-bar-icon--mentor     { background: rgba(255, 239, 226, 0.55); color: #C2410C; }
.trust-bar-title {
  display: block;
  font-family: Lexend, Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #062D5A;
}
.trust-bar-desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(6, 45, 90, 0.72);
}

/* Secondary trust chips — compact guarantees row */
.trust-bar-secondary {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.625rem;
}
.trust-bar-chip-stage {
  display: inline-block;
}
.trust-bar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(6, 45, 90, 0.88);
  transform-style: preserve-3d;
  box-shadow: var(--home-depth-ambient);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.trust-bar-chip svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #059669;
  flex-shrink: 0;
}
.trust-bar-chip:not(.is-pointer-active):hover {
  transform: translateY(-3px) translateZ(6px);
  box-shadow: var(--home-depth-hover);
}
html[data-theme="twilight"] .trust-bar-chip {
  color: var(--home-text-soft);
}

/* ── Home pillar cards ── */
.home-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .home-pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
.home-pillar-card {
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: none;
  height: 100%;
}
.home-pillar-card:not(.is-pointer-active):hover .home-pillar-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px -8px rgba(10, 102, 194, 0.28);
}
.home-pillar-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  margin-bottom: 1rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.home-pillar-icon svg { width: 1.375rem; height: 1.375rem; }
.home-pillar-icon--network { background: linear-gradient(135deg, rgba(219, 234, 254, 0.65), rgba(227, 223, 255, 0.55)); color: #0A66C2; }
.home-pillar-icon--learn   { background: linear-gradient(135deg, rgba(227, 223, 255, 0.65), rgba(255, 239, 226, 0.5)); color: #5645E6; }
.home-pillar-icon--parent  { background: linear-gradient(135deg, rgba(209, 250, 229, 0.6), rgba(219, 234, 254, 0.55)); color: #047857; }
.home-pillar-title {
  font-family: Lexend, Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #062D5A;
  margin: 0;
}
.home-pillar-desc {
  margin: 0.5rem 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(6, 45, 90, 0.78);
}

/* ── Audience path icons ── */
.audience-path-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  margin-bottom: 0.25rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.audience-path-card:not(.is-pointer-active):hover .audience-path-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px -8px rgba(10, 102, 194, 0.28);
}
.audience-path-icon svg { width: 1.25rem; height: 1.25rem; }
.audience-path-icon--parents { background: #DBEAFE; color: #0A66C2; }
.audience-path-icon--learn   { background: #E3DFFF; color: #5645E6; }

/* ── Waitlist enhancements ── */
.waitlist-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(107, 92, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}
.waitlist-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Hero launch badge & trust chips ── */
.hero-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0852A1;
  background: var(--home-badge-bg);
  border: 1px solid var(--home-badge-border);
  box-shadow: 0 4px 16px -8px rgba(10, 102, 194, 0.25);
}
.hero-launch-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: hero-pulse-dot 2s ease-in-out infinite;
}
@keyframes hero-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(0.92); }
}
.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #073F7D;
  background: var(--home-chip-bg);
  border: 1px solid var(--home-chip-border);
  box-shadow: var(--home-depth-ambient);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.hero-trust-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--home-depth-hover);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.375rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0A66C2, #5645E6);
  text-decoration: none;
  box-shadow: var(--home-depth-ambient), 0 8px 28px -8px rgba(10, 102, 194, 0.55);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--home-depth-hover), 0 12px 32px -8px rgba(10, 102, 194, 0.65);
}
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.375rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #0852A1;
  background: var(--home-cta-secondary-bg);
  border: 1px solid var(--home-cta-secondary-border);
  text-decoration: none;
  box-shadow: var(--home-depth-ambient);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.15s ease, border-color 0.15s ease, box-shadow 0.22s ease;
}
.hero-cta-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  border-color: #93C5FD;
  box-shadow: var(--home-depth-hover);
}
html[data-theme="twilight"] .hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: var(--home-depth-hover);
}

/* ── 3D effect 1 · Hero carousel pointer tilt ── */
.fx-3d-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
  height: 100%;
}
.fx-3d-stage--card {
  perspective: 1200px;
}
.fx-3d-tilt {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  will-change: transform;
}
.fx-3d-tilt.is-pointer-active {
  transition: transform 0.12s ease-out, box-shadow 0.25s ease;
}
.fx-3d-tilt--hero {
  box-shadow: var(--home-depth-ambient);
}
.fx-3d-tilt--hero.is-pointer-active {
  box-shadow: var(--home-depth-active);
}
.fx-3d-tilt--card {
  box-shadow: var(--home-depth-ambient);
}
.fx-3d-tilt--card.is-pointer-active {
  box-shadow: var(--home-depth-active);
}
.fx-3d-tilt--tile {
  box-shadow: var(--home-depth-ambient);
}
.fx-3d-tilt--tile.is-pointer-active {
  box-shadow: var(--home-depth-active);
}
.fx-3d-tilt--tile:not(.is-pointer-active):hover,
.fx-3d-tilt--card:not(.is-pointer-active):hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: var(--home-depth-hover);
}
.fx-3d-tilt--chip {
  box-shadow: var(--home-depth-ambient);
  cursor: default;
}
.fx-3d-tilt--chip.is-pointer-active {
  box-shadow: var(--home-depth-active);
}

/* ── 3D effect 2 · Floating hero accents (depth layers) ── */
.fx-3d-float-layer {
  transform-style: preserve-3d;
  animation: fx-3d-float 9s ease-in-out infinite;
}
.fx-3d-float-layer--back {
  transform: translateZ(-40px) scale(1.08);
  animation-duration: 11s;
  animation-delay: -2s;
}
.fx-3d-float-layer--front {
  transform: translateZ(48px);
  animation-duration: 8s;
  animation-delay: -4s;
}
@keyframes fx-3d-float {
  0%, 100% { transform: translateZ(48px) translateY(0) rotateX(0deg) rotateY(0deg); }
  50%      { transform: translateZ(64px) translateY(-12px) rotateX(6deg) rotateY(-8deg); }
}
.fx-3d-float-layer--back {
  animation-name: fx-3d-float-back;
}
@keyframes fx-3d-float-back {
  0%, 100% { transform: translateZ(-40px) scale(1.08) translateY(0) rotateY(0deg); }
  50%      { transform: translateZ(-24px) scale(1.1) translateY(10px) rotateY(10deg); }
}

/* ── 3D effect 3 · Defect cards scroll reveal ── */
.fx-3d-reveal {
  opacity: 0;
  transform: perspective(900px) rotateX(14deg) translateY(28px) scale(0.97);
  transform-origin: center top;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fx-3d-reveal.is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0) scale(1);
}
.fx-3d-reveal--delay-1 { transition-delay: 0.1s; }
.fx-3d-reveal--delay-2 { transition-delay: 0.22s; }
.fx-3d-reveal--delay-3 { transition-delay: 0.34s; }
.fx-3d-reveal--delay-4 { transition-delay: 0.46s; }

/* ── Twilight text & component overrides ── */
html[data-theme="twilight"] header .text-trust-900 { color: #f1f5f9; }
html[data-theme="twilight"] header .text-spark-600 { color: #a99cff; }
html[data-theme="twilight"] .nav-mega-trigger { color: #cbd5e1; }
html[data-theme="twilight"] .nav-mega:hover .nav-mega-trigger,
html[data-theme="twilight"] .nav-mega:focus-within .nav-mega-trigger {
  color: #c4b5fd;
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="twilight"] .nav-mega-panel a { color: #cbd5e1; }
html[data-theme="twilight"] .nav-mega-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}
html[data-theme="twilight"] .text-trust-950,
html[data-theme="twilight"] .text-trust-900,
html[data-theme="twilight"] .font-display.text-trust-950 { color: var(--home-heading) !important; }
html[data-theme="twilight"] .text-trust-800\/85,
html[data-theme="twilight"] .text-trust-900\/80,
html[data-theme="twilight"] .text-trust-800 { color: var(--home-text-soft) !important; }
html[data-theme="twilight"] .text-trust-700,
html[data-theme="twilight"] .text-trust-600,
html[data-theme="twilight"] .text-trust-500 { color: var(--home-text-muted) !important; }
html[data-theme="twilight"] h1 .bg-clip-text {
  background-image: linear-gradient(to right, #93c5fd, #a99cff, #c4b5fd) !important;
}
html[data-theme="twilight"] .text-spark-600 { color: #a99cff !important; }
html[data-theme="twilight"] .text-emerald-600 { color: #6ee7b7 !important; }
html[data-theme="twilight"] .hero-launch-badge { color: #e2e8f0; }
html[data-theme="twilight"] .hero-trust-chip { color: #cbd5e1; }
html[data-theme="twilight"] .hero-cta-secondary { color: #e2e8f0; }
html[data-theme="twilight"] .hero-carousel-badge { color: #6ee7b7; background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.25); }
html[data-theme="twilight"] .trust-bar-title { color: var(--home-heading); }
html[data-theme="twilight"] .trust-bar-desc { color: var(--home-text-muted); }
html[data-theme="twilight"] .home-pillar-title { color: var(--home-heading); }
html[data-theme="twilight"] .home-pillar-desc { color: var(--home-text-soft); }
html[data-theme="twilight"] .audience-path-title { color: var(--home-heading); }
html[data-theme="twilight"] .audience-path-desc { color: var(--home-text-soft); }
html[data-theme="twilight"] .audience-path-link { color: #93c5fd; }
html[data-theme="twilight"] .audience-path-card--learn .audience-path-link { color: #c4b5fd; }
html[data-theme="twilight"] .hero-slide-link { color: #a99cff; }
html[data-theme="twilight"] .site-cta { color: #93c5fd; }
html[data-theme="twilight"] .hero-dot::after { background-color: rgba(147, 197, 253, 0.5); }
html[data-theme="twilight"] .hero-dot.is-active::after { background-color: #93c5fd; }
html[data-theme="twilight"] .hero-carousel-btn { color: #cbd5e1; border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08); }
html[data-theme="twilight"] .hero-carousel-btn:hover { background: rgba(255, 255, 255, 0.14); box-shadow: var(--home-depth-hover); }
