/* =============================================================
   HP 风格官网 · 主样式
   ============================================================= */
:root {
  --blue: #0096d6;
  --blue-dark: #0076ad;
  --blue-deep: #004a7c;
  --blue-soft: #e8f6fd;
  --ink: #0f1720;
  --ink-2: #253340;
  --muted: #5f7183;
  --muted-2: #8a9aab;
  --line: #e4e9ef;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-deep: #0e1620;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 37, 60, 0.06);
  --shadow-md: 0 14px 38px rgba(15, 37, 60, 0.10);
  --shadow-lg: 0 30px 80px rgba(11, 34, 56, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 116px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

body.drawer-open, body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 52px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00a6ea, var(--blue) 55%, #0079b3);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 150, 214, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 150, 214, 0.34); }
.btn-primary:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--blue-dark);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------- 公告条 */
.announce {
  background: #0c141d; color: #d8e4ee; font-size: 13px;
  position: relative; z-index: 60;
}
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 38px; padding: 6px 20px; text-align: center; flex-wrap: wrap;
}
.announce-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #29c7ff;
  box-shadow: 0 0 0 4px rgba(41, 199, 255, 0.18);
  animation: pulse 2.4s infinite;
}
.announce a { color: #7fdcff; font-weight: 600; display: inline-flex; gap: 4px; }
.announce a:hover { text-decoration: underline; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(41, 199, 255, .18); }
  50% { box-shadow: 0 0 0 8px rgba(41, 199, 255, .05); }
}

/* --------------------------------------------------------- 头部 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15, 37, 60, .08); }

.topbar {
  border-bottom: 1px solid var(--line-soft);
  background: #fafcfe;
  font-size: 12.5px; color: var(--muted);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-left a, .topbar-right a { color: var(--muted); transition: color .2s; }
.topbar-left a:hover, .topbar-right a:hover { color: var(--blue-dark); }
.topbar-sep { width: 1px; height: 11px; background: var(--line); }

.navbar { border-bottom: 1px solid var(--line-soft); }
.navbar-inner { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark-slot { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  display: block; width: auto; height: auto;
  max-height: 46px; max-width: 200px; object-fit: contain;
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(140deg, #00b4f0, #0087c9 60%, #005e91);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; position: relative; box-shadow: 0 8px 18px rgba(0, 130, 190, .26);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 1.4px solid rgba(255, 255, 255, .55);
}
.brand-h, .brand-p {
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700;
  font-size: 21px; line-height: 1; letter-spacing: -1px;
}
.brand-p { margin-left: -1px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .16em; }
.brand-text em { font-style: normal; font-size: 10.5px; color: var(--muted-2); letter-spacing: .08em; }

.mainnav { display: flex; align-items: center; gap: clamp(2px, .9vw, 14px); margin-left: auto; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 26px 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .2s;
}
.nav-trigger::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 16px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-item:hover .nav-trigger, .nav-item.active .nav-trigger { color: var(--blue-dark); }
.nav-item:hover .nav-trigger::after, .nav-item.active .nav-trigger::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue-dark); }
.icon-btn.ghost:hover { background: var(--line-soft); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ------------------------------------------------------- 巨型菜单 */
.mega-wrap {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px rgba(15, 37, 60, .12);
  animation: megaIn .28s var(--ease);
  z-index: 49;
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mega-inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 320px;
  gap: clamp(24px, 3vw, 54px);
  padding-top: 34px; padding-bottom: 38px;
}
.mega-col h4 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin-bottom: 14px;
}
.mega-col li + li { margin-top: 2px; }
.mega-col a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; margin-left: -10px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink-2); transition: background .18s, color .18s;
}
.mega-col a:hover { background: var(--bg-soft); color: var(--blue-dark); }
.mega-col a::before {
  content: ""; width: 0; height: 1px; background: var(--blue); transition: width .2s;
}
.mega-col a:hover::before { width: 10px; }

