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

:root {
  --color-pear: #F5D76E;
  --color-bg: #FFF9E6;
  --color-text: #333333;
  --color-text-muted: #5c5c5c;
  --color-accent: #A2DCE7;
  --color-accent-dark: #7bc4d4;
  --color-white: #fff;
  --font-sans: "SF Pro Rounded", "MiSans Rounded", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --shadow-soft: 0 4px 20px rgba(245, 215, 110, 0.15);
  --shadow-card: 0 8px 32px rgba(51, 51, 51, 0.08);
  --radius: 16px;
  --radius-btn: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background: #FFF9E6;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 249, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 215, 110, 0.3);
}

.nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #333333;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-en {
  font-weight: 500;
  color: #5c5c5c;
  margin-left: 0.25em;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #5c5c5c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #333333;
  transform: translateY(-1px);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
}

.hero-deco--pear {
  width: 120px;
  height: 140px;
  right: 8%;
  top: 15%;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, #F5D76E, rgba(245, 215, 110, 0.4));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(-12deg);
  opacity: 0.85;
}

.hero-deco--wave {
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' fill='none'%3E%3Cpath d='M0 40 Q300 0 600 40 T1200 40 V80 H0 Z' fill='%23A2DCE7' fill-opacity='0.25'/%3E%3Cpath d='M0 50 Q300 10 600 50 T1200 50 V80 H0 Z' fill='%23A2DCE7' fill-opacity='0.15'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 1200px 80px;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #333333;
}

.hero-desc {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #5c5c5c;
  max-width: 42ch;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: #F5D76E;
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 215, 110, 0.35);
  background: #f7dc7a;
}

.btn-hero {
  font-size: 1rem;
}

/* ----- Section common ----- */
.section {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-title {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #333333;
  text-align: center;
}

/* ----- Philosophy ----- */
.section-philosophy {
  background: #fff;
  border-radius: var(--radius);
  margin: 2rem auto;
  box-shadow: 0 8px 32px rgba(51, 51, 51, 0.08);
}

.section-deco--arc {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  border: 3px solid #A2DCE7;
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  opacity: 0.5;
}

.philosophy-content {
  max-width: 38em;
  margin: 0 auto;
}

.philosophy-content p {
  margin: 0 0 1.25rem;
  color: #5c5c5c;
  font-size: 1.0625rem;
}

.philosophy-content p:last-child {
  margin-bottom: 0;
}

.philosophy-highlight {
  font-weight: 600;
  color: #333333;
  font-size: 1.125rem;
  margin-top: 1.5rem !important;
}

/* ----- Products ----- */
.section-products {
  padding-bottom: 5rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(51, 51, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(245, 215, 110, 0.25);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(51, 51, 51, 0.12);
}

.product-card-name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
}

.product-card-desc {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #5c5c5c;
  line-height: 1.65;
}

/* 横向 banner 占位：上传图片后替换 banner-leapool.png / banner-mouse.png */
.product-card-banner {
  min-height: 140px;
  background: rgba(162, 220, 231, 0.2);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-banner img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ----- Vision ----- */
.section-vision {
  background: linear-gradient(180deg, rgba(162, 220, 231, 0.2) 0%, rgba(245, 215, 110, 0.1) 100%);
  border-radius: var(--radius);
  margin: 2rem auto;
}

.section-deco--wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30 Q300 0 600 30 T1200 30 V60 H0 Z' fill='%23F5D76E' fill-opacity='0.2'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 1200px 60px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.vision-content {
  max-width: 38em;
  margin: 0 auto;
}

.vision-content p {
  margin: 0 0 1.25rem;
  color: #5c5c5c;
  font-size: 1.0625rem;
}

.vision-content p:last-child {
  margin-bottom: 0;
}

.vision-mission {
  font-weight: 600;
  color: #333333;
  font-size: 1.125rem;
  margin-top: 1.5rem !important;
}

/* ----- Contact ----- */
.section-contact {
  text-align: center;
}

.contact-invite {
  margin: 0 0 2rem;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  color: #5c5c5c;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.contact-info {
  font-size: 1rem;
  color: #333333;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: #7bc4d4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #333333;
}

/* ----- Footer ----- */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(245, 215, 110, 0.35);
  color: #5c5c5c;
  font-size: 0.875rem;
  background: #FFF9E6;
}

.footer p {
  margin: 0;
}

.footer-icp {
  margin-top: 0.5rem !important;
}

.footer-icp a {
  color: #5c5c5c;
  text-decoration: none;
}

.footer-icp a:hover {
  color: #333333;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.25rem;
    font-size: 0.9375rem;
  }

  .hero {
    min-height: 80vh;
    padding: 6rem 1.25rem 4rem;
  }

  .hero-deco--pear {
    width: 80px;
    height: 95px;
    right: 5%;
    top: 12%;
    opacity: 0.7;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section-philosophy,
  .section-vision {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .product-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .hero-deco--pear {
    display: none;
  }

  .contact-info {
    font-size: 0.9375rem;
  }
}
