/* ============================================
   ICAN ACADEMY — THEME PARK REDESIGN
   Warm pastels, peach accent, playful & friendly
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf8f5;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --surface: #f5f0eb;
  --border: #e8e2da;
  --border-hover: #d4ccc2;
  --text: #3d3530;
  --text-muted: #6b6360;
  --text-dim: #a09890;
  --accent: #4a90d4;
  --accent-light: #3a7bbe;
  --accent-glow: rgba(74, 144, 212, 0.12);
  --accent-subtle: rgba(74, 144, 212, 0.06);
  --gradient-accent: linear-gradient(135deg, #4a90d4, #7bb8e8);
  --radius: 28px;
  --radius-sm: 20px;
  --radius-xs: 12px;
  --spring: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Nunito', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Nunito', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 1.05rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- THEME PARK MAP HERO (Illustrated Map) ---------- */
.park-hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background: linear-gradient(180deg, #8fa8d8 0%, #b4c2ea 18%, #d8d1e9 36%, #eadfd0 54%, #d8e8c8 72%, #d0e4c0 100%);
  overflow: hidden;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Sky & background layer --- */
.park-bg {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.park-bg::before {
  content: '';
  position: absolute;
  inset: 0 0 42% 0;
  background: linear-gradient(180deg, rgba(83, 100, 154, 0.28) 0%, rgba(113, 125, 181, 0.14) 50%, rgba(255, 255, 255, 0) 100%);
}

.park-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 249, 225, 0.95);
  box-shadow: 0 0 10px rgba(255, 245, 200, 0.75);
  animation: parkStarTwinkle 3.4s ease-in-out infinite;
}

.park-star-1 { top: 7%; left: 10%; animation-delay: 0s; }
.park-star-2 { top: 10%; left: 22%; width: 4px; height: 4px; animation-delay: 0.7s; }
.park-star-3 { top: 6%; left: 38%; width: 3px; height: 3px; animation-delay: 1.4s; }
.park-star-4 { top: 12%; right: 28%; animation-delay: 2.1s; }
.park-star-5 { top: 8%; right: 14%; width: 4px; height: 4px; animation-delay: 0.9s; }
.park-star-6 { top: 16%; left: 52%; width: 3px; height: 3px; animation-delay: 1.8s; }
.park-star-7 { top: 18%; right: 36%; width: 4px; height: 4px; animation-delay: 2.6s; }
.park-star-8 { top: 14%; right: 8%; width: 3px; height: 3px; animation-delay: 1.1s; }

/* --- Clouds (improved with depth) --- */
.park-cloud {
  position: absolute;
  background: rgba(255, 241, 233, 0.55);
  border-radius: 50%;
  box-shadow:
    inset -6px -4px 12px rgba(188, 171, 216, 0.18),
    0 4px 20px rgba(255, 245, 236, 0.22);
}
.park-cloud::before, .park-cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 244, 236, 0.52);
  border-radius: 50%;
  box-shadow: inset -4px -3px 8px rgba(188, 171, 216, 0.12);
}
.park-cloud-1 {
  width: 140px; height: 52px; top: 3%; left: 6%;
  animation: cloudFloat1 28s ease-in-out infinite;
}
.park-cloud-1::before { width: 70px; height: 48px; top: -22px; left: 20px; }
.park-cloud-1::after { width: 80px; height: 38px; top: -14px; right: 5px; }
.park-cloud-2 {
  width: 110px; height: 42px; top: 5%; right: 10%;
  animation: cloudFloat2 32s ease-in-out 3s infinite;
}
.park-cloud-2::before { width: 55px; height: 36px; top: -16px; left: 14px; }
.park-cloud-2::after { width: 50px; height: 28px; top: -10px; right: 10px; }
.park-cloud-3 {
  width: 90px; height: 34px; top: 1.5%; left: 42%;
  animation: cloudFloat3 22s ease-in-out 6s infinite;
}
.park-cloud-3::before { width: 46px; height: 30px; top: -14px; left: 12px; }
.park-cloud-3::after { width: 40px; height: 24px; top: -8px; right: 6px; }

@keyframes cloudFloat1 {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(30px) translateY(-4px); }
  50% { transform: translateX(50px) translateY(2px); }
  75% { transform: translateX(20px) translateY(-2px); }
}
@keyframes cloudFloat2 {
  0%, 100% { transform: translateX(0) translateY(0); }
  30% { transform: translateX(-25px) translateY(-3px); }
  60% { transform: translateX(-45px) translateY(4px); }
  80% { transform: translateX(-15px) translateY(-1px); }
}
@keyframes cloudFloat3 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(35px); }
}

@keyframes parkStarTwinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* --- Floating satellite --- */
.park-satellite {
  --satellite-scale: 1;
  --satellite-rotate: -13deg;
  --satellite-rotate-mid: -10deg;
  --satellite-rotate-end: -15deg;
  position: absolute;
  top: 12%;
  right: 6%;
  z-index: 2;
  width: 120px;
  height: 74px;
  transform: scale(var(--satellite-scale)) rotate(var(--satellite-rotate));
  filter: drop-shadow(0 12px 18px rgba(49, 75, 122, 0.18));
  animation: parkSatelliteFloat 7s ease-in-out infinite;
}

.park-satellite-secondary {
  --satellite-scale: 0.72;
  --satellite-rotate: 12deg;
  --satellite-rotate-mid: 8deg;
  --satellite-rotate-end: 15deg;
  top: 9%;
  left: 17%;
  right: auto;
  animation-delay: -2.2s;
  animation-duration: 8.5s;
  opacity: 0.9;
}

.park-satellite::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 40px;
  width: 112px;
  height: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transform: rotate(8deg);
}

.park-satellite-body {
  position: absolute;
  left: 46px;
  top: 21px;
  width: 32px;
  height: 25px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(193, 210, 229, 0.9) 54%, rgba(116, 143, 174, 0.92));
  border: 1px solid rgba(74, 105, 145, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 4px 10px rgba(75, 101, 135, 0.18);
}

.park-satellite-window {
  position: absolute;
  left: 10px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #93ddff, #3f7bb8);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: 0 0 8px rgba(111, 190, 240, 0.5);
}

.park-satellite-panel {
  position: absolute;
  top: 18px;
  width: 34px;
  height: 28px;
  border-radius: 5px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.32) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #3f77b8, #244d8a 58%, #70b4e4);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(36, 77, 138, 0.28);
}

.park-satellite-panel-left {
  left: 7px;
  transform: skewY(-8deg);
}

.park-satellite-panel-right {
  right: 5px;
  transform: skewY(8deg);
}

.park-satellite-dish {
  position: absolute;
  left: 66px;
  top: 44px;
  width: 19px;
  height: 11px;
  border: 2px solid rgba(90, 116, 152, 0.72);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  transform: rotate(24deg);
}

.park-satellite-dish::before {
  content: '';
  position: absolute;
  left: 8px;
  top: -8px;
  width: 2px;
  height: 11px;
  border-radius: 999px;
  background: rgba(90, 116, 152, 0.72);
}

.park-satellite-signal {
  position: absolute;
  left: 86px;
  top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 999px 0 0;
  opacity: 0.72;
  transform: rotate(26deg);
  animation: parkSatelliteSignal 2.6s ease-in-out infinite;
}

.park-satellite-signal-1 {
  width: 18px;
  height: 18px;
}

.park-satellite-signal-2 {
  width: 28px;
  height: 28px;
  animation-delay: 0.35s;
}

@keyframes parkSatelliteFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(var(--satellite-scale)) rotate(var(--satellite-rotate)); }
  35% { transform: translate3d(-12px, -8px, 0) scale(var(--satellite-scale)) rotate(var(--satellite-rotate-mid)); }
  70% { transform: translate3d(8px, 5px, 0) scale(var(--satellite-scale)) rotate(var(--satellite-rotate-end)); }
}

@keyframes parkSatelliteSignal {
  0%, 100% { opacity: 0.3; transform: rotate(26deg) scale(0.92); }
  50% { opacity: 0.86; transform: rotate(26deg) scale(1.08); }
}

/* --- Birds (CSS V-shapes) --- */
.park-bird {
  position: absolute;
  width: 18px;
  height: 6px;
  z-index: 1;
}
.park-bird::before, .park-bird::after {
  content: '';
  position: absolute;
  top: 0;
  width: 10px;
  height: 3px;
  background: #5a7088;
  border-radius: 4px 4px 0 0;
}
.park-bird::before {
  left: 0;
  transform: rotate(-25deg);
  transform-origin: right bottom;
}
.park-bird::after {
  right: 0;
  transform: rotate(25deg);
  transform-origin: left bottom;
}
.park-bird-1 {
  top: 48%; left: -5%;
  animation: birdFly1 18s linear infinite;
}
.park-bird-2 {
  top: 45%; left: -10%;
  animation: birdFly2 24s linear 5s infinite;
  transform: scale(0.7);
  opacity: 0.6;
}
/* Fast small bird, high */
.park-bird-3 {
  top: 42%; left: -8%;
  animation: birdFly3 10s linear 2s infinite;
  transform: scale(0.5);
  opacity: 0.5;
}
/* Slow large bird, mid-height */
.park-bird-4 {
  top: 50%; left: -6%;
  animation: birdFly4 32s linear 8s infinite;
  transform: scale(1.1);
  opacity: 0.7;
}
/* Medium speed, flies right-to-left */
.park-bird-5 {
  top: 46%; right: -5%; left: auto;
  animation: birdFly5 20s linear 3s infinite;
  transform: scale(0.8) scaleX(-1);
  opacity: 0.55;
}
/* Very fast, low altitude */
.park-bird-6 {
  top: 52%; left: -12%;
  animation: birdFly6 8s linear 12s infinite;
  transform: scale(0.6);
  opacity: 0.65;
}
/* Slow drifter, very high */
.park-bird-7 {
  top: 44%; left: -4%;
  animation: birdFly7 36s linear 15s infinite;
  transform: scale(0.9);
  opacity: 0.45;
}

@keyframes birdFly1 {
  0% { left: -5%; top: 8%; }
  25% { top: 6%; }
  50% { top: 9%; }
  75% { top: 5%; }
  100% { left: 105%; top: 7%; }
}
@keyframes birdFly2 {
  0% { left: -10%; top: 5%; }
  30% { top: 3%; }
  60% { top: 7%; }
  100% { left: 110%; top: 4%; }
}
@keyframes birdFly3 {
  0% { left: -8%; top: 3%; }
  50% { top: 5%; }
  100% { left: 108%; top: 2%; }
}
@keyframes birdFly4 {
  0% { left: -6%; top: 12%; }
  20% { top: 10%; }
  40% { top: 14%; }
  60% { top: 11%; }
  80% { top: 13%; }
  100% { left: 106%; top: 10%; }
}
@keyframes birdFly5 {
  0% { right: -5%; top: 6%; }
  30% { top: 4%; }
  60% { top: 8%; }
  100% { right: 110%; top: 5%; }
}
@keyframes birdFly6 {
  0% { left: -12%; top: 15%; }
  50% { top: 13%; }
  100% { left: 112%; top: 14%; }
}
@keyframes birdFly7 {
  0% { left: -4%; top: 2%; }
  25% { top: 4%; }
  50% { top: 1%; }
  75% { top: 3%; }
  100% { left: 104%; top: 2%; }
}

/* --- Land animals --- */
.park-animal {
  transition: transform 0.3s ease;
}
.park-rabbit {
  animation: rabbitHop 3s ease-in-out infinite;
}
@keyframes rabbitHop {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-4px); }
  30% { transform: translateY(0); }
}
.park-deer {
  animation: deerWalk 6s ease-in-out infinite;
}
@keyframes deerWalk {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}
.park-fox {
  animation: foxProwl 8s ease-in-out infinite;
}
@keyframes foxProwl {
  0%, 100% { transform: translateX(0) translateY(0); }
  30% { transform: translateX(-8px) translateY(-2px); }
  60% { transform: translateX(6px) translateY(1px); }
}
.park-squirrel {
  animation: squirrelBounce 2.5s ease-in-out infinite;
}
@keyframes squirrelBounce {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-6px); }
  40% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  60% { transform: translateY(0); }
}
.park-hedgehog {
  animation: hedgehogWaddle 5s ease-in-out infinite;
}
@keyframes hedgehogWaddle {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.park-duck {
  animation: duckFloat 4s ease-in-out infinite;
}
@keyframes duckFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(3px) translateY(-1px); }
  50% { transform: translateX(6px) translateY(0); }
  75% { transform: translateX(3px) translateY(1px); }
}

