/* ===== Design System ===== */
/* Generated: 2026-04-26T15:30:00+08:00 - Force cache refresh */
/*
  Color Palette:
    --navy:      #1B2A4A  标题/重点文字
    --coral:     #E8845A  CTA按钮/行动色
    --coral-hover: #D47148
    --blue:      #4A7FBF  辅助标签
    --sage:      #7BA386  成功色
    --gap-warm:  #D4775A  缺口警示
    --warm-white:#FDF9F5  主背景
    --cream:     #F6EFE8  分隔区域/卡片底色
    --border:    #E6DDD4  边框
    --text-dark: #2C2C2C  正文
    --text-mid:  #5A5A5A  副标题
    --text-light:#8A8A8A  辅助文字
    --white:     #FFFFFF

  Fonts:
    --serif: Noto Serif SC — 标题
    --sans: Noto Sans SC — 正文/按钮

  Spacing (8px base):
    xs: 4px  sm: 8px  md: 16px  lg: 24px
    xl: 32px  2xl: 48px  3xl: 64px  4xl: 96px

  Radius: sm:6px  md:12px  lg:16px  full:9999px
*/

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A4A;
  --coral: #E8845A;
  --coral-hover: #D47148;
  --blue: #4A7FBF;
  --sage: #7BA386;
  --sage-light: #E8F2EB;
  --gap-warm: #D4775A;
  --warm-white: #FDF9F5;
  --cream: #F6EFE8;
  --border: #E6DDD4;
  --text-dark: #2C2C2C;
  --text-mid: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --serif: 'Noto Serif SC', 'STSong', 'SimSun', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 9999px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.3; color: var(--navy); margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1rem; }

.section-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

p { color: var(--text-mid); line-height: 1.8; }

.section-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-align: center;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center {
  text-align: center;
}
.section {
  padding: 36px 0;
}
.section-sm {
  padding: 64px 0;
}
.screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--sans);
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  box-shadow: 0 2px 12px rgba(232, 132, 90, 0.3);
}
.btn-primary:hover {
  background: var(--coral-hover);
  box-shadow: 0 4px 20px rgba(232, 132, 90, 0.4);
  transform: translateY(-1px);
}

.btn-cta {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(232, 132, 90, 0.4);
  animation: pulse 2s infinite;
}
.btn-cta:hover {
  box-shadow: 0 6px 24px rgba(232, 132, 90, 0.5);
  transform: translateY(-2px) scale(1.02);
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--sans);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 150ms ease;
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Lifestyle Cards ===== */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 48px;
}
.lifestyle-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 250ms ease;
}
.lifestyle-card:hover,
.lifestyle-card.active {
  border-color: var(--coral);
  box-shadow: 0 4px 20px rgba(232, 132, 90, 0.15);
  transform: translateY(-2px);
}
.lifestyle-card.active {
  background: linear-gradient(135deg, #FFF8F4 0%, #FFF3EC 100%);
}
.lifestyle-emoji {
  font-size: 2.5rem;
  margin-bottom: 8px;
  display: block;
}
.lifestyle-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.lifestyle-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Hero ===== */
.hero-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--text-mid);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.hero-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  line-height: 1.8;
  text-align: center;
}

/* ===== Cost Table ===== */
.cost-table {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 500px;
  margin: 28px auto 0;
}
.section-sub {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  text-align: left;
}
.cost-row + .cost-row { border-top: 1px solid var(--border); }
.cost-row .label { display: flex; align-items: center; gap: 8px; }
.cost-row .amount { font-weight: 500; color: var(--text-dark); }
.cost-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.cost-total .amount {
  font-size: 1.6rem;
  color: var(--coral);
}

/* ===== Trust ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--sage-light);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.trust-text p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Case Cards ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.case-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 250ms ease;
  text-align: left;
}
.case-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.case-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--text-mid);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  margin-bottom: 16px;
}
.case-card h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.case-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.case-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--sage);
  font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(180deg, var(--cream) 0%, #E8D5C4 100%);
  text-align: center;
}
.cta-section .section-label { color: var(--text-light); }
.cta-section .section-title { color: var(--navy); }
.cta-section .section-sub { color: var(--text-mid); margin-left: auto; margin-right: auto; }

.steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.step { text-align: center; }
.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 4px;
}
.step-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 0.75rem;
  color: var(--text-light);
}
.step-arrow {
  color: var(--text-light);
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

/* ===== Calculator Page ===== */
.calc-hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 32px;
}
.calc-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.calc-input {
  margin-bottom: 16px;
}
.calc-input label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.calc-input input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--warm-white);
  transition: border-color 150ms ease;
}
.calc-input input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.calc-input input[readonly] {
  background: #FFF5F0;
  color: var(--gap-warm);
  font-weight: 500;
}
.calc-result {
  margin-top: 32px;
  padding: 32px;
  background: #FFF5F0;
  border-radius: var(--r-md);
  text-align: center;
}
.calc-result-label {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.calc-result-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gap-warm);
}
.calc-result-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}
.calc-result.sufficient {
  background: var(--sage-light);
}
.calc-result.sufficient .calc-result-number {
  color: var(--sage);
}
.calc-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .section-sm { padding: 48px 0; }
  .screen { padding-top: 60px; min-height: unset; }
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .btn-group { flex-direction: column; }
  .btn-group .btn-primary,
  .btn-group .btn-secondary { width: 100%; justify-content: center; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .calc-card { padding: 24px; }
  .cost-table { padding: 24px; }
  .calc-hero { padding-top: 80px; }
}
