/* =========================================================
   云外贸网站 v1.1 原型 — styles.css（全站样式，契约冻结）
   tech-dark + industrial-utilitarian，只准使用 CSS 变量
   ========================================================= */

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #243244;
  --border: #334155;
  --fg: #f1f5f9;
  --muted: #94a3b8;
  --primary: #ff6b35;
  --primary-h: #e65c26;
  --accent: #0ea5e9;
  --success: #22c55e;
  --up: #eab308;
  --down: #ef4444;
  --rad-s: 4px;
  --rad: 8px;
  --tr: 150ms cubic-bezier(.4, 0, .2, 1);
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --shadow-1: 0 1px 3px rgba(2, 6, 23, .5);
  --shadow-2: 0 8px 24px rgba(2, 6, 23, .55);
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Microsoft YaHei', sans-serif;
  --font-body: 'Barlow', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 165, 233, .07), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(255, 107, 53, .05), transparent 60%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-up { color: var(--up); }
.text-down { color: var(--down); }
.text-success { color: var(--success); }

/* ---------------- App Shell 布局 ---------------- */
.app-topbar {
  position: fixed; top: 0; right: 0; left: var(--sidebar-w);
  height: var(--topbar-h); z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.app-topbar .tb-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-topbar .tb-crumb { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topbar .tb-crumb b { color: var(--fg); font-weight: 600; }
.app-topbar .tb-right { display: flex; align-items: center; gap: 12px; }

.app-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w); z-index: 50;
  display: flex; flex-direction: column;
  background: #0c1425;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.app-sidebar .sb-brand {
  display: flex; align-items: center; gap: 10px;
  height: var(--topbar-h); padding: 0 18px; flex: none;
  border-bottom: 1px solid var(--border);
}
.app-sidebar .sb-mark {
  width: 34px; height: 34px; flex: none; border-radius: var(--rad-s);
  display: grid; place-items: center;
  background: var(--primary); color: #0b0f19;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.app-sidebar .sb-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.app-sidebar .sb-name small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .12em; text-transform: none; }
.app-sidebar .sb-nav { flex: 1; padding: 12px 10px; }
.app-sidebar .sb-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin-bottom: 2px;
  border-radius: var(--rad-s);
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  transition: color var(--tr), background var(--tr), border-color var(--tr);
}
.app-sidebar .sb-link svg { flex: none; opacity: .85; }
.app-sidebar .sb-link:hover { color: var(--fg); background: var(--surface); }
.app-sidebar .sb-link.active {
  color: var(--fg); background: var(--surface);
  border-color: var(--border);
  box-shadow: inset 3px 0 0 var(--primary);
}
.app-sidebar .sb-cta { flex: none; padding: 14px; border-top: 1px solid var(--border); }
.app-sidebar .sb-cta-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--rad);
  background: var(--primary); color: #14100c;
  font-weight: 600; font-size: 13.5px;
  transition: background var(--tr), transform var(--tr);
}
.app-sidebar .sb-cta-card:hover { background: var(--primary-h); transform: translateY(-1px); }

