/* ============================================================
   NOISES UI — LIQUID GLASS DESIGN SYSTEM
   ============================================================ */

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

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

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: #26190F;
  background: #F8F2EC;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  position: relative;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #1A1108;
}
h1 { font-size: clamp(3rem, 7.5vw, 7rem); font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { color: #7A6B60; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
img, svg { max-width: 100%; display: block; }

/* === TOKENS === */
:root {
  --pearl-0: #FFFFFF;
  --pearl-50: #FDFAF7;
  --pearl-100: #FAF5F0;
  --pearl-200: #F5EDE5;
  --pearl-300: #EFE4D8;
  --pearl-400: #E8DACA;
  --ink-300: #9F8A7C;
  --ink-400: #7A6B60;
  --ink-500: #3D2F26;
  --ink-600: #26190F;
  --ink-700: #1A1108;
  --pink-50: #FFF1F6;
  --pink-100: #FFE4EE;
  --pink-200: #FFC8DC;
  --pink-300: #FFA8C5;
  --pink-400: #FF7AAB;
  --pink-500: #FF4D8F;
  --pink-600: #FF2E93;
  --pink-700: #E91E63;
  --pink-800: #C2185B;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-strong: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(20px) saturate(180%);
  --glass-blur-heavy: blur(28px) saturate(180%);
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-liquid: cubic-bezier(0.22, 0.68, 0, 1.0);
  --shadow-sm: 0 2px 8px rgba(233, 30, 99, 0.05);
  --shadow-md: 0 8px 32px rgba(233, 30, 99, 0.08), 0 2px 8px rgba(38, 25, 15, 0.03);
  --shadow-lg: 0 20px 60px rgba(233, 30, 99, 0.12), 0 4px 16px rgba(38, 25, 15, 0.05);
  --shadow-xl: 0 32px 80px rgba(233, 30, 99, 0.18), 0 8px 24px rgba(38, 25, 15, 0.06);
  --shadow-pink-glow: 0 0 60px rgba(255, 46, 147, 0.25), 0 0 120px rgba(255, 46, 147, 0.1);
}

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.07) 0%, rgba(255, 46, 147, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
  opacity: 0;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }

/* === PARTICLES === */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* === LIQUID BACKGROUND === */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 100% 80% at 20% 10%, rgba(255, 228, 238, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 90%, rgba(255, 200, 220, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 182, 209, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #FDF8F4 0%, #F5EDE5 50%, #FDF8F4 100%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  will-change: transform;
  contain: layout style paint;
}
.orb-1 {
  width: 60vmax; height: 60vmax;
  top: -20vmax; left: -15vmax;
  background: radial-gradient(circle at center, rgba(255, 182, 209, 0.5) 0%, rgba(255, 182, 209, 0.15) 40%, transparent 70%);
  animation: orb-drift-1 30s ease-in-out infinite;
}
.orb-2 {
  width: 55vmax; height: 55vmax;
  bottom: -20vmax; right: -18vmax;
  background: radial-gradient(circle at center, rgba(255, 143, 177, 0.4) 0%, rgba(255, 143, 177, 0.12) 40%, transparent 70%);
  animation: orb-drift-2 35s ease-in-out infinite;
}
.orb-3 {
  width: 35vmax; height: 35vmax;
  top: 35%; left: 40%;
  background: radial-gradient(circle at center, rgba(255, 46, 147, 0.15) 0%, rgba(255, 46, 147, 0.05) 45%, transparent 70%);
  animation: orb-drift-3 40s ease-in-out infinite;
}
.orb-4 {
  width: 45vmax; height: 45vmax;
  top: 55%; left: 0%;
  background: radial-gradient(circle at center, rgba(255, 200, 220, 0.35) 0%, transparent 65%);
  animation: orb-drift-4 45s ease-in-out infinite;
}
.orb-5 {
  width: 40vmax; height: 40vmax;
  top: 5%; right: 5%;
  background: radial-gradient(circle at center, rgba(255, 46, 147, 0.12) 0%, transparent 60%);
  animation: orb-drift-5 38s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, 20px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(40px, -10px) scale(1.02); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -30px) scale(1.08); }
  66% { transform: translate(20px, -50px) scale(0.96); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes orb-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(0.9); }
}
@keyframes orb-drift-5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-35px, 50px); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: multiply;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  position: relative;
}

