/* ========= DYSHEA Brand Kit =========
   Primary Purple: #6D28D9
   Dark Purple:    #2E1065
   Deep Background:#0F0824
   Neon Violet:    #A855F7
   Soft Lavender:  #E9D5FF
==================================== */

:root {
  --primary: #6D28D9;
  --dark-purple: #2E1065;
  --bg-deep: #0F0824;
  --neon: #A855F7;
  --lavender: #E9D5FF;
  --gold: #FBBF24;
  --white: #FFFFFF;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(168, 85, 247, 0.25);
  --radius-card: 24px;
  --radius-btn: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--dark-purple) 55%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; }

/* ---------- Background layers ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; background: #6D28D9; top: -120px; left: -120px; }
.orb-2 { width: 380px; height: 380px; background: #A855F7; top: 40%; right: -140px; animation-delay: -5s; }
.orb-3 { width: 420px; height: 420px; background: #4C1D95; bottom: -160px; left: 20%; animation-delay: -9s; }

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -40px, 0) scale(1.12); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--neon), var(--lavender));
  box-shadow: 0 0 12px var(--neon);
  z-index: 200;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-radius: 20px;
  background: rgba(15, 8, 36, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 100;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(15, 8, 36, 0.85);
  box-shadow: 0 8px 40px rgba(109, 40, 217, 0.35);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo:hover .logo-img {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.8);
}
.logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
}
.logo-text.small { font-size: 16px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); text-shadow: 0 0 12px var(--neon); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 26px rgba(109, 40, 217, 0.55);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 46px rgba(168, 85, 247, 0.75);
  background: #7C3AED;
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.4);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 170px 24px 100px;
  min-height: 100vh;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lavender);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--neon), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(233, 213, 255, 0.85);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-mini-stats { display: flex; gap: 38px; }
.hero-mini-stats div { display: flex; flex-direction: column; }
.hero-mini-stats strong {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  color: var(--white);
}
.hero-mini-stats span { font-size: 13px; color: rgba(233, 213, 255, 0.7); }

/* Hero visual / mascot */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  overflow: visible;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.35);
  pointer-events: none;
}
.ring-a { width: 420px; height: 420px; animation: ringSpin 26s linear infinite; border-style: dashed; }
.ring-b { width: 520px; height: 520px; animation: ringSpin 40s linear infinite reverse; opacity: 0.5; }

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.mascot-stage {
  position: relative;
  transform-style: preserve-3d;
  overflow: visible;
}
.hero-dino-wrap {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

@keyframes mascotFloat {
  from { translate: 0 -10px; }
  to   { translate: 0 14px; }
}

/* ---------- Dyshi 2D mascot illustrations ---------- */
.dino2d {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  pointer-events: none;
  transform-origin: center bottom;
  will-change: transform;
}

@keyframes dinoHeroFloat {
  0%, 100% { translate: 0 -8px; }
  50% { translate: 0 10px; }
}
@keyframes dinoHeroSway {
  0%, 100% { rotate: -2deg; }
  50% { rotate: 2deg; }
}
@keyframes dinoBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes dinoPeek {
  0%, 100% { translate: -6px 0; rotate: -3deg; }
  50% { translate: 6px 0; rotate: 3deg; }
}
@keyframes dinoWave {
  0%, 100% { rotate: -4deg; translate: 0 0; }
  25% { rotate: 6deg; translate: 0 -6px; }
  75% { rotate: -6deg; translate: 0 -4px; }
}
@keyframes dinoWorried {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  20% { translate: -3px 0; rotate: -2deg; }
  40% { translate: 3px 0; rotate: 2deg; }
  60% { translate: -2px 0; rotate: -1deg; }
  80% { translate: 2px 0; rotate: 1deg; }
}
@keyframes dinoBounce {
  0%, 100% { translate: 0 0; scale: 1 1; }
  30% { translate: 0 -22px; scale: 1.04 0.96; }
  50% { translate: 0 -28px; scale: 0.98 1.03; }
  70% { translate: 0 -8px; scale: 1.02 0.98; }
}
@keyframes dinoCheer {
  0%, 100% { translate: 0 0; scale: 1; rotate: 0deg; }
  25% { translate: 0 -14px; scale: 1.05; rotate: -4deg; }
  50% { translate: 0 -6px; scale: 1.02; rotate: 4deg; }
  75% { translate: 0 -16px; scale: 1.06; rotate: -2deg; }
}
@keyframes dinoSteps {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; scale: 1.02; }
}
@keyframes dinoThumbs {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  40% { translate: 0 -6px; rotate: -3deg; }
  70% { translate: 0 -2px; rotate: 2deg; }
}
@keyframes confettiSpark {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-40px) scale(1); }
}