.app-content { margin-left: var(--sidebar-w); padding-top: var(--topbar-h); min-height: calc(100vh - 140px); }
.app-footer { margin-left: var(--sidebar-w); border-top: 1px solid var(--border); background: #0c1425; }

.app-tabs {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: 64px; background: rgba(12, 20, 37, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
.app-tabs .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--muted); font-size: 10.5px;
}
.app-tabs .tab.active { color: var(--primary); }

@media (max-width: 900px) {
  .app-sidebar { display: none; }
  .app-topbar { left: 0; padding: 0 14px; }
  .app-content { margin-left: 0; }
  .app-footer { margin-left: 0; }
  body { padding-bottom: 72px; }
  .app-tabs { display: flex; }
}

/* ---------------- 版式 ---------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 32px; }
.wrap-tight { max-width: 960px; margin: 0 auto; padding: 32px; }
@media (max-width: 900px) { .wrap, .wrap-tight { padding: 20px 16px; } }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 20px; }
.sec-head .kicker {
  display: flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px;
}
.sec-head .kicker::before { content: ''; width: 22px; height: 2px; background: var(--primary); }
.sec-head .title { font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.sec-head .sub { color: var(--muted); font-size: 13px; margin-top: 4px; max-width: 640px; }
.sec-head .more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; transition: color var(--tr); }
.sec-head .more:hover { color: var(--primary); }
@media (max-width: 640px) { .sec-head { flex-direction: column; align-items: flex-start; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--rad-s);
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent;
  transition: background var(--tr), border-color var(--tr), color var(--tr), transform var(--tr);
  user-select: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #14100c; }
.btn-primary:hover { background: var(--primary-h); }
.btn-outline { border-color: var(--border); color: var(--fg); background: transparent; }
.btn-outline:hover { border-color: var(--muted); background: var(--surface); }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--fg); background: var(--surface); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 18px;
}
.card-hover { transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr); }
.card-hover:hover { border-color: #46587a; transform: translateY(-2px); box-shadow: var(--shadow-2); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 3px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
  white-space: nowrap;
}
.badge-accent { color: var(--accent); border-color: rgba(14, 165, 233, .4); background: rgba(14, 165, 233, .08); }
.badge-success { color: var(--success); border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.badge-up { color: var(--up); border-color: rgba(234, 179, 8, .4); background: rgba(234, 179, 8, .08); }
.badge-down { color: var(--down); border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); }
.badge-muted { color: var(--muted); }
.badge-primary { color: var(--primary); border-color: rgba(255, 107, 53, .45); background: rgba(255, 107, 53, .08); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 13px; font-weight: 500;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
  cursor: pointer;
}
.chip:hover { color: var(--fg); border-color: #46587a; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #14100c; font-weight: 600; }

/* ---------------- 表单 ---------------- */
.label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .03em; }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px;
  background: var(--surface-2); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--rad-s);
  font-family: inherit; font-size: 13.5px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.input::placeholder, .textarea::placeholder { color: #64748b; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field { margin-bottom: 14px; }
.field .err { color: var(--down); font-size: 12px; margin-top: 5px; display: none; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--down); }
.field.invalid .err { display: block; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ---------------- 表格 ---------------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; padding: 10px 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  background: rgba(36, 50, 68, .5); white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid rgba(51, 65, 85, .55); vertical-align: middle; }
.table tbody tr { transition: background var(--tr); }
.table tbody tr:hover { background: rgba(36, 50, 68, .45); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--rad); background: var(--surface); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid rgba(51, 65, 85, .55); text-align: left; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 500; background: rgba(36, 50, 68, .4); white-space: nowrap; }
.spec-table td { font-weight: 500; }

/* ---------------- 抽屉 / 弹窗 / Toast ---------------- */
.drawer-overlay, .modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(2, 6, 23, .6); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity var(--tr);
}
.drawer-overlay.open, .modal-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: 500px; max-width: 94vw;
  background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  transform: translateX(102%); transition: transform 180ms cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border); flex: none;
}
.drawer .drawer-head h3 { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: .03em; }
.drawer .drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer .drawer-foot { flex: none; display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); }
.drawer .icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--rad-s); background: transparent; border: none; color: var(--muted); transition: background var(--tr), color var(--tr); }
.drawer .icon-btn:hover { background: var(--surface-2); color: var(--fg); }