/* --- Terrain SVG layer --- */
.park-terrain {
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* --- Header (kept, minor tweaks for new bg) --- */
.park-logo {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 5;
}

.park-logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.park-logo-text span {
  font-family: 'Pretendard', 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #2c3e50;
  letter-spacing: -0.02em;
  height: auto;
  filter: brightness(0) saturate(100%) invert(18%) sepia(12%) saturate(700%) hue-rotate(350deg) brightness(92%) contrast(92%);
  drop-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.park-header {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 36px 24px 16px;
  flex-shrink: 0;
  animation: flowFadeIn 0.8s ease 0.2s both;
}

.park-main-title {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  font-weight: 900;
  color: #2c3e50;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(255,255,255,0.5);
  margin: 0;
}

.park-lead {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 600;
  color: #4a80b4;
  margin-top: 8px;
}

.park-title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #2c3e50;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(255,255,255,0.5);
}

.park-subtitles {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.park-subtitles span {
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 700;
  color: #4a80b4;
  background: rgba(255,255,255,0.6);
  padding: 4px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.park-subtitle {
  display: block;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: #4a80b4;
  margin-top: 2px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.park-mini-launch {
  position: absolute;
  left: 16%;
  bottom: 57%;
  z-index: 4;
  width: 54px;
  height: 96px;
  pointer-events: none;
}

.park-mini-launch-pad {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 54px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #728496 0%, #4d5e6f 100%);
  box-shadow: 0 4px 10px rgba(61, 83, 104, 0.25);
}

.park-mini-launch-rocket {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 22px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(90deg, #fdfefe 0%, #e7eef6 45%, #ffffff 100%);
  border: 2px solid #5d94c4;
  box-shadow: 0 6px 12px rgba(74, 144, 212, 0.18);
  animation: miniLaunchRocketIdle 2.6s ease-in-out infinite;
}

.park-mini-launch-rocket::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #f07c57;
}

.park-mini-launch-window {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #bff0ff 0%, #78b7de 60%, #4478a6 100%);
  border: 1.5px solid #fff7ef;
}

.park-mini-launch-fin {
  position: absolute;
  bottom: 4px;
  width: 9px;
  height: 16px;
  background: linear-gradient(180deg, #f7b255 0%, #f07c57 100%);
}

.park-mini-launch-fin-left {
  left: -6px;
  border-radius: 10px 0 8px 8px;
  transform: skewY(18deg);
}

.park-mini-launch-fin-right {
  right: -6px;
  border-radius: 0 10px 8px 8px;
  transform: skewY(-18deg);
}

.park-mini-launch-flame {
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 8px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50% 50% 60% 60%;
  background: linear-gradient(180deg, #fff0c2 0%, #ffc24d 45%, #ff8242 100%);
  animation: miniLaunchFlame 0.9s ease-in-out infinite;
}

.park-mini-launch-smoke {
  position: absolute;
  bottom: 8px;
  width: 24px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.88) 0%, rgba(239,243,247,0.74) 58%, rgba(239,243,247,0) 100%);
  animation: miniLaunchSmoke 3s ease-in-out infinite;
}

.park-mini-launch-smoke-left {
  left: -4px;
}

.park-mini-launch-smoke-right {
  right: -4px;
  animation-delay: 0.6s;
}

@keyframes miniLaunchRocketIdle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-2px); }
}

@keyframes miniLaunchFlame {
  0%, 100% { transform: translateX(-50%) scaleY(0.88); opacity: 0.86; }
  50% { transform: translateX(-50%) scaleY(1.15); opacity: 1; }
}

@keyframes miniLaunchSmoke {
  0%, 100% { transform: scale(0.92); opacity: 0.46; }
  50% { transform: scale(1.08) translateY(-1px); opacity: 0.82; }
}

.park-launch-cluster {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 3;
  width: 1180px;
  height: 226px;
  pointer-events: none;
  transform: translateX(-50%) scale(var(--launch-cluster-scale, 1));
  transform-origin: center bottom;
}

.park-launch-roads {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.park-launch-road-shadow,
.park-launch-road-fill,
.park-launch-road-center {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.park-launch-road-shadow {
  stroke: rgba(57, 68, 80, 0.22);
  stroke-width: 30;
  filter: blur(1px);
}

.park-launch-road-fill {
  stroke: #b8c1c8;
  stroke-width: 21;
  opacity: 0.9;
}

.park-launch-road-center {
  stroke: rgba(250, 252, 252, 0.86);
  stroke-width: 2.4;
  stroke-dasharray: 11 10;
}

.park-launch-road-lights circle {
  fill: #edf1f3;
  stroke: rgba(88, 99, 108, 0.26);
  stroke-width: 1.2;
  filter: drop-shadow(0 2px 4px rgba(125, 100, 45, 0.2));
  transform-box: fill-box;
  transform-origin: center;
  animation: parkRoadLightPulse 3.6s ease-in-out infinite;
}

.park-launch-road-lights circle:nth-child(2n) {
  animation-delay: 0.8s;
}

.park-launch-road-lights circle:nth-child(3n) {
  animation-delay: 1.5s;
}

.park-launch-road-mobile {
  display: none;
}

.park-launch-road-hub-mobile {
  display: none;
}

.park-launch-thread {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.park-launch-thread-shadow,
.park-launch-thread-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.park-launch-thread-shadow {
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 2.4;
}

.park-launch-thread-line {
  stroke: rgba(92, 139, 184, 0.24);
  stroke-width: 1.1;
}

.park-launch-thread-pins circle {
  fill: rgba(255, 249, 231, 0.46);
  stroke: rgba(92, 139, 184, 0.22);
  stroke-width: 0.6;
}

.park-launch-site {
  --site-accent: #4a90d4;
  --site-accent-strong: #ef7a58;
  --site-metal-top: #8092a4;
  --site-metal-bottom: #5d6f80;
  --site-pad-top: #708496;
  --site-pad-bottom: #4e6374;
  --site-body-start: #fdfefe;
  --site-body-mid: #e7eef6;
  --site-body-end: #ffffff;
  --site-window-start: #bff0ff;
  --site-window-mid: #78b7de;
  --site-window-end: #4478a6;
  --site-fin-start: #f7b255;
  --site-fin-end: #f07c57;
  --site-flame-start: #fff0c2;
  --site-flame-mid: #ffc24d;
  --site-flame-end: #ff8242;
  --site-shadow: rgba(74, 144, 212, 0.16);
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 96px;
  height: 126px;
}

.park-launch-site-korea {
  left: 0;
  bottom: 96px;
  --site-accent: #2f6fb2;
  --site-accent-strong: #df5a5a;
  --site-shadow: rgba(47, 111, 178, 0.18);
}

.park-launch-site-usa {
  left: 155px;
  bottom: 0;
  --site-accent: #294d8f;
  --site-accent-strong: #c74343;
  --site-metal-top: #8f98af;
  --site-metal-bottom: #59627a;
  --site-pad-top: #607292;
  --site-pad-bottom: #3c4b6a;
  --site-fin-start: #ffffff;
  --site-fin-end: #d64242;
  --site-shadow: rgba(41, 77, 143, 0.2);
}

.park-launch-site-japan {
  left: 310px;
  bottom: 96px;
  --site-accent: #d85050;
  --site-accent-strong: #f18b38;
  --site-metal-top: #b8b0b0;
  --site-metal-bottom: #7f7272;
  --site-pad-top: #c9b6b6;
  --site-pad-bottom: #967e7e;
  --site-body-start: #fffdfd;
  --site-body-mid: #f9eeee;
  --site-body-end: #ffffff;
  --site-shadow: rgba(216, 80, 80, 0.18);
}

.park-launch-site-philippines {
  left: 465px;
  bottom: 0;
  --site-accent: #1b57a6;
  --site-accent-strong: #f0b43a;
  --site-metal-top: #84a0c2;
  --site-metal-bottom: #4e6791;
  --site-pad-top: #7797be;
  --site-pad-bottom: #466183;
  --site-fin-start: #f1d06f;
  --site-fin-end: #db5454;
  --site-shadow: rgba(27, 87, 166, 0.2);
}

.park-launch-site-uk {
  left: 620px;
  bottom: 96px;
  --site-accent: #20438a;
  --site-accent-strong: #cf3e4f;
  --site-metal-top: #90a0bd;
  --site-metal-bottom: #55627f;
  --site-pad-top: #7388b0;
  --site-pad-bottom: #4a5d82;
  --site-fin-start: #ffffff;
  --site-fin-end: #cf3e4f;
  --site-shadow: rgba(32, 67, 138, 0.2);
}

.park-launch-site-france {
  left: 775px;
  bottom: 0;
  --site-accent: #2758aa;
  --site-accent-strong: #dc5f5f;
  --site-metal-top: #a8b2c2;
  --site-metal-bottom: #667082;
  --site-pad-top: #95a6bf;
  --site-pad-bottom: #687894;
  --site-body-start: #ffffff;
  --site-body-mid: #eef3fb;
  --site-body-end: #fff5f5;
  --site-shadow: rgba(39, 88, 170, 0.18);
}

.park-launch-site-brazil {
  left: 930px;
  bottom: 96px;
  --site-accent: #1d8b4d;
  --site-accent-strong: #e1b536;
  --site-metal-top: #82b099;
  --site-metal-bottom: #48755d;
  --site-pad-top: #6e9d80;
  --site-pad-bottom: #3f6d56;
  --site-fin-start: #f2db72;
  --site-fin-end: #1d8b4d;
  --site-shadow: rgba(29, 139, 77, 0.18);
}

.park-launch-site-uae {
  left: 1084px;
  bottom: 0;
  --site-accent: #1c7c49;
  --site-accent-strong: #c84848;
  --site-metal-top: #a8b6ad;
  --site-metal-bottom: #617066;
  --site-pad-top: #8fa191;
  --site-pad-bottom: #66786c;
  --site-body-start: #ffffff;
  --site-body-mid: #edf4ef;
  --site-body-end: #f5f5f5;
  --site-shadow: rgba(28, 124, 73, 0.18);
}

.park-launch-site:nth-child(odd) .park-launch-rocket {
  animation-duration: 3s;
}

.park-launch-site:nth-child(even) .park-launch-rocket {
  animation-duration: 2.5s;
}

.park-launch-site-korea .park-launch-rocket {
  width: 21px;
  height: 42px;
  border-radius: 12px 12px 6px 6px;
  background:
    linear-gradient(180deg, transparent 0 26%, rgba(223, 90, 90, 0.9) 26% 33%, transparent 33% 66%, rgba(47, 111, 178, 0.95) 66% 73%, transparent 73% 100%),
    linear-gradient(90deg, var(--site-body-start) 0%, var(--site-body-mid) 45%, var(--site-body-end) 100%);
}

.park-launch-site-usa .park-launch-rocket {
  width: 22px;
  height: 46px;
  border-radius: 9px 9px 5px 5px;
  background:
    linear-gradient(180deg,
      #ffffff 0 11%,
      #cf4343 11% 22%,
      #ffffff 22% 33%,
      #cf4343 33% 44%,
      #ffffff 44% 55%,
      #cf4343 55% 66%,
      #ffffff 66% 77%,
      #cf4343 77% 88%,
      #ffffff 88% 100%);
}

.park-launch-site-japan .park-launch-rocket {
  width: 18px;
  height: 44px;
  border-radius: 14px 14px 8px 8px;
  background:
    radial-gradient(circle at 50% 56%, rgba(217, 75, 75, 0.92) 0 18%, transparent 19%),
    linear-gradient(90deg, var(--site-body-start) 0%, var(--site-body-mid) 50%, var(--site-body-end) 100%);
}

.park-launch-site-philippines .park-launch-rocket {
  width: 20px;
  height: 40px;
  border-radius: 10px 10px 8px 8px;
  background:
    linear-gradient(180deg, #205fbb 0 34%, #ffffff 34% 58%, #d64545 58% 100%);
}

.park-launch-site-uk .park-launch-rocket {
  width: 23px;
  height: 43px;
  border-radius: 8px 8px 6px 6px;
  background:
    linear-gradient(90deg, transparent 41%, #ffffff 41% 59%, transparent 59%),
    linear-gradient(180deg, transparent 38%, #ffffff 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 45%, #cf3e4f 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 43%, #cf3e4f 43% 57%, transparent 57%),
    #24458e;
}

.park-launch-site-france .park-launch-rocket {
  width: 19px;
  height: 45px;
  border-radius: 11px 11px 7px 7px;
  background: linear-gradient(90deg, #2954a3 0 33.33%, #ffffff 33.33% 66.66%, #dd5a5a 66.66% 100%);
}

.park-launch-site-brazil .park-launch-rocket {
  width: 24px;
  height: 41px;
  border-radius: 14px 14px 8px 8px;
  background:
    radial-gradient(circle at 50% 52%, #2752a1 0 13%, transparent 14%),
    linear-gradient(135deg, transparent 33%, #f0c63f 33% 50%, transparent 50% 100%),
    linear-gradient(225deg, transparent 33%, #f0c63f 33% 50%, transparent 50% 100%),
    #20904f;
}

.park-launch-site-uae .park-launch-rocket {
  width: 18px;
  height: 47px;
  border-radius: 8px 8px 5px 5px;
  background:
    linear-gradient(90deg, #c84848 0 22%, transparent 22%),
    linear-gradient(180deg, #1d8c4a 0 33.33%, #ffffff 33.33% 66.66%, #2c2c2c 66.66% 100%);
}

.park-launch-site-usa .park-launch-rocket::before {
  border-left-width: 8px;
  border-right-width: 8px;
  border-bottom-width: 14px;
}

.park-launch-site-japan .park-launch-rocket::before {
  border-left-width: 6px;
  border-right-width: 6px;
  border-bottom-width: 10px;
}

.park-launch-site-philippines .park-launch-rocket::before {
  border-left-width: 7px;
  border-right-width: 7px;
  border-bottom-width: 13px;
}

.park-launch-site-uk .park-launch-rocket::before {
  border-left-width: 8px;
  border-right-width: 8px;
  border-bottom-width: 11px;
}

.park-launch-site-brazil .park-launch-rocket::before {
  border-left-width: 9px;
  border-right-width: 9px;
  border-bottom-width: 12px;
}

.park-launch-site-uae .park-launch-rocket::before {
  border-left-width: 6px;
  border-right-width: 6px;
  border-bottom-width: 15px;
}

.park-launch-flag {
  position: absolute;
  left: 12px;
  bottom: 36px;
  width: 30px;
  height: 64px;
}

.park-launch-flag::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7df 0%, #a47e43 100%);
  box-shadow: 0 2px 6px rgba(93, 72, 38, 0.2);
}

.park-flag {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.park-flag-korea {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(36, 50, 76, 0.12);
}

.park-flag-korea::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 25%, #d84242 0 24%, transparent 25%),
    radial-gradient(circle at 50% 75%, #295eb5 0 24%, transparent 25%),
    linear-gradient(180deg, #d84242 0 50%, #295eb5 50% 100%);
  transform: translate(-50%, -50%) rotate(-24deg);
  box-shadow: 0 0 0 0.2px rgba(36, 50, 76, 0.16);
}

.park-flag-korea::after {
  content: '';
  position: absolute;
  inset: 2px 3px;
  background:
    linear-gradient(#1d2636 0 0) 0 0 / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 0 2px / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 0 4px / 5px 1px no-repeat,
    linear-gradient(90deg, #1d2636 0 2px, transparent 2px 3px, #1d2636 3px 5px) 13px 0 / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 13px 2px / 5px 1px no-repeat,
    linear-gradient(90deg, #1d2636 0 2px, transparent 2px 3px, #1d2636 3px 5px) 13px 4px / 5px 1px no-repeat,
    linear-gradient(90deg, #1d2636 0 2px, transparent 2px 3px, #1d2636 3px 5px) 0 7px / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 0 9px / 5px 1px no-repeat,
    linear-gradient(90deg, #1d2636 0 2px, transparent 2px 3px, #1d2636 3px 5px) 0 11px / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 13px 7px / 5px 1px no-repeat,
    linear-gradient(90deg, #1d2636 0 2px, transparent 2px 3px, #1d2636 3px 5px) 13px 9px / 5px 1px no-repeat,
    linear-gradient(#1d2636 0 0) 13px 11px / 5px 1px no-repeat;
  opacity: 0.95;
}

.park-flag-usa {
  background:
    linear-gradient(180deg,
      #c43d3d 0 14%,
      #ffffff 14% 28%,
      #c43d3d 28% 42%,
      #ffffff 42% 56%,
      #c43d3d 56% 70%,
      #ffffff 70% 84%,
      #c43d3d 84% 100%);
  border: 1px solid rgba(38, 48, 86, 0.14);
}

.park-flag-usa::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 9px;
  border-radius: 2px 0 2px 0;
  background: #284b91;
}

.park-flag-japan {
  background:
    radial-gradient(circle at 50% 50%, #d94b4b 0 28%, transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #f7f3f3 100%);
  border: 1px solid rgba(80, 60, 60, 0.12);
}

.park-flag-philippines {
  background: linear-gradient(180deg, #205fbb 0 50%, #d64545 50% 100%);
  border: 1px solid rgba(33, 46, 68, 0.14);
  overflow: hidden;
}

.park-flag-philippines::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff6dd;
}

.park-flag-uk {
  background:
    linear-gradient(90deg, transparent 40%, #ffffff 40% 60%, transparent 60%),
    linear-gradient(180deg, transparent 35%, #ffffff 35% 65%, transparent 65%),
    linear-gradient(90deg, transparent 44%, #cf3e4f 44% 56%, transparent 56%),
    linear-gradient(180deg, transparent 40%, #cf3e4f 40% 60%, transparent 60%),
    #24458e;
  border: 1px solid rgba(33, 49, 83, 0.16);
}

.park-flag-france {
  background: linear-gradient(90deg, #2954a3 0 33.33%, #ffffff 33.33% 66.66%, #dd5a5a 66.66% 100%);
  border: 1px solid rgba(38, 48, 86, 0.14);
}

.park-flag-brazil {
  background:
    radial-gradient(circle at 50% 50%, #2752a1 0 18%, transparent 19%),
    linear-gradient(135deg, transparent 28%, #f0c63f 28% 50%, transparent 50% 100%),
    linear-gradient(225deg, transparent 28%, #f0c63f 28% 50%, transparent 50% 100%),
    #20904f;
  border: 1px solid rgba(31, 73, 46, 0.16);
}

.park-flag-uae {
  background: linear-gradient(180deg, #1d8c4a 0 33.33%, #ffffff 33.33% 66.66%, #2c2c2c 66.66% 100%);
  border: 1px solid rgba(40, 48, 42, 0.14);
}

.park-flag-uae::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #c84848;
}

.park-launch-country {
  position: absolute;
  left: 50%;
  bottom: -7px;
  z-index: 2;
  min-width: 54px;
  padding: 2px 7px 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(74, 144, 212, 0.2);
  color: #30425a;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(61, 83, 104, 0.12);
}

.park-launch-tower {
  position: absolute;
  left: 62px;
  bottom: 30px;
  width: 8px;
  height: 44px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--site-metal-top), var(--site-metal-bottom));
}

.park-launch-tower::before,
.park-launch-tower::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: rgba(93, 111, 128, 0.78);
  transform: translateX(-50%);
}

.park-launch-tower::before {
  top: 12px;
}

.park-launch-tower::after {
  top: 25px;
}

.park-launch-pad {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 78px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--site-pad-top) 0%, var(--site-pad-bottom) 100%);
  box-shadow: 0 5px 12px rgba(61, 83, 104, 0.18);
}

.park-launch-pad::before {
  content: '';
  position: absolute;
  inset: 4px 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 5px, rgba(255,255,255,0.08) 5px 10px);
}

.park-launch-rocket {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 20px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 12px 12px 7px 7px;
  background: linear-gradient(90deg, var(--site-body-start) 0%, var(--site-body-mid) 45%, var(--site-body-end) 100%);
  border: 1.5px solid var(--site-accent);
  box-shadow: 0 4px 9px var(--site-shadow);
  animation: parkGroundRocketIdle 2.8s ease-in-out infinite;
}

.park-launch-rocket::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid var(--site-accent-strong);
}

.park-launch-window {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--site-window-start) 0%, var(--site-window-mid) 60%, var(--site-window-end) 100%);
  border: 1px solid #fff7ef;
}

.park-launch-site-usa .park-launch-window,
.park-launch-site-france .park-launch-window {
  width: 6px;
  height: 9px;
  border-radius: 4px;
}

.park-launch-site-japan .park-launch-window {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 12px;
}

.park-launch-site-brazil .park-launch-window {
  width: 9px;
  height: 6px;
  border-radius: 999px;
  top: 10px;
}

.park-launch-site-uae .park-launch-window {
  width: 5px;
  height: 11px;
  border-radius: 3px;
}

.park-launch-fin {
  position: absolute;
  bottom: 3px;
  width: 7px;
  height: 13px;
  background: linear-gradient(180deg, var(--site-fin-start) 0%, var(--site-fin-end) 100%);
}

.park-launch-fin-left {
  left: -5px;
  border-radius: 8px 0 6px 6px;
  transform: skewY(18deg);
}

.park-launch-fin-right {
  right: -5px;
  border-radius: 0 8px 6px 6px;
  transform: skewY(-18deg);
}

.park-launch-site-japan .park-launch-fin {
  width: 5px;
  height: 11px;
}

.park-launch-site-usa .park-launch-fin,
.park-launch-site-uk .park-launch-fin {
  width: 8px;
  height: 15px;
}

.park-launch-site-brazil .park-launch-fin {
  width: 9px;
  height: 12px;
  bottom: 2px;
}

.park-launch-site-uae .park-launch-fin {
  width: 6px;
  height: 16px;
}

.park-launch-flame {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 7px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50% 50% 60% 60%;
  background: linear-gradient(180deg, var(--site-flame-start) 0%, var(--site-flame-mid) 45%, var(--site-flame-end) 100%);
  animation: parkGroundFlame 0.92s ease-in-out infinite;
}

@keyframes parkGroundRocketIdle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-1px); }
}

@keyframes parkGroundFlame {
  0%, 100% { transform: translateX(-50%) scaleY(0.9); opacity: 0.84; }
  50% { transform: translateX(-50%) scaleY(1.08); opacity: 1; }
}

@keyframes parkRoadLightPulse {
  0%, 100% { opacity: 0.58; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}

/* ========== WINDING ROAD ROADMAP ========== */
.roadmap-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  aspect-ratio: 20 / 9;
  margin: 0 auto;
  padding: 0 10px 80px;
}

/* SVG road layer */
.roadmap-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Pin dots on road */
.rm-pin {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Cards container */
.roadmap-cards {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Cards inside roadmap should always be visible (above the fold) */
.roadmap-canvas .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Milestone markers — all rendered in SVG, no HTML cards */
.rm-milestone {
  animation: rmFadeIn 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes rmFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Apps inside card */
.rm-apps {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* App thumbnails */
.pz-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.pz-app:hover { transform: translateY(-3px) scale(1.1); }
.pz-app-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.pz-app:hover .pz-app-img { border-color: var(--z-accent); }
.pz-app-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-app-img span {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: var(--z-accent); opacity: 0.35;
}

/* --- Fade --- */
.park-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 3;
  pointer-events: none;
}

/* --- Enter button --- */
.park-enter-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 100px;
  background: linear-gradient(135deg, #4a90d4, #70b4e4);
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 4px 18px rgba(74, 144, 212, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.3) inset;
  transition: all 0.3s ease;
  animation: flowBtnBounce 2.5s ease-in-out infinite;
}

.park-enter-btn:hover {
  transform: translateX(-50%) scale(1.06);
  box-shadow:
    0 8px 28px rgba(74, 144, 212, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.4) inset;
}

@keyframes flowBtnBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

@media (max-width: 1180px) {
  .park-launch-cluster {
    --launch-cluster-scale: 0.86;
  }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .park-terrain { opacity: 0.5; }
  .park-mini-launch {
    left: 12%;
    bottom: 55%;
  }
  .park-launch-cluster {
    bottom: 7%;
    --launch-cluster-scale: 0.64;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 640px) {
  .park-hero {
    min-height: auto;
    padding-bottom: 80px;
  }
  .park-header { padding: 24px 16px 10px; }
  .park-logo { top: 12px; left: 12px; }
  .park-logo-text span { font-size: 0.85rem; }
  .park-mini-launch {
    left: 8%;
    bottom: 53%;
    transform: scale(0.9);
    transform-origin: center bottom;
  }
  .park-launch-cluster {
    bottom: 7%;
    --launch-cluster-scale: 0.32;
  }
  .park-launch-road-desktop {
    display: none;
  }
  .park-launch-road-mobile {
    display: block;
  }
  .park-launch-road-hub-desktop {
    display: none;
  }
  .park-launch-road-hub-mobile {
    display: block;
  }
  .park-launch-road-shadow {
    stroke-width: 22;
  }
  .park-launch-road-fill {
    stroke-width: 15;
    opacity: 0.82;
  }
  .park-launch-road-center {
    stroke-width: 1.8;
    stroke-dasharray: 9 9;
  }
  .park-cloud-1 { width: 80px; height: 32px; }
  .park-cloud-2 { width: 60px; height: 24px; }
  .park-cloud-3 { display: none; }
  .park-satellite {
    --satellite-scale: 0.72;
    top: 20%;
    right: 9%;
    transform-origin: right top;
  }
  .park-satellite-secondary {
    --satellite-scale: 0.5;
    top: 16%;
    left: 8%;
    right: auto;
    transform-origin: left top;
  }
  .park-star-6,
  .park-star-7,
  .park-star-8 { display: none; }
  .park-bird { display: none; }
  .park-animal { display: none; }
  .park-enter-btn { font-size: 0.82rem; padding: 10px 24px; bottom: 20px; }
  .roadmap-canvas { aspect-ratio: 1 / 1.2; }
}

/* ---------- NOISE OVERLAY ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 144, 212, 0.08);
  border: 1.5px solid rgba(74, 144, 212, 0.2);
  padding: 8px 22px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 56px;
  color: var(--text);
  text-wrap: balance;
}

.section-subtitle-above {
  display: block;
  font-size: 0.2em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-align: center;
}

.section-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .strike {
  position: relative;
  color: var(--text-dim);
}

.section-title .strike::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 3px;
  background: #ef4444;
  border-radius: 2px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 100px;
  transition: all var(--spring);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(74, 144, 212, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 32px rgba(74, 144, 212, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-arrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  transition: all var(--spring);
}

.btn:hover .btn-arrow-wrap {
  background: rgba(0, 0, 0, 0.08);
  transform: translateX(2px);
}

.btn-ghost {
  background: rgba(61, 53, 48, 0.03);
  color: var(--text-muted);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(61, 53, 48, 0.06);
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 12px 24px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 22px 44px;
}

/* ---------- NAVIGATION (Floating Glass Pill) ---------- */
/* -- Planet orbit ring animation -- */
@keyframes navOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 16px 4px rgba(100, 160, 255, 0.25), 0 0 40px 8px rgba(100, 160, 255, 0.08); }
  50%      { box-shadow: 0 0 22px 6px rgba(100, 160, 255, 0.35), 0 0 50px 12px rgba(100, 160, 255, 0.12); }
}

/* -- Collapsed (default): planet button -- */
.nav {
  position: fixed;
  top: 50%;
  right: 20px;
  left: auto;
  transform: translateY(-50%);
  z-index: 1000;
  width: 52px;
  height: 52px;
  padding: 0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5b8fd9, #2a5298 50%, #1a3260 100%);
  border: 2px solid rgba(120, 180, 255, 0.35);
  box-shadow: 0 0 16px 4px rgba(100, 160, 255, 0.25),
              0 0 40px 8px rgba(100, 160, 255, 0.08);
  cursor: pointer;
  overflow: hidden;
  animation: navPulse 3s ease-in-out infinite;
}

/* Orbital ring (pseudo-element) */
.nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border: 1.5px solid rgba(180, 210, 255, 0.35);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(0deg);
  animation: navOrbit 6s linear infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Small moon dot on the ring */
.nav::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(220, 235, 255, 0.8);
  border-radius: 50%;
  top: 2px;
  right: 10px;
  box-shadow: 0 0 4px 1px rgba(180, 210, 255, 0.5);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav:not(.nav-open):hover {
  box-shadow: 0 0 24px 8px rgba(100, 160, 255, 0.4),
              0 0 60px 16px rgba(100, 160, 255, 0.15);
}

.nav.scrolled:not(.nav-open) {
  background: radial-gradient(circle at 35% 30%, #5b8fd9, #2a5298 50%, #1a3260 100%);
  border-color: rgba(120, 180, 255, 0.45);
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 0;
  width: 100%;
  height: 100%;
}

.nav-logo {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0;
}

.nav-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.nav:not(.nav-open):hover .nav-logo-img {
  transform: scale(1.12);
}

.logo-ican {
  color: var(--text);
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
  margin-top: 0;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--spring);
  text-align: center;
  padding: 5px 4px;
  border-radius: 8px;
  width: 100%;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.7rem;
  transition: all var(--spring);
  margin-top: 2px;
}

.nav-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
}

.nav-links .nav-cta:hover {
  background: var(--accent-light);
  transform: scale(1.04);
}

.nav-links .nav-cta:active {
  transform: scale(0.96);
}

/* -- Expanded state -- */
.nav.nav-open {
  width: auto;
  height: auto;
  border-radius: 18px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(232, 226, 218, 0.6);
  box-shadow: 0 8px 32px rgba(61, 53, 48, 0.1);
  cursor: default;
  animation: none;
}

.nav.nav-open::before,
.nav.nav-open::after {
  opacity: 0;
}

.nav.nav-open .nav-inner {
  padding: 14px 12px;
  gap: 2px;
  justify-content: flex-start;
}

.nav.nav-open .nav-logo {
  margin-bottom: 4px;
}

.nav.nav-open .nav-logo-img {
  filter: none;
}

.nav.nav-open .logo-ican {
  max-width: 120px;
  opacity: 1;
}

.nav.nav-open .nav-links {
  max-height: 200px;
  opacity: 1;
  margin-top: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background: var(--bg);
  gap: 48px;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(74, 144, 212, 0.1), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(90, 173, 225, 0.08), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 80%, rgba(180, 140, 220, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.3; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.1; transform: translateY(-100px) scale(0.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  flex: 1 1 620px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 2px solid rgba(74, 144, 212, 0.18);
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74, 144, 212, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 28px;
}

.hero-title-lockup .hero-title {
  flex: 0 1 auto;
  text-align: left;
}

.title-line {
  display: block;
}

.title-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-growth-graph {
  position: relative;
  flex: 0 0 clamp(156px, 18vw, 220px);
  aspect-ratio: 220 / 148;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 78% 20%, rgba(240, 164, 91, 0.22), transparent 42%),
    radial-gradient(circle at 22% 82%, rgba(74, 144, 212, 0.18), transparent 48%);
  border: 1px solid rgba(74, 144, 212, 0.16);
  box-shadow: 0 18px 44px rgba(61, 83, 104, 0.12);
  overflow: hidden;
}

.hero-growth-graph::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(74, 144, 212, 0.08);
}

.hero-growth-graph svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-growth-grid,
.hero-growth-axis {
  fill: none;
  stroke-linecap: round;
}

.hero-growth-grid {
  stroke: rgba(74, 144, 212, 0.12);
  stroke-width: 1;
}

.hero-growth-axis {
  stroke: rgba(61, 83, 104, 0.26);
  stroke-width: 1.6;
}

.hero-growth-area {
  fill: url(#heroGrowthArea);
}

.hero-growth-line {
  fill: none;
  stroke: url(#heroGrowthLine);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: heroGrowthDraw 1.8s ease-out 0.35s forwards;
  filter: drop-shadow(0 6px 8px rgba(74, 144, 212, 0.18));
}

.hero-growth-bars rect {
  fill: rgba(74, 144, 212, 0.13);
}

.hero-growth-points circle {
  fill: #fffaf2;
  stroke: #4a90d4;
  stroke-width: 3;
}

.hero-growth-points circle:last-child {
  stroke: #f0a45b;
  filter: drop-shadow(0 0 10px rgba(240, 164, 91, 0.38));
  animation: heroGrowthPointPulse 2.4s ease-in-out 1.1s infinite;
}

@keyframes heroGrowthDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes heroGrowthPointPulse {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

@media (max-width: 960px) {
  .hero-title-lockup {
    flex-direction: column;
    gap: 18px;
  }

  .hero-title-lockup .hero-title {
    text-align: center;
  }

  .hero-growth-graph {
    width: min(260px, 68vw);
    flex-basis: auto;
  }
}

.hero-sub-tag {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 12px auto 8px;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 2;
  flex: 0 1 480px;
  width: min(100%, 480px);
}

.launch-note {
  width: fit-content;
  margin: 0 0 18px auto;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 144, 212, 0.14);
  box-shadow: 0 18px 50px rgba(74, 144, 212, 0.12);
  backdrop-filter: blur(14px);
  text-align: left;
}

.launch-note-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 800;
}

.launch-note strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.rocket-scene {
  position: relative;
  min-height: 560px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.18) 28%, transparent 52%),
    linear-gradient(180deg, rgba(213, 233, 249, 0.96) 0%, rgba(230, 239, 245, 0.9) 34%, rgba(246, 244, 238, 0.95) 68%, rgba(236, 229, 217, 0.96) 100%);
  border: 1px solid rgba(74, 144, 212, 0.12);
  box-shadow:
    0 30px 80px rgba(74, 144, 212, 0.16),
    inset 0 -40px 80px rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(74, 144, 212, 0.24);
  border-radius: 50%;
}

.orbit-back {
  width: 360px;
  height: 150px;
  top: 118px;
  left: 58px;
  transform: rotate(-10deg);
}

.orbit-front {
  width: 280px;
  height: 104px;
  top: 198px;
  left: 102px;
  transform: rotate(8deg);
}

.star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
  animation: heroStarPulse 3.2s ease-in-out infinite;
}

.star-1 { top: 76px; left: 94px; animation-delay: 0s; }
.star-2 { top: 128px; right: 82px; animation-delay: 0.5s; }
.star-3 { top: 184px; left: 66px; animation-delay: 1s; }
.star-4 { top: 88px; right: 144px; animation-delay: 1.5s; }
.star-5 { top: 226px; right: 112px; animation-delay: 2s; }

.signal-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(74, 144, 212, 0.14);
  box-shadow: 0 16px 40px rgba(61, 53, 48, 0.08);
  backdrop-filter: blur(12px);
}

.signal-card span,
.signal-card strong {
  display: block;
}

.signal-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.signal-card strong {
  color: var(--accent);
  font-size: 0.98rem;
}

.signal-card-top {
  top: 108px;
  right: 28px;
}

.signal-card-bottom {
  bottom: 126px;
  left: 26px;
}

.rocket {
  position: absolute;
  left: 50%;
  bottom: 138px;
  width: 138px;
  height: 286px;
  border-radius: 70px 70px 38px 38px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(228, 236, 245, 0.95) 26%, rgba(255, 255, 255, 0.98) 48%, rgba(220, 229, 239, 0.94) 72%, rgba(249, 251, 255, 0.98) 100%);
  border: 3px solid rgba(74, 144, 212, 0.3);
  box-shadow:
    0 20px 40px rgba(74, 144, 212, 0.2),
    inset -10px -18px 22px rgba(74, 144, 212, 0.08);
  transform: translateX(-50%);
  animation: rocketHover 3.6s ease-in-out infinite;
}

.rocket::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -48px;
  width: 0;
  height: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 72px solid #f06f4b;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 18px rgba(240, 111, 75, 0.22));
}

.rocket::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 58px 58px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.rocket-window {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #bff0ff 0%, #79bfdc 42%, #3d7eb4 100%);
  border: 6px solid #fff6ef;
  box-shadow: 0 0 0 8px rgba(74, 144, 212, 0.12);
}

.rocket-fin,
.rocket-wing {
  position: absolute;
  bottom: 28px;
  width: 40px;
  height: 88px;
  background: linear-gradient(180deg, #f7b255 0%, #f06f4b 100%);
  border: 3px solid rgba(194, 89, 60, 0.2);
}

.rocket-fin {
  width: 28px;
  height: 74px;
  bottom: 4px;
  z-index: -1;
}

.rocket-fin-left,
.rocket-wing-left {
  left: -18px;
  border-radius: 18px 0 12px 18px;
  transform: skewY(18deg);
}

.rocket-fin-right,
.rocket-wing-right {
  right: -18px;
  border-radius: 0 18px 18px 12px;
  transform: skewY(-18deg);
}

.rocket-wing-left {
  left: -30px;
}

.rocket-wing-right {
  right: -30px;
}

.rocket-flame-core,
.rocket-flame-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.rocket-flame-core {
  bottom: -74px;
  width: 32px;
  height: 92px;
  border-radius: 50% 50% 60% 60%;
  background: linear-gradient(180deg, #fff1c4 0%, #ffc14d 42%, #ff7a3d 100%);
  filter: blur(0.4px);
  animation: flameFlicker 0.9s ease-in-out infinite;
}

.rocket-flame-glow {
  bottom: -98px;
  width: 94px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 90, 0.46) 0%, rgba(255, 127, 61, 0.22) 48%, transparent 74%);
  animation: flameGlow 1.2s ease-in-out infinite;
}

.launch-ring {
  position: absolute;
  left: 50%;
  bottom: 82px;
  width: 210px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 212, 0.2) 0%, rgba(74, 144, 212, 0.08) 46%, transparent 72%);
}

.launch-pad {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 260px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 24px;
  background: linear-gradient(180deg, #64768a 0%, #42515f 100%);
  box-shadow:
    inset 0 6px 12px rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(52, 64, 78, 0.24);
}

.launch-pad::before {
  content: '';
  position: absolute;
  inset: 10px 26px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22) 0 12%, transparent 12% 18%, rgba(255,255,255,0.12) 18% 30%, transparent 30% 100%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.12));
}

.smoke {
  position: absolute;
  bottom: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88) 0%, rgba(236, 239, 245, 0.78) 52%, rgba(236, 239, 245, 0) 100%);
  animation: smokeDrift 5s ease-in-out infinite;
}

.smoke-1 {
  left: 84px;
  width: 124px;
  height: 78px;
}

.smoke-2 {
  right: 72px;
  width: 138px;
  height: 92px;
  animation-delay: 1s;
}

.smoke-3 {
  left: 50%;
  bottom: 18px;
  width: 170px;
  height: 100px;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

@keyframes rocketHover {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes flameFlicker {
  0%, 100% { height: 92px; opacity: 0.95; }
  50% { height: 108px; opacity: 1; }
}

@keyframes flameGlow {
  0%, 100% { transform: translateX(-50%) scale(0.94); opacity: 0.7; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}

@keyframes smokeDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.72; }
  50% { transform: translateY(-16px) scale(1.08); opacity: 0.94; }
}

@keyframes heroStarPulse {
  0%, 100% { transform: scale(0.7); opacity: 0.48; }
  50% { transform: scale(1.25); opacity: 1; }
}

@media (max-width: 1180px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding-top: 128px;
  }

  .hero-visual {
    width: min(100%, 520px);
  }

  .launch-note {
    margin: 0 auto 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 116px 18px 72px;
    gap: 22px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    margin-bottom: 34px;
  }

  .hero-actions {
    margin-bottom: 46px;
  }

  .hero-visual {
    width: 100%;
  }

  .launch-note {
    width: 100%;
    max-width: 360px;
    padding: 12px 14px;
  }

  .launch-note strong {
    font-size: 0.92rem;
  }

  .rocket-scene {
    min-height: 460px;
    border-radius: 30px;
  }

  .signal-card {
    padding: 10px 12px;
  }

  .signal-card-top {
    top: 88px;
    right: 14px;
  }

  .signal-card-bottom {
    left: 14px;
    bottom: 106px;
  }

  .rocket {
    width: 108px;
    height: 224px;
    bottom: 116px;
  }

  .rocket::before {
    top: -38px;
    border-left-width: 36px;
    border-right-width: 36px;
    border-bottom-width: 58px;
  }

  .rocket-window {
    top: 42px;
    width: 36px;
    height: 36px;
    border-width: 5px;
  }

  .rocket-fin,
  .rocket-wing {
    width: 32px;
    height: 68px;
  }

  .rocket-fin {
    width: 24px;
    height: 56px;
  }

  .rocket-wing-left {
    left: -24px;
  }

  .rocket-wing-right {
    right: -24px;
  }

  .rocket-flame-core {
    width: 26px;
    height: 74px;
    bottom: -60px;
  }

  .rocket-flame-glow {
    width: 78px;
    height: 92px;
    bottom: -74px;
  }

  .launch-ring {
    width: 166px;
    bottom: 72px;
  }

  .launch-pad {
    width: 214px;
    height: 38px;
    bottom: 44px;
  }

  .smoke-1 {
    left: 42px;
    width: 108px;
    height: 64px;
  }

  .smoke-2 {
    right: 34px;
    width: 108px;
    height: 72px;
  }

  .smoke-3 {
    width: 132px;
    height: 84px;
  }

  .orbit-back {
    width: 280px;
    height: 118px;
    top: 108px;
    left: 18px;
  }

  .orbit-front {
    width: 220px;
    height: 84px;
    top: 170px;
    left: 58px;
  }
}

.stat {
  text-align: center;
  padding: 12px 18px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 4px;
}

.stat-clickable {
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.stat-clickable:hover {
  background: rgba(74, 144, 212, 0.08);
  transform: translateY(-2px);
}
.stat-clickable .stat-label::after {
  content: '  👆';
  font-size: 0.7rem;
}

/* ---------- HALL OF FAME MODAL ---------- */
.hall-of-fame-header {
  text-align: center;
  margin-bottom: 4px;
}
.hof-trophy {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 8px;
}
.hof-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
}
.hof-list {
  list-style: none;
  counter-reset: hof;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hof-list li {
  counter-increment: hof;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s ease;
}
.hof-list li:hover {
  background: rgba(74, 144, 212, 0.06);
}
.hof-list li::before {
  content: counter(hof);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hof-list li:nth-child(-n+3)::before {
  background: linear-gradient(135deg, #f0c040, #e8a820);
}
.hof-univ {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hof-univ.yonsei  { background: #003876; }
.hof-univ.korea   { background: #8B0029; }
.hof-univ.ewha    { background: #00462A; }
.hof-univ.sogang  { background: #9B1B30; }
.hof-univ.skku    { background: #004D2B; }
.hof-univ.hanyang { background: #003D7C; }
.hof-univ.cau     { background: #00369F; }
.hof-univ.kaist   { background: #004191; }
.hof-list li strong {
  margin-left: auto;
  font-weight: 700;
  color: var(--text);
}
.hof-list li.hof-extra {
  justify-content: center;
  margin-top: 6px;
  background: rgba(74, 144, 212, 0.08);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.hof-list li.hof-extra::before {
  display: none;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- DAILY PROMPT ---------- */
.daily-prompt-section {
  padding: 92px 0 64px;
  background:
    radial-gradient(circle at top center, rgba(74, 144, 212, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(239, 244, 251, 0.9) 0%, var(--bg) 100%);
}

.herald-showcase {
  position: relative;
  padding: 42px 52px 46px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(216, 231, 249, 0.8), transparent 30%),
    radial-gradient(circle at bottom right, rgba(232, 241, 252, 0.8), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.98));
  border: 1px solid rgba(201, 220, 242, 0.9);
  box-shadow:
    0 26px 70px rgba(101, 137, 183, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.herald-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.56) 42%, rgba(255,255,255,0) 74%);
  pointer-events: none;
}

.herald-showcase-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(210, 223, 240, 0.92);
}

.herald-pill {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(230, 239, 250, 0.94));
  border: 1px solid rgba(190, 212, 239, 0.95);
  color: #6d96d2;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.herald-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #8f857d;
  font-size: 1.04rem;
  font-weight: 700;
}

.herald-kicker-brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(224, 236, 249, 0.92);
  color: #5d8fce;
}

.herald-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.72fr);
  gap: 48px;
  padding-top: 42px;
  align-items: stretch;
}

.herald-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 18px 0 10px;
}

.herald-feature-label {
  margin: 0 0 22px;
  color: #73859d;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.herald-feature-title {
  margin: 0;
  max-width: 11.4ch;
  color: #4a433f;
  font-family: 'Noto Sans KR', 'Pretendard', var(--font);
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  font-kerning: normal;
}

.herald-feature-title span {
  color: #75a8e3;
}

.herald-feature-copy {
  margin: 26px 0 0;
  max-width: 36ch;
  color: #756d67;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.herald-side-stack {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
}

.herald-side-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(214, 227, 243, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.96),
    0 10px 24px rgba(113, 143, 183, 0.08);
}

.herald-side-card-primary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.herald-side-card-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.herald-side-heading {
  margin: 0;
  color: #6c7f96;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.herald-side-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.herald-side-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(220, 230, 242, 1);
  color: #596b82;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.herald-side-note {
  margin: 0;
  max-width: 20ch;
  color: #736a63;
  font-size: 1rem;
  line-height: 1.72;
}

.herald-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f3467, #3b5ea1);
  color: #fff;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(50, 80, 142, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.herald-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(50, 80, 142, 0.26);
}

.daily-prompt-card {
  display: block;
  padding: 0;
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.98));
  border: 1px solid rgba(191, 212, 239, 0.65);
  box-shadow:
    0 30px 70px rgba(75, 118, 176, 0.12),
    0 10px 28px rgba(61, 53, 48, 0.06);
}

.daily-prompt-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 0;
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(74, 144, 212, 0.1);
}

.daily-prompt-copy--inline {
  min-height: auto;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.daily-prompt-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(209, 222, 238, 0.9);
}

.daily-prompt-tag {
  margin-bottom: 0;
  min-height: 60px;
  padding: 0 36px;
  border-radius: 999px;
  border: 2px solid rgba(196, 215, 239, 0.95);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(233, 241, 251, 0.9));
  color: #6c9ad7;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.daily-prompt-copy .section-tag {
  margin-bottom: 24px;
}

.daily-prompt-title-wrap {
  margin: 0 0 18px;
  max-width: 11.5ch;
  text-align: left;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.daily-prompt-subtitle {
  margin: 0;
  max-width: 24ch;
  text-align: center;
  align-self: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: #756d67;
}

.daily-prompt-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 46px 54px 34px;
  border-radius: 44px;
  background:
    radial-gradient(circle at top center, rgba(226, 236, 250, 0.96), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid rgba(210, 224, 242, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 16px 40px rgba(74, 144, 212, 0.08);
}

.daily-prompt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.7fr);
  gap: 40px;
  align-items: center;
  padding: 28px 0 20px;
}

.daily-prompt-main-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.daily-prompt-side-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 34px 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248, 251, 255, 0.96));
  border: 1px solid rgba(220, 231, 243, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 10px 26px rgba(131, 159, 197, 0.08);
}

.daily-prompt-meta,
.daily-prompt-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.daily-prompt-meta {
  flex: 0 0 auto;
  justify-content: flex-end;
  min-width: 0;
}

.daily-prompt-meta--stack {
  justify-content: flex-start;
  gap: 18px;
}

.daily-prompt-kind,
.daily-prompt-refresh,
.daily-prompt-date {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.daily-prompt-kind {
  color: #5d90d3;
  background: linear-gradient(180deg, rgba(232, 240, 251, 1), rgba(222, 234, 248, 1));
}

.daily-prompt-refresh,
.daily-prompt-date {
  color: #9a9088;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.daily-prompt-date {
  display: none;
}

.daily-prompt-lead {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f8298;
}

.daily-prompt-main {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.24;
  color: var(--text);
  letter-spacing: -0.035em;
}

.daily-prompt-guide {
  margin: 16px 0 0;
  max-width: 56ch;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.76;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

.herald-panel {
  position: relative;
  overflow: hidden;
}

.daily-prompt-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.daily-prompt-side-label {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #708197;
}

.daily-prompt-side-copy {
  margin: 0;
  max-width: 16ch;
  font-size: 1rem;
  line-height: 1.7;
  color: #6f6760;
}

.herald-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(19, 33, 68, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 52%);
  pointer-events: none;
}

.herald-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.herald-chip {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 230, 242, 0.96);
  color: #5b6d85;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 3px 12px rgba(174, 194, 220, 0.08);
}

.herald-footer {
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(209, 222, 238, 0.9);
}

.herald-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.herald-footer-note {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #7f91a8;
}

.herald-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d2f62, #3a5ea2);
  color: #fff;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(42, 69, 128, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.herald-link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(19, 33, 68, 0.22);
}

.herald-link-btn:active {
  transform: translateY(0);
}

/* ---------- WHY ICAN (Visual cards + click to reveal) ---------- */
.why-ican {
  padding: 128px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #f0f4fa 50%, var(--bg) 100%);
}


.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.why-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--spring);
  text-align: center;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(61, 53, 48, 0.08);
}

.why-card-link {
  display: block;
  color: inherit;
}

.why-card-link .why-tap {
  color: var(--accent);
  font-weight: 600;
}

.why-card-front {
  padding: 36px 24px 28px;
}

.why-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 8px;
}

.why-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  margin: 0 auto 18px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  animation: why-icon-float 3s ease-in-out infinite;
}

/* Per-card color palettes */
.why-icon--violet {
  background: linear-gradient(135deg, #ede7fb, #d8ccf8);
  color: #7c3aed;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.15);
}
.why-icon--green {
  background: linear-gradient(135deg, #d6f5e0, #b8ecc8);
  color: #16a34a;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.15);
}
.why-icon--blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}
.why-icon--teal {
  background: linear-gradient(135deg, #ccfbf1, #a7f3d0);
  color: #0d9488;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.15);
}
.why-icon--amber {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
}
.why-icon--coral {
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  color: #e11d48;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.15);
}

/* Glow ring element */
.why-icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  border: 2px solid transparent;
  opacity: 0;
  transition: all 0.4s ease;
}

.why-icon--violet .why-icon-ring { border-color: rgba(124, 58, 237, 0.35); }
.why-icon--green .why-icon-ring  { border-color: rgba(22, 163, 74, 0.35); }
.why-icon--blue .why-icon-ring   { border-color: rgba(37, 99, 235, 0.35); }
.why-icon--teal .why-icon-ring   { border-color: rgba(13, 148, 136, 0.35); }
.why-icon--amber .why-icon-ring  { border-color: rgba(217, 119, 6, 0.35); }
.why-icon--coral .why-icon-ring  { border-color: rgba(225, 29, 72, 0.35); }

/* Hover: scale + ring appears + glow intensifies */
.why-card:hover .why-icon {
  transform: scale(1.1) translateY(-2px);
  animation: none;
}

.why-card:hover .why-icon--violet { box-shadow: 0 8px 28px rgba(124, 58, 237, 0.3); }
.why-card:hover .why-icon--green  { box-shadow: 0 8px 28px rgba(22, 163, 74, 0.3); }
.why-card:hover .why-icon--blue   { box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3); }
.why-card:hover .why-icon--teal   { box-shadow: 0 8px 28px rgba(13, 148, 136, 0.3); }
.why-card:hover .why-icon--amber  { box-shadow: 0 8px 28px rgba(217, 119, 6, 0.3); }
.why-card:hover .why-icon--coral  { box-shadow: 0 8px 28px rgba(225, 29, 72, 0.3); }

.why-card:hover .why-icon-ring {
  opacity: 1;
  animation: why-ring-pulse 1.5s ease-in-out infinite;
}

/* Stagger the float so icons don't bob in sync */
.why-icon--violet { animation-delay: 0s; }
.why-icon--green  { animation-delay: 0.5s; }
.why-icon--blue   { animation-delay: 1s; }
.why-icon--teal   { animation-delay: 1.5s; }
.why-icon--amber  { animation-delay: 2s; }
.why-icon--coral  { animation-delay: 2.5s; }

/* Float animation — subtle idle bob */
@keyframes why-icon-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Ring pulse on hover */
@keyframes why-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.5; }
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.why-tap {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color var(--spring);
}

.why-card:hover .why-tap {
  color: var(--accent);
}

.why-card-back {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  background: var(--surface);
}

.why-card.open .why-card-back {
  max-height: 200px;
  padding: 20px 24px;
}

.why-card.open .why-tap {
  display: none;
}

.why-card-back p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CORE COMPETENCIES — TRANSFORMATION CAROUSEL ---------- */
.transformation {
  padding: 128px 0;
  text-align: center;
  background: var(--bg-elevated);
}

/* Carousel shell */
.cc-carousel {
  position: relative;
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cc-viewport {
  overflow: hidden;
  border-radius: 28px;
}

.cc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Single card */
.cc-card {
  min-width: 100%;
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}

.cc-card-img {
  flex: 0 0 38%;
  background: var(--cc-after-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.cc-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(255,255,255,0.15) 100%);
  pointer-events: none;
}

.cc-card-img img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

.cc-card-body {
  flex: 1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.cc-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Before → After comparison */
.cc-comparison {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cc-before, .cc-after {
  flex: 1;
}

.cc-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.cc-label-before {
  background: #f0f0f4;
  color: #8898a8;
}

.cc-label-after {
  background: var(--cc-after-bg);
  color: var(--cc-color);
}

.cc-before p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-decoration: line-through;
  text-decoration-color: rgba(160, 152, 144, 0.4);
}

.cc-after p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cc-color);
  line-height: 1.5;
}

.cc-arrow-divider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.7;
}

