/* ═══════════════════════════════════════════════
   PAJI Official Website – style.css
   Apple-inspired · Dark theme · Premium feel
   ═══════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg:          #000000;
  --bg-soft:     #0d0d0d;
  --bg-card:     #161616;
  --bg-card-2:   #1c1c1c;
  --border:      rgba(255,255,255,.08);
  --text:        #f5f5f7;
  --text-muted:  #86868b;
  --accent:      #d4af7a;
  --accent-dim:  rgba(212,175,122,.15);
  --accent-glow: rgba(212,175,122,.25);
  --green:       #34d399;
  --radius:      20px;
  --radius-sm:   12px;
  --transition:  0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  --nav-h:       56px;
}

/* ─── Base Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip; /* clip ≠ hidden: does NOT create a scroll container, so position:sticky works */
  touch-action: manipulation; /* disable double-tap zoom on iOS/Android */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* same reason: clip preserves sticky, hidden breaks it */
}

body.loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Utility ─── */
.accent  { color: var(--accent); }
.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}
.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px;
  transition: border-color var(--transition), color var(--transition);
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Reveal animations base state ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
.reveal-card {
  opacity: 0;
  transform: translateY(30px) scale(.96);
  will-change: opacity, transform;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .85; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 13px;
  border-radius: 99px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-family: inherit;
}
.lang-toggle:hover,
.lang-toggle.is-en {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}


/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* CSS placeholder – remove once you add a real video */
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0d0118 0%,
    #1a0a2e 20%,
    #16213e 40%,
    #0f3460 60%,
    #533483 80%,
    #2d1b69 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}
/* Simulated footage sparkles */
.hero-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212,175,122,.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(83,52,131,.2) 0%, transparent 40%);
  animation: spotlightPulse 8s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes spotlightPulse {
  from { opacity: .6; }
  to   { opacity: 1; }
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.2) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,.7) 100%
  );
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-brand {
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 0 120px rgba(212,175,122,.3);
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,.75);
  margin-top: 160px;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.scroll-arrow-svg {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,.6);
  animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(8px); opacity: 1; }
}


/* ═══════════════ SECTION BASE ═══════════════ */
.section {
  padding: 120px 24px;
  position: relative;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}


/* ═══════════════ SLOGAN SECTION ═══════════════ */
.slogan-section {
  background: var(--bg);
  padding: 160px 24px;
}
.slogan-section .section-desc { margin-bottom: 40px; }
.slogan-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }


/* ═══════════════ TECH SECTION ═══════════════ */
.tech-section {
  position: relative;
  background: var(--bg-soft);
  height: 400vh; /* provides scroll travel for sticky animation */
  overflow-x: clip; /* clip GSAP-translated elements without breaking position:sticky */
}
.tech-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 60px;
}

/* Scene */
.tech-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  height: 320px;
}

/* Dog */
.tech-dog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
  z-index: 2;
  flex-shrink: 0;
}
.dog-body {
  position: relative;
  width: 180px;
  height: 220px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dog-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.dog-cloth-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.dog-emoji { font-size: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.dog-outfit-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.dog-outfit-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--accent);
}
.dog-shadow {
  width: 120px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,.6) 0%, transparent 70%);
  margin-top: 6px;
}

/* NFC Rings */
.nfc-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}
.nfc-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.r1 { width: 80px;  height: 80px;  opacity: .7; }
.r2 { width: 120px; height: 120px; opacity: .45; }
.r3 { width: 164px; height: 164px; opacity: .2; }

@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.3); opacity: 0;  }
}
.nfc-rings.active .r1 { animation: ringPulse 1.5s ease-out infinite; }
.nfc-rings.active .r2 { animation: ringPulse 1.5s ease-out .3s infinite; }
.nfc-rings.active .r3 { animation: ringPulse 1.5s ease-out .6s infinite; }

.nfc-chip-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.nfc-chip-dot svg { width: 28px; height: 28px; }

/* Phone */
.tech-phone {
  position: relative;
  will-change: transform;
  z-index: 2;
  flex-shrink: 0;
}
.phone-body {
  width: 120px;
  height: 240px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow: 0 10px 10px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  gap: 8px;
  overflow: hidden;
}
.phone-status-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-muted);
}
.phone-app-header {
  font-size: 8px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-icon { width: 12px; height: 12px; }
.phone-scan-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.scan-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: scanPulse 2s ease-in-out infinite;
}
@keyframes scanPulse {
  0%,100% { transform: scale(.9); opacity: .7; }
  50%      { transform: scale(1); opacity: 1; }
}
.scan-label {
  font-size: 7px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}
.paji-pop {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.6);
  transform-origin: center bottom;
  opacity: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: .06em;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 14px var(--accent-glow);
  /* speech-bubble tail */
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  padding: 4px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.paji-pop::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--accent);
}

