/* ============================================================
 * 芮阳数字心理 · 专业版站点样式
 * 品牌色系与测算应用一致：米金 / 深棕 / 金色点缀
 * ============================================================ */
:root {
  --gold: #B8852A;
  --gold-bright: #8A5610;
  --gold-deep: #6A4820;
  --bg: #FDF9F2;
  --bg-soft: #F7F0E3;
  --bg-card: #FFFFFF;
  --bg-card-hi: #FFF6E8;
  --border: #E5DAC4;
  --text: #3A2810;
  --text-soft: #5A4020;
  --text-muted: #A08860;
  --shadow: 0 8px 30px rgba(120, 90, 40, 0.10);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  background: var(--bg-card-hi);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 9px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C99637, #8A5610);
  color: #FFF9EC !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 14px rgba(138, 86, 16, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138, 86, 16, 0.36);
}

@media (max-width: 720px) {
  .nav-links a.hide-m { display: none; }
  .nav-links { gap: 18px; }
}

/* ===== 首屏 ===== */
.hero {
  padding: 92px 0 84px;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 420px at 50% -10%, rgba(184, 133, 42, 0.14), transparent),
    var(--bg);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--gold);
  padding-left: 0.42em;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 52px);
  color: var(--gold-bright);
  line-height: 1.4;
  margin-bottom: 22px;
}
.hero p.lead {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 16.5px;
  color: var(--text-soft);
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  padding: 15px 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C99637, #8A5610);
  color: #FFF9EC;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 24px rgba(138, 86, 16, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(138, 86, 16, 0.4); }
.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(184, 133, 42, 0.08); }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--text-muted); }

/* ===== 通用区块 ===== */
section.block { padding: 78px 0; }
section.block.alt { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(24px, 3.6vw, 34px); color: var(--gold-bright); }

/* ===== 功能特性 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature .fi {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-card-hi);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 17.5px; color: var(--gold-bright); margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--text-soft); }

/* ===== 三步流程 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step .num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C99637, #8A5610);
  color: #FFF9EC;
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 16.5px; color: var(--gold-bright); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-soft); }

/* ===== 定价 ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 26px;
  justify-content: center;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #FFF9EC 0%, #FFFFFF 40%);
  position: relative;
}
.price-card.featured::after {
  content: '推荐';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #C99637, #8A5610);
  color: #FFF9EC;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 4px 16px 4px 18px;
  border-radius: 999px;
}
.price-card .plan { font-size: 15px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 8px; }
.price-card .price {
  font-family: 'Noto Serif SC', serif;
  font-size: 44px;
  color: var(--gold-bright);
  font-weight: 700;
  line-height: 1.1;
}
.price-card .price small { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-card ul {
  list-style: none;
  margin: 26px 0 30px;
  text-align: left;
}
.price-card ul li {
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before {
  content: '✦';
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-size: 13px;
}

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 0 26px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gold-bright);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gold);
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 0 22px; font-size: 14.5px; color: var(--text-soft); }

/* ===== 页脚 ===== */
.site-footer {
  background: #2E2416;
  color: #C9B98F;
  padding: 56px 0 32px;
  font-size: 13px;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 {
  font-family: 'Noto Serif SC', serif;
  color: #E8D5A3;
  font-size: 15px;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.site-footer p { line-height: 2; }
.site-footer a { color: #C9B98F; transition: color 0.2s; }
.site-footer a:hover { color: #E8D5A3; }
.site-footer .fineprint {
  border-top: 1px solid rgba(201, 185, 143, 0.2);
  padding-top: 22px;
  text-align: center;
  color: #8D7F5E;
  font-size: 12px;
  line-height: 2;
}

/* ===== 内页通用 ===== */
.page-hero {
  padding: 72px 0 54px;
  text-align: center;
  background: radial-gradient(ellipse 700px 300px at 50% -8%, rgba(184, 133, 42, 0.13), transparent), var(--bg);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); color: var(--gold-bright); margin-bottom: 14px; }
.page-hero p { color: var(--text-soft); font-size: 15.5px; max-width: 640px; margin: 0 auto; }
.prose {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
}
@media (max-width: 720px) { .prose { padding: 32px 22px; } }
.prose h2 {
  font-size: 19px;
  color: var(--gold-bright);
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 14.5px; color: var(--text-soft); margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.prose .contact-box {
  margin-top: 30px;
  background: var(--bg-card-hi);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 22px 26px;
  text-align: center;
}
.prose .contact-box b { color: var(--gold-bright); font-size: 16px; }
