:root {
  --bg-candy: #fff4f7;
  --pink: #ff8fb1;
  --pink-deep: #d9487b;
  --peach: #ffc9a8;
  --mint: #8ee3c8;
  --yellow: #ffe58a;
  --ink: #3b2a4a;
  --ink-soft: #6a577d;
  --clay-radius: 32px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-candy);
  color: var(--ink);
  font-family: "Nunito", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-candy);
  color: var(--ink);
  line-height: 1.65;
  position: relative;
}

h1, h2, h3, .font-clay {
  font-family: "Fredoka", "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

/* Floating Clay Blobs */
.clay-bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.clay-blob {
  position: absolute;
  border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
  box-shadow:
    inset 12px 14px 24px rgba(255, 255, 255, 0.72),
    inset -12px -16px 26px rgba(59, 42, 74, 0.08),
    0 24px 48px rgba(255, 143, 177, 0.22);
  opacity: 0.7;
  animation: clayFloat 14s ease-in-out infinite alternate;
}

.cb-1 {
  width: 280px;
  height: 280px;
  top: -60px;
  left: -60px;
  background: #ffdbe7;
}

.cb-2 {
  width: 320px;
  height: 320px;
  top: 26%;
  right: -90px;
  background: #dff8ef;
  animation-delay: -5s;
}

.cb-3 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 12%;
  background: #ffebd9;
  animation-delay: -9s;
}

@keyframes clayFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(22px, 28px) rotate(8deg); }
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* 3D Clay Surface (32px radius + inner highlight + inner shadow + soft outer shadow) */
.clay-card {
  border-radius: var(--clay-radius);
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 6px 8px 16px rgba(255, 255, 255, 0.95),
    inset -8px -10px 18px rgba(217, 152, 180, 0.22),
    0 18px 36px -10px rgba(59, 42, 74, 0.14);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.clay-card:hover {
  transform: translateY(-4px) rotate(-0.8deg);
  box-shadow:
    inset 6px 8px 16px rgba(255, 255, 255, 0.95),
    inset -8px -10px 18px rgba(217, 152, 180, 0.28),
    0 24px 44px -10px rgba(217, 72, 123, 0.2);
}

.clay-pink {
  background: linear-gradient(155deg, #ffe5ee, #ffd3e2);
}

.clay-mint {
  background: linear-gradient(155deg, #e5fbf3, #ccf4e7);
}

.clay-peach {
  background: linear-gradient(155deg, #ffefe3, #ffe0cb);
}

.clay-yellow {
  background: linear-gradient(155deg, #fff8d9, #ffefaf);
}

/* Sticky Header */
.clay-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 244, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 143, 177, 0.22);
}

.header-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-clay-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffd8e6, #ffb6ce);
  box-shadow:
    inset 3px 3px 6px rgba(255, 255, 255, 0.8),
    inset -3px -4px 8px rgba(217, 72, 123, 0.25),
    0 6px 14px rgba(217, 72, 123, 0.22);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--pink-deep);
}

.nav-pill-highlight {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink) !important;
  box-shadow:
    inset 2px 3px 5px rgba(255, 255, 255, 0.85),
    inset -2px -3px 6px rgba(201, 152, 24, 0.25),
    0 6px 12px rgba(255, 229, 138, 0.55);
}

.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: none;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 2px 2px 5px #fff,
    inset -2px -3px 6px rgba(59, 42, 74, 0.12),
    0 5px 12px rgba(59, 42, 74, 0.1);
}

.mobile-panel {
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(59, 42, 74, 0.08);
}

.mobile-panel a {
  padding: 10px 14px;
  border-radius: 16px;
  background: #ffffff;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .mobile-btn {
    display: none;
  }
}

/* Squishy Clay Buttons */
.btn-clay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.24s ease;
}

.btn-clay:hover {
  transform: translateY(-2px);
}

.btn-clay:active {
  transform: scale(0.94);
}