/* Pet Info Card */
.pet-info-card {
  position: absolute;
  top: -20px;
  right: -170px;
  width: 210px;
  background: var(--bg-card);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--radius);
  padding: 0 0 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(239,68,68,.1);
  opacity: 0;
  transform: translateY(10px) scale(.95);
  will-change: opacity, transform;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0;
}
/* SOS header bar */
.pic-sos-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ef4444;
  padding: 5px 10px;
  gap: 6px;
}
.pic-sos-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  flex: 1;
  text-align: center;
}
.pic-sos-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  animation: sosDotPulse 1s ease-in-out infinite alternate;
}
.pic-sos-dot:last-child { animation-delay: .5s; }
@keyframes sosDotPulse {
  from { opacity: .4; transform: scale(.8); }
  to   { opacity: 1;  transform: scale(1.2); }
}
/* inner spacing wrapper */
.pic-avatar {
  margin: 12px 12px 0;
  text-align: center;
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  padding: 8px;
  overflow: hidden;
}
.pic-details {
  padding: 0 12px;
  margin-top: 8px;
}
.pic-avatar-img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
}
.pic-details { padding: 0 12px; }
.pic-details h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.pic-breed { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.pic-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.pic-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.pic-tag--health { background: rgba(52,211,153,.12); color: #34d399; border: 1px solid rgba(52,211,153,.28); }
.pic-tag--neuter  { background: rgba(129,140,248,.12); color: #818cf8; border: 1px solid rgba(129,140,248,.28); }
.pic-info-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pic-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding-bottom: 5px;
}
.pic-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.pic-info-label { font-size: 10px; color: var(--text-muted); }
/* SOS call button */
.pic-sos-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px 12px 4px;
  padding: 8px 10px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 8px;
  text-decoration: none;
  animation: sosBtnPulse 2s ease-in-out infinite;
  transition: opacity .2s;
}
.pic-sos-btn:hover { opacity: .88; }
@keyframes sosBtnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.pic-badge {
  margin: 5px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: 6px;
  padding: 4px 8px;
}

/* Tech Text */
.tech-text {
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
}
.tech-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.tech-body {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.tech-steps {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.step.active { color: var(--text); }
.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
}


/* ═══════════════ FEATURE SECTIONS ═══════════════ */
.feature-section {
  padding: 120px 24px;
}
.feature-section:nth-child(odd)  { background: var(--bg); }
.feature-section:nth-child(even) { background: var(--bg-soft); }

/* ─── Philosophy – button-driven card carousel ─── */
.philosophy-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.philosophy-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
/* Nav row (prev btn + deck + next btn) */
.pc-nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}
.pc-nav-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.pc-nav-btn:hover {
  background: var(--bg-card-2);
  border-color: var(--accent);
  transform: scale(1.08);
}
/* Deck container */
.pc-deck {
  position: relative;
  width: 340px;
  height: 240px;
  perspective: 1200px;
}
/* Each card wrapper */
.pc-card {
  position: absolute;
  inset: 0;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1),
              filter 0.55s ease,
              opacity 0.45s ease;
}
/* The 3-D flip container */
.pc-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
  border-radius: 18px;
}
.pc-card.flipped .pc-inner {
  transform: rotateY(180deg);
}
/* Both faces */
.pc-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 26px 26px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  overflow: hidden;
}
/* ── FRONT: warm, visible, character ── */
.pc-front {
  background: linear-gradient(145deg, #1f1a12 0%, #17130e 60%, #0f0d0a 100%);
  border: 1px solid rgba(212,175,122,.28);
}
.pc-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 18px 18px 0 0;
}
.pc-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.pc-paw-bg {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 52px;
  opacity: .06;
  pointer-events: none;
  line-height: 1;
}
.pc-behavior-text {
  font-size: 16px;
  line-height: 1.9;
  color: #e8e0d0;
  flex: 1;
  font-weight: 400;
}
.pc-flip-hint {
  font-size: 11px;
  color: rgba(212,175,122,.6);
  margin-top: 14px;
  letter-spacing: .06em;
}
/* ── BACK: gold accent ── */
.pc-back {
  background: linear-gradient(135deg, #1a120a 0%, #0d0d0d 100%);
  border: 1px solid var(--accent);
  transform: rotateY(180deg);
  box-shadow: 0 24px 72px rgba(0,0,0,.6), 0 0 40px var(--accent-glow);
}
.pc-big-quote {
  font-size: 56px;
  line-height: .8;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.pc-quote-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.pc-paw-row {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .08em;
  margin-top: 14px;
}
/* Stack transforms – JS sets data-stack */
.pc-card[data-stack="0"] {
  z-index: 4;
  transform: rotate(0deg) translateY(0) scale(1);
  filter: none;
  opacity: 1;
}
.pc-card[data-stack="1"] {
  z-index: 3;
  transform: rotate(-3deg) translateY(16px) scale(.94);
  filter: brightness(.55);
  pointer-events: none;
}
.pc-card[data-stack="2"] {
  z-index: 2;
  transform: rotate(4deg) translateY(30px) scale(.88);
  filter: brightness(.32);
  pointer-events: none;
}
.pc-card[data-stack="3"] {
  z-index: 1;
  transform: rotate(-5deg) translateY(44px) scale(.82);
  filter: brightness(.18);
  pointer-events: none;
}
/* Dot indicators */
.pc-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}
.pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background .3s, transform .3s;
  cursor: pointer;
  border: none;
}
.pc-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.pc-counter {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}
#pcCurrent { color: var(--accent); font-weight: 700; font-size: 15px; }