/* === UTILITY === */
.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.gradient-text {
  background: linear-gradient(135deg, #FF2E93 0%, #E91E63 40%, #FF4D8F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* === LIQUID GLASS BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 980px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s var(--ease-liquid);
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #FF2E93 0%, #E91E63 100%);
  color: white;
  box-shadow: 0 8px 28px rgba(255, 46, 147, 0.35), 0 2px 8px rgba(233, 30, 99, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(255, 46, 147, 0.45), 0 4px 16px rgba(233, 30, 99, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  color: var(--ink-600);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: var(--glass-bg-strong);
  color: var(--pink-700);
  border-color: rgba(255, 46, 147, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.btn .arrow { transition: transform 0.35s var(--ease-spring); display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

/* === LIQUID GLASS NAV === */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 980px;
  box-shadow: 0 20px 60px rgba(255, 46, 147, 0.08), 0 2px 10px rgba(38, 25, 15, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s var(--ease-liquid);
  opacity: 0;
  animation: nav-enter 0.8s var(--ease-out) 0.3s forwards;
}
@keyframes nav-enter {
  from { opacity: 0; transform: translateX(-50%) translateY(-24px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 70px rgba(255, 46, 147, 0.12), 0 2px 10px rgba(38, 25, 15, 0.03);
  border-color: rgba(255, 46, 147, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.02em;
}
.nav-logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  box-shadow: 0 0 14px var(--pink-500);
  animation: dot-glow 2.5s ease-in-out infinite;
}
@keyframes dot-glow {
  0%, 100% { box-shadow: 0 0 14px var(--pink-500); transform: scale(1); }
  50% { box-shadow: 0 0 28px var(--pink-400), 0 0 56px rgba(255, 46, 147, 0.15); transform: scale(1.25); }
}

.nav-links { display: flex; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink-500);
  font-weight: 500;
  border-radius: 980px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-600), var(--pink-400));
  border-radius: 1px;
  transition: all 0.35s var(--ease-spring);
  transform: translateX(-50%);
}
.nav-links a:hover {
  color: var(--pink-700);
  background: rgba(255, 46, 147, 0.06);
}
.nav-links a:hover::after { width: 22px; }

.nav-cta {
  margin-left: 10px;
  padding: 9px 20px;
  background: var(--ink-700);
  color: var(--pearl-100);
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.35s var(--ease-spring);
}
.nav-cta:hover {
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 46, 147, 0.35);
}

@media (max-width: 768px) { .nav-links { display: none; } }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero-content { margin-right: 38vw; align-items: flex-start; text-align: left; }
  .hero-ctas, .hero-dock, .hero-meta { margin-left: 0; margin-right: auto; }
}

/* Crystal background */
.hero-crystal-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: clamp(500px, 75vw, 950px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: crystal-appear 2.5s var(--ease-out) 0.3s forwards;
}
@keyframes crystal-appear {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(20deg); }
  to { opacity: 0.15; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}
.hero-crystal-wrap::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.2) 0%, rgba(255, 182, 209, 0.1) 35%, transparent 60%);
  border-radius: 50%;
  filter: blur(50px);
  animation: crystal-haze 10s ease-in-out infinite;
  z-index: -1;
}
@keyframes crystal-haze {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.35); opacity: 0.8; }
}
.hero-crystal-wrap::after {
  content: '';
  position: absolute;
  inset: -35%;
  background-image:
    radial-gradient(3px 3px at 12% 22%, white, transparent),
    radial-gradient(4px 4px at 88% 12%, rgba(255, 200, 220, 0.9), transparent),
    radial-gradient(2.5px 2.5px at 58% 78%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(3px 3px at 22% 88%, rgba(255, 46, 147, 0.6), transparent),
    radial-gradient(2.5px 2.5px at 95% 48%, white, transparent),
    radial-gradient(2px 2px at 42% 8%, rgba(255, 200, 220, 0.7), transparent),
    radial-gradient(3px 3px at 72% 62%, rgba(255, 46, 147, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 38% 52%, white, transparent),
    radial-gradient(2px 2px at 62% 32%, rgba(255, 182, 209, 0.5), transparent),
    radial-gradient(3px 3px at 8% 68%, rgba(255, 46, 147, 0.3), transparent);
  background-size: 100% 100%;
  animation: sparkle-drift 5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes sparkle-drift {
  0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.1) rotate(4deg); }
}
.hero-crystal-side {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 50px 100px rgba(255, 46, 147, 0.5))
    drop-shadow(0 0 140px rgba(255, 182, 209, 0.6))
    drop-shadow(0 0 70px rgba(255, 46, 147, 0.3));
  animation: crystal-hover 12s ease-in-out 2.5s infinite;
  will-change: transform;
}
@keyframes crystal-hover {
  0%   { transform: translate(0, 0) rotate(-4deg) scale(1); }
  20%  { transform: translate(-12px, -15px) rotate(0deg) scale(1.03); }
  40%  { transform: translate(-25px, -28px) rotate(4deg) scale(1.06); }
  60%  { transform: translate(-15px, -20px) rotate(1deg) scale(1.04); }
  80%  { transform: translate(-5px, -10px) rotate(-2deg) scale(1.01); }
  100% { transform: translate(0, 0) rotate(-4deg) scale(1); }
}
@media (max-width: 768px) {
  .hero-crystal-wrap { width: 350px; opacity: 0.1; }
}

/* Hero text animations */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 46, 147, 0.12);
  border-radius: 980px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-700);
  font-family: var(--mono);
  margin-bottom: 36px;
  opacity: 0;
  animation: float-up 0.9s var(--ease-out) 0.2s forwards;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink-600);
  box-shadow: 0 0 10px var(--pink-500);
  animation: pulse-beat 2s ease-in-out infinite;
}
@keyframes pulse-beat {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--pink-500); }
  50% { opacity: 0.4; transform: scale(0.7); box-shadow: 0 0 20px var(--pink-400); }
}

@keyframes float-up {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 { margin-bottom: 28px; opacity: 0; }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: word-emerge 1.1s var(--ease-out) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.3s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.42s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.54s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.66s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.78s; }
@keyframes word-emerge {
  from { opacity: 0; transform: translateY(60px) rotateX(20deg); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
}

.hero-sub {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--ink-400);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.6;
  opacity: 0;
  animation: float-up 1s var(--ease-out) 0.9s forwards;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: float-up 1s var(--ease-out) 1s forwards;
  margin-bottom: 64px;
}

/* === DOCK === */
.hero-dock {
  display: flex;
  gap: 7px;
  padding: 10px 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin: 0 auto 44px;
  width: fit-content;
  opacity: 0;
  animation: float-up 1s var(--ease-out) 1.1s forwards;
}
.hero-dock-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  color: var(--ink-500);
  transition: all 0.35s var(--ease-spring);
  cursor: pointer;
  position: relative;
}
.hero-dock-icon:hover {
  transform: translateY(-8px) scale(1.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 32px rgba(255, 46, 147, 0.2);
  color: var(--pink-700);
  border-color: rgba(255, 46, 147, 0.2);
}
.hero-dock-icon.accent {
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 8px 28px rgba(255, 46, 147, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-dock-icon.accent:hover {
  box-shadow: 0 16px 40px rgba(255, 46, 147, 0.6);
  transform: translateY(-8px) scale(1.12);
}
.hero-dock-icon::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pink-600);
  opacity: 0;
  box-shadow: 0 0 8px var(--pink-500);
  transition: opacity 0.3s;
}
.hero-dock-icon.open::after { opacity: 1; }

/* === SCROLL HINT === */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-300);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  opacity: 0;
  animation: float-up 0.8s var(--ease-out) 1.3s forwards;
}
.scroll-hint-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--pink-400), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === HERO META === */
.hero-meta {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: float-up 1s var(--ease-out) 1.2s forwards;
}
.hero-meta-item { text-align: center; }
.hero-meta-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hero-meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-top: 6px;
  font-family: var(--mono);
  font-weight: 500;
}