/* Navigation arrows */
.cc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cc-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 144, 212, 0.3);
}

.cc-prev { left: -22px; }
.cc-next { right: -22px; }

/* Dots */
.cc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.cc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.cc-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.cc-pause-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 5;
}

.cc-pause-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.cc-dot:hover:not(.active) {
  background: var(--text-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .cc-carousel { max-width: 100%; }
  .cc-prev { left: 8px; }
  .cc-next { right: 8px; }
}

@media (max-width: 640px) {
  .cc-card {
    flex-direction: column;
  }

  .cc-card-img {
    flex: none;
    padding: 20px;
  }

  .cc-card-img img {
    max-width: 140px;
  }

  .cc-card-body {
    padding: 24px 20px;
  }

  .cc-comparison {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .cc-arrow-divider {
    transform: rotate(90deg);
    align-self: center;
  }

  .cc-card-title {
    font-size: 1.1rem;
  }

  .cc-arrow {
    width: 36px;
    height: 36px;
  }

  .cc-prev { left: 4px; }
  .cc-next { right: 4px; }
}

/* ---------- PROGRAMS SECTION ---------- */
.programs {
  padding: 128px 0;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  border-radius: 2px;
}

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

@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* Image-first Program Card */
.program-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.program-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 24px;
  text-align: left;
  transition: all var(--spring);
  overflow: hidden;
  cursor: pointer;
}

.program-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(61, 53, 48, 0.1);
}

