@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #ffffff;
  --bg-muted: #f4f5f7;
  --bg-hero: #1a2332;
  --bg-hero-end: #243040;
  --surface: #ffffff;
  --text-primary: #2f3547;
  --text-secondary: #6d7280;
  --text-muted: #a8adb8;
  --text-on-dark: #f0f2f5;
  --text-on-dark-muted: rgba(240, 242, 245, 0.65);
  --brand: #42d78b;
  --brand-deep: #006d40;
  --action: #5c7a94;
  --action-deep: #43617a;
  --border: rgba(47, 53, 71, 0.08);
  --shadow-card: 0 4px 24px -8px rgba(47, 53, 71, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --page-pad: clamp(20px, 4vw, 40px);
  --max-width: 1140px;
  --section-gap: clamp(80px, 10vw, 120px);
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.page-legal {
  background: var(--bg-muted);
}

a { color: var(--action); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--action-deep); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - var(--page-pad) * 2, var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-desktop a,
.site-header.is-scrolled .nav-toggle {
  color: var(--text-primary);
}

.site-header.is-scrolled .nav-desktop a {
  color: var(--text-secondary);
}

.site-header:not(.is-scrolled) .brand {
  color: var(--text-on-dark);
}

.site-header:not(.is-scrolled) .nav-desktop a {
  color: var(--text-on-dark-muted);
}

.site-header:not(.is-scrolled) .nav-desktop a:hover,
.site-header:not(.is-scrolled) .nav-desktop a.active {
  color: var(--text-on-dark);
}

.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5c7a94 0%, #43617a 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px -8px rgba(67, 97, 122, 0.45);
}

.brand-mark svg { width: 20px; height: 20px; }

.nav-desktop {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-desktop a {
  color: var(--text-secondary);
  position: relative;
}

.nav-desktop a.active,
.nav-desktop a:hover { color: var(--action-deep); }

.site-header:not(.is-scrolled) .nav-desktop a.active::after {
  background: var(--brand);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--action));
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 40px; height: 40px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 18px;
}

.nav-mobile.open { display: flex; }

.site-header.is-scrolled .nav-mobile a {
  background: var(--surface);
  color: var(--text-secondary);
}

.nav-mobile a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #5c7a94 0%, #3d5a73 100%);
  color: #fff;
  box-shadow: 0 14px 32px -12px rgba(67, 97, 122, 0.55);
}

.btn-primary--light {
  background: #fff;
  color: var(--action-deep);
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--action-deep);
}

.btn-secondary--light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
}

/* Section labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action);
}

.section-label--light {
  color: rgba(66, 215, 139, 0.85);
}

.section-num {
  opacity: 0.7;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0 80px;
  background: linear-gradient(165deg, var(--bg-hero) 0%, var(--bg-hero-end) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -10%;
  right: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 215, 139, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-hook {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  max-width: 420px;
}

.eyebrow {
  display: block;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(66, 215, 139, 0.9);
}

.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-on-dark-muted);
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Phone mockup */
.phone-stage {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.phone-frame {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #3a4558 0%, #1e2533 100%);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 24px;
  background: #1e2533;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafaf8 0%, #f3f5f4 100%);
  padding: 48px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-brand {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.index-ring {
  position: relative;
  width: 140px; height: 140px;
  margin: 8px 0 20px;
}

.index-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.index-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.index-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.index-cap {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 4px;
}

.phone-mode {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--action-deep);
  margin: -8px 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 122, 148, 0.1);
}

.phone-metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.phone-metric {
  text-align: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.phone-metric-label {
  display: block;
  font-size: 0.58rem;
  color: var(--text-muted);
}

.phone-metric-val {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.phone-tip {
  margin-top: auto;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px -12px rgba(47, 53, 71, 0.14);
  }
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Sections */
.section {
  padding: var(--section-gap) 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--white {
  background: var(--bg-page);
}

.section-head {
  max-width: 560px;
  margin: 0 0 40px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.section-footnote {
  margin: 32px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Principles */
.principles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 36px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.principles-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--action);
  opacity: 0.4;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  padding: 28px 26px;
}

.product-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--action-deep);
}

.product-tagline {
  margin: 0 0 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-dl {
  margin: 0;
}

.product-dl dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
  margin: 16px 0 6px;
}

.product-dl dt:first-child { margin-top: 0; }

.product-dl dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Timeline */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(92, 122, 148, 0.15);
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  padding: 0 0 36px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(66, 215, 139, 0.2);
}

.timeline-time {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--action);
  margin-bottom: 6px;
}

.timeline-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeline-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.showcase-card {
  padding: 22px;
  text-align: center;
}

.showcase-preview {
  aspect-ratio: 4/5;
  max-height: 280px;
  margin: 0 auto 16px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.showcase-preview--index {
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mini-index {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 6px solid rgba(92, 122, 148, 0.15);
  border-top-color: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mini-index-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.mini-index-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.mini-metrics {
  display: flex;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.showcase-preview--planner {
  justify-content: flex-start;
  gap: 8px;
}

.planner-slot {
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.planner-slot--on {
  background: rgba(92, 122, 148, 0.1);
  color: var(--action-deep);
  font-weight: 600;
}

.showcase-preview--orb {
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.orb-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7b9bb5, #43617a);
  box-shadow: 0 8px 24px -8px rgba(67, 97, 122, 0.35);
}

.orb-bubble {
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.45;
}

.showcase-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.showcase-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scenarios */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  padding: 28px 24px;
}

.scenario-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.scenario-tag--fat { background: rgba(198, 123, 78, 0.12); color: #9a5c38; }
.scenario-tag--sugar { background: rgba(212, 146, 106, 0.14); color: #8f5638; }
.scenario-tag--work { background: rgba(91, 141, 184, 0.14); color: #43617a; }

.scenario-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.scenario-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* CTA */
.cta-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(165deg, var(--bg-hero) 0%, var(--bg-hero-end) 100%);
  color: var(--text-on-dark);
}

.cta-panel {
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cta-section .section-title { color: var(--text-on-dark); text-align: left; }
.cta-section .section-sub { color: var(--text-on-dark-muted); text-align: left; }

.cta-steps { list-style: none; padding: 0; margin: 24px 0 0; }

.cta-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.cta-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(66, 215, 139, 0.15);
  border: 1px solid rgba(66, 215, 139, 0.35);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ae8c0;
}

.qr-card {
  padding: 28px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.qr-card img {
  width: 168px; height: 168px;
  margin: 0 auto 14px;
  border-radius: 14px;
}

.qr-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.disclaimer {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(198, 123, 78, 0.12);
  border: 1px solid rgba(198, 123, 78, 0.2);
  color: #9a5c38;
  font-size: 0.82rem;
}

.cta-section .disclaimer {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark-muted);
}

/* Footer */
.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-beian {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-beian a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-beian a:hover {
  color: var(--accent);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-shell { padding: 96px 0 80px; }

.legal-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legal-nav a.active { color: var(--action-deep); font-weight: 600; }

.legal-content {
  padding: 32px 36px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal-content h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li { color: var(--text-secondary); }

.legal-content ul { padding-left: 1.2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.contact-card { padding: 24px; }
.contact-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.contact-card p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .cta-grid { grid-template-columns: 1fr; }
  .phone-stage { order: -1; }
  .products, .scenarios, .showcase-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
