/* ===== 恋上健康 · 鲜绿 · 韩式高级感 · 丰富版 ===== */
:root {
  --bg: #fafafa;
  --bg-paper: #ffffff;
  --bg-mint: #ecfdf5;
  --bg-dark: #0a0a0a;
  --green: #10b981;
  --green-deep: #059669;
  --green-bright: #34d399;
  --green-light: #6ee7b7;
  --green-pale: #d1fae5;
  --green-ghost: rgba(16, 185, 129, 0.06);
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #94a3b8;
  --border: #e2e8f0;
  --border-green: rgba(16, 185, 129, 0.15);
  --sans: "Noto Sans SC", "PingFang SC", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 动画基础 ===== */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim[data-delay="1"] { transition-delay: 0.1s; }
.anim[data-delay="2"] { transition-delay: 0.2s; }
.anim[data-delay="3"] { transition-delay: 0.3s; }
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background var(--ease), backdrop-filter var(--ease), border-color var(--ease), padding var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--ease);
}

.logo:hover { color: var(--green-deep); }

.logo-img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bg-paper);
  overflow: hidden;
}

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

.hero-glow {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-drift 8s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 40px) scale(1.15); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { z-index: 1; }

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 0.75rem;
  max-width: 480px;
}

.hero-points {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  max-width: 480px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 6px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  font-family: var(--sans);
  border: none;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: #000;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--green);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-secondary:hover {
  background: var(--green-deep);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.3);
}

/* Hero device mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Carousel */
.carousel {
  position: relative;
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  animation: carousel-float 5s ease-in-out infinite;
}

@keyframes carousel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.carousel-slide {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--ease), transform var(--ease);
  cursor: pointer;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Floating tags */
.hero-float {
  position: absolute;
  padding: 8px 16px;
  background: var(--bg-paper);
  border: 1px solid var(--border-green);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  animation: tag-float 4s ease-in-out infinite;
}

.hero-float--1 { top: 5%; right: -10%; animation-delay: 0s; }
.hero-float--2 { bottom: 18%; left: -12%; animation-delay: 1.2s; }
.hero-float--3 { bottom: 40%; right: -14%; animation-delay: 2.4s; }

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

/* ===== Stats ===== */
.stats {
  padding: 4rem 0;
  background: var(--bg-mint);
  border-top: 1px solid var(--border-green);
  border-bottom: 1px solid var(--border-green);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1;
  display: inline;
}

.stat-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  display: inline;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 500;
}

/* ===== Section commons ===== */
.sec-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sec-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sec-tag--light {
  background: rgba(255,255,255,0.15);
  color: var(--green-light);
}

.sec-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.sec-title--light { color: #fff; }

.sec-desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ===== Features ===== */
.features {
  padding: 5.5rem 0;
  background: var(--bg-paper);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.feature-card:hover {
  border-color: var(--green-pale);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08);
  transform: translateY(-3px);
}

.feature-card-text {
  flex: 1;
  min-width: 0;
}

.feature-card-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color var(--ease);
}

.feature-card:hover .feature-card-num { color: var(--green-light); }

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.feature-card-body {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.78;
}

.feature-card-img {
  width: 450px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* ===== Steps ===== */
.steps {
  padding: 5.5rem 0;
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--bg-paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.step:hover {
  border-color: var(--green-pale);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.08);
  transform: translateY(-3px);
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--green);
}

.step-icon svg { width: 100%; height: 100%; }

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-body {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ===== Values ===== */
.values {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
  color: #fff;
}

.values-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

.values-col {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.values-col-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-light);
}

.values-col p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
}

/* ===== Team ===== */
.team {
  padding: 5.5rem 0;
  background: var(--bg-paper);
}

.team .sec-desc {
  max-width: 640px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--bg);
}

.cta-card {
  background: var(--bg-mint);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  padding: 3.5rem 0 2rem;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner { display: flex; flex-direction: column; gap: 2rem; }

.footer-top {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand .logo-dot {
  animation: none;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.footer-slogan {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-col p {
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-col a {
  color: var(--green-light);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-points { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-cta { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .values-cols { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr; text-align: center; }

  .hero-float { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .header-inner { height: 60px; }
  .wrap { padding: 0 20px; }

  .carousel {
    width: 220px;
  }

  .feature-card {
    flex-direction: column !important;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .feature-card-img {
    width: 100%;
    max-width: 240px;
  }

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

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

  .btn { width: 100%; max-width: 280px; justify-content: center; }

  .features, .steps, .values, .team, .cta-section {
    padding: 3.5rem 0;
  }

  .cta-card { padding: 2.5rem 1.5rem; }
}