.program-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.program-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 40, 55, 0.45) 0%, rgba(30, 40, 55, 0) 50%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.program-card:hover .program-card-img::after {
  opacity: 0.7;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card-img img.book-club-books-img {
  object-position: center center;
}

.program-card:hover .program-card-img img {
  transform: scale(1.08);
}

.program-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(74, 144, 212, 0.85);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
}

.program-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.program-card-body {
  padding: 18px 22px 14px;
}

.program-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.program-hook {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.4;
}

.program-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 22px;
}

.program-card.open .program-detail {
  max-height: 260px;
  padding: 0 22px 22px;
}

.program-detail p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.program-features span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(74, 144, 212, 0.08);
  border: 1.5px solid rgba(74, 144, 212, 0.18);
  padding: 5px 13px;
  border-radius: 100px;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--spring);
  padding-bottom: 28px;
}

.program-link:hover {
  gap: 12px;
  color: var(--accent-light);
}

/* ---------- APPS SECTION ---------- */
.apps-section {
  padding: 128px 0 80px;
  text-align: center;
  background: var(--bg-elevated);
  position: relative;
}

.apps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: -28px auto 48px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}

/* ---------- APP CARD GRID ---------- */
.app-world {
  max-width: 1280px;
  margin: 38px auto 0;
  padding: 0 20px;
}