/* === SECTIONS === */
section {
  padding: clamp(80px, 14vw, 160px) 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-head .mono { display: block; margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { margin: 0 auto; font-size: 1.15rem; line-height: 1.65; }

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* === REPLACES === */
.replaces { position: relative; }
.replace-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.replace-side {
  padding: 60px 48px;
  border-radius: 36px;
  position: relative;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.replace-side.obsidian {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  opacity: 0.6;
}
.replace-side.noises {
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.08) 0%, rgba(255, 78, 143, 0.05) 100%);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 46, 147, 0.15);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}
.replace-side:hover { transform: translateY(-8px); }
.replace-side.noises:hover { box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.8); }

.replace-middle { display: flex; align-items: center; justify-content: center; }
.replace-vs {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7), 0 0 0 10px rgba(255, 46, 147, 0.25), 0 16px 40px rgba(255, 46, 147, 0.4);
  position: relative;
  z-index: 2;
  animation: vs-pulse 3.5s ease-in-out infinite;
}
@keyframes vs-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7), 0 0 0 10px rgba(255, 46, 147, 0.25), 0 16px 40px rgba(255, 46, 147, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.8), 0 0 0 14px rgba(255, 46, 147, 0.35), 0 20px 56px rgba(255, 46, 147, 0.55); }
}

.replace-name {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.replace-side.obsidian .replace-name {
  color: var(--ink-500);
  text-decoration: line-through;
  text-decoration-color: var(--pink-600);
  text-decoration-thickness: 2.5px;
}
.replace-side.noises .replace-name { color: var(--ink-700); }
.replace-name em {
  font-style: italic;
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.replace-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 36px;
  font-weight: 500;
}
.replace-side.noises .replace-tag { color: var(--pink-700); }

.replace-features { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.replace-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink-500);
  line-height: 1.5;
  transition: transform 0.3s var(--ease);
}
.replace-features li:hover { transform: translateX(5px); }
.replace-side.noises .replace-features li { color: var(--ink-700); font-weight: 500; }
.replace-features li .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(38, 25, 15, 0.05);
  margin-top: 1px;
  font-size: 0.7rem;
}
.replace-side.noises .replace-features li .check {
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  color: white;
  box-shadow: 0 0 14px rgba(255, 46, 147, 0.35);
}

.replace-summary {
  text-align: center;
  margin-top: 72px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.02em;
  line-height: 1.3;
  font-style: italic;
}
.replace-summary em {
  font-style: normal;
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 880px) {
  .replace-wrap { grid-template-columns: 1fr; }
  .replace-side { border-radius: 36px !important; border: 1px solid rgba(255, 46, 147, 0.1) !important; }
  .replace-side.obsidian { border: 1px solid var(--glass-border) !important; }
  .replace-middle { padding: 20px 0; }
}

/* === FEATURE ROW === */
.feature {
  padding: clamp(100px, 14vw, 160px) 0;
  position: relative;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-copy { max-width: 480px; }
.feature-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-700);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: rgba(255, 46, 147, 0.06);
  border-radius: 980px;
}
.feature-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
}
.feature-copy p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 30px;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-700);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 2px solid var(--pink-300);
  padding-bottom: 3px;
  transition: all 0.3s var(--ease-spring);
}
.feature-link:hover { gap: 14px; border-color: var(--pink-600); }

.feature-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 46, 147, 0.1);
  background: linear-gradient(145deg, rgba(255, 228, 238, 0.5), rgba(255, 200, 220, 0.3), rgba(255, 182, 209, 0.2));
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s;
}
.feature-visual:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 40px 100px rgba(255, 46, 147, 0.22), 0 12px 32px rgba(38, 25, 15, 0.06);
}
.feature-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 44px; }
  .feature-row.reverse { direction: ltr; }
  .feature-copy { max-width: 100%; }
}

/* === WINDOW VISUAL === */
.visual-stack { position: relative; width: 100%; height: 100%; }
.visual-window {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.6s var(--ease-spring);
  will-change: transform;
}
.visual-window .win-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink-600);
  box-shadow: 0 0 10px var(--pink-500);
}
.visual-window .win-controls { display: flex; gap: 5px; margin-left: auto; }
.visual-window .win-controls span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(38, 25, 15, 0.08);
}
.vw-1 { top: 8%; left: 4%; width: 62%; animation: window-float 7s ease-in-out infinite; }
.vw-2 { top: 38%; right: 4%; width: 55%; animation: window-float 8s ease-in-out infinite 1.2s; }
.vw-3 { bottom: 8%; left: 18%; width: 64%; background: var(--ink-700); color: var(--pearl-100); border-color: rgba(255, 255, 255, 0.08); animation: window-float 9s ease-in-out infinite 2.4s; }
.vw-3 .win-dot { background: var(--pink-400); }
.vw-3 .win-controls span { background: rgba(255, 255, 255, 0.08); }

@keyframes window-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.5deg); }
}