.anim-hero { animation: dinoHeroFloat 5.5s ease-in-out infinite alternate, dinoHeroSway 7s ease-in-out infinite; }
.anim-teach { animation: dinoBob 4.2s ease-in-out infinite; }
.anim-browse { animation: dinoPeek 5s ease-in-out infinite; }
.anim-wave { animation: dinoWave 2.8s ease-in-out infinite; }
.anim-worried { animation: dinoWorried 0.55s ease-in-out infinite; }
.anim-bounce { animation: dinoBounce 1.6s ease-in-out infinite; }
.anim-cheer { animation: dinoCheer 2.2s ease-in-out infinite; }
.anim-steps { animation: dinoSteps 3.5s ease-in-out infinite; }
.anim-thumbs { animation: dinoThumbs 2.8s ease-in-out infinite; }

.section-with-dino { overflow: visible; }
.section-dino-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.section-dino {
  position: absolute;
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 20px 40px rgba(15, 8, 36, 0.75)) drop-shadow(0 0 28px rgba(109, 40, 217, 0.4));
}
.why-dino { top: 8%; left: -120px; animation-delay: -1.5s; }
.paths-dino { top: 12%; right: -130px; animation-delay: -2.5s; }
.how-dino { bottom: 6%; left: -110px; animation-delay: -0.5s; }

.dino2d-hero {
  width: min(420px, 78vw);
  height: auto;
  max-height: min(480px, 82vw);
  overflow: visible;
  filter: drop-shadow(0 30px 50px rgba(15, 8, 36, 0.8)) drop-shadow(0 0 40px rgba(109, 40, 217, 0.4));
}

.float-chip {
  position: absolute;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--lavender);
  background: rgba(15, 8, 36, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.35);
  animation: chipFloat 6s ease-in-out infinite alternate;
  white-space: nowrap;
}
.chip-1 { top: 6%; left: -4%; animation-delay: -1s; }
.chip-2 { bottom: 14%; right: -6%; animation-delay: -3s; }
.chip-3 { bottom: -2%; left: 6%; animation-delay: -5s; }

@keyframes chipFloat {
  from { transform: translateY(-8px); }
  to   { transform: translateY(10px); }
}

/* ---------- 3D rotating code cube ---------- */
.cube-wrap {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 74px;
  height: 74px;
  perspective: 600px;
  z-index: 2;
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeSpin 14s linear infinite;
}
.cube-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--lavender);
  background: rgba(109, 40, 217, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.25);
  text-shadow: 0 0 14px var(--neon);
}
.f1 { transform: translateZ(37px); }
.f2 { transform: rotateY(90deg) translateZ(37px); }
.f3 { transform: rotateY(180deg) translateZ(37px); }
.f4 { transform: rotateY(-90deg) translateZ(37px); }
.f5 { transform: rotateX(90deg) translateZ(37px); }
.f6 { transform: rotateX(-90deg) translateZ(37px); }

@keyframes cubeSpin {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to   { transform: rotateX(-18deg) rotateY(360deg); }
}

/* ---------- Skills marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  background: rgba(15, 8, 36, 0.45);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(233, 213, 255, 0.8);
  white-space: nowrap;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: rgba(233, 213, 255, 0.75);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.6;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: var(--card-border);
  box-shadow: 0 18px 60px rgba(109, 40, 217, 0.4);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transform: translateZ(30px);
}
.card p {
  color: rgba(233, 213, 255, 0.75);
  line-height: 1.65;
  font-size: 15px;
  transform: translateZ(20px);
}

.card-icon {
  font-size: 38px;
  margin-bottom: 18px;
  display: inline-block;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.6));
  transform: translateZ(40px);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Learning paths ---------- */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.path-card { position: relative; overflow: hidden; }
.path-featured {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 40px rgba(109, 40, 217, 0.35);
}
.path-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #C4F9D2;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 5px 10px;
  border-radius: 999px;
}
.path-tag.soon {
  color: var(--lavender);
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
}
.path-progress {
  margin-top: 20px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.path-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--neon));
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
}