/* ─── Medals / 初见集 ───── */
.medals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
/* base card */
.medal-card {
  position: relative;
  background: linear-gradient(145deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 32px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px) scale(.92);
  will-change: opacity, transform;
  transition: border-color .35s, box-shadow .35s, transform .25s;
  cursor: default;
}
.medal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212,175,122,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
/* unlocked card */
.medal-card.is-unlocked {
  border-color: rgba(212,175,122,.35);
  box-shadow: 0 0 0 1px rgba(212,175,122,.12),
              0 8px 40px rgba(212,175,122,.12),
              0 2px 8px rgba(0,0,0,.5);
}
.medal-card.is-unlocked::before { opacity: 1; }
.medal-card.is-unlocked:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(212,175,122,.4),
              0 16px 60px rgba(212,175,122,.2);
}
/* ribbon top-right */
.mc-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212,175,122,.25);
  padding: 3px 9px;
  border-radius: 99px;
}
/* icon ring */
.mc-icon-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2418 0%, #161410 70%);
  border: 2px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  margin-top: 6px;
  position: relative;
  transition: border-color .35s, box-shadow .35s;
}
.mc-icon-ring svg {
  width: 46px;
  height: 46px;
  color: rgba(255,255,255,.18);
  transition: color .4s;
}
.mc-icon-ring img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}
.medal-card.is-unlocked .mc-icon-ring {
  border-color: rgba(212,175,122,.5);
  box-shadow: 0 0 0 4px rgba(212,175,122,.07),
              0 0 24px rgba(212,175,122,.2),
              inset 0 0 24px rgba(212,175,122,.06);
}
.medal-card.is-unlocked .mc-icon-ring svg { color: var(--accent); }
/* lock overlay */
.mc-lock-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
}
/* sparkle dots */
.mc-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .4s;
}
.medal-card.is-unlocked .mc-sparkles { opacity: 1; }
.mc-sparkles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: none;
}
.medal-card.is-unlocked .mc-sparkles span:nth-child(1) { top: 15%; left: 12%; animation: spark 3.2s 0.2s infinite; }
.medal-card.is-unlocked .mc-sparkles span:nth-child(2) { top: 10%; right: 20%; animation: spark 3s 0.8s infinite; width: 3px; height: 3px; }
.medal-card.is-unlocked .mc-sparkles span:nth-child(3) { bottom: 20%; left: 18%; animation: spark 3.5s 0.4s infinite; width: 3px; height: 3px; }
.medal-card.is-unlocked .mc-sparkles span:nth-child(4) { bottom: 15%; right: 12%; animation: spark 2.8s 1.2s infinite; }
@keyframes spark {
  0%,100% { opacity: 0; transform: scale(0); }
  30%      { opacity: .8; transform: scale(1.4); }
  60%      { opacity: .3; transform: scale(.8); }
}
/* texts */
.mc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.medal-card:not(.is-unlocked) .mc-title { color: var(--text-muted); }
.mc-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 16px;
}
/* status pill */
.mc-status {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  letter-spacing: .02em;
}
.mc-status.unlocked {
  background: rgba(52,211,153,.1);
  color: var(--green);
  border: 1px solid rgba(52,211,153,.22);
}
.mc-status.locked {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.08);
}
/* shine sweep on unlock */
@keyframes mc-shine {
  0%   { transform: translateX(-100%) skewX(-20deg); opacity: .6; }
  100% { transform: translateX(300%) skewX(-20deg); opacity: 0; }
}
.medal-card.is-unlocked::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,122,.12), transparent);
  animation: mc-shine 2.2s 0.3s both;
  pointer-events: none;
}

/* Care Records */
.care-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  text-align: left;
}
.care-inner .section-title { margin-bottom: 20px; }
.care-inner .section-desc { margin: 0; text-align: left; }
.care-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}
.care-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--border);
}
.care-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  opacity: 0;
  transform: translateX(20px);
  will-change: opacity, transform;
  position: relative;
}
.ci-dot {
  position: absolute;
  left: -16px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  flex-shrink: 0;
}
.ci-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  padding: 6px;
}
.ci-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ci-body { flex: 1; }
.ci-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ci-sub { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ─── MBTI Carousel ─────── */
.mbti-outer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 52px;
}
.mbti-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 10;
}
.mbti-nav:hover {
  background: var(--bg-card-2);
  border-color: var(--accent);
  transform: scale(1.08);
}
.mbti-stage {
  perspective: 1200px;
  perspective-origin: center 50%;
  width: 680px;
  max-width: calc(100vw - 120px);
  height: 300px;
  position: relative;
  overflow: visible;
}
.mbti-item {
  position: absolute;
  width: 200px;
  height: 272px;
  left: calc(50% - 100px);
  top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  transition: transform 0.55s cubic-bezier(.25,.46,.45,.94),
              opacity 0.55s cubic-bezier(.25,.46,.45,.94),
              border-color 0.3s,
              box-shadow 0.3s;
  opacity: 0;
  transform: translateZ(-200px) scale(0.3);
  pointer-events: none;
  will-change: transform, opacity;
}
.mbti-item.pos-active {
  transform: translateX(0) translateZ(60px) scale(1);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  cursor: pointer;
}
.mbti-item.pos-prev {
  transform: translateX(-230px) translateZ(-30px) rotateY(20deg) scale(0.86);
  opacity: 0.6;
  z-index: 3;
}
.mbti-item.pos-next {
  transform: translateX(230px) translateZ(-30px) rotateY(-20deg) scale(0.86);
  opacity: 0.6;
  z-index: 3;
}
.mbti-item.pos-far-prev {
  transform: translateX(-400px) translateZ(-100px) rotateY(35deg) scale(0.6);
  opacity: 0;
  z-index: 1;
}
.mbti-item.pos-far-next {
  transform: translateX(400px) translateZ(-100px) rotateY(-35deg) scale(0.6);
  opacity: 0;
  z-index: 1;
}
.mbti-item.pos-hidden {
  transform: translateX(0) translateZ(-200px) scale(0.3);
  opacity: 0;
  z-index: 0;
}
.mbti-emoji {
  font-size: 30px;
  margin-bottom: 2px;
  line-height: 1;
}
.mbti-code {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--accent);
  line-height: 1;
}
.mbti-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.mbti-item-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.mbti-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
}
.mbti-tags span {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212,175,122,.2);
}
.mbti-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.mbti-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.mbti-dot.active { background: var(--accent); transform: scale(1.5); }
.mbti-counter {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
#mbtiCurrent { color: var(--accent); font-weight: 700; font-size: 16px; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.fg-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}
.fg-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.fg-icon { font-size: 32px; margin-bottom: 16px; }
.fg-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.fg-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }


/* ═══════════════ PRODUCTS SECTION ═══════════════ */
.products-section {
  padding: 120px 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.products-header {
  text-align: center;
  padding: 0 24px 64px;
}
.products-header .section-title { margin-bottom: 8px; }
.products-header .section-desc  { margin: 0; }

/* Marquee – JS-driven transform, CSS animation disabled */
.products-marquee-outer {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  /* Force compositing layer so iOS Safari clips children correctly */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.products-marquee-outer::before,
.products-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.products-marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft), transparent);
}
.products-marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft), transparent);
}
.products-marquee-inner {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  /* NO CSS animation – JS drives translateX instead */
}

.prod-card {
  flex-shrink: 0;
  width: 220px;
  margin-right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.prod-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.prod-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.05); }
.prod-img-placeholder {
  font-size: 3.5rem;
  opacity: .5;
}
.prod-info { padding: 16px; }
.prod-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.prod-price { font-size: 16px; font-weight: 700; color: var(--accent); }
.prod-colors { display: flex; gap: 4px; margin-top: 8px; }
.prod-color-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}

.products-cta {
  text-align: center;
  padding-top: 56px;
}
.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: opacity var(--transition), transform var(--transition);
}
.cta-btn:hover { opacity: .85; transform: scale(1.02); }


/* ═══════════════ PRODUCT MODAL ═══════════════ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.product-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.product-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(.95) translateY(20px);
  transition: transform var(--transition);
}
.product-modal-overlay.open .product-modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }

.modal-product-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.modal-img-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--bg-card-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.modal-img-item img { width: 100%; height: 100%; object-fit: cover; }
.modal-product-name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal-product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.modal-product-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.modal-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.meta-tag {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
}
.modal-product-colors { margin-bottom: 24px; }
.modal-colors-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.modal-colors-list { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-color-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.modal-color-item:hover { border-color: var(--accent); }
.modal-color-swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}
.modal-buy-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.modal-buy-btn:hover { opacity: .85; }

/* Single-image layout for website showcase products */
.modal-product-images--single {
  grid-template-columns: 1fr;
}
.modal-img-item--single {
  aspect-ratio: 4/3;
}

/* Shop buttons row (Taobao + Xiaohongshu) */
.modal-shop-btns {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.modal-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
}
.modal-shop-btn:hover { opacity: .85; transform: translateY(-1px); }
.modal-shop-btn--taobao {
  background: #FF5000;
  color: #fff;
}
.modal-shop-btn--xhs {
  background: #FF2442;
  color: #fff;
}