.app-world-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.app-world-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eff7ff, #dfefff);
  border: 1px solid rgba(120, 165, 220, 0.3);
  color: #3569a8;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-world-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: right;
}

.app-world-viewport {
  position: relative;
  height: 860px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 9%, rgba(121, 213, 255, 0.24), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(246, 179, 91, 0.2), transparent 18%),
    linear-gradient(180deg, #071124 0%, #101b34 46%, #6f736f 46%, #a7a89f 100%);
  border: 1px solid rgba(91, 130, 174, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -20px 46px rgba(22, 25, 36, 0.2),
    0 26px 56px rgba(13, 24, 45, 0.22);
}

.app-three-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #071124;
  isolation: isolate;
}

.app-three-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.85) 0 1px, transparent 1.6px),
    radial-gradient(circle at 28% 8%, rgba(255,255,255,0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 46% 15%, rgba(255,255,255,0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 9%, rgba(255,255,255,0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 20%, rgba(255,255,255,0.78) 0 1px, transparent 1.6px),
    radial-gradient(circle at 16% 8%, rgba(121, 213, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 34% 22%, rgba(255,255,255,0.68) 0 1px, transparent 1.3px),
    radial-gradient(circle at 58% 6%, rgba(255,255,255,0.74) 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 24%, rgba(246, 179, 91, 0.62) 0 1px, transparent 1.4px),
    radial-gradient(circle at 94% 11%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
    linear-gradient(118deg, transparent 15%, rgba(121, 213, 255, 0.16) 16%, transparent 17%),
    linear-gradient(122deg, transparent 73%, rgba(246, 179, 91, 0.12) 74%, transparent 75%),
    radial-gradient(circle at 20% 16%, rgba(121, 213, 255, 0.18), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(246, 179, 91, 0.16), transparent 14%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
  animation: appThreeStarDrift 18s ease-in-out infinite alternate;
}

.app-three-shell.is-earth-world {
  background: #3f2d28;
}

.app-three-shell.is-earth-world::before {
  background:
    linear-gradient(180deg, rgba(183, 103, 72, 0.2), transparent 30%),
    linear-gradient(114deg, transparent 12%, rgba(217, 161, 117, 0.14) 13%, transparent 15%),
    linear-gradient(122deg, transparent 70%, rgba(114, 84, 72, 0.18) 72%, transparent 75%),
    radial-gradient(circle at 28% 16%, rgba(214, 132, 88, 0.2), transparent 24%),
    radial-gradient(circle at 76% 10%, rgba(255, 186, 121, 0.13), transparent 18%);
  animation: none;
  opacity: 1;
}

@keyframes appThreeStarDrift {
  from {
    opacity: 0.82;
    transform: translate3d(-6px, -3px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(8px, 4px, 0);
  }
}

.app-three-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: 0;
}

.app-three-shell.is-moving .app-three-canvas {
  cursor: grabbing;
}

.app-three-shell.is-targeting .app-three-canvas {
  cursor: pointer;
}

.app-three-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%),
    radial-gradient(circle at 50% 46%, transparent 42%, rgba(0, 0, 0, 0.28) 100%);
  z-index: 2;
}

.app-three-portal-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92), rgba(121, 213, 255, 0.44) 18%, transparent 42%),
    conic-gradient(from 90deg at 50% 50%, rgba(121,213,255,0), rgba(246,179,91,0.36), rgba(183,156,255,0.26), rgba(121,213,255,0));
  mix-blend-mode: screen;
}