/* === PET VISUAL === */
.visual-pet-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
}
.visual-island {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 22px;
  background: var(--ink-700);
  color: var(--pearl-100);
  border-radius: 980px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2), 0 0 28px rgba(255, 46, 147, 0.3);
  white-space: nowrap;
  animation: island-breathe 5s ease-in-out infinite;
}
@keyframes island-breathe {
  0%, 100% { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2), 0 0 28px rgba(255, 46, 147, 0.3); }
  50% { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25), 0 0 48px rgba(255, 46, 147, 0.45); }
}
.visual-island .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink-500);
  box-shadow: 0 0 10px var(--pink-500);
  animation: pulse-beat 1.5s ease-in-out infinite;
}
.visual-island .timer { color: var(--pink-300); font-weight: 700; }
.visual-pet {
  width: 40%;
  filter: drop-shadow(0 24px 48px rgba(255, 46, 147, 0.3));
  animation: pet-sway 4.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes pet-sway {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

/* === THEMES === */
.visual-themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 32px;
  align-content: center;
}
.visual-theme {
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: white;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  animation: theme-breathe 5s ease-in-out infinite;
}
.visual-theme:nth-child(1) { animation-delay: 0s; }
.visual-theme:nth-child(2) { animation-delay: 0.5s; }
.visual-theme:nth-child(3) { animation-delay: 1s; }
.visual-theme:nth-child(4) { animation-delay: 1.5s; }
.visual-theme:nth-child(5) { animation-delay: 2s; }
.visual-theme:nth-child(6) { animation-delay: 2.5s; }
.visual-theme:nth-child(7) { animation-delay: 3s; }
.visual-theme:nth-child(8) { animation-delay: 3.5s; }
@keyframes theme-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.visual-theme::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.visual-theme:hover::before { opacity: 1; }
.visual-theme:hover { transform: scale(1.1) rotate(-2deg); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.visual-theme span { position: relative; z-index: 1; }
.visual-theme:nth-child(1) { background: linear-gradient(135deg, #FFB6D1, #FF2E93); }
.visual-theme:nth-child(2) { background: linear-gradient(135deg, #FED7AA, #F97316); }
.visual-theme:nth-child(3) { background: linear-gradient(135deg, #BAE6FD, #0EA5E9); }
.visual-theme:nth-child(4) { background: linear-gradient(135deg, #A7F3D0, #10B981); }
.visual-theme:nth-child(5) { background: linear-gradient(135deg, #DDD6FE, #8B5CF6); }
.visual-theme:nth-child(6) { background: linear-gradient(135deg, #E8E2DD, #1A1419); }
.visual-theme:nth-child(7) { background: linear-gradient(135deg, #FECDD3, #F43F5E); }
.visual-theme:nth-child(8) { background: linear-gradient(135deg, #C7D2FE, #6366F1); }

/* === CLOCK === */
.clock-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.visual-clock {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #FF2E93 0%, #E91E63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  text-align: center;
  filter: drop-shadow(0 10px 30px rgba(255, 46, 147, 0.2));
  animation: clock-glow 5s ease-in-out infinite;
}
@keyframes clock-glow {
  0%, 100% { filter: drop-shadow(0 10px 30px rgba(255, 46, 147, 0.2)); }
  50% { filter: drop-shadow(0 16px 44px rgba(255, 46, 147, 0.35)); }
}
.visual-clock-meta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  display: flex;
  gap: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  padding: 10px 20px;
  border-radius: 980px;
  border: 1px solid rgba(255, 46, 147, 0.08);
  box-shadow: var(--shadow-sm);
}
.visual-clock-meta strong { color: var(--pink-700); font-weight: 700; margin-left: 4px; }

/* === CO-OP === */
.visual-coop {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 18px;
}
.coop-doc-header {
  position: absolute;
  top: 14%;
  left: 12%;
  right: 12%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  z-index: 1;
}
.coop-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: live-ping 1.8s ease-out infinite;
}
@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.coop-online {
  margin-left: auto;
  color: var(--pink-600);
  font-weight: 700;
}
.visual-cursor {
  position: absolute;
  display: flex;
  align-items: flex-start;
  z-index: 4;
  pointer-events: none;
  will-change: transform;
}
.visual-cursor svg {
  width: 24px; height: 24px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
  flex-shrink: 0;
}
.cursor-label {
  margin-top: 3px;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  font-family: var(--sans);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  animation: label-bob 2.4s ease-in-out infinite;
}
@keyframes label-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.cursor-click {
  position: absolute;
  left: 4px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.visual-cursor.is-clicking .cursor-click {
  animation: cursor-click-ring 0.55s var(--ease-out) forwards;
}
@keyframes cursor-click-ring {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Unique wander paths — Maya, Jin, Sam */
.cursor-1 {
  top: 28%; left: 22%;
  color: #FF2E93;
  animation: maya-path 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.cursor-1 svg { color: #FF2E93; }
.cursor-1 .cursor-label { background: #FF2E93; animation-delay: 0s; }
.cursor-2 {
  top: 48%; left: 58%;
  color: #8B5CF6;
  animation: jin-path 13s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.cursor-2 svg { color: #8B5CF6; }
.cursor-2 .cursor-label { background: #8B5CF6; animation-delay: 0.4s; }
.cursor-3 {
  top: 62%; left: 34%;
  color: #0EA5E9;
  animation: sam-path 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.cursor-3 svg { color: #0EA5E9; }
.cursor-3 .cursor-label { background: #0EA5E9; animation-delay: 0.8s; }

@keyframes maya-path {
  0%, 100% { transform: translate(0, 0); }
  15% { transform: translate(48px, 18px); }
  30% { transform: translate(90px, -8px); }
  45% { transform: translate(70px, 42px); }
  60% { transform: translate(20px, 55px); }
  75% { transform: translate(-15px, 28px); }
  90% { transform: translate(12px, 8px); }
}
@keyframes jin-path {
  0%, 100% { transform: translate(0, 0); }
  18% { transform: translate(-40px, -22px); }
  36% { transform: translate(-75px, 10px); }
  54% { transform: translate(-30px, 48px); }
  72% { transform: translate(25px, 30px); }
  88% { transform: translate(10px, -12px); }
}
@keyframes sam-path {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(35px, -30px); }
  40% { transform: translate(80px, -18px); }
  55% { transform: translate(55px, 20px); }
  70% { transform: translate(-20px, 15px); }
  85% { transform: translate(-5px, -10px); }
}

.coop-text-lines {
  position: absolute;
  top: 32%;
  left: 14%;
  right: 14%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}
.coop-line {
  position: relative;
  height: 8px;
  width: var(--w, 70%);
  background: rgba(38, 25, 15, 0.07);
  border-radius: 4px;
  transform-origin: left center;
  animation: coop-line-write 5s ease-in-out infinite;
}
.coop-line:nth-child(2) { animation-delay: 0.8s; }
.coop-line:nth-child(3) { animation-delay: 1.6s; }
.coop-line:nth-child(4) { animation-delay: 2.2s; }
.coop-line:nth-child(5) { animation-delay: 2.8s; }
.coop-line[data-owner="Maya"] { background: linear-gradient(90deg, rgba(255, 46, 147, 0.35), rgba(255, 46, 147, 0.08)); }
.coop-line[data-owner="Jin"] { background: linear-gradient(90deg, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.08)); }
.coop-line[data-owner="Sam"] { background: linear-gradient(90deg, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0.08)); }
.coop-line.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
  filter: brightness(1.08);
}
@keyframes coop-line-write {
  0% { transform: scaleX(0.4); opacity: 0.35; }
  35%, 65% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.88); opacity: 0.7; }
}
.coop-caret {
  position: absolute;
  right: 0; top: -2px;
  width: 2px; height: 12px;
  border-radius: 1px;
  animation: caret-blink 0.9s step-end infinite;
}
.coop-caret.maya { background: #FF2E93; }
.coop-caret.jin { background: #8B5CF6; }
.coop-caret.sam { background: #0EA5E9; }

.coop-presence {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.coop-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  font-family: var(--sans);
  border: 2px solid white;
  margin-left: -4px;
  animation: avatar-pop 3s ease-in-out infinite;
}
.coop-avatar:first-child { margin-left: 0; }
.coop-avatar.maya { background: #FF2E93; animation-delay: 0s; }
.coop-avatar.jin { background: #8B5CF6; animation-delay: 0.3s; }
.coop-avatar.sam { background: #0EA5E9; animation-delay: 0.6s; }
@keyframes avatar-pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.coop-presence-label {
  margin-left: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-400);
  font-family: var(--sans);
}

/* === PET FAMILY === */
.pets { position: relative; }
.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.pet-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 46, 147, 0.08);
  border-radius: 32px;
  padding: 44px 26px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  will-change: transform;
  animation: card-drift 7s ease-in-out infinite;
}
.pet-card:nth-child(1) { animation-delay: 0s; }
.pet-card:nth-child(2) { animation-delay: 1s; }
.pet-card:nth-child(3) { animation-delay: 2s; }
.pet-card:nth-child(4) { animation-delay: 3s; }
.pet-card:nth-child(5) { animation-delay: 4s; }
.pet-card:nth-child(6) { animation-delay: 5s; }
@keyframes card-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pet-card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 46, 147, 0.12) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  animation: glow-spin 10s linear infinite;
}
@keyframes glow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.pet-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.pet-card:hover .pet-card-glow { opacity: 1; }
.pet-card > * { position: relative; z-index: 1; }
.pet-card-img {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  filter: drop-shadow(0 14px 28px rgba(255, 46, 147, 0.25));
  transition: transform 0.5s var(--ease-spring);
  background: radial-gradient(circle at 50% 60%, rgba(139, 92, 246, 0.08) 0%, rgba(14, 165, 233, 0.05) 50%, transparent 80%);
  border-radius: 20px;
}
.pet-card:hover .pet-card-img { transform: scale(1.12) rotate(-4deg); }
.pet-card-img img {
  max-width: 80%;
  max-height: 100%;
  transition: transform 0.5s var(--ease-spring);
  animation: pet-bob 3.5s ease-in-out infinite;
}
.pet-card:nth-child(1) .pet-card-img img { animation-delay: 0s; }
.pet-card:nth-child(2) .pet-card-img img { animation-delay: 0.6s; }
.pet-card:nth-child(3) .pet-card-img img { animation-delay: 1.2s; }
.pet-card:nth-child(4) .pet-card-img img { animation-delay: 1.8s; }
.pet-card:nth-child(5) .pet-card-img img { animation-delay: 2.4s; }
.pet-card:nth-child(6) .pet-card-img img { animation-delay: 3s; }
@keyframes pet-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.pet-card:hover .pet-card-img img { transform: scale(1.14) rotate(-3deg); animation-play-state: paused; }

.pet-card-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pet-card-stage {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 46, 147, 0.06);
  color: var(--pink-700);
  border-radius: 980px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: badge-glow 3.5s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
  50% { box-shadow: 0 0 16px 3px rgba(255, 46, 147, 0.15); }
}
.pet-card-desc {
  font-size: 0.85rem;
  color: var(--ink-400);
  line-height: 1.55;
}

/* === CTA === */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(80px, 14vw, 160px) 0;
  overflow: hidden;
}
.cta-card {
  position: relative;
  padding: clamp(64px, 9vw, 110px) clamp(36px, 6vw, 88px);
  background: linear-gradient(145deg, rgba(255, 46, 147, 0.1) 0%, rgba(255, 78, 143, 0.06) 40%, rgba(139, 92, 246, 0.06) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 46, 147, 0.12);
  border-radius: 44px;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
}
.cta-orb-1 {
  width: 350px; height: 350px;
  top: -120px; left: -60px;
  background: rgba(255, 46, 147, 0.18);
  animation: cta-drift-1 10s ease-in-out infinite;
}
.cta-orb-2 {
  width: 250px; height: 250px;
  bottom: -100px; right: -50px;
  background: rgba(139, 92, 246, 0.12);
  animation: cta-drift-2 12s ease-in-out infinite;
}
.cta-orb-3 {
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  background: rgba(255, 46, 147, 0.08);
  animation: cta-drift-3 14s ease-in-out infinite;
}
@keyframes cta-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(70px, 50px); }
}
@keyframes cta-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, -40px); }
}
@keyframes cta-drift-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.6); }
}

.cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta h2 { margin-bottom: 22px; }
.cta h2 .gradient-text {
  background: linear-gradient(135deg, #FF2E93 0%, #E91E63 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta p { color: var(--ink-500); font-size: 1.15rem; margin: 0 auto 44px; max-width: 560px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-platforms {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* === FOOTER === */
footer { padding: 64px 0 36px; position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink-700);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--ink-400);
  max-width: 320px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-spring);
  border: 1px solid var(--glass-border);
}
.footer-social a:hover {
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(255, 46, 147, 0.3);
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--ink-400);
  transition: all 0.3s var(--ease);
}
.footer-col a:hover { color: var(--pink-700); transform: translateX(4px); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(38, 25, 15, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
}

/* === SOUND INDICATOR === */
.sound-indicator {
  position: absolute;
  top: 100px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
  opacity: 0;
  animation: float-up 0.8s var(--ease-out) 1.4s forwards;
}
.sound-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink-500);
  box-shadow: 0 0 10px var(--pink-500);
  animation: pulse-beat 2s ease-in-out infinite;
}

/* === SOUND TOGGLE === */
.sound-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 46, 147, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s var(--ease-spring);
  box-shadow: var(--shadow-md);
  color: var(--ink-500);
  opacity: 0;
  animation: float-up 0.8s var(--ease-out) 1.6s forwards;
}
.sound-toggle:hover {
  transform: scale(1.18);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-lg);
}
.sound-toggle.muted { opacity: 0.35; }
.sound-toggle svg { width: 20px; height: 20px; }

/* === MARQUEE === */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 46, 147, 0.05);
  border-bottom: 1px solid rgba(255, 46, 147, 0.05);
  background: rgba(255, 46, 147, 0.015);
  content-visibility: visible;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding: 0 20px;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: -0.02em;
  padding: 0 20px;
  transition: color 0.3s;
}
.marquee-item:hover {
  color: var(--pink-700);
}
.marquee-dot {
  font-size: 1.5rem;
  color: var(--pink-400);
  padding: 0 8px;
}

/* === STATS === */
.stats-section {
  padding: clamp(60px, 8vw, 100px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FF2E93, #E91E63);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 28px 16px; }
}

/* === 3D TILT on feature visuals === */
.feature-visual {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.feature-visual-inner {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* === MAGNETIC BUTTONS === */
.btn {
  transform-style: preserve-3d;
}

/* === SCROLL-DRIVEN PARALLAX on feature visuals === */
.feature-visual .visual-stack,
.feature-visual .visual-pet-wrap,
.feature-visual .visual-themes,
.feature-visual .clock-visual-wrap,
.feature-visual .visual-coop {
  transition: transform 0.3s ease-out;
}

/* === HOW IT WORKS === */
.how-it-works {
  position: relative;
  overflow: hidden;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.how-steps::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 46, 147, 0.08), rgba(255, 46, 147, 0.15), rgba(255, 46, 147, 0.08));
}
.how-step {
  display: grid;
  grid-template-columns: 88px 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 48px 0;
  position: relative;
}
.how-step + .how-step {
  border-top: 1px solid rgba(255, 46, 147, 0.06);
}
.how-step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 46, 147, 0.2), rgba(255, 46, 147, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-step-num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 46, 147, 0.1);
  z-index: -1;
}
.how-step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 46, 147, 0.08), rgba(255, 78, 143, 0.04));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 46, 147, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-700);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.how-step:hover .how-step-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-lg);
}
.how-step-content h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.how-step-content p {
  font-size: 0.95rem;
  color: var(--ink-400);
  line-height: 1.6;
  max-width: 380px;
}

