/* ============================================================
   ST Dupont / 都彭打火机 · 中文资讯站
   全局样式：轻奢、克制、以内容为中心（利于百度抓取与阅读）
   ============================================================ */

:root {
  --ink:        #141414;
  --ink-2:      #252525;
  --gold:       #b98f45;
  --gold-deep:  #8f6c2f;
  --gold-light: #e2c98e;
  --cream:      #f6f3ed;
  --paper:      #ffffff;
  --muted:      #6f6a63;
  --line:       #e7e1d6;
  --jd:         #e1251b;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 48px rgba(20, 20, 20, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(880px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .5px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a:hover { color: var(--gold-light); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: 2px; line-height: 1.2; }
.brand-text span { display: block; font-size: 10px; color: var(--muted); letter-spacing: 2.6px; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a { font-size: 14px; color: var(--ink-2); position: relative; padding: 8px 0; white-space: nowrap; }
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.menu a.active { color: var(--gold-deep); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 10px 18px;
  font-size: 13px; letter-spacing: .5px; transition: background .2s;
}
.nav-cta:hover { background: var(--gold-deep); }
.nav-cta i { font-style: normal; color: var(--gold-light); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- 通用区块 ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 3px; color: var(--gold-deep); text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.bg-ink .eyebrow { color: var(--gold-light); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: 1px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: 1px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.9; }
.bg-ink .lead { color: rgba(255,255,255,.68); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--muted); margin-top: 16px; }
.bg-ink .section-head p { color: rgba(255,255,255,.66); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; font-size: 14px; letter-spacing: 1px;
  border: 1px solid transparent; transition: all .25s ease; cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-jd { background: var(--jd); color: #fff; }
.btn-jd:hover { background: #c81f16; transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #111 0%, #1c1c1c 48%, #2a241b 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 45%, rgba(185,143,69,.28), transparent 46%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; min-height: 560px; padding: 70px 0; }
.hero h1 { margin: 14px 0 24px; font-size: clamp(38px, 5.4vw, 62px); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .lead { color: rgba(255,255,255,.72); max-width: 560px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.hero-badge {
  position: absolute; right: -6px; top: 8%;
  border: 1px solid rgba(226,201,142,.5); padding: 14px 18px;
  font-size: 11px; letter-spacing: 2px; color: var(--gold-light);
  background: rgba(20,20,20,.75); backdrop-filter: blur(6px);
}
.hero-badge strong { display: block; font-size: 26px; font-family: var(--serif); color: #fff; margin-top: 4px; letter-spacing: 0; }

/* ---------- 关键词条 ---------- */
.kw-strip { background: var(--gold); color: var(--ink); padding: 14px 0; }
.kw-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 13px; }
.kw-strip b { font-weight: 700; letter-spacing: 1px; }
.kw-strip span { opacity: .82; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.product-thumb { background: linear-gradient(160deg, #1e1e1e, #35312a); padding: 26px 20px; display: grid; place-items: center; height: 250px; }
.product-thumb.light { background: linear-gradient(160deg, #f3efe7, #e5ded0); }
.product-thumb img { max-height: 190px; width: auto; transition: transform .4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 22px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body .tag { font-size: 11px; color: var(--gold-deep); letter-spacing: 2px; margin-bottom: 8px; }
.product-body h3 { font-size: 19px; margin-bottom: 10px; }
.product-body p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; flex: 1; }
.product-link { font-size: 13px; color: var(--gold-deep); font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; }
.product-link:hover { color: var(--ink); }

/* ---------- 卖点 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.feature { position: relative; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); }
.feature .num { font-family: var(--serif); font-size: 13px; color: var(--gold-light); letter-spacing: 2px; }
.feature h3 { font-size: 21px; margin: 12px 0 14px; }
.feature p { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.9; }

/* ---------- 知识文章 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { border: 1px solid var(--line); padding: 30px 28px; background: #fff; transition: .25s; }
.article-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.article-card time { font-size: 12px; color: var(--gold-deep); letter-spacing: 1px; }
.article-card h3 { font-size: 20px; margin: 12px 0 14px; }
.article-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.article-card a.more { font-size: 13px; color: var(--gold-deep); font-weight: 600; }

/* ---------- 京东引流大卡 ---------- */
.jd-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: linear-gradient(120deg, #1a1a1a, #2b2620);
  color: #fff; padding: 56px 60px; border: 1px solid rgba(226,201,142,.25);
}
.jd-panel h2 { color: #fff; margin-bottom: 16px; }
.jd-panel p { color: rgba(255,255,255,.66); max-width: 640px; }
.jd-panel .jd-side { text-align: center; }
.jd-panel .jd-side img { width: 130px; margin: 0 auto 20px; }
.jd-note { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 14px; }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--cream); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crumb .wrap { padding: 14px 0; }
.crumb a:hover { color: var(--gold-deep); }
.crumb span { margin: 0 8px; color: #b9b2a6; }

/* ---------- 页面头 ---------- */
.page-head { padding: 78px 0 64px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 12px 0 18px; }
.page-head p { color: var(--muted); max-width: 760px; font-size: 17px; }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button {
  border: 1px solid var(--line); background: #fff; padding: 9px 20px;
  font-size: 13px; cursor: pointer; color: var(--muted); transition: .2s;
}
.filters button:hover, .filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 42px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -37px; top: 9px; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px var(--cream);
}
.timeline-item .year { font-family: var(--serif); font-size: 15px; color: var(--gold-deep); letter-spacing: 2px; }
.timeline-item h3 { margin: 8px 0 12px; }
.timeline-item p { color: var(--muted); font-size: 15px; }

/* ---------- 两栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { width: 100%; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--muted); }

/* ---------- 知识正文 ---------- */
.doc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.doc-side { position: sticky; top: 100px; border-left: 2px solid var(--line); }
.doc-side a { display: block; padding: 10px 16px; font-size: 14px; color: var(--muted); border-left: 2px solid transparent; margin-left: -2px; }
.doc-side a:hover, .doc-side a.active { color: var(--gold-deep); border-left-color: var(--gold); background: var(--cream); }
.doc-main h2 { font-size: 28px; margin: 48px 0 18px; padding-top: 12px; }
.doc-main h2:first-child { margin-top: 0; }
.doc-main h3 { font-size: 19px; margin: 30px 0 12px; }
.doc-main p, .doc-main li { color: #4a4641; font-size: 15.5px; }
.doc-main ol, .doc-main ul { padding-left: 22px; margin-bottom: 18px; }
.doc-main ol { list-style: decimal; }
.doc-main ul { list-style: disc; }
.doc-main li { margin-bottom: 8px; }
.doc-main .callout { background: var(--cream); border-left: 3px solid var(--gold); padding: 20px 24px; margin: 24px 0; font-size: 14px; color: var(--muted); }
.doc-main table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.doc-main th, .doc-main td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.doc-main th { background: var(--cream); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 17px; padding: 22px 44px 22px 0; position: relative; cursor: pointer; font-family: var(--sans); font-weight: 600; }
.faq-item h3::after { content: "+"; position: absolute; right: 8px; top: 19px; color: var(--gold-deep); font-size: 22px; font-weight: 300; }
.faq-item.open h3::after { content: "−"; }
.faq-item .faq-a { display: none; padding: 0 40px 22px 0; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- 京东入口页 ---------- */
.store-hero { text-align: center; padding: 80px 0 44px; }
.store-hero .store-badge { width: 96px; height: 96px; margin: 0 auto 26px; background: var(--jd); color: #fff; display: grid; place-items: center; font-size: 34px; font-family: var(--serif); border-radius: 50%; }
.store-hero h1 { margin-bottom: 18px; }
.store-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.store-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 48px; text-align: center;
}
.store-card h2 { font-size: 27px; margin-bottom: 12px; }
.store-card p { color: var(--muted); }
.store-btn {
  display: block; width: 100%; max-width: 420px; margin: 30px auto 14px;
  background: var(--jd); color: #fff; padding: 18px; font-size: 17px; letter-spacing: 2px;
  transition: .25s;
}
.store-btn:hover { background: #c81f16; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(225,37,27,.24); }
.store-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; text-align: center; }
.store-steps div { padding: 24px; background: var(--cream); }
.store-steps b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-deep); margin-bottom: 8px; }
.store-steps p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #111; color: rgba(255,255,255,.6); padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 15px; margin-bottom: 20px; letter-spacing: 1px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid li { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-brand img { width: 46px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 12px; color: rgba(255,255,255,.42); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.disclaimer { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.4); margin: 0 0 18px; }

/* ---------- 悬浮京东按钮 ---------- */
.float-jd {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  background: var(--jd); color: #fff; padding: 12px 18px; font-size: 13px;
  box-shadow: 0 10px 26px rgba(225,37,27,.32); transition: .25s;
}
.float-jd:hover { transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .article-grid { gap: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; display: flex; flex-wrap: wrap; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  section { padding: 60px 0; }
  .topbar { display: none; }
  .nav { height: 64px; }
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .hero .wrap { min-height: auto; padding: 56px 0; }
  .hero-badge { right: 0; top: 2%; padding: 10px 12px; font-size: 9px; }
  .hero-badge strong { font-size: 20px; }
  .product-grid, .feature-grid, .article-grid, .store-steps { grid-template-columns: 1fr; }
  .jd-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .jd-panel .jd-side img { width: 90px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .store-card { padding: 30px 22px; }
  .doc-main table { font-size: 12px; }
  .float-jd { right: 12px; bottom: 12px; padding: 10px 12px; }
}
