:root {
  --topbar-h: 2rem;
  --bg: #f4f6fc;
  --surface: #ffffff;
  --line: #d7deed;
  --ink: #1f2740;
  --muted: #5d6881;
  --brand-blue: #2a2fbc;
  --brand-blue-deep: #2428a3;
  --brand-pink: #8f1f2d;
  --brand-pink-deep: #6a1621;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
}
.container { width: min(1240px, 92vw); margin: 0 auto; }
.top-banner {
  position: sticky;
  top: 0;
  z-index: 140;
  background: var(--brand-blue-deep);
  color: #edf4ff;
  font-size: 0.82rem;
  border-bottom: 1px solid #3138c8;
  height: var(--topbar-h);
}
.top-banner .container {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  height: var(--topbar-h);
}
.news-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(248, 251, 255, 0.42);
  background: rgba(13, 20, 72, 0.62);
  border-radius: 999px;
  color: #f2f7ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.13rem 0.56rem;
}
.news-marquee { overflow: hidden; flex: 1; min-width: 0; height: 1.16rem; display: flex; align-items: center; }
.news-track { display: inline-flex; width: max-content; gap: 1.2rem; white-space: nowrap; align-items: center; animation: news-scroll 32s linear infinite; padding-right: 1.2rem; }
.news-item { color: #f2f6ff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; }
@keyframes news-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.top-banner a {
  color: #ffdede;
  font-weight: 700;
  text-decoration: none;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 227, 227, 0.4);
  border-radius: 999px;
  padding: 0.11rem 0.54rem;
  background: rgba(142, 32, 44, 0.32);
}
header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top: var(--topbar-h);
  z-index: 130;
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.44rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}
.brand img { width: clamp(126px, 13.4vw, 194px); height: auto; border-radius: 0; object-fit: contain; }
.brand strong { display: none; font-size: 1rem; line-height: 1.1; }
.brand small { display: none; font-size: 0.68rem; color: var(--brand-pink); letter-spacing: 0.06em; text-transform: uppercase; }
.menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.28rem; }
.menu a { text-decoration: none; color: #1f2c41; font-size: 0.82rem; font-weight: 600; padding: 0.18rem 0.44rem; border-radius: 999px; border: 1px solid transparent; }
.menu a:hover { border-color: #c6d4ea; background: #f4f8ff; }
.menu-dropdown { position: relative; }
.menu-trigger {
  appearance: none;
  border: 1px solid #cfdbec;
  border-radius: 999px;
  background: #ffffff;
  color: #244673;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1;
  padding: 0.3rem 0.64rem;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.menu-trigger:hover {
  border-color: #9eb6df;
  background: #f5f8ff;
  box-shadow: 0 8px 16px rgba(21, 45, 84, 0.12);
}

.menu > .menu-dropdown:first-of-type .menu-trigger {
  border-color: #dcb9c0;
  background: #fff4f6;
  color: #8f1f2d;
}

.menu > .menu-dropdown:first-of-type .menu-trigger:hover {
  border-color: #cb8f9a;
  background: #ffecef;
}

.menu > .menu-dropdown:first-of-type .menu-trigger.active {
  background: #8f1f2d;
  color: #ffffff;
  border-color: #721925;
}

.menu > .menu-dropdown:nth-of-type(2) .menu-trigger {
  border-color: #b9ccee;
  background: #f3f8ff;
  color: #1f43a7;
}

.menu > .menu-dropdown:nth-of-type(2) .menu-trigger:hover {
  border-color: #8eacdf;
  background: #eaf2ff;
}

.menu > .menu-dropdown:nth-of-type(2) .menu-trigger.active {
  background: #1f43a7;
  color: #ffffff;
  border-color: #19398f;
}
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 180;
  min-width: 240px;
  border: 1px solid #d2deef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 20, 40, 0.16);
  padding: 0.3rem;
  display: none !important;
}
.menu-panel a { display: block; border-radius: 9px; padding: 0.3rem 0.42rem; }
.menu-dropdown:hover .menu-panel,
.menu-dropdown:focus-within .menu-panel { display: block !important; }
.nav-right { display: inline-flex; align-items: center; gap: 0.42rem; justify-content: flex-end; }
.nav-right .home-link { color: #2f466b; border: 1px solid #d1ddee; background: #f7faff; border-radius: 8px; padding: 0.34rem 0.58rem; text-decoration: none; font-weight: 600; font-size: 0.82rem; }
main { padding: 2.4rem 0 3rem; }
.hero { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 1.2rem; }
.sku { display: inline-flex; border: 1px solid #bfcadb; border-radius: 999px; padding: 0.16rem 0.62rem; font-size: 0.75rem; color: #4f6280; background: #f2f7fe; }
h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.55rem 0 0.35rem; }
.hero p { color: #4b5a72; }
.grid { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.card { border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; padding: 0.9rem; }
.card h2 { font-size: 1.02rem; margin-bottom: 0.35rem; color: #30435d; }
ul { padding-left: 1rem; }
li { margin-bottom: 0.24rem; }
.cta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 0.48rem 0.95rem; text-decoration: none; font-weight: 700; font-size: 0.85rem;
}
.btn.primary { background: var(--brand-blue); border: 1px solid var(--brand-blue-deep); color: #f5f9ff; }
.btn.ghost { border: 1px solid #bac6d8; color: #3f5370; background: #f4f8fd; }
footer { padding: 1.3rem 0 2rem; border-top: 1px solid var(--line); color: #5a667a; font-size: 0.9rem; }
@media (max-width: 840px) { .grid { grid-template-columns: 1fr; } }
@media (max-width: 1120px) {
  .nav { grid-template-columns: 1fr; gap: 0.54rem; }
  .menu { justify-content: flex-start; }
}