/* ═══════════════ BUSINESS INQUIRY MODAL ═══════════════ */
.inquiry-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inquiry-overlay.open { display: flex; }
.inquiry-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.inquiry-header { text-align: center; margin-bottom: 28px; }
.inquiry-icon { font-size: 2.5rem; margin-bottom: 10px; }
.inquiry-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 8px; }
.inquiry-subtitle { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.inquiry-form { display: flex; flex-direction: column; gap: 16px; }
.inquiry-row { display: flex; gap: 14px; }
.inquiry-row .inquiry-field { flex: 1; min-width: 0; }
.inquiry-field { display: flex; flex-direction: column; gap: 6px; }
.inquiry-field label {
  font-size: 13px;
  color: var(--text-muted);
}
.inquiry-field--required label::after {
  content: ' *';
  color: #ff4d4f;
}
.inquiry-field input,
.inquiry-field textarea {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: none;
  transition: border-color var(--transition);
}
.inquiry-field input:focus,
.inquiry-field textarea:focus { border-color: var(--accent); }
.inquiry-error { font-size: 13px; color: #ff4d4f; min-height: 18px; margin: -4px 0; }
.inquiry-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.inquiry-submit:hover { opacity: .88; transform: translateY(-1px); }
.inquiry-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.inquiry-success {
  text-align: center;
  padding: 20px 0 10px;
  font-size: 1rem;
  color: var(--text);
}
@media (max-width: 480px) {
  .inquiry-modal { padding: 32px 20px 24px; }
  .inquiry-row { flex-direction: column; gap: 16px; }
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-brand { flex: 0 0 200px; }
.footer-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 13px; color: var(--text-muted); }
.footer-links { flex: 1; display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

/* QR code column */
.footer-qr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.footer-qr-btn {
  display: none; /* desktop: QR code already visible, hide the button */
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}


/* ═══════════════ HAMBURGER / MOBILE NAV ═══════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 2px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(255,255,255,.06); }
.hb-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open .hb-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hb-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .hb-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(6,6,6,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 998;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
  pointer-events: none;
}
.mobile-nav.open {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0 16px;
}
.mobile-nav-links a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color 0.2s, background 0.2s;
  display: block;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:active,
.mobile-nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.mobile-nav-cta {
  color: var(--accent) !important;
  font-weight: 700 !important;
  margin-top: 8px;
}


/* ═══════════════ RESPONSIVE ═══════════════ */

/* ─── Tablet ≤ 900px ─── */
@media (max-width: 900px) {
  .medals-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mc-icon-ring { width: 76px; height: 76px; }
  .mc-icon-ring svg { width: 38px; height: 38px; }
  .mc-icon-ring img { width: 50px; height: 50px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .care-inner { grid-template-columns: 1fr; gap: 48px; }
  .pet-info-card { right: -140px; width: 165px; font-size: 11px; }
  .mbti-stage { height: 340px; }
  .mbti-item.pos-prev  { transform: translateX(-160px) translateZ(-30px) rotateY(20deg) scale(0.82); }
  .mbti-item.pos-next  { transform: translateX(160px)  translateZ(-30px) rotateY(-20deg) scale(0.82); }
  .tech-scene { height: 260px; max-width: 600px; }
  .dog-body { width: 140px; height: 180px; }
  .phone-body { width: 100px; height: 200px; }
  .pc-deck { width: 300px; }
}

/* ─── Mobile ≤ 768px ─── */
@media (max-width: 768px) {
  /* Hamburger visible */
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }

  /* Nav layout: logo left, controls right */
  .nav-inner { justify-content: space-between; gap: 12px; }

  /* Hero: full viewport height on mobile browsers */
  .hero {
    height: 100svh; /* svh = smallest viewport height, excludes browser chrome */
    height: 100dvh; /* dvh overrides svh on browsers that support it */
    min-height: 500px;
  }

  /* NFC rings hidden on mobile (managed by display:contents + order) */

  /* Tech: static column layout: scene row → mico card → text */
  .tech-section { height: auto !important; min-height: auto; }
  .tech-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    padding: 56px 20px 48px;
    gap: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;  /* clips initial GSAP x-offsets */
  }
  /* Scene is a row: dog-card on left, phone on right */
  .tech-scene {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 180px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    overflow: hidden;
  }
  .tech-dog   { flex: 0 0 auto; }
  .dog-body   { width: 130px; height: 162px; }
  .nfc-rings  { display: none !important; }
  .tech-phone { flex: 0 0 auto; }
  .phone-body { width: 96px; height: 192px; }
  /* Mico card wraps to full width inside scene */
  .pet-info-card {
    flex: 0 0 100%;
    position: static !important;
    display: flex !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    right: auto !important;
    top: auto !important;
    opacity: 0;
    box-shadow: none;
    padding: 12px;
    gap: 8px;
  }
  .pic-avatar-img { height: 70px; }
  .pic-info-rows  { display: flex; }
  .pic-sos-btn    { font-size: 13px; padding: 10px; }
  .tech-text { padding: 0; max-width: 100%; text-align: center; }
  .tech-steps { gap: 10px; flex-direction: column; align-items: center; }
  .tech-headline { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* Philosophy deck */
  .pc-deck { width: 280px; height: 210px; }
  .pc-nav-row { gap: 16px; }
  .pc-behavior-text { font-size: 14px; line-height: 1.75; }
  .pc-quote-text { font-size: 14px; line-height: 1.75; }

  /* MBTI */
  .mbti-stage { width: calc(100vw - 100px); height: 320px; }
  .mbti-item { width: 180px; left: calc(50% - 90px); padding: 22px 16px 14px; }
  .mbti-item.pos-prev  { transform: translateX(-130px) translateZ(-30px) rotateY(20deg) scale(0.78); }
  .mbti-item.pos-next  { transform: translateX(130px)  translateZ(-30px) rotateY(-20deg) scale(0.78); }
  .mbti-nav { flex: 0 0 36px; width: 36px; height: 36px; font-size: 15px; }
  .mbti-outer { gap: 10px; }

  /* Medals */
  .medals-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* ── Products mobile overrides ── */
  .products-section { overflow: hidden; }
  .products-marquee-outer {
    overflow: hidden;
    padding: 8px 0 16px;
  }
  .products-marquee-outer::before,
  .products-marquee-outer::after { display: none !important; }
  .products-marquee-inner {
    padding: 4px 16px;
    gap: 14px;
    cursor: default;
  }
  .products-marquee-inner .prod-card[data-clone] { display: block; }
  .prod-card {
    flex-shrink: 0;
    width: 72vw;
    max-width: 240px;
    margin-right: 0;
  }

  /* Footer */
  .footer { padding: 40px 20px 28px; }
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer-brand {
    flex: none; /* remove the 200px flex-basis that forces a tall block in column layout */
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .footer-logo { font-size: 22px; margin-bottom: 0; }
  .footer-tagline { font-size: 12px; }
  .footer-links {
    gap: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-col { min-width: 0; gap: 8px; }
  .footer-col-title { font-size: 11px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { margin-top: 28px; padding-top: 18px; }
  /* QR code on mobile: full-width row with button */
  .footer-qr {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
  }
  .footer-qr-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  .footer-qr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: #07c160;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    text-decoration: none;
    letter-spacing: .02em;
    transition: opacity 0.2s;
  }
  .footer-qr-btn:hover { opacity: 0.85; }
}

/* ─── Mobile ≤ 640px ─── */
@media (max-width: 640px) {
  .modal-product-images { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Product modal: near full-screen */
  .product-modal {
    max-height: 92vh;
    padding: 24px 20px;
    border-radius: var(--radius-sm);
  }
  .product-modal-overlay { padding: 16px; align-items: flex-end; }
}

/* ─── Small phones ≤ 480px ─── */
@media (max-width: 480px) {
  :root { --nav-h: 52px; }

  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 18px; }
  .slogan-section { padding: 80px 18px; }

  /* Hero */
  .hero-eyebrow { margin-bottom: 120px; font-size: 11px; }
  .hero-tagline { margin-top: 136px; }

  /* Nav: hide lang toggle text overlap */
  .lang-toggle { font-size: 10px; padding: 4px 10px; }

  /* Tech scene: scale down elements */
  .dog-body { width: 110px; height: 148px; }
  .dog-emoji { font-size: 48px; }
  .phone-body { width: 86px; height: 172px; }
  .tech-scene { height: auto; }
  .nfc-rings { width: 150px; height: 150px; }
  .r1 { width: 60px;  height: 60px; }
  .r2 { width: 90px;  height: 90px; }
  .r3 { width: 124px; height: 124px; }
  .nfc-chip-dot { width: 36px; height: 36px; border-radius: 8px; }
  .nfc-chip-dot svg { width: 22px; height: 22px; }

  /* Philosophy */
  .pc-deck { width: 260px; height: 200px; }
  .pc-face { padding: 20px 18px 16px; }
  .pc-nav-row { gap: 10px; }
  .pc-nav-btn { width: 36px; height: 36px; font-size: 15px; }
  .pc-behavior-text { font-size: 13px; }

  /* MBTI */
  .mbti-stage { width: calc(100vw - 80px); height: 290px; }
  .mbti-item { width: 160px; left: calc(50% - 80px); padding: 18px 14px 12px; }
  .mbti-item.pos-prev  { transform: translateX(-110px) translateZ(-30px) rotateY(18deg) scale(0.74); }
  .mbti-item.pos-next  { transform: translateX(110px)  translateZ(-30px) rotateY(-18deg) scale(0.74); }
  .mbti-nav { flex: 0 0 32px; width: 32px; height: 32px; font-size: 14px; }
  .mbti-outer { gap: 6px; }

  /* Medals */
  .medals-grid { gap: 8px; }
  .mc-icon-ring { width: 68px; height: 68px; }
  .mc-icon-ring svg { width: 34px; height: 34px; }
  .mc-icon-ring img { width: 44px; height: 44px; }
  .mc-title { font-size: 13px; }
  .mc-desc { font-size: 11px; }

  /* Footer */
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .footer-bottom { font-size: 11px; }

  /* Products modal */
  .product-modal { padding: 20px 16px; }
  .modal-product-name { font-size: 18px; }
  .modal-product-price { font-size: 20px; }

  /* Section titles */
  .section-title { margin-bottom: 18px; }
  .section-desc { margin-bottom: 36px; }
}

/* ─── Touch interaction improvements ─── */
.pc-deck,
.mbti-stage {
  touch-action: pan-y;
}
/* marquee gets pan-y globally; mobile overrides to pan-x for scroll-snap */
.products-marquee-outer {
  touch-action: pan-y;
}
.pc-card,
.pc-nav-btn,
.mbti-nav,
.pc-dot,
.mbti-dot,
.nav-hamburger,
.lang-toggle,
.nav-cta {
  /* Minimum 44px tap target on touch devices */
  -webkit-tap-highlight-color: transparent;
}
.pc-nav-btn,
.mbti-nav,
.pc-dot,
.mbti-dot {
  cursor: pointer;
}

/* ─── Tiny screens ≤ 360px ─── */
@media (max-width: 360px) {
  .pc-deck { width: 230px; height: 190px; }
  .mbti-item { width: 148px; left: calc(50% - 74px); }
  .mbti-item.pos-prev  { transform: translateX(-96px) translateZ(-30px) rotateY(18deg) scale(0.70); }
  .mbti-item.pos-next  { transform: translateX(96px)  translateZ(-30px) rotateY(-18deg) scale(0.70); }
}

/* ─── Landscape phones ─── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-eyebrow { margin-bottom: 112px; }
  .hero-tagline { margin-top: 120px; }
  .section { padding: 60px 20px; }
  .tech-sticky { padding: 40px 20px 36px; gap: 24px; }
  .tech-scene { height: 160px; }
  .dog-body { width: 90px; height: 120px; }
  .phone-body { width: 72px; height: 144px; }
}

/* ═══════════════ SCROLLBAR ═══════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ═══════════════ SELECTION ═══════════════ */
::selection { background: var(--accent); color: #000; }


/* ═══════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ═══════════════════════════════════════════════ */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  padding: 5px 9px;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color var(--transition), background var(--transition);
  font-family: inherit;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-dim); }

/* Individual dot */
.td {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .25s, box-shadow .25s, outline .25s;
  cursor: pointer;
}
.td-dark  { background: #1c1c1e; border: 1.5px solid rgba(255,255,255,.25); }
.td-light { background: #f5f5f7; border: 1.5px solid rgba(0,0,0,.2); }
.td-candy { background: linear-gradient(135deg, #f0b8ca 45%, #7eb8cc 55%); }
.td.active {
  transform: scale(1.5);
  box-shadow: 0 0 0 2px var(--accent);
}
/* Light/candy theme: fix toggle button border */
body.theme-light .theme-toggle,
body.theme-candy .theme-toggle { border-color: rgba(0,0,0,.14); }
body.theme-light .theme-toggle:hover,
body.theme-candy .theme-toggle:hover { border-color: var(--accent); }


/* ═══════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════ */
body.theme-light {
  --bg:          #ffffff;
  --bg-soft:     #f5f5f7;
  --bg-card:     #ffffff;
  --bg-card-2:   #eeeeef;
  --border:      rgba(0,0,0,.09);
  --text:        #1d1d1f;
  --text-muted:  #6e6e73;
  --accent:      #a07840;
  --accent-dim:  rgba(160,120,64,.12);
  --accent-glow: rgba(160,120,64,.2);
  --green:       #28a870;
}

/* Nav */
body.theme-light .nav.scrolled {
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--border);
}
body.theme-light .nav-logo { color: var(--text); }
body.theme-light .lang-toggle { border-color: rgba(0,0,0,.15); color: var(--text-muted); }
body.theme-light .lang-toggle:hover,
body.theme-light .lang-toggle.is-en { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
body.theme-light .hb-bar { background: var(--text); }
body.theme-light .nav-hamburger:hover { background: rgba(0,0,0,.05); }

/* Mobile nav */
body.theme-light .mobile-nav {
  background: rgba(250,250,252,.96);
  border-bottom-color: var(--border);
}
body.theme-light .mobile-nav-links a { border-bottom-color: rgba(0,0,0,.06); }
body.theme-light .mobile-nav-links a:hover { background: rgba(0,0,0,.03); }

/* Hero */
body.theme-light .hero-video-placeholder {
  background: linear-gradient(135deg, #e8e8ed 0%, #dcdce4 25%, #c8ccd8 55%, #d4d0e0 100%);
  background-size: 400% 400%;
}
body.theme-light .hero-video-placeholder::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(160,120,64,.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(80,80,130,.12) 0%, transparent 40%);
}
body.theme-light .hero-overlay {
  background: linear-gradient(to bottom, rgba(255,255,255,.15) 0%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.65) 100%);
}
body.theme-light .hero-brand { color: #1d1d1f; text-shadow: none; }
body.theme-light .hero-tagline { color: rgba(29,29,31,.65); }
body.theme-light .scroll-arrow-svg { color: rgba(0,0,0,.45); }

/* Philosophy cards */
body.theme-light .pc-front {
  background: linear-gradient(145deg, #faf5ee 0%, #f3ece2 60%, #ece3d6 100%);
  border-color: rgba(160,120,64,.3);
}
body.theme-light .pc-back {
  background: linear-gradient(135deg, #fdf8f0 0%, #f8f0e4 100%);
  border-color: var(--accent);
  box-shadow: 0 24px 72px rgba(0,0,0,.15), 0 0 40px var(--accent-glow);
}
body.theme-light .pc-behavior-text { color: #3a3028; }
body.theme-light .pc-face { box-shadow: 0 24px 64px rgba(0,0,0,.15); }

/* Medal cards */
body.theme-light .medal-card {
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
  border-color: rgba(0,0,0,.07);
}
body.theme-light .mc-icon-ring {
  background: radial-gradient(circle, #f8f4ee 0%, #ede8e0 70%);
  border-color: rgba(0,0,0,.1);
}
body.theme-light .mc-lock-overlay { background: rgba(0,0,0,.35); }
body.theme-light .mc-status.locked {
  background: rgba(0,0,0,.04);
  color: rgba(0,0,0,.3);
  border-color: rgba(0,0,0,.08);
}

/* Phone screen */
body.theme-light .phone-screen { background: #f0f0f4; }

/* Footer */
body.theme-light .footer { background: var(--bg-soft); }

/* Scrollbar */
body.theme-light ::-webkit-scrollbar-track { background: var(--bg); }
body.theme-light ::-webkit-scrollbar-thumb { background: #ccc; }
body.theme-light ::-webkit-scrollbar-thumb:hover { background: #aaa; }


/* ═══════════════════════════════════════════════
   CANDY THEME
   (Ice Blue + Forest Green + Blush Pink from photo)
   ═══════════════════════════════════════════════ */
body.theme-candy {
  --bg:          #f6efeb;
  --bg-soft:     #ede4de;
  --bg-card:     #fff8f5;
  --bg-card-2:   #f0e8e2;
  --border:      rgba(80,50,35,.1);
  --text:        #2b1d16;
  --text-muted:  #8a7060;
  --accent:      #5da4bc;
  --accent-dim:  rgba(93,164,188,.14);
  --accent-glow: rgba(93,164,188,.28);
  --green:       #4d8060;
}

/* Nav */
body.theme-candy .nav.scrolled {
  background: rgba(246,239,235,.9);
  border-bottom: 1px solid var(--border);
}
body.theme-candy .nav-logo { color: var(--text); }
body.theme-candy .lang-toggle { border-color: rgba(80,50,35,.18); color: var(--text-muted); }
body.theme-candy .lang-toggle:hover,
body.theme-candy .lang-toggle.is-en { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
body.theme-candy .hb-bar { background: var(--text); }
body.theme-candy .nav-hamburger:hover { background: rgba(0,0,0,.05); }

/* Mobile nav */
body.theme-candy .mobile-nav {
  background: rgba(246,239,235,.96);
  border-bottom-color: var(--border);
}
body.theme-candy .mobile-nav-links a { border-bottom-color: rgba(80,50,35,.06); }
body.theme-candy .mobile-nav-links a:hover { background: rgba(93,164,188,.06); }

/* Hero — pastel pink-to-sky-blue gradient */
body.theme-candy .hero-video-placeholder {
  background: linear-gradient(
    135deg,
    #f5c4d0 0%,
    #e8d5e0 20%,
    #c8dde8 45%,
    #a8ccd8 65%,
    #b8d8cc 85%,
    #c8e0d0 100%
  );
  background-size: 400% 400%;
}
body.theme-candy .hero-video-placeholder::before {
  background-image:
    radial-gradient(circle at 25% 35%, rgba(240,180,200,.3) 0%, transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(93,164,188,.2) 0%, transparent 45%);
}
body.theme-candy .hero-overlay {
  background: linear-gradient(to bottom, rgba(246,239,235,.1) 0%, rgba(246,239,235,.2) 50%, rgba(246,239,235,.7) 100%);
}
body.theme-candy .hero-brand { color: #2b1d16; text-shadow: 0 0 80px rgba(93,164,188,.2); }
body.theme-candy .hero-tagline { color: rgba(43,29,22,.65); }
body.theme-candy .scroll-arrow-svg { color: rgba(43,29,22,.45); }

/* Philosophy cards */
body.theme-candy .pc-front {
  background: linear-gradient(145deg, #deeef5 0%, #d2e8f2 60%, #c8e2ee 100%);
  border-color: rgba(93,164,188,.4);
}
body.theme-candy .pc-back {
  background: linear-gradient(135deg, #e8f4fa 0%, #daeef8 100%);
  border-color: var(--accent);
  box-shadow: 0 24px 72px rgba(0,0,0,.12), 0 0 40px var(--accent-glow);
}
body.theme-candy .pc-behavior-text { color: #1e3040; }
body.theme-candy .pc-flip-hint { color: rgba(93,164,188,.7); }
body.theme-candy .pc-front::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
body.theme-candy .pc-face { box-shadow: 0 24px 64px rgba(0,0,0,.12); }

/* Medal cards */
body.theme-candy .medal-card {
  background: linear-gradient(145deg, #fff5f0 0%, #f5e8e0 100%);
  border-color: rgba(80,50,35,.08);
}
body.theme-candy .mc-icon-ring {
  background: radial-gradient(circle, #e8f4fa 0%, #d8ecf5 70%);
  border-color: rgba(93,164,188,.25);
}
body.theme-candy .medal-card.is-unlocked .mc-icon-ring {
  border-color: rgba(93,164,188,.6);
  box-shadow: 0 0 0 4px rgba(93,164,188,.08),
              0 0 24px rgba(93,164,188,.2),
              inset 0 0 24px rgba(93,164,188,.06);
}
body.theme-candy .mc-lock-overlay { background: rgba(246,239,235,.6); color: rgba(43,29,22,.25); }
body.theme-candy .mc-status.locked {
  background: rgba(80,50,35,.04);
  color: rgba(43,29,22,.3);
  border-color: rgba(80,50,35,.1);
}

/* Care section dot border */
body.theme-candy .ci-dot { border-color: var(--bg); }

/* Phone screen */
body.theme-candy .phone-screen { background: #deeef6; }
body.theme-candy .phone-app-header { color: var(--accent); }

/* Footer */
body.theme-candy .footer { background: var(--bg-soft); }

/* Scrollbar */
body.theme-candy ::-webkit-scrollbar-track { background: var(--bg); }
body.theme-candy ::-webkit-scrollbar-thumb { background: #c8b0a0; }
body.theme-candy ::-webkit-scrollbar-thumb:hover { background: #a89080; }

