/* ===== 小顺生命时间轴 官网样式 ===== */
:root {
  --bg: #F9F7F4;
  --card: #FFFFFF;
  --text: #1A2634;
  --text2: #6B6A68;
  --text3: #A8A5A0;
  --gold: #D4A054;
  --gold-light: #F0E2CC;
  --green: #6BBF8A;
  --red: #E54B4B;
  --divider: #F0EDE8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(26, 38, 52, 0.06);
  --shadow-lg: 0 20px 50px rgba(26, 38, 52, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo-img { height: 36px; width: auto; border-radius: 8px; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #b8843a);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  box-shadow: 0 4px 12px rgba(212, 160, 84, 0.35);
}
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--text2); }
.nav-links a { color: var(--text2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--text); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--gold); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 100px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(212, 160, 84, 0.18), transparent),
    linear-gradient(180deg, #FDFBF8, var(--bg));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); color: #8a6420;
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px; font-weight: 800; letter-spacing: 2px;
  line-height: 1.25; margin-bottom: 18px;
}
.hero h1 .gold { color: var(--gold); }
.hero .slogan {
  font-size: 22px; color: var(--text2); font-weight: 500;
  margin-bottom: 12px;
}
.hero .sub {
  font-size: 16px; color: var(--text3); max-width: 620px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 700; transition: all 0.2s;
}
.btn-primary { background: var(--text); color: #fff !important; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--gold); text-decoration: none; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--text) !important; border: 1.5px solid var(--divider); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; text-decoration: none; transform: translateY(-2px); }

.hero-phone {
  margin-top: 60px;
  display: inline-block;
  background: var(--card);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--divider);
  max-width: 320px;
  width: 100%;
}
.hero-phone img { width: 100%; border-radius: 18px; display: block; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .tag {
  color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 3px;
  margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--text3); margin-top: 12px; font-size: 16px; }

/* ===== 功能卡片 ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.feature .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), #faf0df);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text2); font-size: 14.5px; }

/* ===== AI 亮点 ===== */
.ai-panel {
  background: linear-gradient(135deg, #1A2634, #243447);
  border-radius: 24px;
  color: #fff;
  padding: 56px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: center;
}
.ai-panel h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.ai-panel .lead { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 16px; }
.ai-items { display: flex; flex-direction: column; gap: 18px; }
.ai-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px; padding: 18px 20px;
}
.ai-item .i { font-size: 22px; }
.ai-item b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--gold-light); }
.ai-item span { color: rgba(255,255,255,0.65); font-size: 14px; }
.ai-quote {
  background: rgba(212,160,84,0.12);
  border: 1px dashed rgba(212,160,84,0.5);
  border-radius: 16px;
  padding: 26px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 2;
}

/* ===== 下载 ===== */
.download {
  text-align: center;
  background: linear-gradient(180deg, var(--bg), #FDF8EF);
  padding: 90px 0;
}
.store-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: #fff !important;
  padding: 14px 30px; border-radius: 16px;
  transition: all 0.2s;
}
.store-btn:hover { background: var(--gold); text-decoration: none; transform: translateY(-2px); }
.store-btn .ico { font-size: 24px; }
.store-btn b { display: block; font-size: 15px; line-height: 1.2; }
.store-btn small { font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 400; }
.store-btn.soon { background: #fff; color: var(--text2) !important; border: 1.5px solid var(--divider); }
.direct-dl { margin-top: 40px; padding-top: 32px; border-top: 1px dashed var(--divider); }
.dl-tip { font-size: 14px; color: var(--text2); margin-bottom: 18px; }
.apk-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.dl-note { font-size: 12.5px; color: var(--text3, #8A8A8A); margin-top: 16px; line-height: 1.7; }
.apk-main { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn-lg { padding: 18px 44px; font-size: 18px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.apk-main .btn-primary { background: var(--gold); }
.apk-main .btn-primary:hover { background: var(--text); }
.store-btn.soon:hover { background: #fff; }
.store-btn.soon small { color: var(--text3); }

/* ===== 关于 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.about p { color: var(--text2); margin-bottom: 14px; font-size: 15.5px; }
.about ul { list-style: none; margin-top: 20px; }
.about li { padding: 8px 0; color: var(--text2); font-size: 15px; }
.about li b { color: var(--text); }
.about-card {
  background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.about-card .company { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.about-card .meta { color: var(--text3); font-size: 13.5px; margin-bottom: 20px; }
.about-card .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--divider); font-size: 14.5px; }
.about-card .row:last-child { border-bottom: none; }
.about-card .row span { color: var(--text3); }
.about-card .row b { font-weight: 600; }

/* ===== 页脚 ===== */
.footer { background: #1A2634; color: rgba(255,255,255,0.7); padding: 48px 0 32px; font-size: 14px; }
.footer a { color: rgba(255,255,255,0.8); }
.footer-inner { display: flex; flex-direction: column; gap: 26px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-brand .logo-img { height: 30px; width: auto; border-radius: 6px; margin-right: 8px; vertical-align: middle; }
.footer-brand .logo {
  display: inline-flex; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #b8843a);
  align-items: center; justify-content: center; font-size: 16px; color: #fff;
  margin-right: 8px; vertical-align: middle;
}
.footer-links { display: flex; gap: 24px; }
.beian {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-align: center;
}
.beian .police { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.beian .police svg { width: 16px; height: 16px; }
.beian a { color: rgba(255,255,255,0.55); }
.beian a:hover { color: #fff; }

/* ===== 文档页（隐私政策/用户协议） ===== */
.doc { max-width: 820px; margin: 0 auto; padding: 60px 24px 100px; }
.doc h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--text3); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 36px 0 14px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.doc p, .doc li { color: var(--text2); font-size: 15px; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 16px; }
.doc .toc { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 30px; }
.doc .toc b { display: block; margin-bottom: 10px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc table th, .doc table td { border: 1px solid var(--divider); padding: 10px 14px; text-align: left; }
.doc table th { background: #FCFAF7; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .ai-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero { padding: 60px 0 70px; }
  .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .hero .slogan { font-size: 18px; }
}