/* ---------- Journey timeline ---------- */
.journey {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 30px;
}
.journey-line {
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--neon), var(--lavender));
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}
.journey-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 40px;
}
.journey-node {
  position: absolute;
  left: -22px;
  top: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--neon));
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.7);
  z-index: 2;
  animation: nodePulse 2.6s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 18px rgba(168, 85, 247, 0.55); }
  50%      { box-shadow: 0 0 34px rgba(168, 85, 247, 0.95); }
}
.journey-card { padding: 28px 30px; }
.journey-level {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--lavender);
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.journey-projects {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.journey-projects li {
  font-size: 13px;
  font-weight: 500;
  color: var(--lavender);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  padding: 8px 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.journey-projects li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.45);
}

/* ---------- Pricing ---------- */
.pricing-section {
  max-width: 1240px;
}
.pricing-heading {
  margin-bottom: 48px;
}
.pricing-heading .section-sub {
  margin-bottom: 0;
  max-width: 680px;
}
.pricing-eyebrow {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 7px 13px;
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #A7F3D0;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(23, 12, 51, 0.78);
  box-shadow: 0 18px 54px rgba(4, 2, 16, 0.22);
}
.pricing-card:hover {
  border-color: rgba(196, 181, 253, 0.42);
}
.pricing-featured {
  border-color: rgba(52, 211, 153, 0.55);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.09), transparent 32%),
    rgba(28, 14, 58, 0.94);
  box-shadow: 0 24px 70px rgba(16, 185, 129, 0.12);
}
.pricing-ribbon {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 4px;
  background: #34D399;
  color: #08130F;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.pricing-card-head {
  min-height: 142px;
}
.pricing-card h3,
.pricing-compact h3 {
  margin: 15px 0 8px;
  font-size: 23px;
}
.pricing-card-head p,
.pricing-compact p {
  color: rgba(233, 213, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}
.pricing-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 4px;
  color: var(--lavender);
  background: rgba(139, 92, 246, 0.1);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.pricing-status.available {
  color: #A7F3D0;
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(16, 185, 129, 0.1);
}
.pricing-status.founding {
  color: #FDE68A;
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(245, 158, 11, 0.11);
}
.pricing-status.schools {
  color: #BAE6FD;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.1);
}
.pricing-price {
  min-height: 78px;
  margin: 20px 0 4px;
}
.pricing-price strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 39px;
  line-height: 1;
}
.pricing-price span,
.pricing-standard {
  color: rgba(233, 213, 255, 0.58);
  font-size: 12px;
}
.pricing-standard {
  min-height: 20px;
  margin-bottom: 14px;
}
.pricing-features,
.pricing-mini-features {
  list-style: none;
}
.pricing-features {
  display: grid;
  gap: 11px;
  margin: 4px 0 28px;
}
.pricing-features li,
.pricing-mini-features li {
  position: relative;
  padding-left: 24px;
  color: rgba(245, 243, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}
.pricing-features li::before,
.pricing-mini-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34D399;
  font-weight: 800;
}
.pricing-action {
  width: 100%;
  margin-top: auto;
}
.pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
.pricing-actions .btn {
  width: 100%;
}
.pricing-checkout-note {
  min-height: 18px;
  margin-top: 10px;
  color: #FCA5A5;
  font-size: 12px;
  text-align: center;
}
.pricing-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.pricing-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.58fr);
  grid-template-areas:
    "copy purchase"
    "features purchase";
  gap: 16px 28px;
  align-items: start;
  min-width: 0;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(23, 12, 51, 0.62);
}
.pricing-compact-copy {
  grid-area: copy;
  min-width: 0;
}
.pricing-compact-copy h3 {
  margin-top: 12px;
}
.pricing-compact-price {
  text-align: left;
}
.pricing-compact-price strong,
.pricing-compact-price small {
  display: block;
}
.pricing-compact-price strong {
  font-family: 'Sora', sans-serif;
  font-size: 25px;
}
.pricing-compact-price strong span {
  font-size: 13px;
  color: rgba(233, 213, 255, 0.6);
}
.pricing-compact-price small {
  color: rgba(233, 213, 255, 0.55);
  font-size: 11px;
}
.pricing-mini-features {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-self: end;
}
.pricing-compact-purchase {
  grid-area: purchase;
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  height: 100%;
  padding-left: 24px;
  border-left: 1px solid rgba(196, 181, 253, 0.14);
}
.pricing-compact-purchase > .btn {
  width: 100%;
}
.pricing-compact-actions {
  display: grid;
  gap: 8px;
}
.pricing-compact-actions .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1.25;
}
.pricing-note {
  margin-top: 24px;
  color: rgba(233, 213, 255, 0.58);
  font-size: 12px;
  text-align: center;
}
.pricing-note a,
.footer-links a {
  color: var(--lavender);
}

