﻿/* ===== VIBIVI 设计系统 ===== */
:root {
  --ink: #0B1523;
  --ink-2: #16283D;
  --muted: #5C6C80;
  --line: #E3E9F1;
  --bg: #F5F7FA;
  --paper: #FFFFFF;
  --brand: #0F2E4A;
  --accent: #FF6B35;
  --accent-2: #FF8A5C;
  --teal: #12A594;
  --blue: #2563EB;
  --ok: #12A594;
  --warn: #D97706;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 21, 35, .06), 0 8px 24px rgba(11, 21, 35, .06);
  --shadow-lg: 0 24px 60px rgba(11, 21, 35, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.22; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 780; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 68px 0; }
.section.tight { padding: 44px 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { font-size: 16.5px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ===== 顶栏 ===== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--brand), #1D4E77);
  color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 15.5px; letter-spacing: -.01em; }
.brand-txt i { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; gap: 4px; margin-left: 8px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 550;
  color: var(--ink-2); white-space: nowrap; transition: .16s;
}
.nav a:hover { background: #EEF3F9; }
.nav a.active { color: var(--accent); background: #FFF1EC; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.lang-btn, .cart-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
  height: 38px; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--ink-2);
  transition: .16s;
}
.lang-btn { padding: 0 13px; }
.lang-btn:hover, .cart-btn:hover { border-color: #C9D4E3; box-shadow: 0 2px 8px rgba(11,21,35,.06); }

/* 语言切换菜单 */
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; right: 0; top: 46px; min-width: 168px; z-index: 80;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; border: none; background: none;
  font: inherit; font-size: 14px; padding: 9px 12px; border-radius: 8px;
  cursor: pointer; color: var(--ink);
}
.lang-menu button:hover { background: #F3F6FA; }
.lang-menu button.active { color: var(--accent); font-weight: 700; background: #FFF1EC; }
.foot-contact { white-space: pre-line; }
.cart-btn { padding: 0 14px; position: relative; display: inline-flex; align-items: center; gap: 6px; }
#cartCount {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,107,53,.28); }
.btn-primary:hover { background: #F25C25; transform: translateY(-1px); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: #16405F; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #C2CFDF; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ===== 首页 Hero ===== */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 480px at 78% -10%, #173B5C 0%, #0B1523 62%); color: #fff; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; padding: 74px 0 60px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--accent-2); }
.hero p.lead { color: #B7C6D6; font-size: 17.5px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 22px; font-size: 13px; color: #8CA0B5; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note b { color: #fff; font-weight: 700; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #D6E2EE;
}
.dual-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px; padding: 8px; backdrop-filter: blur(8px);
}
.dual-card .row {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 13px; transition: .18s;
}
.dual-card .row:hover { background: rgba(255,255,255,.08); }
.dual-card .row + .row { border-top: 1px solid rgba(255,255,255,.09); }
.dual-card .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; flex: none; background: rgba(255,255,255,.1); }
.dual-card .tt b { display: block; color: #fff; font-size: 14.5px; }
.dual-card .tt span { font-size: 12.5px; color: #93A7BB; }
.dual-card .go { margin-left: auto; color: var(--accent-2); font-weight: 700; font-size: 13px; }

/* ===== 数据条 ===== */
.statbar { background: #fff; border-bottom: 1px solid var(--line); }
.statbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.stat b { display: block; font-size: 27px; font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }

/* ===== 卡片 / 网格 ===== */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #D6DFEB; }
.card .ico-lg { font-size: 26px; margin-bottom: 12px; display: block; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 14.2px; margin: 0; }
.card.dark { background: var(--brand); color: #fff; border-color: transparent; }
.card.dark p { color: #B7C6D6; }

/* 商品卡 */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard .thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 54px;
  background: linear-gradient(145deg, #F7F9FC, #EDF2F8); border-bottom: 1px solid var(--line); position: relative;
}
.pcard .thumb .flag {
  position: absolute; top: 10px; left: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 7px; font-size: 11px; font-weight: 700; padding: 2px 7px; color: var(--muted);
}
.pcard .body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.pcard .sku { font-size: 11.5px; color: #93A2B4; font-weight: 600; letter-spacing: .04em; }
.pcard .nm { font-size: 15px; font-weight: 680; line-height: 1.35; }
.pcard .pr { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.pcard .pr b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pcard .pr small { font-size: 12px; color: var(--muted); }
.pcard .meta { display: flex; gap: 10px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.pcard .actions { display: flex; gap: 8px; margin-top: 12px; }
.pcard .actions .btn { flex: 1; height: 36px; font-size: 13px; padding: 0 10px; }

.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; letter-spacing: .02em; }
.badge.new { background: #FFF1EC; color: #D9501E; }
.badge.ok { background: #E7F7F3; color: #0C7F70; }
.badge.warn { background: #FEF6E7; color: #B45309; }
.badge.info { background: #EAF1FE; color: #1E50C7; }

/* ===== 表单 ===== */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 11px 13px; font: inherit; font-size: 14.5px; color: var(--ink); transition: .16s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,53,.14); }
textarea.input { resize: vertical; min-height: 96px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12px; color: var(--muted); }

/* ===== 阶梯价表 ===== */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: #FAFBFD; }
.table tr:last-child td { border-bottom: none; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover { background: #FAFCFE; }
.tier-hit { background: #FFF6F1 !important; font-weight: 700; }

/* ===== 页面头 ===== */
.pagehead { background: linear-gradient(180deg, #0B1523, #12283F); color: #fff; padding: 56px 0 48px; }
.pagehead h1 { color: #fff; font-size: clamp(27px, 3.4vw, 42px); }
.pagehead p { color: #A9BACB; max-width: 660px; margin: 0; font-size: 16px; }
.pagehead .chip-row { margin-top: 18px; margin-bottom: 0; }

/* ===== 分栏 ===== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.split.wide-left { grid-template-columns: 1.35fr .65fr; }
.sticky { position: sticky; top: 88px; }

/* ===== 步骤 ===== */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: s; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #FFF1EC; color: var(--accent); font-weight: 800; font-size: 14px;
}
.step .n::before { content: counter(s, decimal-leading-zero); }
.step h4 { margin: 0 0 3px; font-size: 15.5px; }
.step p { margin: 0; font-size: 13.8px; }

/* ===== 购物车抽屉 ===== */
.drawer-mask { position: fixed; inset: 0; background: rgba(11,21,35,.45); opacity: 0; pointer-events: none; transition: .22s; z-index: 90; }
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff;
  transform: translateX(102%); transition: transform .26s cubic-bezier(.4,0,.2,1); z-index: 95;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 16px; }
.x-btn { border: none; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.x-btn:hover { background: #F1F4F8; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-line { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line .ci { width: 46px; height: 46px; border-radius: 10px; background: #F1F5FA; display: grid; place-items: center; font-size: 22px; }
.cart-line .cn { font-size: 13.8px; font-weight: 650; line-height: 1.3; }
.cart-line .cp { font-size: 12.5px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 26px; height: 26px; border: none; background: #fff; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.qty button:hover { background: #F1F4F8; }
.qty span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 650; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: #FAFBFD; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.sum-row.total { font-size: 17px; font-weight: 800; margin: 12px 0 14px; }

/* ===== 弹窗 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(11,21,35,.5); display: none; place-items: center; z-index: 100; padding: 20px; }
.modal-mask.open { display: grid; }
.modal { background: #fff; border-radius: 16px; width: min(520px, 100%); max-height: 88vh; overflow-y: auto; padding: 26px; box-shadow: var(--shadow-lg); }

/* ===== Toast ===== */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast-item {
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px;
  box-shadow: var(--shadow-lg); opacity: 0; transition: .25s; max-width: 86vw;
}
.toast-item.show { opacity: 1; transform: none; }
.toast-item.ok { background: #0C7F70; }
.toast-item.err { background: #C2410C; }

/* ===== 页脚 ===== */
.site-foot { background: #0B1523; color: #8CA0B5; padding: 54px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { display: block; font-size: 13.8px; padding: 4px 0; color: #8CA0B5; }
.site-foot a:hover { color: #fff; }
.site-foot .brand-txt b { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }

/* ===== 其它 ===== */
.notice { background: #FFF7E8; border: 1px solid #F5DFB8; color: #8A5A00; padding: 12px 15px; border-radius: 10px; font-size: 13.5px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: .16s;
}
.pill:hover { border-color: #C6D3E3; }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.divider { height: 1px; background: var(--line); margin: 26px 0; }
.loading { padding: 40px; text-align: center; color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 44px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; }
  .statbar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 46px 0; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .head-inner { height: 60px; gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: 7px 9px; font-size: 13.5px; }
  .brand-txt i { display: none; }
  .drawer { width: 100vw; }
}

/* ===== RTL：阿拉伯语等从右到左语言 ===== */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .head-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-menu { right: auto; left: 0; text-align: right; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-102%); }
[dir="rtl"] .drawer.open { transform: none; }
[dir="rtl"] .pcard .thumb .flag { left: auto; right: 10px; }
[dir="rtl"] .brand-txt i { letter-spacing: 0; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .table th, [dir="rtl"] .table td { text-align: right; }
[dir="rtl"] .table td.num, [dir="rtl"] .table th.num { text-align: left; }
[dir="rtl"] .sum-row, [dir="rtl"] .cart-line, [dir="rtl"] .field label { text-align: right; }
[dir="rtl"] .step { padding-right: 0; }
[dir="rtl"] .kv dd { text-align: right; }
[dir="rtl"] .foot-bottom, [dir="rtl"] .site-foot a { text-align: right; }
[dir="rtl"] .chip, [dir="rtl"] .badge { direction: rtl; }

/* 标题里的强调片段不拆行（避免日语片假名/英语短语被从中间断开） */
h1 span, .pagehead h1 span { white-space: nowrap; }

/* ===== 可访问性 ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== 私域入口 ===== */
.contact-strip { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 44px; }
.contact-head { margin-bottom: 22px; }
.contact-head h3 { margin-bottom: 4px; }
.contact-head p { margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 780px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #FAFBFD; transition: .18s; text-align: center;
}
.contact-card:hover { border-color: #C6D3E3; box-shadow: var(--shadow); transform: translateY(-2px); }
.qr-box {
  width: 104px; height: 104px; border-radius: 10px; background: #fff;
  border: 1px dashed #C9D4E3; display: grid; place-items: center; overflow: hidden;
}
.qr-img { width: 100%; height: 100%; object-fit: cover; }
.qr-empty { color: #B7C3D2; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.contact-card b { font-size: 14px; }
.contact-card .small { font-size: 12px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   DESIGN V2 · Editorial Industrial
   近黑 + 暖纸色 + 极细线 + 超大字距 + 跑马灯 + Bento 网格
   ============================================================ */
:root {
  --ink: #0B0B0C;
  --ink-2: #1A1A1C;
  --paper: #F3F1EC;
  --bg: #F3F1EC;
  --white: #FFFFFF;
  --paper-2: #EAE6DE;
  --muted: #6B6862;
  --line: #DCD8D0;
  --line-strong: #0B0B0C;
  --accent: #FF4D1C;
  --accent-2: #FF7A4D;
  --radius: 2px;
  --shadow: none;
  --shadow-lg: 0 20px 60px rgba(11, 11, 12, .12);
  --max: 1240px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "ss01", "cv01";
}

h1, h2, h3, h4 { letter-spacing: -.045em; font-weight: 800; }
h1 { font-size: clamp(38px, 5.6vw, 86px); line-height: .98; }
h2 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.02; }
h3 { font-size: 20px; letter-spacing: -.02em; }

.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--ink); }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 16px; color: var(--muted); }

/* 顶栏 */
.site-head {
  background: rgba(243, 241, 236, .88);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: saturate(180%) blur(14px);
}
.head-inner { height: 76px; }
.brand-mark {
  border-radius: 2px; background: var(--ink); color: var(--paper);
  width: 36px; height: 36px; font-size: 15px; letter-spacing: -.04em;
}
.brand-txt b { font-size: 14px; letter-spacing: -.02em; text-transform: uppercase; }
.brand-txt i { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.nav a {
  border-radius: 0; padding: 8px 12px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { background: none; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { background: none; color: var(--accent); }
.nav a.active::after { background: var(--accent); transform: scaleX(1); }
.lang-btn, .cart-btn {
  border-radius: 999px; border: 1px solid var(--ink); background: transparent;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.lang-btn:hover, .cart-btn:hover { background: var(--ink); color: var(--paper); }
#cartCount { background: var(--accent); }

/* 按钮 */
.btn {
  border-radius: 999px; height: 50px; padding: 0 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: none; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); transform: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: none; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 10.5px; }

/* 跑马灯 */
.marquee {
  border-block: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  overflow: hidden; padding: 11px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 34px; animation: marquee 38s linear infinite; will-change: transform; }
.marquee span {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 34px;
}
.marquee span::after { content: "✕"; color: var(--accent); font-size: 9px; letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Hero */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 78% 18%, rgba(255, 77, 28, .34), transparent 42%),
                    radial-gradient(circle at 12% 88%, rgba(255, 122, 77, .16), transparent 46%);
}
.hero-inner { position: relative; z-index: 1; padding: 84px 0 0; display: block; }
.hero h1 { color: var(--paper); max-width: 15ch; letter-spacing: -.05em; }
.hero h1 span { color: var(--accent); }
.hero .lead { color: #B9B5AC; font-size: 17px; max-width: 54ch; margin-top: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .btn-ghost { color: var(--paper); border-color: rgba(243, 241, 236, .45); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.chip-row { margin: 0 0 24px; }
.chip {
  border-radius: 999px; border: 1px solid rgba(243, 241, 236, .3); background: transparent;
  color: #CFCBC2; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px;
}
.hero-note {
  margin-top: 0; padding: 26px 0; color: #8E8A82; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid rgba(243, 241, 236, .16);
  display: flex; gap: 44px; flex-wrap: wrap;
}
.hero-note b { color: var(--paper); font-size: 15px; margin-right: 6px; }

/* Hero 数据带 */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(243,241,236,.16); }
.hero-stats > div { padding: 26px 0; border-right: 1px solid rgba(243,241,236,.16); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: none; }
.hero-stats b { display: block; color: var(--paper); font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.hero-stats span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8E8A82; }

/* 双通道 */
.dual-card { background: transparent; border: none; padding: 0; backdrop-filter: none; }
.dual-card .row {
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white);
  padding: 22px 24px; margin-bottom: 10px; align-items: center;
}
.dual-card .row:hover { background: var(--ink); color: var(--paper); }
.dual-card .row:hover .tt b, .dual-card .row:hover .tt span, .dual-card .row:hover .go { color: var(--paper); }
.dual-card .row + .row { border-top: 1px solid var(--ink); }
.dual-card .ico { border-radius: 2px; background: var(--paper-2); font-size: 18px; }
.dual-card .tt b { font-size: 14px; letter-spacing: -.01em; }
.dual-card .tt span { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.dual-card .go { font-size: 18px; }

/* 卡片与网格 */
.card {
  border-radius: var(--radius); border: 1px solid var(--ink); background: var(--white);
  padding: 26px; box-shadow: none;
}
.card:hover { transform: none; box-shadow: none; background: var(--ink); color: var(--paper); }
.card:hover p, .card:hover .small, .card:hover .ico-lg { color: var(--paper); }
.card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card .ico-lg { font-size: 24px; margin-bottom: 18px; }

/* 商品卡 */
.pcard { border-radius: var(--radius); border: 1px solid var(--ink); background: var(--white); }
.pcard:hover { transform: none; box-shadow: none; }
.pcard .thumb {
  background: var(--paper-2); border-bottom: 1px solid var(--ink); font-size: 48px;
  aspect-ratio: 1 / 1;
}
.pcard .thumb .flag {
  border-radius: 999px; border: 1px solid var(--ink); font-size: 9.5px;
  letter-spacing: .1em; padding: 3px 8px;
}
.pcard .body { padding: 18px 18px 20px; gap: 8px; }
.pcard .sku { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcard .nm { font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.pcard .pr b { font-size: 22px; letter-spacing: -.04em; }
.pcard .actions .btn { flex: 1; }

/* 表格 */
.table th {
  background: transparent; border-bottom: 1px solid var(--ink);
  font-size: 10px; letter-spacing: .16em;
}
.table td, .table th { padding: 14px 12px; }
.table tbody tr:hover { background: var(--paper-2); }

/* 表单 */
.input, select.input, textarea.input {
  border-radius: var(--radius); border: 1px solid var(--ink); background: var(--white);
  padding: 13px 14px; font-size: 14px;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 28, .16); }
.field label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* 页脚 */
.site-foot { background: var(--ink); color: #9A968D; border-top: 1px solid var(--ink); }
.site-foot h4 { font-size: 10.5px; letter-spacing: .18em; color: var(--paper); }
.site-foot a { font-size: 13px; }
.site-foot a:hover { color: var(--accent); }

/* 私域入口 */
.contact-strip { background: var(--paper-2); border-top: 1px solid var(--ink); }
.contact-card { border-radius: var(--radius); border: 1px solid var(--ink); background: var(--white); }
.contact-card:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.contact-card:hover .small { color: #B9B5AC; }
.qr-box { border-radius: var(--radius); border: 1px dashed var(--ink); }

/* Bento 网格 */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bento .cell {
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 168px; transition: background .2s, color .2s;
}
.bento .cell:hover { background: var(--ink); color: var(--paper); }
.bento .cell:hover .cell-num, .bento .cell:hover .small { color: var(--paper); }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .row-2 { grid-row: span 2; }
.cell-num { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.cell-title { font-size: 19px; font-weight: 750; letter-spacing: -.025em; margin: 10px 0 4px; }
.bento .cell.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.bento .cell.accent:hover { background: var(--ink); border-color: var(--ink); }
.bento .cell.dark { background: var(--ink); color: var(--paper); }
.bento .cell.dark .cell-num { color: #8E8A82; }

/* 编号章节 */
.section-index {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 32px;
  display: flex; justify-content: space-between;
}

/* 大数字条 */
.stat-band { border-block: 1px solid var(--ink); background: var(--white); }
.stat-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band-inner > div { padding: 30px 0; border-right: 1px solid var(--ink); }
.stat-band-inner > div:last-child { border-right: none; }
.stat-band b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat-band span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* 页头 */
.pagehead { background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--ink); }
.pagehead p { color: #B9B5AC; }
.pagehead .chip { border-color: rgba(243,241,236,.3); color: #CFCBC2; }

@media (max-width: 980px) {
  .hero-inner { padding-top: 56px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-3 { grid-column: span 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: none; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-band-inner > div:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .span-2, .bento .span-3 { grid-column: span 1; }
  .hero-stats b { font-size: 30px; }
}

/* v2 修正：hero 纹理与 bento 单元排版 */
.hero::after {
  background: radial-gradient(900px 420px at 82% 8%, rgba(255, 77, 28, .22), transparent 62%),
              radial-gradient(700px 380px at 6% 96%, rgba(255, 122, 77, .10), transparent 60%);
  background-repeat: no-repeat;
  opacity: 1;
}
.bento .cell { position: relative; gap: 0; }
.bento .cell .cell-icon {
  font-size: 30px; line-height: 1; margin-top: auto; margin-bottom: 12px;
  display: block;
}
.bento .cell .cell-title { margin: 0 0 6px; font-size: 20px; }
.bento .cell .cell-sub { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bento .cell:hover .cell-sub { color: #B9B5AC; }
.bento .cell.accent .cell-sub { color: rgba(255,255,255,.75); }

/* v2 修正：商品占位图更像"设计过的"，而不是空面板 */
.pcard .thumb { font-size: 74px; position: relative; overflow: hidden; }
.pcard .thumb::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11,11,12,.10) 1px, transparent 1px);
  background-size: 18px 18px;
}
.pcard .thumb > * { position: relative; z-index: 1; }
.pcard:hover .thumb { background: var(--ink); }
.pcard:hover .thumb::before { opacity: .5; }

/* ============================================================
   DESIGN V3 · Holographic signature
   全息只做"记忆点"，不做整站皮肤（B 端要的是可信，不是炫技）
   ============================================================ */
:root {
  --holo-1: #FF4D1C;
  --holo-2: #FFB38A;
  --holo-3: #7BE7FF;
  --holo-4: #B79CFF;
  --holo-5: #FFE9A8;
}

/* 颗粒质感（印刷感，压住屏幕的塑料味） */
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero 全息光晕：跟随鼠标 */
.hero { position: relative; isolation: isolate; }
.holo-aura {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at var(--mx, 78%) var(--my, 22%), rgba(123, 231, 255, .30), transparent 62%),
    radial-gradient(42% 46% at calc(var(--mx, 78%) - 24%) calc(var(--my, 22%) + 26%), rgba(183, 156, 255, .26), transparent 66%),
    radial-gradient(46% 52% at calc(var(--mx, 78%) + 18%) calc(var(--my, 22%) + 12%), rgba(255, 77, 28, .34), transparent 68%);
  filter: blur(26px) saturate(130%);
  transition: background-position .2s;
  animation: aura-drift 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes aura-drift {
  0% { transform: translate3d(-2%, 1%, 0) scale(1); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.08); }
}

/* 全息文字：标题里的强调字 */
.holo-text {
  background: linear-gradient(100deg, var(--holo-5) 0%, var(--holo-2) 18%, var(--holo-3) 38%,
              var(--holo-4) 56%, var(--holo-5) 74%, var(--holo-2) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: holo-shift 9s linear infinite;
}
@keyframes holo-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

/* 全息描边（卡片 hover 时的流转边框） */
.holo-edge { position: relative; }
.holo-edge::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), var(--holo-1), var(--holo-3), var(--holo-4), var(--holo-2), var(--holo-1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.holo-edge:hover::before { opacity: 1; animation: holo-rotate 4s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes holo-rotate { to { --a: 360deg; } }

/* 3D 倾斜 */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); }

/* 滚动进入 */
/* 默认可见；只有 JS 加上 .reveal-ready 之后才启用入场动画（无 JS 也不会空白） */
[data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); }

/* 城市带 */
.city-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0 0;
  border-top: 1px solid rgba(243,241,236,.16); margin-top: 22px;
}
.city-strip span {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #7E7A72;
  display: inline-flex; align-items: center; gap: 8px;
}
.city-strip span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--holo-3); }

@media (prefers-reduced-motion: reduce) {
  .holo-aura, .holo-text, .holo-edge::before { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* 标题强调字套全息渐变 */
.hero h1 span, .pagehead h1 span {
  background: linear-gradient(100deg, #FFE9A8 0%, #FFB38A 18%, #7BE7FF 38%, #B79CFF 56%, #FFE9A8 74%, #FFB38A 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: holo-shift 9s linear infinite;
}

/* ===== 全息产品舞台 ===== */
.holo-stage {
  position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--ink); border-radius: 2px;
  background: radial-gradient(60% 60% at 50% 42%, #101418 0%, #07080A 72%);
  overflow: hidden; display: grid; place-items: center; isolation: isolate;
}
.holo-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(123,231,255,.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(123,231,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 55%, #000 38%, transparent 86%);
  mask-image: radial-gradient(62% 62% at 50% 55%, #000 38%, transparent 86%);
}
.holo-ring {
  position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(123,231,255,.32);
  box-shadow: inset 0 0 40px rgba(123,231,255,.16);
  animation: holo-spin 16s linear infinite;
}
.holo-ring.r2 { width: 42%; border-color: rgba(255,77,28,.38); animation-duration: 10s; animation-direction: reverse; }
@keyframes holo-spin { to { transform: rotate(360deg); } }
.holo-obj {
  position: relative; font-size: 124px; line-height: 1;
  filter: drop-shadow(0 0 26px rgba(123,231,255,.55)) drop-shadow(0 0 8px rgba(255,255,255,.30));
  animation: holo-float 5.5s ease-in-out infinite;
}
@keyframes holo-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.holo-base {
  position: absolute; bottom: 13%; width: 46%; height: 24px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(123,231,255,.42), transparent 70%);
  filter: blur(7px);
}
.holo-scan {
  position: absolute; left: 0; right: 0; height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(123,231,255,.12) 46%,
              rgba(123,231,255,.34) 50%, rgba(123,231,255,.12) 54%, transparent 100%);
  mix-blend-mode: screen; animation: holo-scan 6.5s linear infinite;
}
@keyframes holo-scan { 0% { transform: translateY(-70%); } 100% { transform: translateY(280%); } }
@media (prefers-reduced-motion: reduce) { .holo-ring, .holo-obj, .holo-scan { animation: none !important; } }

.ship-quote { margin-top: 10px; }
.ship-quote .table td, .ship-quote .table th { padding: 9px 10px; font-size: 12.5px; }
.ship-quote .table tr:first-child td { background: #FFF6F1; }

/* ===== 费用拆解 ===== */
.cost-break { margin-top: 14px; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; }
.cost-head {
  background: var(--ink); color: var(--paper); padding: 9px 12px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
}
.cost-break .table { border: none; }
.cost-break .table td { font-size: 12.5px; padding: 8px 12px; }
.cost-break .table tr.cost-total td { background: #FFF6F1; border-top: 1px solid var(--ink); }
.cost-break .hint { margin: 0; padding: 9px 12px; border-top: 1px solid var(--line); }

/* 商品卡按钮在窄屏不再被截断 */
.pcard .actions { flex-wrap: wrap; }
.pcard .actions .btn { flex: 1 1 44%; white-space: normal; line-height: 1.15; height: auto; min-height: 38px; padding: 8px; }

/* 服务配置器：可选的条款与增值服务 */
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 6px 11px; font: inherit; font-size: 11.5px; cursor: pointer; color: var(--muted);
  transition: .15s; text-align: left;
}
.svc-chip:hover { border-color: var(--ink); color: var(--ink); }
.svc-chip.on {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.cost-break select.input { padding: 9px 10px; font-size: 13px; }


/* 类目几何占位图 */
.pcard .thumb { display: block; position: relative; background: var(--paper); overflow: hidden; }
.pcard .thumb .pimg { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.pcard:hover .thumb .pimg { transform: scale(1.04); }
.holo-obj .holo-img { width: 74%; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