.app-three-shell.is-portal-jump .app-three-portal-flash {
  animation: appThreePortalFlash 0.94s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-three-shell.is-portal-jump.is-earth-jump .app-three-portal-flash {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.88), rgba(255,125,95,0.48) 18%, transparent 42%),
    conic-gradient(from 90deg at 50% 50%, rgba(255,125,95,0), rgba(255,176,143,0.42), rgba(82,44,36,0.24), rgba(255,125,95,0));
}

@keyframes appThreePortalFlash {
  0% {
    opacity: 0;
    transform: scale(0.86) rotate(0deg);
    filter: blur(12px);
  }
  34% {
    opacity: 1;
    transform: scale(1.08) rotate(22deg);
    filter: blur(4px);
  }
  100% {
    opacity: 0;
    transform: scale(1.36) rotate(58deg);
    filter: blur(18px);
  }
}

.app-three-world-intro {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  display: grid;
  gap: 6px;
  width: min(420px, calc(100% - 48px));
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(8, 15, 34, 0.72);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
  color: #fff;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  backdrop-filter: blur(14px);
}

.app-three-world-intro span {
  color: #9cdfff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.app-three-world-intro strong {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 1;
}

.app-three-world-intro.is-visible {
  animation: appThreeWorldIntro 1.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-three-shell.is-earth-world .app-three-world-intro {
  background: rgba(36, 22, 18, 0.74);
  border-color: rgba(255, 176, 143, 0.36);
}

.app-three-shell.is-earth-world .app-three-world-intro span {
  color: #ffb08f;
}

@keyframes appThreeWorldIntro {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.92);
    filter: blur(8px);
  }
  18%, 68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -54%) scale(1.04);
    filter: blur(4px);
  }
}

.app-three-hud {
  position: absolute;
  left: 26px;
  top: 26px;
  z-index: 4;
  display: grid;
  gap: 8px;
  max-width: 390px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 15, 34, 0.78);
  border: 1px solid rgba(121, 213, 255, 0.38);
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
}

.app-three-label {
  color: #79d5ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-three-shell.is-earth-world .app-three-hud,
.app-three-shell.is-earth-world .app-three-stats span,
.app-three-shell.is-earth-world .app-three-camera-button,
.app-three-shell.is-earth-world .app-three-minimap {
  border-color: rgba(255, 125, 95, 0.42);
  background: rgba(31, 21, 19, 0.78);
}

.app-three-shell.is-earth-world .app-three-label {
  color: #ffb08f;
}

.app-three-hud strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
}

.app-three-status-meter {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 111, 189, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.24);
}

.app-three-status-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79d5ff, #f6b35b);
  transition: width 0.2s ease;
}

.app-three-stats {
  position: absolute;
  right: 26px;
  top: 26px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.app-three-stats span {
  display: grid;
  min-width: 86px;
  gap: 1px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 15, 34, 0.78);
  border: 1px solid rgba(121, 213, 255, 0.36);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.app-three-stats strong {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.app-three-stats small {
  color: #b7c8dd;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.app-three-camera-controls {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.app-three-camera-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(121, 213, 255, 0.42);
  border-radius: 14px;
  background: rgba(8, 15, 34, 0.78);
  color: #ffffff;
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: 900 1.18rem/1 var(--font-main);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.app-three-camera-button:hover,
.app-three-camera-button:focus-visible {
  border-color: rgba(246, 179, 91, 0.82);
  background: rgba(19, 33, 61, 0.9);
  transform: translateY(-1px);
  outline: 0;
}

.app-three-camera-button.is-active {
  border-color: rgba(246, 179, 91, 0.95);
  background: rgba(47, 111, 189, 0.88);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(246, 179, 91, 0.16);
}

.app-three-attack-button {
  color: #f6b35b;
}

.app-three-shell.is-blasting .app-three-attack-button,
.app-three-attack-button.is-active {
  border-color: rgba(246, 179, 91, 0.95);
  background: rgba(82, 45, 36, 0.86);
  color: #ffffff;
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(246, 179, 91, 0.18),
    0 0 28px rgba(246, 179, 91, 0.32);
}

.app-three-shell.is-camera-control .app-three-canvas {
  cursor: grab;
}

.app-three-shell.is-camera-dragging .app-three-canvas {
  cursor: grabbing;
}

.app-three-minimap {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 4;
  width: 188px;
  height: 140px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8,15,34,0.82), rgba(16,27,52,0.76)),
    radial-gradient(circle at center, rgba(121, 213, 255, 0.16), transparent 62%);
  border: 1px solid rgba(121, 213, 255, 0.36);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.app-three-shell.is-earth-world .app-three-minimap {
  background:
    linear-gradient(180deg, rgba(35,22,19,0.84), rgba(64,40,32,0.76)),
    radial-gradient(circle at 52% 48%, rgba(255, 125, 95, 0.2), transparent 58%);
}

.app-three-minimap::before,
.app-three-minimap::after {
  content: '';
  position: absolute;
  background: rgba(64, 108, 157, 0.12);
  pointer-events: none;
}

.app-three-minimap::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.app-three-minimap::after {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.app-three-map-dot,
.app-three-map-player {
  position: absolute;
  display: block;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.app-three-map-dot {
  width: 8px;
  height: 8px;
  opacity: 0.78;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.58);
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.app-three-earth-dot {
  display: none;
}

.app-three-shell.is-earth-world .app-three-moon-dot {
  display: none;
}

.app-three-shell.is-earth-world .app-three-earth-dot {
  display: block;
}

.app-three-map-dot:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.25);
}

.app-three-map-dot.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.45);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.76),
    0 0 0 8px rgba(246, 179, 91, 0.24);
}

.app-three-map-player {
  width: 13px;
  height: 13px;
  background: #1e3968;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 5px rgba(49, 107, 170, 0.22);
  z-index: 3;
  pointer-events: none;
}

.app-three-shell.is-earth-world .app-three-map-player {
  background: #6e3429;
  box-shadow: 0 0 0 5px rgba(255, 125, 95, 0.2);
}

.app-three-reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.76);
  box-shadow: 0 0 0 1px rgba(49, 107, 170, 0.22);
  pointer-events: none;
  opacity: 0.55;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.app-three-shell.is-near-booth .app-three-reticle,
.app-three-shell.is-targeting .app-three-reticle {
  opacity: 0.9;
  border-color: rgba(246, 179, 91, 0.95);
  transform: translate(-50%, -50%) scale(1.12);
}

.app-three-shell.is-warping .app-three-canvas {
  filter: saturate(1.18) brightness(1.08) contrast(1.04);
}

.app-three-shell.is-warping .app-three-vignette {
  background:
    radial-gradient(circle at 50% 50%, rgba(121, 213, 255, 0.22), transparent 38%),
    radial-gradient(circle at 50% 46%, transparent 42%, rgba(0, 0, 0, 0.28) 100%);
}