.btn-candy-pink {
  padding: 14px 26px;
  background: linear-gradient(145deg, #ff8fb1, #e84e84);
  color: #ffffff;
  box-shadow:
    inset 4px 5px 10px rgba(255, 255, 255, 0.45),
    inset -4px -5px 10px rgba(163, 27, 74, 0.35),
    0 12px 24px rgba(232, 78, 132, 0.34);
}

.btn-candy-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-candy-mint {
  padding: 14px 24px;
  background: linear-gradient(145deg, #a7eed7, #72d9b8);
  color: var(--ink);
  box-shadow:
    inset 4px 5px 10px rgba(255, 255, 255, 0.65),
    inset -4px -5px 10px rgba(45, 138, 108, 0.25),
    0 12px 22px rgba(114, 217, 184, 0.35);
}

.btn-candy-yellow {
  padding: 11px 20px;
  background: linear-gradient(145deg, #ffefad, #ffd85c);
  color: var(--ink);
  box-shadow:
    inset 3px 4px 8px rgba(255, 255, 255, 0.7),
    inset -3px -4px 8px rgba(191, 141, 13, 0.25),
    0 8px 18px rgba(255, 216, 92, 0.4);
}

/* Hero Grid */
.hero-sec {
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.candy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow:
    inset 3px 3px 6px #fff,
    inset -3px -4px 8px rgba(255, 143, 177, 0.25),
    0 8px 18px rgba(255, 143, 177, 0.2);
}

.hero-h1 {
  margin: 18px 0 12px;
  font-size: clamp(1.95rem, 4.3vw, 3.1rem);
  line-height: 1.2;
  color: var(--ink);
}

.hero-sub {
  margin: 0 0 14px;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  font-weight: 800;
  color: var(--pink-deep);
}

.hero-p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clay-chip {
  padding: 8px 15px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow:
    inset 2px 3px 6px #fff,
    inset -2px -3px 6px rgba(59, 42, 74, 0.08),
    0 6px 14px rgba(59, 42, 74, 0.08);
}

/* Hero Visual Clay Stage */
.mascot-card {
  padding: 26px;
  text-align: center;
}

.mascot-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-btn:active {
  transform: scale(0.93);
}

.speed-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 3px 4px 8px rgba(255, 255, 255, 0.9),
    inset -3px -4px 8px rgba(59, 42, 74, 0.08);
}

.gauge-needle {
  transform-origin: 100px 100px;
  transition: transform 1.2s cubic-bezier(0.34, 1.45, 0.64, 1);
}

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

@media (max-width: 520px) {
  .stats-3 {
    grid-template-columns: 1fr;
  }
}

.stat-clay-mini {
  padding: 12px 10px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    inset 2px 3px 6px #fff,
    inset -2px -3px 6px rgba(59, 42, 74, 0.08);
}

.stat-clay-mini strong {
  display: block;
  font-size: 1.12rem;
  color: var(--pink-deep);
}

.stat-clay-mini span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Sections */
.sec {
  padding: 58px 0;
}

.sec-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 38px;
}

.sec-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  color: var(--ink);
}

.sec-head p {
  margin: 0;
  color: var(--ink-soft);
}

.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 20px; grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feat-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.feat-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--pink-deep);
  box-shadow:
    inset 3px 3px 6px #fff,
    inset -3px -4px 7px rgba(59, 42, 74, 0.1);
}

.pill-tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.media-clay {
  padding: 30px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.candy-chip {
  padding: 9px 16px;
  border-radius: 18px;
  background: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow:
    inset 2px 3px 5px #fff,
    inset -2px -3px 6px rgba(59, 42, 74, 0.08),
    0 5px 10px rgba(59, 42, 74, 0.06);
}

/* Segmented Billing Control */
.seg-wrap {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  margin-top: 18px;
  box-shadow:
    inset 3px 3px 8px rgba(59, 42, 74, 0.1),
    0 8px 18px rgba(255, 143, 177, 0.18);
}

.seg-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  background: transparent;
  color: var(--ink-soft);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.seg-btn.active {
  background: linear-gradient(145deg, #ff8fb1, #e84e84);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(232, 78, 132, 0.3);
}

.plan-clay {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-clay.spring-bump {
  transform: scale(1.03) translateY(-4px);
}

.plan-price-clay {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--pink-deep);
  margin: 10px 0 16px;
}

.plan-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-bullets li::before {
  content: "✔ ";
  color: #16a34a;
}

/* Carousel Reviews */
.carousel-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

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

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(59, 42, 74, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dot-btn.active {
  width: 30px;
  background: var(--pink-deep);
}

/* Bouncy FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-clay {
  padding: 0;
  overflow: hidden;
}

.faq-trigger-clay {
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.faq-ans {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Spring Scroll Reveal */
.spring-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spring-reveal.shown {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Falling Sakura Petals & Confetti Particles */
.sakura-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: petalFall 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes petalFall {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 24px), var(--dy, 90px)) rotate(var(--rot, 180deg)) scale(0.45);
  }
}

/* Footer */
.clay-footer {
  position: relative;
  z-index: 2;
  margin-top: 36px;
  padding: 34px 0;
  background: rgba(255, 255, 255, 0.75);
  border-top: 2px solid rgba(255, 143, 177, 0.25);
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--pink-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .clay-blob,
  .sakura-particle {
    animation: none !important;
    display: none;
  }
  .spring-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .clay-card,
  .btn-clay,
  .gauge-needle,
  .plan-clay {
    transition: none !important;
  }
  .clay-card:hover,
  .btn-clay:hover,
  .btn-clay:active,
  .plan-clay.spring-bump {
    transform: none !important;
  }
}
