/* === MochiPet Theme === */
/* Warm, soft, healing aesthetic */

:root {
  --bg: #FFF8F0;
  --bg-warm: #FFE5D9;
  --bg-cream: #FFFAF5;
  --fg: #5D4037;
  --fg-light: #8D6E63;
  --fg-muted: #A1887F;
  --accent: #FF9B85;
  --accent-soft: #FFB4A2;
  --mint: #A8E6CF;
  --mint-soft: #C8F0DE;
  --lavender: #D4B8E0;
  --lavender-soft: #E8D5F0;
  --sky: #B3D4FC;
  --peach: #FFDAB9;
  --pink: #FFD1DC;
  --shadow: rgba(93, 64, 55, 0.08);
  --shadow-md: rgba(93, 64, 55, 0.12);
  --radius: 20px;
  --radius-lg: 32px;
  --radius-round: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Nunito', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--mint-soft);
  top: -100px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--lavender-soft);
  bottom: 10%;
  left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 180px;
  height: 180px;
  background: var(--pink);
  top: 30%;
  left: 15%;
  animation: float 7s ease-in-out infinite 1s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: var(--sky);
  bottom: 20%;
  right: 15%;
  animation: float 9s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}

/* === Pet CSS Art === */
.pet-display {
  position: relative;
  margin: 0 auto 48px;
  width: 180px;
  height: 180px;
}

.pet-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.pet-body {
  position: relative;
  width: 140px;
  height: 120px;
  margin: 20px auto 0;
  background: linear-gradient(135deg, #FFE0D0 0%, #FFD1C1 50%, #FFC4B0 100%);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 8px 32px var(--shadow-md);
  animation: pet-bounce 2s ease-in-out infinite;
}

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

.pet-face {
  position: relative;
  width: 100%;
  height: 100%;
}

.pet-eye {
  position: absolute;
  width: 14px;
  height: 18px;
  background: var(--fg);
  border-radius: 50%;
  top: 38%;
}

.pet-eye.left { left: 32%; }
.pet-eye.right { right: 32%; }

.pet-eye::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  top: 3px;
  right: 2px;
}

.pet-blush {
  position: absolute;
  width: 22px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  top: 55%;
}

.pet-blush.left { left: 18%; }
.pet-blush.right { right: 18%; }

.pet-mouth {
  position: absolute;
  width: 16px;
  height: 8px;
  border-bottom: 3px solid var(--fg);
  border-radius: 0 0 50% 50%;
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
}

.pet-shadow {
  width: 100px;
  height: 16px;
  background: var(--shadow);
  border-radius: 50%;
  margin: 8px auto 0;
  animation: shadow-pulse 2s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% { transform: scaleX(1); opacity: 0.3; }
  50% { transform: scaleX(0.85); opacity: 0.2; }
}

.pet-eye.sleepy {
  height: 4px;
  top: 42%;
  border-radius: 4px;
}

.pet-mouth.sleepy {
  width: 12px;
  height: 6px;
  border-bottom: 2px solid var(--fg);
  border-radius: 0 0 50% 50%;
  top: 60%;
}

h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 20px;
}

.highlight {
  color: var(--accent);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  opacity: 0.4;
  z-index: -1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-light);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: white;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-light);
  box-shadow: 0 2px 12px var(--shadow);
}

/* === Companion Section === */
.companion {
  padding: 100px 24px;
  background: var(--bg-cream);
}

.companion-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.companion h2,
.interactions h2,
.growth h2,
.routine h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}

.companion-desc {
  font-size: 1.05rem;
  color: var(--fg-light);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.status-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease;
}

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

.status-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: 12px;
}

.status-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.status-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-warm);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.status-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.status-fill.hunger { width: 75%; background: var(--accent); }
.status-fill.mood { width: 90%; background: var(--mint); }
.status-fill.energy { width: 60%; background: var(--sky); }
.status-fill.clean { width: 85%; background: var(--lavender); }

.status-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === Interactions === */
.interactions {
  padding: 100px 24px;
  background: var(--bg);
}

.interactions-inner {
  max-width: 900px;
  margin: 0 auto;
}

.interaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.interaction-item {
  text-align: center;
}

.interaction-circle {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  box-shadow: 0 6px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interaction-item:hover .interaction-circle {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 32px var(--shadow-md);
}

.interaction-item h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.interaction-item p {
  font-size: 0.88rem;
  color: var(--fg-light);
  line-height: 1.6;
}

/* === Growth === */
.growth {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 100%);
}

.growth-inner {
  max-width: 700px;
  margin: 0 auto;
}

.growth-timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 40px;
}

.growth-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--mint) 50%, var(--lavender) 100%);
  border-radius: 2px;
}

.growth-stage {
  position: relative;
  margin-bottom: 40px;
}

.growth-stage:last-child {
  margin-bottom: 0;
}

.stage-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 25px;
  height: 25px;
  border-radius: var(--radius-round);
  background: white;
  border: 3px solid var(--accent-soft);
  z-index: 1;
}

.stage-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 155, 133, 0.2);
}

.stage-content {
  background: white;
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 4px 20px var(--shadow);
}

.stage-level {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stage-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.stage-content p {
  font-size: 0.92rem;
  color: var(--fg-light);
  line-height: 1.7;
}

/* === Routine === */
.routine {
  padding: 100px 24px;
  background: var(--bg);
}

.routine-inner {
  max-width: 900px;
  margin: 0 auto;
}

.routine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.routine-card {
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.routine-card.morning {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFE8CC 100%);
}

.routine-card.afternoon {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.routine-card.evening {
  background: linear-gradient(135deg, #E8EAF6 0%, #D1C4E9 100%);
}

.routine-time {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.routine-card p {
  font-size: 0.95rem;
  color: var(--fg-light);
  line-height: 1.7;
}

/* === Vision === */
.vision {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.vision-inner {
  max-width: 640px;
  margin: 0 auto;
}

.vision-pet {
  margin-bottom: 40px;
}

.vision-pet-body {
  width: 100px;
  height: 85px;
  margin: 0 auto;
  background: linear-gradient(135deg, #FFE0D0 0%, #FFD1C1 50%, #FFC4B0 100%);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 6px 24px var(--shadow);
  position: relative;
  animation: pet-bounce 3s ease-in-out infinite;
}

.vision h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
  color: var(--fg);
}

.vision-sub {
  font-size: 1.05rem;
  color: var(--fg-light);
  line-height: 1.8;
}

/* === Footer === */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-warm);
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.site-footer p {
  font-size: 0.9rem;
  color: var(--fg-light);
  margin-bottom: 16px;
}

.footer-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-meta span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .pet-display {
    width: 140px;
    height: 140px;
    margin-bottom: 32px;
  }

  .pet-body {
    width: 110px;
    height: 95px;
  }

  .pet-glow {
    width: 160px;
    height: 160px;
  }

  .companion,
  .interactions,
  .growth,
  .routine,
  .vision {
    padding: 60px 20px;
  }

  .status-cards {
    grid-template-columns: 1fr;
  }

  .interaction-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .routine-cards {
    grid-template-columns: 1fr;
  }

  .growth-timeline {
    padding-left: 36px;
  }

  .shape-1 { width: 250px; height: 250px; }
  .shape-2 { width: 150px; height: 150px; }
  .shape-3 { width: 100px; height: 100px; }
  .shape-4 { width: 80px; height: 80px; }
}

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

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
}