.app-three-reticle::before,
.app-three-reticle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(37, 56, 79, 0.32);
  transform: translate(-50%, -50%);
}

.app-three-reticle::before {
  width: 34px;
  height: 1px;
}

.app-three-reticle::after {
  width: 1px;
  height: 34px;
}

.app-three-empty {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .app-world {
    padding: 0 12px;
  }

  .app-world-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-world-hint {
    text-align: left;
  }

  .app-world-viewport {
    height: 720px;
    border-radius: 24px;
  }

  .app-three-hud {
    left: 18px;
    top: 18px;
    max-width: min(390px, calc(100% - 36px));
  }

  .app-three-stats {
    right: 18px;
    top: 18px;
  }

  .app-three-camera-controls {
    left: 18px;
    bottom: 18px;
  }

  .app-three-minimap {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .app-world-viewport {
    height: 640px;
    border-radius: 20px;
  }

  .app-three-hud {
    left: 12px;
    right: 12px;
    top: 12px;
    max-width: none;
    padding: 13px 14px;
  }

  .app-three-hud strong {
    font-size: 0.92rem;
  }

  .app-three-stats {
    left: 12px;
    right: auto;
    top: auto;
    bottom: 14px;
  }

  .app-three-stats span {
    min-width: 72px;
    padding: 10px 11px;
  }

  .app-three-stats strong {
    font-size: 1.1rem;
  }

  .app-three-camera-controls {
    left: auto;
    right: 12px;
    bottom: 14px;
  }

  .app-three-camera-button {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 1.08rem;
  }

  .app-three-minimap {
    display: none;
  }
}

.app-quest-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.app-quest-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 18%),
    radial-gradient(circle at top center, rgba(255,255,255,0.4), transparent 34%);
  pointer-events: none;
  z-index: 2;
}

.app-quest-camera {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
}

.app-quest-world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.app-quest-sky-deco {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  filter: blur(1px);
}

.app-quest-sky-deco.deco-1 {
  left: 180px;
  top: 110px;
  width: 180px;
  height: 52px;
}

.app-quest-sky-deco.deco-2 {
  left: 960px;
  top: 70px;
  width: 220px;
  height: 64px;
}

.app-world-sign {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  color: #4f6780;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(73, 103, 150, 0.08);
}

.app-world-sign.sign-1 {
  top: 92px;
  left: 340px;
}

.app-world-sign.sign-2 {
  top: 160px;
  right: 320px;
}

.app-quest-ground {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 2500px;
  height: 1500px;
  transform: translate(-50%, 0) rotateX(70deg);
  transform-origin: center top;
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(111, 165, 88, 0.2), rgba(74, 122, 57, 0.32)),
    linear-gradient(90deg, #bfe2a7, #95ca7d);
  box-shadow:
    inset 0 30px 30px rgba(255,255,255,0.16),
    0 50px 90px rgba(89, 120, 57, 0.22);
}

.app-quest-path {
  position: absolute;
  left: 170px;
  top: 840px;
  width: 2260px;
  height: 250px;
  transform: rotate(-2deg);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(250, 242, 210, 0.9), rgba(227, 212, 171, 0.98));
  box-shadow:
    0 24px 36px rgba(126, 101, 63, 0.18),
    inset 0 8px 14px rgba(255,255,255,0.3);
}

.app-quest-path::before {
  content: '';
  position: absolute;
  inset: 34px 40px;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.4) 0 28px, rgba(255,255,255,0.08) 28px 56px);
  opacity: 0.4;
}

.app-quest-zone-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: var(--zone-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(73, 102, 150, 0.08);
}

.app-quest-booth {
  position: absolute;
  width: 210px;
  height: 250px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.app-quest-booth.is-near {
  filter: drop-shadow(0 18px 28px rgba(69, 128, 214, 0.28));
}

.app-quest-booth:hover {
  transform: translateY(-8px);
}

.app-quest-plaza {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 144px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(100, 138, 78, 0.4), rgba(79, 108, 57, 0.18));
  filter: blur(0.3px);
}

.app-quest-building {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 170px;
  height: 180px;
  transform: translateX(-50%);
  transform-style: preserve-3d;
}

.app-quest-building::before,
.app-quest-building::after {
  content: '';
  position: absolute;
  bottom: 0;
}

.app-quest-building::before {
  left: 0;
  width: 100%;
  height: 124px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow:
    0 18px 30px rgba(55, 79, 116, 0.16),
    inset 0 2px 0 rgba(255,255,255,0.7);
}

.app-quest-building::after {
  left: 14px;
  width: 142px;
  height: 28px;
  bottom: 112px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--booth-accent) 50%, white 50%), var(--booth-accent));
  box-shadow: 0 6px 18px rgba(60, 91, 129, 0.14);
}

.app-quest-booth[data-shape="tower"] .app-quest-building::before {
  height: 146px;
  border-radius: 18px 18px 28px 28px;
}

.app-quest-booth[data-shape="round"] .app-quest-building::before {
  border-radius: 28px 28px 22px 22px;
}

.app-quest-screen {
  position: absolute;
  left: 50%;
  top: 26px;
  width: 126px;
  height: 84px;
  transform: translateX(-50%);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--booth-bg), color-mix(in srgb, var(--booth-accent) 70%, white 30%));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.45),
    0 6px 14px rgba(81, 111, 152, 0.16);
}

.app-quest-booth[data-shape="round"] .app-quest-screen {
  border-radius: 999px 999px 22px 22px;
}

.app-quest-booth[data-shape="tower"] .app-quest-screen {
  height: 102px;
  border-radius: 14px 14px 24px 24px;
}

.app-quest-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-quest-screen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.74);
  font-size: 2.2rem;
  font-weight: 900;
}

.app-quest-category {
  position: absolute;
  left: 18px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: var(--booth-accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-quest-nameplate {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.app-quest-name {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-quest-tagline {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-quest-avatar {
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 86px;
  height: 120px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.app-quest-avatar-body {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 42px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, #4c84d6, #28539a);
  box-shadow: 0 10px 18px rgba(48, 84, 146, 0.24);
}

.app-quest-avatar-head {
  position: absolute;
  left: 50%;
  bottom: 66px;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd7bd, #f2b790);
  box-shadow: 0 6px 12px rgba(136, 90, 62, 0.16);
}

.app-quest-avatar-shadow {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 56px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(69, 104, 55, 0.18);
  filter: blur(2px);
}

.app-quest-hud {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 6;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(198, 218, 242, 0.96);
  box-shadow: 0 10px 24px rgba(79, 117, 163, 0.1);
}

.app-quest-hud strong {
  color: #406ea8;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-quest-hud span {
  color: #6e7d91;
  font-size: 0.88rem;
  line-height: 1.5;
}

.app-quest-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0.18;
  pointer-events: none;
}

.app-quest-crosshair::before,
.app-quest-crosshair::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #355f98;
}

.app-quest-crosshair::before {
  width: 18px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.app-quest-crosshair::after {
  width: 2px;
  height: 18px;
  transform: translate(-50%, -50%);
}

.app-world-viewport.is-moving .app-quest-avatar-body {
  transform: translateX(-50%) translateY(-2px);
}

/* ---------- APP CAROUSEL ---------- */
.app-carousel {
  position: relative;
  margin: 48px 0 16px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcard-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 8px 4px;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e0e4ec;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: #6b7c93;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d0d8e4;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(74, 144, 212, 0.4);
}

.carousel-dot:hover { background: var(--accent-light); }

/* Product Card — clean visual */
.pcard {
  --_accent: var(--pc-accent, #4a8fbe);
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 18px rgba(80, 100, 130, 0.07);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(80, 100, 130, 0.13);
}

.pcard-images {
  border-radius: 12px;
  overflow: hidden;
}

.pcard-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pcard:hover .pcard-img {
  transform: scale(1.04);
}

.pcard-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--pc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-img-placeholder span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--_accent);
  opacity: 0.2;
}

.pcard-bottom {
  padding: 8px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.pcard-category {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--_accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pcard-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #2c3e50;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pcard-btn {
  display: block;
  width: 100%;
  padding: 7px;
  border: none;
  border-radius: 100px;
  background: var(--_accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  margin-top: auto;
}

.pcard-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Badge styles for modal */
.app-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.app-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(61, 53, 48, 0.03);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.app-badge-live {
  color: var(--accent);
  background: var(--accent-subtle);
  border-color: rgba(74, 144, 212, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .pcard-slide { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-arrow { width: 38px; height: 38px; }
}

@media (max-width: 640px) {
  .pcard-slide { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard { padding: 6px; border-radius: 14px; }
  .pcard-images { border-radius: 14px; }
  .pcard-img { border-radius: 14px; }
  .pcard-img-front { clip-path: inset(0 round 14px); }
  .pcard:hover .pcard-img-front { clip-path: inset(100% round 14px); }
}

/* ---------- JOURNEY (Visual Step Flow) ---------- */
.journey {
  padding: 128px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #faf5f0 50%, var(--bg) 100%);
}

.journey-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
}

.journey-step {
  flex: 1;
  max-width: 180px;
  text-align: center;
  cursor: pointer;
  padding: 24px 14px;
  border-radius: 24px;
  transition: all var(--spring);
  position: relative;
}

.journey-step:hover {
  background: var(--bg-card);
  box-shadow: 0 8px 32px rgba(61, 53, 48, 0.06);
}

.journey-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 12px;
  transition: all var(--spring);
}

/* Per-step journey icon colors */
.journey-icon--blue   { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; border-color: rgba(37, 99, 235, 0.2); }
.journey-icon--violet { background: linear-gradient(135deg, #ede7fb, #d8ccf8); color: #7c3aed; border-color: rgba(124, 58, 237, 0.2); }
.journey-icon--green  { background: linear-gradient(135deg, #d6f5e0, #b8ecc8); color: #16a34a; border-color: rgba(22, 163, 74, 0.2); }
.journey-icon--amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; border-color: rgba(217, 119, 6, 0.2); }
.journey-icon--coral  { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; border-color: rgba(225, 29, 72, 0.2); }

.journey-step:hover .journey-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.journey-step:hover .journey-icon--blue   { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25); }
.journey-step:hover .journey-icon--violet { box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25); }
.journey-step:hover .journey-icon--green  { box-shadow: 0 8px 24px rgba(22, 163, 74, 0.25); }
.journey-step:hover .journey-icon--amber  { box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25); }
.journey-step:hover .journey-icon--coral  { box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25); }

.journey-step-final .journey-icon {
  /* inherits from journey-icon--coral */
}

.journey-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.journey-step h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.journey-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}

.journey-step.open .journey-expand {
  max-height: 150px;
  margin-top: 10px;
}

.journey-expand p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

.journey-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  padding-top: 36px;
  flex-shrink: 0;
  width: 32px;
}

.journey-connector svg {
  opacity: 0.3;
}

@media (max-width: 900px) {
  .journey-flow {
    flex-wrap: wrap;
    gap: 8px;
  }

  .journey-step {
    flex: 0 0 calc(33% - 16px);
    max-width: none;
  }

  .journey-connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .journey-step {
    flex: 0 0 calc(50% - 8px);
  }
}

/* ---------- NEWS TICKER ---------- */
.news-section {
  padding: 128px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-elevated);
}

.news-ticker {
  margin-top: -16px;
  padding: 24px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.news-track {
  display: flex;
  gap: 20px;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}

.news-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 26px;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--spring);
  flex-shrink: 0;
}

.news-item:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(74, 144, 212, 0.04);
}

.news-source {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  /* Default color */
  color: var(--accent);
  background: var(--accent-subtle);
}

/* Per-brand source colors */
.ns-google    { color: #1a73e8; background: #e8f0fe; }
.ns-anthropic { color: #d97706; background: #fef3c7; }
.ns-report    { color: #0d9488; background: #ccfbf1; }
.ns-trend     { color: #7c3aed; background: #ede7fb; }
.ns-event     { color: #e11d48; background: #ffe4e6; }
.ns-ican      { color: #fff; background: linear-gradient(135deg, #4a90d4, #7c3aed); font-weight: 900;
  flex-shrink: 0;
}

/* ---------- CTA SECTION ---------- */
.cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f9 40%, #e8edf6 60%, var(--bg) 100%);
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(74, 144, 212, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(90, 173, 225, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 40%, rgba(124, 58, 237, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content .section-tag {
  margin-bottom: 24px;
}

.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text);
  text-wrap: balance;
  line-height: 1.15;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
  word-break: keep-all;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-channels {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.channel-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 212, 0.04);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: all var(--spring);
}

.channel-btn:hover {
  background: var(--accent-subtle);
  border-color: rgba(74, 144, 212, 0.25);
  color: var(--accent);
  transform: translateY(-3px) scale(1.05);
}

.channel-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 60px 0 32px;
  border-top: 2px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--spring);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  margin-top: 4px;
  font-size: 0.72rem !important;
}

/* ---------- FIRST-LOAD SUMMER CAMP POPUP ---------- */
body.entry-popup-open {
  overflow: hidden;
}

.entry-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.5vw, 32px);
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.entry-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.entry-popup-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: min(92vw, 520px);
  max-width: min(92vw, 520px);
  max-height: calc(100dvh - clamp(28px, 5vw, 64px));
  transform: translateY(10px) scale(0.985);
  transition: transform 0.25s ease;
}

.entry-popup-overlay.active .entry-popup-dialog {
  transform: translateY(0) scale(1);
}

.entry-popup-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - clamp(28px, 5vw, 64px) - 52px);
  object-fit: contain;
  border-radius: 14px;
  background: #f8f5ec;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.entry-popup-close {
  position: static;
  flex: 0 0 auto;
  margin-right: 2px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 101, 52, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.entry-popup-close:hover,
.entry-popup-close:focus-visible {
  background: #166534;
  color: #fff;
  transform: scale(1.06);
  outline: none;
}

@media (max-width: 640px) {
  .entry-popup-overlay {
    padding: 10px;
  }

  .entry-popup-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .entry-popup-image {
    max-height: calc(100dvh - 66px);
    border-radius: 12px;
  }

  .entry-popup-close {
    width: 38px;
    height: 38px;
  }
}

/* ---------- APP DETAIL MODAL — STORYBOOK STYLE ---------- */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(200, 210, 220, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.app-modal-overlay.active { opacity: 1; pointer-events: auto; }

.app-modal {
  position: relative;
  background: var(--bg-elevated);
  border: none;
  border-radius: 28px;
  max-width: 980px;
  width: 96%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(40px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(80, 100, 130, 0.18), 0 0 0 1px rgba(0,0,0,0.04);
}

.app-modal::-webkit-scrollbar { width: 5px; }
.app-modal::-webkit-scrollbar-track { background: transparent; }
.app-modal::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 3px; }

.app-modal-overlay.active .app-modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(80, 100, 130, 0.12);
  color: #8492a6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close:hover { background: var(--accent); color: #fff; transform: scale(1.1); box-shadow: 0 4px 16px rgba(74, 144, 212, 0.3); }

.modal-body {
  display: flex;
  flex-direction: column;
  padding: 36px 40px 40px;
  gap: 28px;
  position: relative;
}

/* Decorative blobs */
.m-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.m-blob-1 { width: 260px; height: 260px; background: rgba(224, 239, 255, 0.5); top: -40px; right: -60px; filter: blur(60px); }
.m-blob-2 { width: 200px; height: 200px; background: rgba(255, 240, 232, 0.5); bottom: 100px; left: -40px; filter: blur(60px); }

/* ---- TWO-COLUMN HERO ---- */
.m-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.m-hero-img {
  border-radius: 20px;
  overflow: hidden;
  background: #e8ecf2;
  box-shadow: 0 8px 32px rgba(80, 100, 130, 0.12);
  aspect-ratio: 4 / 3;
}

.m-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.m-hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(80, 100, 130, 0.15);
}

.m-hero-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.m-hero-info .app-badge-row { margin-bottom: 4px; }

.m-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c3e50;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.m-tagline {
  font-size: 0.95rem;
  color: #6b7c93;
  line-height: 1.65;
  margin-bottom: 4px;
}

.m-creator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: #fff;
  border-radius: 100px;
  border: 1px solid #e8ecf2;
  width: fit-content;
}

.m-creator-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.m-creator-name { font-size: 0.82rem; font-weight: 700; color: #2c3e50; display: block; }
.m-creator-role { font-size: 0.7rem; color: #8492a6; display: block; }

.m-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #8492a6;
  font-weight: 500;
  margin-top: 4px;
}

.m-target svg { color: var(--accent); }

/* ---- SCREENSHOT STRIP ---- */
.m-gallery-strip {
  position: relative;
  z-index: 1;
}

.m-gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: #d0d5dd transparent;
}

.m-gallery-scroll::-webkit-scrollbar { height: 4px; }
.m-gallery-scroll::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 2px; }