/* Scroll progress bar */
.how-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 46, 147, 0.06);
  border-radius: 3px;
  margin-top: 60px;
  overflow: hidden;
}
.how-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF2E93, #E91E63, #FF4D8F);
  border-radius: 3px;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(255, 46, 147, 0.3);
}

@media (max-width: 768px) {
  .how-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 36px 0;
  }
  .how-step-visual { display: none; }
  .how-steps::before { left: 28px; }
  .how-step-num {
    font-size: 1.8rem;
  }
  .how-step-num::after {
    width: 44px;
    height: 44px;
  }
}

/* === SMOOTH SCROLL PROGRESS (global) === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF2E93, #E91E63, #FF4D8F, #8B5CF6);
  z-index: 99998;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(255, 46, 147, 0.4);
  border-radius: 0 2px 2px 0;
}

/* === SCROLL SNAP HINT === */
@keyframes float-up {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   WALKING PET — floating companion
   ============================================================ */
#walking-pet.pet-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9200;
  width: 128px;
  height: 128px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
  outline: none;
  /* transform is set in JS via translate3d for position */
}

#walking-pet.pet-container:focus-visible {
  outline: 2px solid var(--pink-500);
  outline-offset: 6px;
  border-radius: 24px;
}

#walking-pet .pet-sprite {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(255, 46, 147, 0.35));
  transition: filter 0.3s var(--ease);
  animation: pet-idle-float 4s ease-in-out infinite;
  transform-origin: center bottom;
}