/* ---------- Payment result ---------- */
.payment-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 24px 60px;
}
.payment-result {
  width: min(620px, 100%);
  padding: 46px;
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 8px;
  background: rgba(23, 12, 51, 0.9);
  text-align: center;
  box-shadow: 0 24px 80px rgba(4, 2, 16, 0.4);
}
.payment-result h1 {
  margin: 12px 0 16px;
  font-size: 36px;
}
.payment-result > p:not(.payment-kicker):not(.payment-help) {
  margin: 0 auto 26px;
  color: rgba(233, 213, 255, 0.76);
  line-height: 1.65;
}
.payment-kicker {
  color: #A7F3D0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.payment-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 50%;
  color: var(--lavender);
  font-size: 28px;
  font-weight: 800;
}
.payment-icon.success {
  border-color: rgba(52, 211, 153, 0.42);
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.1);
}
.payment-icon.error {
  border-color: rgba(248, 113, 113, 0.42);
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.1);
}
.payment-help {
  margin: 24px auto 0;
  color: rgba(233, 213, 255, 0.5);
  font-size: 12px;
  line-height: 1.55;
}

/* ---------- Legal ---------- */
.legal-page {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 80px;
}
.legal-page h1 {
  margin-bottom: 10px;
  font-size: 42px;
}
.legal-updated {
  margin-bottom: 42px;
  color: rgba(233, 213, 255, 0.56);
  font-size: 13px;
}
.legal-page section {
  margin-bottom: 30px;
}
.legal-page h2 {
  margin-bottom: 10px;
  font-size: 21px;
}
.legal-page p,
.legal-page li {
  color: rgba(233, 213, 255, 0.76);
  line-height: 1.75;
}
.legal-page ul {
  margin: 10px 0 0 22px;
}
.legal-page a {
  color: var(--lavender);
}

/* 2D dinos along the journey */
.journey-dino {
  position: absolute;
  width: 170px;
  height: 170px;
  pointer-events: none;
  filter: drop-shadow(0 16px 30px rgba(15, 8, 36, 0.7)) drop-shadow(0 0 24px rgba(109, 40, 217, 0.35));
}
.dino-a { top: 2%; right: -210px; }
.dino-b { top: 28%; right: -210px; }
.dino-c { top: 54%; right: -210px; }
.dino-d { top: 80%; right: -210px; }
.dino-a.anim-wave { animation-delay: -0.6s; }
.dino-b.anim-worried { animation-delay: -0.2s; }
.dino-c.anim-bounce { animation-delay: -0.9s; }
.dino-d.anim-cheer { animation-delay: -1.4s; }

/* ---------- Platform preview (code editor) ---------- */
.preview-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  perspective: 1100px;
}
.editor-window {
  background: rgba(10, 5, 26, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(15, 8, 36, 0.85), 0 0 60px rgba(109, 40, 217, 0.35);
  transform: rotateX(6deg) rotateY(-6deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  will-change: transform;
}
.editor-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #F87171; }
.dot.yellow { background: #FBBF24; }
.dot.green { background: #34D399; }
.editor-file {
  margin-left: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  color: rgba(233, 213, 255, 0.7);
}
.editor-run {
  margin-left: auto;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #C4F9D2;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  padding: 5px 12px;
}
.editor-code {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.8;
  color: var(--lavender);
  padding: 22px 26px;
  min-height: 150px;
  white-space: pre-wrap;
  margin: 0;
}
.caret {
  display: inline-block;
  width: 9px;
  height: 18px;
  background: var(--neon);
  vertical-align: text-bottom;
  animation: caretBlink 0.9s steps(1) infinite;
  box-shadow: 0 0 10px var(--neon);
}
@keyframes caretBlink { 50% { opacity: 0; } }
.editor-output {
  padding: 16px 26px 22px;
  border-top: 1px dashed rgba(168, 85, 247, 0.25);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  color: #C4F9D2;
  min-height: 30px;
}
.output-line { display: block; }

.preview-dino {
  position: absolute;
  bottom: -60px;
  right: -110px;
  width: 230px;
  height: 230px;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(15, 8, 36, 0.8)) drop-shadow(0 0 28px rgba(109, 40, 217, 0.45));
}
.xp-toast {
  position: absolute;
  top: -22px;
  right: 8%;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--neon));
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 12px 38px rgba(109, 40, 217, 0.6);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.xp-toast.show { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Steps ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.step {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-8px);
  border-color: var(--card-border);
  box-shadow: 0 18px 50px rgba(109, 40, 217, 0.4);
}
.step-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--neon));
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.6);
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(233, 213, 255, 0.75); line-height: 1.6; }
.step-arrow {
  align-self: center;
  font-size: 22px;
  color: var(--neon);
  text-shadow: 0 0 14px var(--neon);
}