.gallery-thumb {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #e8ecf2;
  transition: all 0.25s ease;
}

.gallery-thumb:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(74, 144, 212, 0.15); }

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---- VIDEO ---- */
.m-video-wrap {
  position: relative;
  z-index: 1;
}

.m-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8492a6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.m-section-label svg { color: var(--accent); }

.m-video-box {
  border-radius: 20px;
  overflow: hidden;
  background: #1a1e2e;
  box-shadow: 0 8px 32px rgba(80, 100, 130, 0.15);
}

.m-video-box video { width: 100%; display: block; max-height: 440px; object-fit: contain; }

/* ---- PASTEL SECTION CARDS ---- */
.m-section-row {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.m-pastel-card {
  flex: 1;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.25s ease;
}

.m-pastel-card:hover { transform: translateY(-2px); }

.m-pastel-blue { background: #eef4ff; border: 1px solid #dce8fc; }
.m-pastel-peach { background: #fff3ed; border: 1px solid #ffe4d4; }
.m-pastel-mint { background: #eefcf5; border: 1px solid #d4f3e4; }
.m-pastel-lavender { background: #f3eeff; border: 1px solid #e4d8fc; }
.m-pastel-yellow { background: #fffce8; border: 1px solid #f5eed0; }

.m-pastel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 14px;
}

.m-pastel-header svg { color: var(--accent); flex-shrink: 0; }

.m-pastel-card p {
  font-size: 0.88rem;
  color: #5a6b7f;
  line-height: 1.7;
}

/* ---- FEATURES PILLS ---- */
.m-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.m-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5a6b7f;
  transition: all 0.2s ease;
}

.m-feat-pill:hover { border-color: var(--accent); color: var(--accent); background: #fff7f3; }
.m-feat-pill svg { color: var(--accent); flex-shrink: 0; }

/* ---- POSTER ---- */
/* ---- INFOGRAPHIC ---- */
.m-infographic-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.m-infographic-img {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ecf2;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.m-infographic-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(80, 100, 130, 0.12);
}

.m-infographic-img img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.m-infographic-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a6a80;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.m-infographic-img:hover .m-infographic-zoom {
  opacity: 1;
  transform: translateY(0);
}

.m-poster-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ecf2;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.m-poster-wrap:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(80, 100, 130, 0.1); }

.m-poster-wrap img { width: 100%; max-height: 200px; object-fit: cover; display: block; }

.m-poster-wrap span {
  display: block;
  padding: 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8492a6;
  border-top: 1px solid #e8ecf2;
}

.m-poster-wrap:hover span { color: var(--accent); }

/* ---- CLASS FLOW — Horizontal Stepper ---- */
.m-flow-section, .m-manual-section {
  position: relative;
  z-index: 1;
}

.m-flow-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 16px 0 8px;
}

/* Connecting line behind all icons */
.m-flow-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, #d0dae4, #b8c8d8, #d0dae4);
  border-radius: 2px;
  z-index: 0;
}

.m-flow-card {
  flex: 1;
  max-width: 160px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.m-flow-card:hover {
  transform: translateY(-4px);
}

/* Icon circle */
.m-flow-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--fc-bg);
  border: 3px solid var(--fc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.m-flow-card:hover .m-flow-card-icon {
  border-color: var(--fc-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: scale(1.08);
}

.m-flow-card-step {
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-text);
  opacity: 0.45;
}

.m-flow-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.25;
}

.m-flow-card-desc {
  font-size: 0.65rem;
  color: #6b7c93;
  line-height: 1.4;
  opacity: 0.7;
}

/* ---- MANUAL — Clean Visual Documentation ---- */
.m-manual-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 22px;
  overflow: hidden;
}

.m-manual-card {
  display: flex;
  gap: 18px;
  padding: 22px 28px;
  border-bottom: 1px solid #f0f2f6;
  transition: background 0.2s ease;
  align-items: flex-start;
}

.m-manual-card:last-child { border-bottom: none; }

.m-manual-card:hover { background: #f8fafe; }

/* Numbered step circle with icon */
.m-manual-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  width: 52px;
  margin: 0;
  padding: 0;
  border: none;
}

.m-manual-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f0f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.m-manual-card:hover .m-manual-card-icon {
  background: #e4ecf8;
  transform: scale(1.06);
}

.m-manual-card-title {
  display: none;
}

/* Content area */
.m-manual-card-body {
  flex: 1;
  min-width: 0;
}

.m-manual-card-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
  line-height: 1.3;
}

.m-manual-card-body p {
  font-size: 0.82rem;
  color: #5a6b7f;
  line-height: 1.7;
  margin-bottom: 4px;
}

.m-manual-card-body p:last-child { margin-bottom: 0; }

.m-manual-card-body ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.m-manual-card-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.8rem;
  color: #5a6b7f;
  line-height: 1.75;
}

.m-manual-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

@media (max-width: 640px) {
  .m-flow-grid { flex-wrap: wrap; gap: 4px; }
  .m-flow-grid::before { display: none; }
  .m-flow-card { flex: 0 1 calc(33% - 8px); max-width: 100px; }
  .m-flow-card-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .m-flow-card-title { font-size: 0.62rem; }
  .m-flow-card-desc { display: none; }
  .m-manual-card { padding: 16px 18px; gap: 14px; }
  .m-manual-card-icon { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 10px; }
  .m-manual-card-top { width: 42px; }
}

/* ---- TEACHER2 CONTAINER ---- */
.modal-teacher2-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ---- FOOTER ---- */
.m-footer {
  display: flex;
  gap: 20px;
  font-size: 0.76rem;
  color: #8492a6;
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid #e8ecf2;
  position: relative;
  z-index: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .modal-body { padding: 24px 20px 28px; gap: 20px; }
  .m-hero { grid-template-columns: 1fr; gap: 20px; }
  .m-hero-img { aspect-ratio: 16/9; }
  .m-title { font-size: 1.4rem; }
  .m-section-row { flex-direction: column; }
  .m-pastel-card { padding: 22px; }
  .m-blob { display: none; }
  .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .gallery-thumb { flex: 0 0 100px; height: 68px; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-xs);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--spring);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--spring);
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .carousel-card {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 24px;
  }

  .carousel-card-visual {
    aspect-ratio: 16 / 9;
  }

  .carousel-card-info h3 {
    font-size: 1.4rem;
  }

  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .modal-hero {
    max-height: 220px;
  }

  .modal-hero::after {
    height: 80px;
  }

  .modal-product-header {
    flex-direction: column;
  }

  .modal-product-header h2 {
    font-size: 1.5rem;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-detail-card {
    padding: 18px 20px;
  }

  .modal-product {
    padding: 24px 20px 28px;
    gap: 28px;
  }

  .modal-features-section,
  .modal-gallery {
    padding: 20px 22px;
  }

  .modal-features-section h3,
  .modal-gallery h3 {
    padding-left: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .modal-section-header {
    padding-left: 12px;
  }

  .modal-class-flow {
    padding-left: 8px;
  }

  .modal-class-flow::before {
    left: 24px;
  }

  .flow-step {
    padding: 16px 16px;
    gap: 14px;
  }

  .manual-block {
    padding: 20px 22px;
  }

  .manual-block h4 {
    padding-left: 10px;
  }

  .modal-footer {
    padding: 18px 20px;
  }

  .modal-video-container video {
    max-height: 320px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .nav {
    right: 12px;
  }
}

@media (max-width: 640px) {
  .nav {
    top: auto;
    bottom: 20px;
    right: 16px;
    transform: none;
  }

  .nav.nav-open {
    border-radius: 14px;
  }

  .hero-stats {
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .herald-showcase {
    padding: 22px 18px 24px;
    border-radius: 24px;
  }

  .herald-showcase-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
  }

  .herald-pill {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.86rem;
  }

  .herald-kicker {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.9rem;
  }

  .herald-kicker-brand {
    min-height: 38px;
    padding: 0 14px;
  }

  .herald-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .herald-feature-title {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .herald-feature-copy {
    max-width: none;
    font-size: 0.96rem;
  }

  .herald-side-stack {
    grid-template-rows: auto;
  }

  .herald-side-card {
    padding: 18px;
    border-radius: 22px;
  }

  .herald-side-list span {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .herald-cta-btn {
    width: 100%;
    min-height: 52px;
    font-size: 0.95rem;
  }

  .daily-prompt-card {
    padding: 0;
    border-radius: 24px;
  }

  .daily-prompt-panel {
    padding: 24px 18px 20px;
    border-radius: 22px;
    min-height: auto;
  }

  .daily-prompt-header {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
  }

  .daily-prompt-tag {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.9rem;
  }

  .daily-prompt-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px 0 16px;
  }

  .daily-prompt-meta {
    justify-content: flex-start;
    min-width: 0;
  }

  .daily-prompt-side-column {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .daily-prompt-copy {
    align-items: flex-start;
    padding: 22px 18px;
    border-radius: 22px;
    min-height: auto;
  }

  .daily-prompt-copy--inline {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .daily-prompt-subtitle {
    text-align: left;
  }

  .daily-prompt-title-wrap {
    max-width: none;
    margin-bottom: 14px;
    line-height: 1.08;
  }

  .daily-prompt-main {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .daily-prompt-body {
    padding: 0;
  }

  .daily-prompt-subtitle {
    max-width: 100%;
    font-size: 0.98rem;
    text-align: left;
    align-self: flex-start;
  }

  .herald-footer {
    align-items: stretch;
    padding-top: 18px;
  }

  .herald-actions {
    justify-content: flex-start;
  }

  .herald-link-btn {
    width: 100%;
    min-height: 58px;
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    padding-left: 56px;
  }

  .timeline-line {
    left: 16px;
  }

  .timeline-dot {
    left: 2px;
  }

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