#walking-pet:hover .pet-sprite {
  filter: drop-shadow(0 14px 36px rgba(255, 46, 147, 0.5));
}

/* Face left via container class so CSS bob anims don't fight scaleX */
#walking-pet.pet-face-left .pet-sprite {
  transform: scaleX(-1);
}

#walking-pet.pet-face-left.pet-idle .pet-sprite,
#walking-pet.pet-face-left.pet-talking .pet-sprite {
  animation-name: pet-idle-float-flip;
}

#walking-pet.pet-face-left.pet-walking .pet-sprite {
  animation-name: pet-walk-bob-flip;
}

#walking-pet.pet-face-left.pet-happy .pet-sprite,
#walking-pet.pet-face-left.pet-eating .pet-sprite {
  animation-name: pet-happy-bounce-flip;
}

@keyframes pet-idle-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes pet-idle-float-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(1deg); }
  50% { transform: scaleX(-1) translateY(-8px) rotate(-1.5deg); }
}

/* State animations */
#walking-pet.pet-walking .pet-sprite {
  animation: pet-walk-bob 0.35s ease-in-out infinite;
  filter: drop-shadow(0 10px 22px rgba(255, 46, 147, 0.4));
}
@keyframes pet-walk-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}
@keyframes pet-walk-bob-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(3deg); }
  50% { transform: scaleX(-1) translateY(-6px) rotate(-3deg); }
}

