/* ===================================================================
   优点创想 · 官网样式
   风格: 明亮活力 / 卡通糖果色 / 贴纸质感投影
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #fff7ec;
  --white: #ffffff;
  --ink: #2a2140;
  --ink-soft: #6b6280;

  --coral: #ff5a3c;
  --coral-dark: #e8431f;
  --coral-tint: #ffe4da;

  --violet: #5b3df6;
  --violet-dark: #4326d6;
  --violet-tint: #e8e3ff;

  --yellow: #ffc93c;
  --yellow-tint: #fff2cf;

  --teal: #22c3a6;
  --teal-tint: #d9f7f0;

  --line: rgba(42, 33, 64, 0.1);
  --shadow-pop: 6px 6px 0 rgba(42, 33, 64, 0.12);

  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- decorative blobs ---------- */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: float 9s ease-in-out infinite;
}

.blob.b1 {
  width: 220px;
  height: 220px;
  left: -60px;
  top: 40px;
  background: radial-gradient(circle at 30% 30%, var(--yellow-tint), var(--yellow));
  animation-delay: 0s;
}

.blob.b2 {
  width: 300px;
  height: 300px;
  right: -100px;
  top: -60px;
  background: radial-gradient(circle at 30% 30%, var(--violet-tint), var(--violet));
  opacity: 0.35;
  animation-delay: 1.2s;
}

.blob.b3 {
  width: 160px;
  height: 160px;
  right: 12%;
  bottom: -40px;
  background: radial-gradient(circle at 30% 30%, var(--coral-tint), var(--coral));
  opacity: 0.4;
  animation-delay: 2.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}

.confetti {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.confetti span {
  position: absolute;
  display: block;
  animation: spin-float 6s ease-in-out infinite;
}

@keyframes spin-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(25deg);
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-pop);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: var(--coral-tint);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 90, 60, 0.35);
}

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 56px;
}

.hero-small {
  padding: 56px 0 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet-dark);
  box-shadow: var(--shadow-pop);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 0.6s ease forwards;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

h1.display {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: rise 0.6s ease 0.08s forwards;
}

h1.display .hl-coral {
  color: var(--coral-dark);
}

h1.display .hl-violet {
  color: var(--violet);
}

.hero-desc,
.lead-copy {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 620px;
  opacity: 0;
  animation: rise 0.6s ease 0.18s forwards;
}

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

/* stat badges */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transform: scale(0.9);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stat-chip:nth-child(1) {
  animation-delay: 0.3s;
}
.stat-chip:nth-child(2) {
  animation-delay: 0.4s;
}
.stat-chip:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.stat-dot.c1 {
  background: var(--coral-tint);
}
.stat-dot.c2 {
  background: var(--violet-tint);
}
.stat-dot.c3 {
  background: var(--teal-tint);
}

.stat-chip strong {
  display: block;
  font-size: 0.92rem;
  font-family: "Fredoka", sans-serif;
}

.stat-chip small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */
.section {
  padding: 40px 0;
  position: relative;
}

.section-tight {
  padding: 20px 0 64px;
}

/* sticker card holding the original paragraph text */
.info-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 8px 8px 0 var(--violet);
  position: relative;
}

.info-card + .info-card {
  margin-top: 28px;
}

.info-card h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--coral-dark);
}

.info-card p {
  font-size: 1.02rem;
  color: var(--ink);
}

.info-card p + p {
  margin-top: 16px;
}

.tag-pill {
  position: absolute;
  top: -16px;
  left: 32px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

/* nav cards to sub pages */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.nav-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-pop);
}

.nav-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 10px 10px 0 rgba(42, 33, 64, 0.12);
}

.nav-card.card-coral {
  background: linear-gradient(160deg, var(--coral-tint), #fff);
  border: 2px solid var(--coral);
}

.nav-card.card-violet {
  background: linear-gradient(160deg, var(--violet-tint), #fff);
  border: 2px solid var(--violet);
}

.nav-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.nav-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-card .arrow {
  display: inline-flex;
  margin-top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  padding: 30px;
  box-shadow: var(--shadow-pop);
}

.contact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.contact-card.addr .icon {
  background: var(--coral-tint);
}
.contact-card.tel .icon {
  background: var(--teal-tint);
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.contact-card p {
  font-size: 1.15rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 60px;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(120deg, var(--violet), var(--coral));
  color: #fff;
  padding: 44px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 600;
}

.footer-nav a {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-company {
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
}

.footer-meta {
  font-size: 0.82rem;
  opacity: 0.85;
}

.footer-meta a {
  text-decoration: underline;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    box-shadow: 0 16px 30px rgba(42, 33, 64, 0.15);
    display: none;
    gap: 4px;
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 26px 22px;
  }
}
