/* ==========================================================
   青蓝教育 · 视觉主题 v2（参考 haddee.com 的克制、温暖、留白风格）
   加载顺序：style.css → shop.css → theme.css（本文件覆盖前两者）
   ========================================================== */
:root {
  --paper: #faf7ef;
  --paper-2: #f3eee2;
  --ink: #1f2430;
  --ink-2: #2a3550;
  --slate: #7186a6;
  --teal: #2a7a8c;          /* 青蓝 */
  --teal-soft: #e4f0f2;
  --gold: #c39a54;
  --gold-dark: #9a7333;
  --line: #e8e1d2;
  --muted: #6b7280;
  --text: #2b3140;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(31, 36, 48, .04), 0 12px 32px rgba(31, 36, 48, .07);
  --display: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

body { background: var(--paper); color: var(--text); font-family: var(--display); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.18; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.25; }
.h-sub { display: block; color: var(--slate); font-weight: 500; }
.eyebrow { color: var(--gold-dark); font-size: .78rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.lead { color: #5b6374; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .01em; }
.btn-primary { background: var(--ink); }
.btn-primary:hover { background: var(--ink-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border: 1.5px solid #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.arrow::after { content: " \2197"; font-weight: 400; }
.link-more { font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; white-space: nowrap; }
.link-more::after { content: " \2197"; }

/* ---------- 顶部导航 ---------- */
.site-header { background: rgba(250, 247, 239, .9); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.brand-text strong { font-family: var(--display); font-weight: 700; letter-spacing: .04em; }
.brand-text small { color: var(--gold-dark); letter-spacing: .14em; }
.main-nav a { font-weight: 500; color: #3d4455; }
.main-nav a.nav-shop { background: var(--ink); color: #fff; padding: .35em 1em; border-radius: 999px; }
.main-nav a.nav-shop:hover, .main-nav a.nav-shop.active { background: var(--teal); color: #fff; }
.main-nav a.nav-shop.active::after { display: none; }
@media (max-width: 1100px) { .main-nav a.nav-shop { background: none; color: var(--teal); padding: .8rem 0; border-radius: 0; font-weight: 700; } }

/* ---------- Hero（深色面板） ---------- */
.hero2 { padding: 1.4rem 0 0; }
.hero2-panel {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(195, 154, 84, .35), transparent 38%),
    radial-gradient(circle at 8% 100%, rgba(42, 122, 140, .55), transparent 45%),
    linear-gradient(135deg, #1b2335 0%, #22324d 55%, #1d3b4c 100%);
  padding: clamp(2.4rem, 6vw, 4.6rem) clamp(1.4rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center;
}
.hero2-panel::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero2-panel > * { position: relative; z-index: 1; }
.hero2-panel .eyebrow { color: #e3c48c; }
.hero2-panel h1 { color: #fff; margin-bottom: .5em; }
.hero2-panel h1 .h-sub { color: #9fb4d3; }
.hero2-panel .hero-tags { color: #c9d4e3; font-weight: 500; }
.hero2-panel .lead { color: #c3cddb; max-width: 34em; }
.hero2 .hero-cta { margin-top: 1.8rem; }
.hero-feature { background: #fff; color: var(--text); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); display: block; transition: transform .25s; }
.hero-feature:hover { transform: translateY(-4px); }
.hero-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero-feature .hf-body { padding: 1.1rem 1.3rem 1.3rem; }
.hero-feature .hf-tag { font-size: .75rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .1em; }
.hero-feature h3 { font-size: 1.15rem; margin: .25rem 0 .4rem; }
.hero-feature .hf-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.4rem 0 0; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; display: flex; gap: .9rem; align-items: center; }
.trust-item b { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.trust-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-size: 1.2rem; flex-shrink: 0; }

/* ---------- 区块标题（左标题右说明） ---------- */
.head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.head-split p { color: #5b6374; margin: 0 0 .8rem; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-2); }

/* ---------- 商品卡片 ---------- */
.product-grid { gap: 1.4rem; }
.p-card { border-radius: 20px; border-color: var(--line); box-shadow: 0 1px 2px rgba(31,36,48,.04); }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card .p-body { padding: 1rem 1.1rem 1.2rem; gap: .45rem; }
.p-card h3 { font-weight: 600; font-size: 1rem; color: var(--ink); }
.type-pill { border-radius: 999px; padding: .15em .75em; background: var(--teal-soft); color: var(--teal); }
.type-pill.t-member { background: #fbf1df; color: #9a6a1c; }
.type-pill.t-consult { background: #eef0fb; color: #4153a3; }
.price { color: #c2410c; }
.p-rating { font-size: .8rem; color: var(--muted); display: flex; gap: .35rem; align-items: center; }
.p-rating .stars { color: #e2a33b; letter-spacing: 0; }
.badge-hot { position: absolute; top: .7rem; left: .7rem; background: #c2410c; color: #fff; font-size: .72rem; font-weight: 700; padding: .15em .65em; border-radius: 999px; z-index: 1; letter-spacing: .05em; }

/* ---------- 编号服务卡（haddee 风格） ---------- */
#services { background: var(--paper); color: var(--text); }
#services h2, #services h3 { color: var(--ink); }
#services .eyebrow { color: var(--gold-dark); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; }
.svc-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card .num { font-family: var(--display); font-size: 2.2rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: .8rem; }
.svc-card p { color: #5b6374; }
.svc-card ul { color: var(--text); }
.svc-card ul li::marker { color: var(--gold); }
.link-arrow { color: var(--ink); border-bottom: 1.5px solid var(--gold); align-self: flex-start; }
.svc-card-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-card-cta h3 { color: #fff !important; }
.svc-card-cta p { color: #c3cddb; }
.svc-card-cta .btn { background: var(--gold); color: #fff; }

/* ---------- 评价（真实数据） ---------- */
.review-band { display: grid; grid-template-columns: .9fr 1.6fr; gap: 2rem; align-items: stretch; }
.review-score { background: var(--ink); color: #fff; border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.review-score .big { font-size: 4rem; font-weight: 700; line-height: 1; }
.review-score .stars { color: #e3c48c; font-size: 1.3rem; letter-spacing: .1em; margin: .4rem 0; }
.review-score p { color: #c3cddb; margin: .3rem 0 0; font-size: .92rem; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
.review-card .rc-top { display: flex; justify-content: space-between; align-items: center; }
.review-card .stars { color: #e2a33b; letter-spacing: .05em; }
.review-card .rc-count { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.review-card .rc-title { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.review-card .rc-src { font-size: .78rem; color: var(--muted); margin-top: auto; }
.source-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- 关于 ---------- */
.about-photo img { border-radius: 26px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.chips li { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- 其他组件微调 ---------- */
.card, .pd-section, .order-box, .job-item, .social-card, .checklist li { border-color: var(--line); }
.card, .pd-section { border-radius: 20px; }
.section-dark { background: var(--ink); }
.contact-card { background: #2a3550; }
.site-footer { background: #171b25; }

/* ---------- 商城页 ---------- */
.shop-hero2 { padding: 1.4rem 0 0; }
.shop-hero2 .hero2-panel { grid-template-columns: 1.3fr 1fr; padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 5vw, 3.4rem); }
.shop-hero2 h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.shop-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.shop-benefits div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .8rem 1rem; font-size: .88rem; color: #dbe3ee; }
.shop-benefits b { display: block; color: #fff; font-size: 1rem; margin-bottom: .1rem; }
.cat-tabs button { border-radius: 999px; padding: .55em 1.2em; font-weight: 500; }
.cat-tabs button.active { background: var(--ink); }

/* ---------- 商品详情 ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.pd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; }
.pd-cover { border-radius: 24px; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pd-price-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.pd-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .83rem; color: var(--muted); margin-top: .9rem; }
.pd-trust span::before { content: "\2713  "; color: var(--teal); font-weight: 700; }
.rv-external { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.rv-external .big { font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.rv-external .stars { color: #e2a33b; }

@media (min-width: 901px) {
  .pd-info { position: sticky; top: 92px; }
}
@media (max-width: 1080px) {
  .review-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero2-panel, .shop-hero2 .hero2-panel { grid-template-columns: 1fr; gap: 2rem; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .head-split { grid-template-columns: 1fr; gap: .6rem; }
  .review-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero2-panel { border-radius: 22px; }
  .trust-item { padding: .8rem; gap: .6rem; }
  .trust-item b { font-size: 1.25rem; }
  .trust-ico { display: none; }
  .review-cards { grid-template-columns: 1fr; }
  .shop-benefits { grid-template-columns: 1fr; }
}

.pd-dirs { list-style: none; padding-left: 0; }
.pd-dirs li { padding: .35rem 0; }
.hero-feature .hf-desc { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
/* 会员/学员真实反馈卡片 */
.member-voice { margin-top: 2rem; background: #fff; border: 1px solid var(--line, #e8e1d4); border-radius: 22px; padding: 2rem; }
.member-voice .mv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.4rem; }
.member-voice h3 { font-size: 1.35rem; line-height: 1.5; margin: .3rem 0 .5rem; }
.member-voice .mv-head p:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 46rem; }
.member-voice .mv-head .btn { flex-shrink: 0; }
.voice-grid { columns: 3 280px; column-gap: 1rem; }
.voice-card { break-inside: avoid; margin: 0 0 1rem; background: var(--paper, #faf7ef); border: 1px solid var(--line, #e8e1d4); border-radius: 16px; padding: 1.1rem 1.2rem .9rem; }
.voice-card blockquote { margin: 0; position: relative; padding-left: 1.6rem; }
.voice-card blockquote::before { content: "“"; position: absolute; left: 0; top: -.35rem; font-size: 2.2rem; line-height: 1; color: var(--gold, #c39a54); font-family: Georgia, serif; }
.voice-card blockquote p { margin: 0 0 .35rem; line-height: 1.7; color: var(--ink, #1f2430); }
.voice-card figcaption { display: flex; justify-content: space-between; gap: .8rem; margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.voice-card figcaption a { color: var(--teal, #2a7a8c); font-weight: 700; white-space: nowrap; }
.voice-more { display: block; margin: .4rem auto 0; }
.pd-section .voice-grid { columns: 2 260px; margin-top: 1rem; }
@media (max-width: 760px) { .member-voice { padding: 1.3rem; } .member-voice .mv-head { flex-direction: column; align-items: flex-start; gap: 1rem; } }
/* 扫码加入（知识星球） */
.join-box { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 2px solid var(--gold, #c39a54); border-radius: 18px; padding: 1rem 1.2rem; margin: 1rem 0 .8rem; }
.join-box img { width: 150px; height: 150px; flex-shrink: 0; border-radius: 10px; }
.join-box b { display: block; font-size: 1.05rem; margin-bottom: .35rem; }
.join-box p { margin: 0 0 .4rem; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.join-box a { font-size: .85rem; font-weight: 700; color: var(--teal, #2a7a8c); }
.join-box .join-mobile { display: none; }
@media (max-width: 760px) { .join-box { flex-direction: column; text-align: center; } .join-box img { width: 200px; height: 200px; } .join-box .join-mobile { display: block; } }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; gap: 1.4rem; } .pd-cover { max-width: 420px; margin: 0 auto; } }
/* 隐私政策 / 用户协议 */
.legal { max-width: 820px; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.legal p { line-height: 1.85; color: var(--text, #333); margin: 0 0 .6rem; }
.legal-tabs { display: flex; gap: .6rem; margin-bottom: 1.2rem; }
.legal-tabs a { padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line, #e8e1d4); font-size: .9rem; }
.legal-tabs a.active { background: var(--ink, #1f2430); color: #fff; border-color: var(--ink, #1f2430); }
/* 网站账号：登录按钮 / 头像菜单 / 扫码弹窗 */
.acct-slot { display: flex; align-items: center; }
.acct-menu { position: relative; }
.acct-menu summary { list-style: none; display: flex; align-items: center; gap: .45rem; cursor: pointer; padding: .2rem .5rem .2rem .2rem; border-radius: 999px; border: 1px solid var(--line, #e8e1d4); background: #fff; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-menu summary img, .acct-ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.acct-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--ink, #1f2430); color: #fff; font-weight: 700; font-size: .85rem; }
.acct-name { font-size: .88rem; font-weight: 600; max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-drop { position: absolute; right: 0; top: calc(100% + .5rem); background: #fff; border: 1px solid var(--line, #e8e1d4); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.12); min-width: 200px; padding: .5rem; z-index: 60; display: flex; flex-direction: column; }
.acct-drop a, .acct-drop button { padding: .6rem .8rem; border-radius: 10px; text-align: left; font-size: .9rem; color: var(--ink, #1f2430); background: none; border: 0; cursor: pointer; }
.acct-drop a:hover, .acct-drop button:hover { background: var(--paper, #faf7ef); }
.acct-who { padding: .5rem .8rem .7rem; border-bottom: 1px solid var(--line, #e8e1d4); margin-bottom: .3rem; display: flex; flex-direction: column; }
.acct-who small { color: var(--muted); }
.acct-modal .modal { text-align: center; width: min(400px, 100%); }
.acct-modal h3 { margin: .2rem 0 .5rem; }
.acct-qr { width: 220px; height: 220px; margin: 1rem auto .6rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line, #e8e1d4); border-radius: 16px; position: relative; overflow: hidden; }
.acct-qr img { width: 200px; height: 200px; }
.acct-qr.scanned img { opacity: .25; }
.acct-status { font-weight: 600; min-height: 1.5em; }
@media (max-width: 760px) { .acct-name { display: none; } .acct-slot .acct-login { padding: .45em .8em; font-size: .8rem; } }
.acct-short { display: none; }
@media (max-width: 520px) {
  .acct-long { display: none; } .acct-short { display: inline; }
  .nav-tools { gap: .4rem; }
  .lang-select select { max-width: 5.6rem; font-size: .78rem; padding-left: .55rem; padding-right: 1.4rem; }
  .brand-text small { display: none; }
}
.job-note { margin: .45rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.6; }