#walking-pet.pet-happy .pet-sprite,
#walking-pet.pet-eating .pet-sprite {
  animation: pet-happy-bounce 0.55s var(--ease-spring) infinite;
}
@keyframes pet-happy-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-16px) scale(1.08); }
  70% { transform: translateY(-4px) scale(1.02); }
}
@keyframes pet-happy-bounce-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) scale(1); }
  40% { transform: scaleX(-1) translateY(-16px) scale(1.08); }
  70% { transform: scaleX(-1) translateY(-4px) scale(1.02); }
}

#walking-pet.pet-talking .pet-sprite {
  animation: pet-talk-nod 1.2s ease-in-out infinite;
}
#walking-pet.pet-face-left.pet-talking .pet-sprite {
  animation: pet-talk-nod-flip 1.2s ease-in-out infinite;
}
@keyframes pet-talk-nod {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-4px) rotate(-2deg); }
  60% { transform: translateY(-2px) rotate(2deg); }
}
@keyframes pet-talk-nod-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  30% { transform: scaleX(-1) translateY(-4px) rotate(2deg); }
  60% { transform: scaleX(-1) translateY(-2px) rotate(-2deg); }
}

#walking-pet.pet-sleeping .pet-sprite {
  animation: pet-sleep-breathe 3.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(120, 100, 140, 0.25));
  opacity: 0.95;
}
#walking-pet.pet-face-left.pet-sleeping .pet-sprite {
  animation: pet-sleep-breathe-flip 3.2s ease-in-out infinite;
}
@keyframes pet-sleep-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(3px) scale(1.03); }
}
@keyframes pet-sleep-breathe-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) scale(1); }
  50% { transform: scaleX(-1) translateY(3px) scale(1.03); }
}

#walking-pet.pet-dragging,
#walking-pet.is-dragging {
  cursor: grabbing;
  z-index: 9300;
}
#walking-pet.pet-dragging .pet-sprite,
#walking-pet.is-dragging .pet-sprite {
  animation: none;
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 18px 40px rgba(255, 46, 147, 0.55));
}
#walking-pet.pet-face-left.pet-dragging .pet-sprite,
#walking-pet.pet-face-left.is-dragging .pet-sprite {
  transform: scaleX(-1) scale(1.08) rotate(4deg);
}

#walking-pet.pet-playing .pet-sprite {
  animation: pet-play-spin 1.4s ease-in-out infinite;
}
@keyframes pet-play-spin {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

/* Soft oval shadow under pet */
.pet-shadow {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 58%;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(38, 25, 15, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transition: width 0.3s, opacity 0.3s;
}
#walking-pet.pet-walking .pet-shadow {
  width: 48%;
  opacity: 0.7;
  animation: pet-shadow-walk 0.35s ease-in-out infinite;
}
@keyframes pet-shadow-walk {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.75; }
  50% { transform: translateX(-50%) scaleX(0.85); opacity: 0.5; }
}
#walking-pet.pet-dragging .pet-shadow,
#walking-pet.is-dragging .pet-shadow {
  width: 40%;
  opacity: 0.35;
}

/* Name tag */
.pet-name-tag {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-600);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
#walking-pet:hover .pet-name-tag,
#walking-pet:focus-visible .pet-name-tag,
#walking-pet.pet-talking .pet-name-tag {
  opacity: 1;
}

/* Food badge */
.pet-food-indicator {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: radial-gradient(circle at 30% 30%, #FFE4EE, #FF2E93);
  box-shadow: 0 4px 14px rgba(255, 46, 147, 0.45);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-spring), transform 0.25s var(--ease-spring);
}
.pet-food-indicator.visible {
  opacity: 1;
  transform: scale(1);
  animation: pet-food-pop 0.9s var(--ease-spring);
}
@keyframes pet-food-pop {
  0% { transform: scale(0) translateY(8px); }
  40% { transform: scale(1.25) translateY(-6px); }
  100% { transform: scale(1) translateY(0); }
}

/* Floating hearts */
.pet-hearts {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
}
.pet-hearts span {
  color: #FF2E93;
  font-size: 14px;
  opacity: 0;
  display: inline-block;
  text-shadow: 0 2px 8px rgba(255, 46, 147, 0.4);
}
.pet-hearts.visible span {
  animation: pet-heart-rise 1.4s var(--ease-out) forwards;
}
.pet-hearts.visible span:nth-child(1) { animation-delay: 0s; }
.pet-hearts.visible span:nth-child(2) { animation-delay: 0.12s; }
.pet-hearts.visible span:nth-child(3) { animation-delay: 0.24s; }
@keyframes pet-heart-rise {
  0% { opacity: 0; transform: translateY(8px) scale(0.4); }
  25% { opacity: 1; transform: translateY(-6px) scale(1.25); }
  100% { opacity: 0; transform: translateY(-36px) scale(0.8); }
}

/* Speech bubble */
.pet-speech-bubble {
  position: fixed;
  z-index: 9250;
  width: min(240px, calc(100vw - 24px));
  padding: 12px 14px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 40px rgba(233, 30, 99, 0.14),
    0 2px 8px rgba(38, 25, 15, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom center;
  will-change: opacity, transform;
  transition:
    opacity 0.28s var(--ease-out),
    visibility 0.28s,
    transform 0.28s var(--ease-spring),
    filter 0.28s;
}
.pet-speech-bubble.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.pet-speech-bubble.hiding {
  opacity: 0;
  transform: translateY(6px) scale(0.97);
}
.pet-speech-bubble.bubble-below {
  transform-origin: top center;
}
.pet-speech-bubble.bubble-below:not(.visible) {
  transform: translateY(-8px) scale(0.96);
}

/* Bubble tail */
.pet-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 3px 3px 8px rgba(233, 30, 99, 0.06);
}
.pet-speech-bubble.bubble-below::after {
  bottom: auto;
  top: -7px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: -2px -2px 8px rgba(233, 30, 99, 0.06);
}

.pet-speech-text {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-600);
  margin-bottom: 10px;
}