.modal {
  position: fixed; inset: 0; z-index: 95;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity var(--tr);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  width: 420px; max-width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--rad);
  padding: 22px; box-shadow: var(--shadow-2);
}
.modal-box h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.modal-box p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.modal-box .modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn-danger { background: var(--down); color: #fff; border: none; }
.btn-danger:hover { background: #dc2626; }

.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  min-width: 220px; max-width: 340px;
  padding: 12px 16px; border-radius: var(--rad);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-2); font-size: 13.5px; font-weight: 500;
  animation: toast-in 180ms ease-out;
}
.toast .t-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.toast.success .t-ic { color: var(--success); background: rgba(34, 197, 94, .12); }
.toast.error .t-ic { color: var(--down); background: rgba(239, 68, 68, .12); }
.toast.info .t-ic { color: var(--accent); background: rgba(14, 165, 233, .12); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- 空态 / 骨架 ---------------- */
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty svg { opacity: .4; margin: 0 auto 12px; }
.empty .e-title { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.empty .e-sub { font-size: 12.5px; }

.skeleton { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--rad); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .08), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sk-line { height: 14px; margin-bottom: 10px; border-radius: 4px; }
.sk-block { height: 150px; }

/* ---------------- 图片占位 ---------------- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 160px; border-radius: var(--rad);
  background:
    repeating-linear-gradient(-45deg, rgba(148, 163, 184, .045) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, #26364d 0%, #1c293c 55%, #243244 100%);
  border: 1px solid var(--border);
  color: var(--muted); overflow: hidden;
}
.ph svg { opacity: .5; }
.ph .ph-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; text-align: center; padding: 0 12px; }
.ph-tall { min-height: 300px; }
.ph-wide { min-height: 220px; }
.ph-sm { min-height: 96px; border-radius: var(--rad-s); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero .hero-frame { position: relative; min-height: 420px; display: none; }
.hero .hero-frame.active { display: flex; align-items: center; }
.hero .hero-inner { max-width: 1180px; margin: 0 auto; padding: 56px 32px; width: 100%; position: relative; z-index: 2; }
.hero .hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero .hero-title { font-family: var(--font-display); font-size: 52px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; max-width: 720px; }
.hero .hero-title .hl { color: var(--primary); }
.hero .hero-sub { margin-top: 16px; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero .hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .hero-dots { position: absolute; right: 32px; bottom: 22px; display: flex; gap: 8px; z-index: 3; }
.hero .hero-dots button { width: 26px; height: 4px; border-radius: 2px; border: none; background: var(--border); transition: background var(--tr), width var(--tr); padding: 0; }
.hero .hero-dots button.active { background: var(--primary); width: 40px; }
.hero .hero-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(-45deg, rgba(148, 163, 184, .035) 0 14px, transparent 14px 28px),
    radial-gradient(620px 300px at 80% 30%, rgba(255, 107, 53, .08), transparent 65%),
    radial-gradient(520px 260px at 15% 85%, rgba(14, 165, 233, .09), transparent 65%);
}
@media (max-width: 900px) {
  .hero .hero-title { font-size: 34px; }
  .hero .hero-inner { padding: 40px 18px; }
  .hero .hero-frame { min-height: 340px; }
}

/* ---------------- Marquee 快讯 ---------------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--border); background: rgba(30, 41, 59, .6); }
.marquee .mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.marquee .mq-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 26px; font-size: 12.5px; color: var(--muted); white-space: nowrap; border-right: 1px solid rgba(51, 65, 85, .5); }
.marquee .mq-item b { color: var(--fg); font-weight: 600; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { opacity: .5; display: inline-flex; }
.breadcrumb .cur { color: var(--fg); font-weight: 500; }

/* ---------------- 产品卡 / 新闻卡 ---------------- */
.p-card .p-img { margin: -18px -18px 14px; border-radius: var(--rad) var(--rad) 0 0; overflow: hidden; }
.p-card .p-img .ph { border: none; border-bottom: 1px solid var(--border); border-radius: 0; min-height: 150px; }
.p-card .p-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.p-card .p-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.p-card .p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.p-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.p-scroll .p-card { flex: 0 0 262px; scroll-snap-align: start; }
.p-scroll::-webkit-scrollbar { height: 8px; }
.p-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.p-scroll::-webkit-scrollbar-track { background: transparent; }

.n-card .n-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.n-card .n-title { font-size: 15.5px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; transition: color var(--tr); }
.n-card:hover .n-title { color: var(--primary); }
.n-card .n-ex { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 手风琴 ---------------- */
.acc { border: 1px solid var(--border); border-radius: var(--rad); background: var(--surface); overflow: hidden; margin-bottom: 12px; }
.acc .acc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; background: transparent; border: none; color: var(--fg); font-size: 14.5px; font-weight: 600; text-align: left; transition: background var(--tr); }
.acc .acc-head:hover { background: rgba(36, 50, 68, .5); }
.acc .acc-head svg { flex: none; color: var(--muted); transition: transform var(--tr); }
.acc.open .acc-head svg { transform: rotate(180deg); }
.acc .acc-body { display: none; padding: 0 18px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.acc.open .acc-body { display: block; }

/* ---------------- CTA 条 ---------------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--rad);
  background:
    repeating-linear-gradient(-45deg, rgba(255, 107, 53, .05) 0 12px, transparent 12px 24px),
    linear-gradient(120deg, #22304a, #1a2438);
  padding: 34px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-band h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.cta-band p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------------- Footer ---------------- */
.app-footer .foot-grid { max-width: 1180px; margin: 0 auto; padding: 40px 32px 28px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
.app-footer .foot-h { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: var(--fg); }
.app-footer .foot-link { display: block; padding: 4px 0; color: var(--muted); font-size: 13px; transition: color var(--tr); }
.app-footer .foot-link:hover { color: var(--primary); }
.app-footer .foot-about { color: var(--muted); font-size: 13px; line-height: 1.7; }
.app-footer .foot-contact li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 13px; padding: 4px 0; }
.app-footer .foot-contact svg { flex: none; margin-top: 2px; color: var(--primary); }
.app-footer .foot-bar { border-top: 1px solid var(--border); padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 900px) { .app-footer .foot-grid { grid-template-columns: 1fr 1fr; padding: 28px 18px 20px; } }
@media (max-width: 560px) { .app-footer .foot-grid { grid-template-columns: 1fr; } }

/* ---------------- 语言切换 ---------------- */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--rad-s); overflow: hidden; background: var(--surface); }
.lang-switch button { padding: 6px 11px; background: transparent; border: none; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; transition: background var(--tr), color var(--tr); }
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button:hover { color: var(--fg); }
.lang-switch button.active { background: var(--primary); color: #14100c; }

/* ---------------- 入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .mq-track { animation: none; }
}

/* ---------------- 其他 ---------------- */
.page-head { padding: 26px 0 6px; }
.page-head .ph-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.page-head .ph-sub { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 720px; }
.divider { height: 1px; background: var(--border); border: none; margin: 28px 0; }
.stat-mini { display: flex; align-items: baseline; gap: 8px; }
.stat-mini b { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--primary); }
.stat-mini span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
