/* ==========================================================================
   DONO 2026 catalog landing page
   设计基线：移动端优先，配色取自产品手册效果图主色（#2759c8 / #e0d060）。
   ========================================================================== */

:root {
  --brand: #2759c8;
  --brand-600: #1f49a8;
  --brand-700: #17377f;
  --brand-300: #6f9bf0;
  --accent: #e0d060;
  --ink: #0e1424;
  --ink-soft: #4a5468;
  --ink-faint: #7b8598;
  --line: #e3e7f0;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --shadow-sm: 0 1px 2px rgb(14 20 36 / 6%), 0 2px 8px rgb(14 20 36 / 5%);
  --shadow-md: 0 6px 16px rgb(14 20 36 / 8%), 0 2px 6px rgb(14 20 36 / 5%);
  --shadow-lg: 0 18px 42px rgb(23 55 127 / 22%), 0 6px 14px rgb(23 55 127 / 12%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1120px;
  --pad: clamp(16px, 4.2vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- 语言切换：默认英文，[data-lang="zh"] 时显示中文 ---------- */
html[data-lang="en"] .i18n-zh,
html[data-lang="zh"] .i18n-en { display: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 图标 ---------- */
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}
.ico--lg { width: 30px; height: 30px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
    background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-300) 0%, var(--brand) 45%, var(--brand-700) 100%);
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover { color: #fff; box-shadow: 0 22px 48px rgb(23 55 127 / 30%), 0 6px 16px rgb(23 55 127 / 16%); }

.btn--outline {
  color: var(--brand-700);
  background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 26%, #fff);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { background: color-mix(in srgb, var(--brand) 6%, #fff); color: var(--brand-700); }

.btn--ghost {
  min-height: 40px;
  padding: 8px 16px;
  color: var(--brand-700);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  border-color: color-mix(in srgb, var(--brand) 16%, #fff);
  font-size: .92rem;
}
.btn--ghost:hover { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand-700); }

.btn__label { white-space: nowrap; }
.btn__meta {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 22%);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, #fff 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgb(227 231 240 / 90%);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding-block: 8px;
}
.brand { display: flex; align-items: center; }
.brand__logo { width: auto; height: clamp(30px, 7vw, 38px); }

.topbar__actions { display: flex; align-items: center; gap: 8px; }

.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  color: var(--brand-700);
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.langbtn:hover { background: color-mix(in srgb, var(--brand) 14%, #fff); }
.langbtn:active { transform: scale(.97); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(26px, 6vw, 56px) clamp(22px, 5vw, 44px);
  background:
    radial-gradient(120% 90% at 50% -18%, color-mix(in srgb, var(--brand) 14%, transparent) 0%, transparent 62%),
    var(--bg);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 15px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, #fff);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-700);
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.eyebrow .ico { color: var(--accent); }

.hero__title {
  font-size: clamp(26px, 6.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero__lede {
  max-width: 62ch;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: clamp(14.5px, 1.1vw + 12px, 17px);
}

.hero__media {
  margin: clamp(22px, 4.5vw, 36px) auto 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.zoomable {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.zoomable img { width: 100%; }
.zoomable__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgb(14 20 36 / 66%);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.zoomable:active img { transform: scale(.995); }
.zoomable img { transition: transform .3s var(--ease); }

/* 顶部与底部区域的紧凑节奏：标题和下行说明都居中，移动端不出现孤立行。 */
.hero__title + .hero__lede { margin-top: clamp(12px, 2.4vw, 18px); }

/* ---------- 主 CTA ---------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 4vw, 32px);
}
.cta .btn { flex: 1 1 240px; max-width: 340px; }
.btn--download { font-size: 1.02rem; }

.cta__note {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: .86rem;
}

/* ---------- 蓝色赠阅卡（对应截图主体） ---------- */
.personal { padding-block: clamp(20px, 4vw, 34px); }

.card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.card--brand {
  color: #fff;
  background:
    radial-gradient(90% 140% at 88% 6%, rgb(255 255 255 / 16%) 0%, transparent 58%),
    linear-gradient(155deg, var(--brand-300) 0%, var(--brand) 42%, var(--brand-700) 100%);
}
.card__grid {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
  padding: clamp(22px, 5vw, 40px);
}
@media (min-width: 860px) {
  .card__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}

.card__kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card__name {
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.card__meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 22%);
}
.card__meta > div { display: grid; gap: 2px; }
.card__meta dt {
  color: rgb(255 255 255 / 74%);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card__meta dd { font-size: 1rem; font-weight: 550; overflow-wrap: anywhere; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  font-size: .88rem;
  font-weight: 600;
}

/* ---------- 事实卡片 ---------- */
.facts { padding-block: clamp(22px, 4.5vw, 44px); }
.facts__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fact {
  padding: clamp(18px, 3.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fact .ico { color: var(--brand); }
.fact h3 {
  margin: 12px 0 6px;
  font-size: 1.02rem;
  font-weight: 750;
}
.fact p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- 联系 ---------- */
.contact {
  padding-block: clamp(30px, 6vw, 62px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact__title { font-size: clamp(21px, 4vw, 30px); font-weight: 800; }
.contact__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(18px, 3.4vw, 26px);
}
.contact__row .btn { flex: 1 1 220px; max-width: 300px; }
.contact__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: .9rem;
}
.dot { color: var(--ink-faint); }

/* ---------- 页脚 ---------- */
.footer {
  padding-block: 22px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-faint);
  font-size: .84rem;
}
.footer__links { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 灯箱 ---------- */
.lightbox {
  width: min(96vw, 1500px);
  max-width: 1500px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0b0f1a;
  box-shadow: 0 40px 90px rgb(0 0 0 / 55%);
}
.lightbox::backdrop { background: rgb(6 9 16 / 82%); backdrop-filter: blur(3px); }
.lightbox img { width: 100%; border-radius: var(--radius); }
.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.lightbox__close .ico { width: 22px; height: 22px; }

/* ---------- 状态：下载中 ---------- */
.btn--download[aria-busy="true"] { pointer-events: none; opacity: .82; }
.btn--download[aria-busy="true"] .ico { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 响应式微调 ---------- */
@media (max-width: 560px) {
  .topbar__site { display: none; }
  .cta .btn { flex: 1 1 100%; max-width: none; }
  .contact__row .btn { flex: 1 1 100%; max-width: none; }
  .card__meta { gap: 14px; }
}

@media (min-width: 561px) {
  .br-mobile { display: none; }
}

/* 支持刘海屏安全区 */
@supports (padding: max(0px)) {
  .topbar__inner { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
  .footer__inner { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .fact:hover { transform: none; }
}

@media print {
  .topbar, .cta, .zoomable__hint, .lightbox { display: none !important; }
  body { background: #fff; }
}