.pet-bubble-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pet-bubble-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink-600);
  background: linear-gradient(180deg, #fff, var(--pearl-100));
  border: 1px solid rgba(255, 182, 209, 0.55);
  box-shadow: 0 2px 6px rgba(233, 30, 99, 0.08);
  transition: transform 0.15s var(--ease-spring), background 0.15s, box-shadow 0.15s;
}
.pet-bubble-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(180deg, #fff, var(--pink-50));
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.16);
  color: var(--pink-700);
}
.pet-bubble-btn:active {
  transform: scale(0.96);
}
.pet-bubble-dismiss {
  margin-left: auto;
  padding: 6px 8px;
  min-width: 28px;
  color: var(--ink-300);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.pet-bubble-dismiss:hover {
  color: var(--ink-600);
  background: var(--pearl-200);
  box-shadow: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 100px 20px 60px; }
  .hero-meta { gap: 36px; }
  .hero-meta-num { font-size: 1.5rem; }
  .hero-dock { padding: 8px 12px; }
  .hero-dock-icon { width: 42px; height: 42px; }
  section { padding: 64px 0; }
  .feature-row { gap: 44px; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  #walking-pet.pet-container {
    width: 104px;
    height: 104px;
  }
  .pet-speech-bubble {
    width: min(210px, calc(100vw - 20px));
    padding: 10px 12px 8px;
  }
}
@media (max-width: 480px) {
  .pet-grid { grid-template-columns: 1fr; }
  #walking-pet.pet-container {
    width: 96px;
    height: 96px;
  }
  .pet-name-tag { font-size: 0.55rem; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-200), var(--pink-300));
  border-radius: 10px;
  border: 2px solid var(--pearl-100);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--pink-300), var(--pink-400)); }
::selection { background: var(--pink-200); color: var(--ink-700); }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb, .cursor-glow, #particles { animation: none !important; display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Keep pet visible & interactive; just stop decorative motion */
  #walking-pet .pet-sprite,
  #walking-pet .pet-shadow,
  .pet-hearts span,
  .pet-food-indicator {
    animation: none !important;
  }
  #walking-pet.pet-face-left .pet-sprite {
    transform: scaleX(-1) !important;
  }
}

/* === VIDEO POPUP === */
.video-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 6, 18, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  padding: 24px;
}
.video-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.video-popup {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: #0D0612;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 46, 147, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(30px) scale(0.92);
  transition: transform 0.6s var(--ease-spring), opacity 0.5s var(--ease-out);
  opacity: 0;
}
.video-popup-overlay.open .video-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.video-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.video-popup-close:hover {
  background: rgba(255, 46, 147, 0.6);
  transform: rotate(90deg);
}
.video-popup-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.video-popup-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-popup-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-popup-wrap:hover .video-popup-play { opacity: 1; }
.video-popup-play svg {
  width: 48px;
  height: 48px;
  color: white;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s var(--ease-spring);
}
.video-popup-play:hover svg { transform: scale(1.15); }
.video-popup-play.hidden { display: none; }
.video-popup-info {
  padding: 28px 28px 32px;
  text-align: center;
}
.video-popup-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.2);
  border-radius: 980px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-400);
  font-weight: 600;
  margin-bottom: 14px;
}
.video-popup-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  line-height: 1.5;
}
.video-popup-cta {
  padding: 14px 28px;
  font-size: 0.9rem;
}
@media (max-width: 520px) {
  .video-popup { max-width: 95%; border-radius: 20px; }
  .video-popup-info { padding: 20px 20px 24px; }
}

/* === GALLERY === */
.gallery-section { position: relative; }
.gallery-single {
  max-width: 960px;
  margin: 0 auto;
}
.gallery-single-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 228, 238, 0.5), rgba(255, 200, 220, 0.3));
  border: 1px solid rgba(255, 46, 147, 0.1);
  box-shadow: 0 32px 80px rgba(255, 46, 147, 0.12), 0 8px 24px rgba(38, 25, 15, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s;
}
.gallery-single-wrap:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 48px 100px rgba(255, 46, 147, 0.18), 0 12px 32px rgba(38, 25, 15, 0.06);
}
.gallery-single-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}
.gallery-single-wrap:hover img {
  transform: scale(1.02);
}
.gallery-single-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: rgba(13, 6, 18, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.gallery-note {
  text-align: center;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
}
@media (max-width: 768px) {
  .gallery-single-wrap { border-radius: 20px; }
}

/* === COMING SOON MODAL === */
.cs-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 17, 8, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  padding: 24px;
}
.cs-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cs-modal {
  position: relative;
  max-width: 460px;
  width: 100%;
  background: var(--pearl-50);
  border: 1px solid rgba(255, 46, 147, 0.12);
  border-radius: 36px;
  padding: 56px 44px 48px;
  text-align: center;
  box-shadow: 0 48px 100px rgba(255, 46, 147, 0.18), 0 16px 40px rgba(38, 25, 15, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.5s var(--ease-spring), opacity 0.4s var(--ease-out);
  opacity: 0;
}
.cs-overlay.open .cs-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cs-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(38, 25, 15, 0.04);
  color: var(--ink-400);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 0;
}
.cs-close:hover {
  background: rgba(255, 46, 147, 0.08);
  color: var(--pink-700);
  transform: rotate(90deg);
}
.cs-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.1), rgba(233, 30, 99, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-600);
  animation: cs-icon-pulse 3s ease-in-out infinite;
}
@keyframes cs-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
  50% { box-shadow: 0 0 30px 8px rgba(255, 46, 147, 0.12); }
}
.cs-modal h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink-700);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.cs-modal p {
  font-size: 0.95rem;
  color: var(--ink-400);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.cs-form {
  display: flex;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
}
.cs-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 980px;
  border: 1px solid rgba(38, 25, 15, 0.1);
  background: white;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-700);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cs-input:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.1);
}
.cs-input::placeholder { color: var(--ink-300); }
.cs-submit {
  flex-shrink: 0;
  padding: 14px 24px;
  font-size: 0.85rem;
}
.cs-confirm {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
}
.cs-confirm.show {
  display: flex;
  animation: float-up 0.5s var(--ease-out) forwards;
}
@media (max-width: 520px) {
  .cs-modal { padding: 44px 28px 36px; }
  .cs-form { flex-direction: column; }
}