.mega-promo {
  background: var(--bg-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.mega-promo:hover .mega-promo-img img { transform: scale(1.04); }
.mega-promo-img { aspect-ratio: 16 / 9; overflow: hidden; background: #eef4fa; }
.mega-promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo-body { padding: 18px 20px 22px; }
.mega-promo-body h5 { font-size: 16px; margin-bottom: 6px; }
.mega-promo-body p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }

/* ----------------------------------------------------------- Hero */
.hero {
  position: relative;
  height: clamp(520px, 43vw, 660px);
  overflow: hidden;
  background: #eef4fa;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-slide.is-active .hero-media img { animation: heroZoom 9s linear forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.07); } }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 34%, rgba(255,255,255,0) 62%);
}
.hero-slide[data-theme="dark"]::after {
  background: linear-gradient(100deg, rgba(6,10,18,.92) 0%, rgba(6,10,18,.62) 36%, rgba(6,10,18,0) 66%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.hero-copy { max-width: 610px; }
.hero-slide[data-align="center"] .hero-copy { margin: 0 auto; text-align: center; }
.hero-slide[data-align="right"] .hero-copy { margin-left: auto; text-align: right; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-dark); background: rgba(0, 150, 214, .1);
  border: 1px solid rgba(0, 150, 214, .22);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-slide[data-theme="dark"] .hero-kicker { color: #6fd8ff; background: rgba(41, 199, 255, .13); border-color: rgba(41, 199, 255, .3); }
.hero-title {
  font-size: clamp(34px, 4.1vw, 62px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 700;
  margin-bottom: 18px;
}
.hero-desc { font-size: clamp(15px, 1.15vw, 18px); color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-slide[data-theme="dark"] .hero-desc { color: #a9bccc; }
.hero-slide[data-theme="dark"] .hero-title { color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide[data-align="center"] .hero-actions { justify-content: center; }
.hero-slide[data-align="right"] .hero-actions { justify-content: flex-end; }
.hero-slide[data-theme="dark"] .btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.hero-slide[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.hero-copy > * { opacity: 0; transform: translateY(22px); }
.hero-slide.is-active .hero-copy > * { animation: heroUp .8s var(--ease) forwards; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero-nav {
  position: absolute; z-index: 3; right: clamp(18px, 4vw, 52px); bottom: 40px;
  display: flex; align-items: center; gap: 10px;
}
.hero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.82); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.hero-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow:hover { background: #fff; transform: translateY(-2px); }

.hero-dots {
  position: absolute; z-index: 3; left: clamp(18px, 4vw, 52px); bottom: 40px;
  display: flex; align-items: center; gap: 10px;
}
.hero-dot {
  width: 34px; height: 4px; border-radius: 999px; background: rgba(15, 23, 32, .18);
  overflow: hidden; position: relative;
}
.hero-dot::after {
  content: ""; position: absolute; inset: 0; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
}
.hero-dot.is-active::after { animation: dotFill var(--hero-interval, 6s) linear forwards; }
.hero-dot.is-active.is-paused::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-slide[data-theme="dark"] ~ .hero-dots .hero-dot { background: rgba(255,255,255,.3); }

/* -------------------------------------------------------- 快捷栏 */
.quick-rail {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quick-item {
  background: #fff; padding: 20px clamp(16px, 2vw, 30px);
  display: flex; align-items: center; gap: 14px;
  transition: background .2s;
}
.quick-item:hover { background: var(--bg-soft); }
.quick-item .qi-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft);
  color: var(--blue-dark); display: grid; place-items: center; flex-shrink: 0;
}
.quick-item .qi-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quick-item strong { display: block; font-size: 14px; }
.quick-item span span {
  display: block; font-size: 12px; color: var(--muted-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --------------------------------------------------------- 楼层 */
.floors { display: block; }
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section.tight { padding-top: clamp(30px, 4vw, 52px); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head h2 {
  font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.015em; line-height: 1.2;
}
.section-head p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.section-head .head-link { flex-shrink: 0; padding-bottom: 4px; }

/* 品类磁贴 */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; background: #fff; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(0,150,214,.14), transparent 70%);
  transition: transform .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.tile:hover::after { transform: scale(1.35); }
.tile-ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--bg-soft);
  color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 18px;
}
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 17px; margin-bottom: 6px; }
.tile p { font-size: 13px; color: var(--muted); }
.tile .tile-go { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--blue-dark); display: inline-flex; gap: 6px; align-items: center; }

/* 商品卡 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,150,214,.28); }
.pc-media {
  position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #f8fbfd, #eef4f9);
  overflow: hidden;
}
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(15, 23, 32, .86); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px); letter-spacing: .02em;
}
.pc-tag.is-hot { background: linear-gradient(135deg, #ff7a3d, #e8382f); }
.pc-quick {
  position: absolute; inset: auto 14px 14px 14px; z-index: 2;
  display: flex; justify-content: flex-end;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.product-card:hover .pc-quick { opacity: 1; transform: translateY(0); }
.pc-quick span {
  background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600;
  border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-title { font-size: 15.5px; font-weight: 600; line-height: 1.45; margin-bottom: 6px; }
.pc-desc { font-size: 12.8px; color: var(--muted); line-height: 1.55; min-height: 38px; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.price { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.price .cur { font-size: 13px; font-weight: 600; }
.price .num { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.price .unit { font-size: 12px; color: var(--muted-2); }
.price.is-ask .num { font-size: 20px; }
.price-old { font-size: 12px; color: var(--muted-2); text-decoration: line-through; margin-left: 6px; }
.pc-cta { font-size: 13px; font-weight: 600; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 4px; }

/* 分栏楼层 */
.split {
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center;
  gap: clamp(28px, 4vw, 72px);
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: #101820;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-copy .hero-kicker { margin-bottom: 18px; }
.split-copy h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
.split-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 22px; }
.split-list { margin-bottom: 28px; }
.split-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-2); padding: 7px 0;
}
.split-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 服务保障 */
.service-band { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }
.service-item { display: flex; gap: 16px; align-items: flex-start; }
.service-ico {
  width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue-dark);
  display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.service-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-item h3 { font-size: 15px; margin-bottom: 4px; }
.service-item p { font-size: 12.8px; color: var(--muted); line-height: 1.6; }

/* 订阅 */
.subscribe {
  background: radial-gradient(1100px 320px at 12% 0%, #123a5c 0%, #0b1620 58%, #070d14 100%);
  color: #fff; padding: clamp(44px, 5vw, 72px) 0;
}
.subscribe-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.subscribe-copy h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.015em; }
.subscribe-copy p { color: #9fb3c4; font-size: 14px; margin-top: 8px; max-width: 560px; }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input {
  height: 48px; width: 260px; max-width: 100%; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff;
  outline: none; transition: border-color .2s, background .2s;
}
.subscribe-form input::placeholder { color: #8ba0b2; }
.subscribe-form input:focus { border-color: var(--blue); background: rgba(255,255,255,.12); }
.subscribe-form .btn { height: 48px; }

/* --------------------------------------------------------- 页脚 */
.site-footer { background: #f7f9fc; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 300px; }
.footer-contact { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.footer-contact strong { font-size: 20px; display: block; letter-spacing: .01em; }
.footer-contact span { color: var(--muted-2); font-size: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--blue-dark); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-social a {
  font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue-dark); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 20px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted-2);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--blue-dark); }
.footer-note { font-size: 11.5px; color: #9aa9b8; margin-top: 10px; line-height: 1.6; }

/* --------------------------------------------------------- 弹窗 */
.modal-root {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(8, 18, 28, .58);
  backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease);
}
.modal {
  position: relative; z-index: 1; width: min(940px, 100%);
  max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px;
  box-shadow: var(--shadow-lg); animation: modalIn .38s var(--ease);
  display: grid; grid-template-columns: 0.92fr 1.08fr;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, transform .2s;
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.modal-aside { background: linear-gradient(180deg, #f6fafd, #eaf3fa); padding: 30px; display: flex; flex-direction: column; }
.modal-aside img { width: 100%; border-radius: 14px; background: #fff; }
.modal-aside .ma-tag { font-size: 11.5px; font-weight: 700; color: var(--blue-dark); letter-spacing: .1em; margin-bottom: 12px; }
.modal-aside h3 { font-size: 19px; line-height: 1.4; margin-top: 18px; }
.modal-aside p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.modal-aside .price { margin-top: 16px; }
.modal-aside .ma-note { margin-top: auto; padding-top: 22px; font-size: 12px; color: var(--muted-2); line-height: 1.7; }
.modal-aside .ma-note li { display: flex; gap: 8px; }
.modal-aside .ma-note li + li { margin-top: 6px; }
.modal-aside .ma-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.modal-main { padding: 34px clamp(24px, 3vw, 38px) 32px; }
.modal-main h2 { font-size: 24px; letter-spacing: -.02em; line-height: 1.3; }
.modal-main .mm-sub { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px;
}
.field label .req { color: #e8382f; margin-left: 2px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; background: #fbfcfe; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,150,214,.1); }
.field input.invalid, .field textarea.invalid { border-color: #e8382f; background: #fff7f6; }
.field .err { font-size: 11.5px; color: #e8382f; margin-top: 5px; display: none; }
.field.has-error .err { display: block; }
.form-consent { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted-2); line-height: 1.6; display: flex; gap: 8px; align-items: flex-start; }
.form-consent input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--blue); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
.form-actions .btn { min-width: 168px; }
.form-actions .fa-tip { font-size: 11.5px; color: var(--muted-2); }

.modal-success { padding: 60px 40px; text-align: center; grid-column: 1 / -1; }
.success-ring {
  width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%;
  background: rgba(0, 150, 214, .1); display: grid; place-items: center;
}
.success-ring svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success-ring path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal-success h2 { font-size: 24px; margin-bottom: 10px; }
.modal-success p { color: var(--muted); font-size: 14px; }
.modal-success .ms-code {
  display: inline-block; margin-top: 16px; font-size: 12px; color: var(--ink-2);
  background: var(--bg-soft); border-radius: 999px; padding: 6px 14px;
}

/* --------------------------------------------------------- 搜索 */
.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(15, 37, 60, .1);
  padding: 26px 0 30px; animation: megaIn .25s var(--ease);
}
.search-box {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.search-ico { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-box input {
  flex: 1; border: 0; outline: none; font-size: clamp(18px, 2vw, 22px);
  background: transparent; padding: 6px 0;
}
.search-box input::placeholder { color: #b9c5d1; }
.search-results { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sr-item {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px;
  border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.sr-item:hover { border-color: var(--blue); background: var(--bg-soft); }
.sr-item img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.sr-item strong { display: block; font-size: 13px; line-height: 1.4; }
.sr-item span { font-size: 12px; color: var(--muted-2); }
.search-hints { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-hints button {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.search-hints button:hover { border-color: var(--blue); color: var(--blue-dark); }
.search-empty { padding: 20px 0; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------- 移动端菜单 */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 180; background: #fff;
  display: flex; flex-direction: column; padding: 16px 20px 28px;
  animation: drawerIn .3s var(--ease);
  overflow-y: auto;
}
@keyframes drawerIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 8px 0; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line-soft); }
.drawer-nav summary {
  list-style: none; cursor: pointer; padding: 16px 4px; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font-weight: 400; color: var(--muted-2); font-size: 18px; }
.drawer-nav details[open] summary::after { content: "–"; }
.drawer-nav .dn-group { padding: 0 4px 12px; }
.drawer-nav .dn-group h5 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 10px 0 4px; }
.drawer-nav .dn-group a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.drawer-foot { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(16px);
  background: rgba(12, 22, 32, .94); color: #fff; font-size: 13.5px;
  padding: 13px 22px; border-radius: 999px; z-index: 300;
  box-shadow: 0 18px 40px rgba(10, 25, 40, .28);
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: #b3261e; }

/* ----------------------------------------------------- 滚动动效 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .mainnav { display: none; }
  .hamburger { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .mega-wrap { display: none !important; }
  .nav-buy { display: none; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* 移动端首屏：图片在上、文案在下，避免大图遮挡与裁切 */
  .hero { height: auto; min-height: 0; background: #fff; }
  .hero-track { position: relative; height: auto; }
  .hero-slide { position: relative; display: none; opacity: 1; visibility: visible; }
  .hero-slide.is-active { display: block; }
  .hero-media { position: relative; aspect-ratio: 16 / 10; height: auto; background: #eef4fa; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-slide::after, .hero-slide[data-theme="dark"]::after { display: none; }
  .hero-content { padding: 26px 0 86px; align-items: flex-start; height: auto; }
  .hero-copy { max-width: none; }
  .hero-title { font-size: 30px; margin-bottom: 12px; }
  .hero-desc { font-size: 14.5px; margin-bottom: 22px; }
  .hero-dots { bottom: 34px; }
  .hero-nav { bottom: 26px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .modal { grid-template-columns: 1fr; max-height: 90vh; }
  .modal-aside { flex-direction: row; gap: 18px; align-items: center; padding: 20px; }
  .modal-aside img { width: 130px; flex-shrink: 0; }
  .modal-aside h3 { margin-top: 0; font-size: 16px; }
  .modal-aside .ma-note { display: none; }
  .quick-rail { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .announce-dot { display: none; }
  .announce-inner { font-size: 12px; line-height: 1.5; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
  .announce-inner #announceText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .announce-inner a { display: none; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .topbar-right a:nth-child(2) { display: none; }
  .navbar-inner { height: 66px; }
  .brand-logo { max-height: 38px; max-width: 140px; }
  .brand-text em { display: none; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head h2 { font-size: 23px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 14px 14px 16px; }
  .pc-title { font-size: 14px; }
  .pc-desc { font-size: 12px; min-height: 34px; }
  .price .num { font-size: 19px; }
  .pc-cta { display: none; }
  .tile-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .subscribe-form { width: 100%; }
  .subscribe-form input { flex: 1; width: auto; min-width: 160px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-nav { bottom: 24px; right: 18px; }
  .hero-dots { bottom: 32px; left: 18px; }
  .hero-dot { width: 26px; }
  .modal-main { padding: 24px 20px 26px; }
  .modal-aside { display: none; }
  .modal-success { padding: 46px 24px; }
  .search-results { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