/* ---------- Mascot cards ---------- */
.mascot-card { text-align: center; overflow: visible; }
.mascot-2d-grid { align-items: stretch; }
.mascot-2d-stage {
  position: relative;
  width: 100%;
  height: 260px;
  margin-bottom: 18px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 80%, rgba(109, 40, 217, 0.28), transparent 70%),
    rgba(15, 8, 36, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: inset 0 0 40px rgba(109, 40, 217, 0.15), 0 14px 40px rgba(15, 8, 36, 0.6);
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.anim-cheer-wrap::before,
.anim-cheer-wrap::after {
  content: '✦';
  position: absolute;
  font-size: 14px;
  color: var(--gold);
  text-shadow: 0 0 10px var(--neon);
  pointer-events: none;
  animation: confettiSpark 2.4s ease-out infinite;
}
.anim-cheer-wrap::before { top: 18%; left: 22%; animation-delay: -0.4s; color: var(--neon); }
.anim-cheer-wrap::after { top: 12%; right: 20%; animation-delay: -1.2s; }
.mascot-dino {
  width: auto;
  height: 92%;
  max-width: 100%;
  filter: drop-shadow(0 12px 24px rgba(15, 8, 36, 0.65)) drop-shadow(0 0 20px rgba(109, 40, 217, 0.35));
}
.mascot-card .legacy-img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 14px 40px rgba(15, 8, 36, 0.6);
  transform: translateZ(35px);
}

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 130px; }
.cta-box {
  text-align: center;
  padding: 70px 40px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(109, 40, 217, 0.35), transparent 70%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(109, 40, 217, 0.3);
}
.cta-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cta-form input {
  width: min(340px, 100%);
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-btn);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cta-form input::placeholder { color: rgba(233, 213, 255, 0.5); }
.cta-form input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}
.cta-note { margin-top: 18px; font-size: 14px; color: #C4F9D2; min-height: 20px; }
.cta-box { position: relative; overflow: visible; }
.cta-dino {
  position: absolute;
  top: -150px;
  right: 30px;
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 18px 36px rgba(15, 8, 36, 0.75)) drop-shadow(0 0 24px rgba(109, 40, 217, 0.45));
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 40px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  color: rgba(233, 213, 255, 0.6);
  font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-contact a {
  color: rgba(196, 181, 253, 0.95);
  text-decoration: none;
  margin-left: 6px;
}
.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 12px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .journey-dino { display: none; }
  .section-dino { display: none; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-mini-stats { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .cards-3, .paths-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
  .preview-dino { width: 150px; height: 150px; right: -10px; bottom: -36px; }
  .cta-dino { width: 130px; height: 130px; top: -100px; right: 14px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-head { min-height: 0; }
  .pricing-secondary { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cards-3, .paths-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .ring-a, .ring-b { display: none; }
  .cube-wrap { display: none; }
  .preview-dino { display: none; }
  .mascot-2d-stage { height: 180px; }
  .pricing-card { padding: 26px 22px; }
  .pricing-compact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "features"
      "purchase";
    padding: 22px;
  }
  .pricing-compact-price { text-align: left; }
  .pricing-compact-purchase {
    height: auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(196, 181, 253, 0.14);
    border-left: 0;
  }
  .pricing-mini-features { grid-template-columns: 1fr; }
  .payment-result { padding: 34px 22px; }
  .payment-result h1 { font-size: 28px; }
}

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