/* ============================================================
   Annei Life Global 全站共享样式
   浅色暖调 · 与商城同色系（米白底 / 深绿主色 / 玫瑰点缀）
   统一导航 / 页脚 / 卡片 / 表单
   ============================================================ */
:root {
  --bg: #FDF6F3; --bg2: #F5F0ED; --card: #ffffff;
  --line: rgba(26,92,58,.14); --txt: #4A3F3A; --muted: #8A7A72;
  --gold: #1A5C3A; --gold2: #C97B84; --deep: #ffffff;
  --rose-bg: rgba(201,121,132,.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; background: var(--bg); color: var(--txt); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
header { position: sticky; top: 0; z-index: 10; background: rgba(253,246,243,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; flex-wrap: wrap; gap: 10px; }
.brand { font-weight: 700; font-size: 17px; color: #1A5C3A; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--gold2); }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 7px 13px; border-radius: 8px; }
.nav-links a:hover { color: var(--gold); background: rgba(26,92,58,.08); }
.nav-links a.active { color: var(--gold); background: rgba(26,92,58,.12); }
.nav-right { display: flex; align-items: center; }
#lang-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
#lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch button { background: none; border: none; border-left: 1px solid var(--line); color: var(--muted); padding: 6px 12px; cursor: pointer; font-size: 13px; }
.lang-switch button:first-child { border-left: none; }
.lang-switch button:hover { color: var(--gold); }
.lang-switch button.active { color: var(--gold); background: rgba(26,92,58,.08); }
#site-meta { font-size: 12px; color: var(--muted); margin-right: 12px; }
@media (max-width: 860px) {
  .nav-links { order: 3; width: 100%; }
}

@media (max-width: 640px) {
  header .wrap { padding: 12px 16px; gap: 8px; }
  .brand { font-size: 15px; }
  .brand span { display: none; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex-shrink: 0; white-space: nowrap; font-size: 13px; padding: 6px 10px; }
  .lang-switch button { padding: 5px 9px; font-size: 12px; }
  .hero { padding: 72px 20px 56px; }
}

/* ---------- 首屏 Hero ---------- */
.hero { text-align: center; padding: 96px 24px 72px; background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(201,121,132,.14), transparent), radial-gradient(ellipse 40% 30% at 80% 10%, rgba(26,92,58,.06), transparent); }
.hero-tag { display: inline-block; border: 1px solid rgba(26,92,58,.35); color: var(--gold); background: rgba(255,255,255,.7); border-radius: 999px; padding: 7px 20px; font-size: 13px; letter-spacing: 1px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(30px, 5.5vw, 56px); line-height: 1.2; color: #3A2E2A; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; font-size: .55em; margin-top: 14px; letter-spacing: 2px; }
.hero p { margin: 26px auto 40px; max-width: 620px; color: var(--muted); line-height: 1.8; font-size: clamp(15px, 2vw, 18px); }
.btn { display: inline-block; background: var(--gold); color: var(--deep); font-weight: 700; border-radius: 10px; padding: 14px 34px; text-decoration: none; font-size: 16px; border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(26,92,58,.22); }
.btn:hover { background: #2E7D32; }
.btn.ghost { background: none; color: var(--txt); border: 1px solid var(--line); box-shadow: none; margin-left: 12px; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-img { display: block; width: 100%; max-width: 820px; margin: 48px auto 0; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(58,46,42,.12); }

/* ---------- 子页 Hero ---------- */
.page-hero { padding: 72px 24px 48px; text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,121,132,.12), transparent); }
.page-hero .hero-tag { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(26px, 4.5vw, 42px); color: #3A2E2A; line-height: 1.3; }
.page-hero p { margin: 18px auto 0; max-width: 640px; color: var(--muted); line-height: 1.8; font-size: 15.5px; }

/* ---------- 通用区块 ---------- */
section { padding: 64px 0; }
.card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 1px solid var(--line); }
.card-body { padding: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; transition: transform .18s ease, border-color .18s ease; box-shadow: 0 2px 12px rgba(58,46,42,.05); }
.card:hover { transform: translateY(-3px); border-color: rgba(26,92,58,.4); }
.card h3 { color: var(--gold); font-size: 16px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

h2.sec { text-align: center; font-size: clamp(22px, 3.5vw, 32px); color: #3A2E2A; margin-bottom: 12px; }
p.sec-sub { text-align: center; color: var(--gold); font-size: 14px; margin-bottom: 40px; }
.more-link { display: inline-block; margin-top: 14px; color: var(--gold); font-size: 14px; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 32px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; box-shadow: 0 2px 12px rgba(58,46,42,.05); }
.step .step-no { position: absolute; top: -14px; left: 20px; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--deep); font-weight: 800; font-size: 14px; }
.step h4 { color: var(--gold); margin-bottom: 8px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; }
#channel-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font-size: 14px; color: var(--txt); }

/* ---------- 以物易物 ---------- */
.barter-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; }
.barter-img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(58,46,42,.1); }
.barter-grid .sec, .barter-grid .sec-sub { text-align: left; margin-bottom: 10px; }
.barter-desc { color: var(--muted); line-height: 1.8; font-size: 15px; margin: 14px 0 24px; }
.barter-list { list-style: none; display: grid; gap: 12px; }
.barter-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.barter-list li b { display: block; color: var(--txt); font-size: 15px; margin-bottom: 4px; }
.barter-list li span { color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .barter-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 合伙人横条 ---------- */
.partner-strip { border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.partner-strip .p-title { color: var(--txt); font-size: 17px; font-weight: 600; }
.partner-strip .p-desc { color: var(--muted); font-size: 14px; margin: 10px auto 18px; max-width: 560px; line-height: 1.7; }
.partner-strip a.plink { color: var(--gold); text-decoration: none; border: 1px solid rgba(26,92,58,.4); border-radius: 999px; padding: 8px 22px; font-size: 14px; }
.partner-strip a.plink:hover { background: rgba(26,92,58,.08); }

/* ---------- 有效期 / 特性条 ---------- */
.validity-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 30px; }
.v-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 18px; text-align: center; box-shadow: 0 2px 12px rgba(58,46,42,.05); }
.v-item .v-num { font-size: 30px; font-weight: 800; color: var(--gold); }
.v-item .v-label { font-size: 14px; color: var(--txt); margin-top: 6px; }
.v-item .v-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.note-strip { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.8; background: var(--card); border: 1px dashed rgba(26,92,58,.35); border-radius: 12px; padding: 16px 22px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; box-shadow: 0 2px 12px rgba(58,46,42,.05); }
.faq-item h3 { font-size: 15.5px; color: var(--txt); margin-bottom: 8px; }
.faq-item h3::before { content: 'Q '; color: var(--gold); font-weight: 800; }
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.faq-item p::before { content: 'A '; color: var(--gold2); font-weight: 700; }

/* ---------- 正文段落（关于页） ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 18px; }
.prose p b { color: var(--txt); }

/* ---------- 留资 ---------- */
.lead { text-align: center; }
#lead-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
#lead-form input, #lead-form select { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; color: var(--txt); font-size: 15px; min-width: 240px; }
#lead-form input:focus, #lead-form select:focus { outline: none; border-color: var(--gold); }
#lead-form select option { background: #ffffff; color: var(--txt); }
#lead-msg { margin-top: 16px; font-size: 14px; color: #2E7D32; min-height: 20px; }
#lead-msg.err { color: #C41E3A; }

/* ---------- 页脚 ---------- */
footer { padding: 48px 24px 32px; border-top: 1px solid var(--line); background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.foot-grid h4 { color: var(--txt); font-size: 14px; margin-bottom: 14px; }
.foot-grid p, .foot-grid a { color: var(--muted); font-size: 13.5px; text-decoration: none; line-height: 2; }
.foot-grid a { display: block; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand { font-weight: 700; font-size: 16px; color: #1A5C3A; margin-bottom: 10px; }
.foot-brand b { color: var(--gold2); }
.foot-copy { text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 680px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } }

/* V10.34b 中国站入口（nav-right 内，与 nav 链接同风格） */
.nav-cn { color: var(--muted); text-decoration: none; font-size: 13.5px; padding: 7px 13px; border-radius: 8px; margin-right: 6px; white-space: nowrap; border: 1px solid rgba(26,92,58,.25); }
.nav-cn:hover { color: var(--gold); background: rgba(26,92,58,.08); }
