/* ============================================================
   幻灵钰AI - 站点样式（克隆复刻版）
   说明：本文件为独立重写的实现，视觉风格对齐原站
   ============================================================ */

:root {
  --ink: #0d1424;
  --muted: #697386;
  --line: #e4e8f0;
  --paper: #f5f7fb;
  --navy: #070c19;
  --blue: #5968ff;
  --blue-dark: #4052df;
  --cyan: #6df2ff;
  --green: #12a66a;
  --red: #e5485d;
  --gold: #f0a600;
  --shadow: 0 18px 55px rgba(19, 31, 58, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
main { min-height: calc(100vh - 220px); }
[hidden] { display: none !important; }

.content-width {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  gap: 30px;
  color: #f8fbff;
  background: #080d1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-logo {
  width: 58px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 34px);
  font-size: 14px;
}

.main-nav > a {
  position: relative;
  color: #bcc5d6;
  white-space: nowrap;
  cursor: pointer;
}

.main-nav > a:hover,
.main-nav > a.active { color: #ffffff; }

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -25px;
  height: 2px;
  background: var(--cyan);
  transition: left 0.2s ease, right 0.2s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after { left: 0; right: 0; }

.menu-button, .mobile-auth { display: none; }

.menu-button {
  width: 42px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #ffffff;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.auth-login, .auth-register {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.auth-login { color: #dce4f4; border: 1px solid rgba(255, 255, 255, 0.18); }

.auth-register {
  color: #07101c;
  background: linear-gradient(135deg, #ffffff, #75efff);
}

/* ---------- 公告轮播 ---------- */
.announcement-banner {
  position: relative;
  height: auto;
  aspect-ratio: 3 / 1; /* 图片加载前的占位比例；加载后由 site.js 按图真实比例动态覆盖，任意比例均完整显示 */
  min-height: 100px;
  overflow: hidden;
  background: #070c19;
}

.announcement-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.announcement-slide.is-active { opacity: 1; }

.announcement-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  background: rgba(7, 12, 25, 0.45);
  cursor: pointer;
  z-index: 2;
}

.announcement-arrow-left { left: 18px; }
.announcement-arrow-right { right: 18px; }

/* ---------- 特色条 ---------- */
.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 26px clamp(22px, 5vw, 78px);
  color: #eaf1ff;
  background: linear-gradient(120deg, #0b1230, #101a48 45%, #0b1230);
}

.quick-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.quick-strip strong {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.quick-strip span { font-size: 13px; color: #9fb0d2; }

/* ---------- 分区标题 ---------- */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.text-button span { transition: transform 0.2s ease; }
.text-button:hover span { transform: translateX(3px); }

/* ---------- 分类按钮 ---------- */
.category-section { padding: 46px 0 10px; }

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #3c4661;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-icon {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 800;
  color: var(--category-color, var(--blue));
  background: color-mix(in srgb, var(--category-color, var(--blue)) 12%, #ffffff);
  border-radius: 8px;
}

.category:hover { border-color: color-mix(in srgb, var(--category-color) 45%, #ffffff); }

.category-active {
  color: #ffffff;
  background: var(--category-color, var(--blue));
  border-color: transparent;
}

.category-active .category-icon {
  color: var(--category-color, var(--blue));
  background: #ffffff;
}

/* ---------- 商品卡片 ---------- */
.products-section { padding: 26px 0 56px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--blue) 40%, #ffffff);
  box-shadow: 0 18px 45px rgba(19, 31, 58, 0.12);
}

.product-topline {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #93a0bb;
  margin-bottom: 16px;
}

.product-topline span:last-child { color: var(--blue); }

/* 商品图：固定展示区 + 暗色面板居中 */
.product-icon {
  width: 100%;
  height: 140px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #0d121c 0%, #0a0e18 100%);
  border: 1px solid rgba(77,141,255,0.12);
  margin-bottom: 14px;
}
.product-icon img {
  max-width: 72%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
/* 详情页/相关区块里的商品大图：不再被容器撑大 */
.product-detail-visual.has-image img,
.product-detail-visual img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* 移动端商品图略小 */
@media (max-width: 480px) {
  .product-icon { height: 110px; }
  .product-detail-visual img { max-height: 200px; }
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.services-product-description {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.sales {
  margin: 0 0 10px;
  font-size: 12px;
  color: #98a3ba;
}

.product-coin-reward {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  color: #a06a12;
}

.product-coin-reward img { width: 16px; height: 16px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tags span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #3c4661;
  background: #f1f4fa;
  border-radius: 7px;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card-price > div {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.product-card-price span { font-size: 14px; font-weight: 700; color: var(--blue); }
.product-card-price strong { font-size: 26px; font-weight: 900; color: var(--blue); }
.product-card-price small { font-size: 12px; color: var(--muted); }
.product-card-price del { font-size: 13px; color: #a7b0c5; }

.product-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}

.product-card-detail,
.product-card-buy {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card-detail {
  color: #2c3651;
  background: #eef1f8;
}

.product-card-detail:hover { background: #e4e9f4; }

.product-card-buy {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--blue) 70%, #000000 8%));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 32%, transparent);
}

.product-card-buy:hover { transform: translateY(-1px); }

.products-empty {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--line);
  border-radius: 20px;
}

.products-empty strong { display: block; margin-bottom: 6px; font-size: 17px; }
.products-empty p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 公司简介 ---------- */
.company-profile { padding: 30px 0 20px; }

.company-profile-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.company-profile-heading h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.company-profile-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.company-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
}

.company-profile-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 22px;
  padding: 34px;
  overflow: hidden;
  color: #eaf1ff;
  background: linear-gradient(130deg, #0d1533, #1a2560 55%, #0d1533);
  border-radius: 26px;
}

.company-profile-stats { display: grid; gap: 14px; }

.company-profile-stats article {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.company-profile-stats span { font-size: 13px; color: #9fb0d2; }
.company-profile-stats strong { display: block; margin-top: 4px; font-size: 30px; font-weight: 900; }

.company-profile-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.company-profile-features article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.company-profile-features b {
  font-size: 15px;
  color: var(--cyan);
}

.company-profile-features strong { display: block; font-size: 15px; margin-bottom: 3px; }
.company-profile-features span { font-size: 13px; color: #9fb0d2; }

.company-profile-visual {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  opacity: 0.12;
  pointer-events: none;
}

.company-profile-visual img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 文章卡片 ---------- */
.editorial-home { padding: 40px 0 10px; }

.editorial-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.editorial-heading h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.editorial-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.editorial-heading > a { font-size: 14px; font-weight: 700; color: var(--blue-dark); }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.editorial-card {
  position: relative;
  display: block;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #0a1024;
}

.editorial-card-featured { grid-row: span 1; }

.editorial-card-media, .editorial-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.editorial-card-media img { object-fit: cover; }

.editorial-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 25, 0) 35%, rgba(7, 12, 25, 0.88));
}

.editorial-card-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  color: #ffffff;
}

.editorial-card-copy span { font-size: 11px; color: #a9c6e8; }
.editorial-card-copy h3 {
  margin: 6px 0 4px;
  font-size: 15px;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editorial-card-copy p { margin: 0; font-size: 12px; color: #b9cadf; }
.editorial-card-copy b { display: block; margin-top: 10px; font-size: 12px; color: var(--cyan); }

/* ---------- 幻灵值横幅 ---------- */
.coin-home-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 40px 0;
  padding: 30px 36px;
  color: #eaf1ff;
  background: radial-gradient(circle at 88% 30%, rgba(109, 242, 255, 0.22), transparent 42%), linear-gradient(120deg, #131c46, #0c1230);
  border-radius: 24px;
}

.coin-home-orb {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #ffffff, #ffe9a8 45%, #f0a600);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(240, 166, 0, 0.4);
}

.coin-home-orb img { width: 52px; height: 52px; object-fit: contain; }

.coin-home-banner h2 { margin: 0 0 6px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; }
.coin-home-banner p { margin: 0; font-size: 13px; color: #9fb0d2; }

.coin-home-banner > a {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #07101c;
  padding: 13px 22px;
  background: linear-gradient(135deg, #ffffff, #75efff);
  border-radius: 12px;
}

/* ---------- 服务横幅 ---------- */
.service-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 28px 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.service-banner h2 { margin: 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; }

.service-list { display: flex; gap: 26px; flex-wrap: wrap; }

.service-list span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.service-list b { color: var(--blue-dark); }

/* ---------- Services 页 ---------- */
.services-hero {
  padding: 64px 0 50px;
  color: #eaf1ff;
  background:
    radial-gradient(circle at 82% 18%, rgba(89, 104, 255, 0.35), transparent 45%),
    radial-gradient(circle at 8% 82%, rgba(109, 242, 255, 0.16), transparent 40%),
    #0a1024;
}

.services-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}

.services-hero-copy h1 { margin: 0 0 14px; font-size: clamp(26px, 4vw, 40px); font-weight: 900; }
.services-hero-copy p { margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: #9fb0d2; max-width: 520px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(64, 82, 223, 0.35);
}

.button-primary:hover { transform: translateY(-1px); }

.services-hero-stats { display: grid; gap: 14px; }

.services-hero-stats article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.services-hero-stats strong { font-size: 24px; font-weight: 900; color: var(--cyan); }
.services-hero-stats span { font-size: 13px; color: #9fb0d2; }

.services-support-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 70px;
  padding: 30px 36px;
  color: #eaf1ff;
  background: linear-gradient(120deg, #131c46, #0c1230);
  border-radius: 22px;
}

.services-support-cta h2 { margin: 0 0 6px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; }
.services-support-cta span { font-size: 14px; color: #9fb0d2; }

.services-products-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.services-products-heading h2 { margin: 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; }
.services-products-heading span { font-size: 13px; color: var(--muted); }

/* ---------- 商品详情页 ---------- */
.product-detail-hero {
  padding: 44px 0;
  color: #eaf1ff;
  background:
    radial-gradient(circle at 85% 15%, rgba(89, 104, 255, 0.32), transparent 44%),
    #0a1024;
}

.product-detail-width {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.product-detail-hero nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 13px;
  color: #9fb0d2;
}

.product-detail-hero nav strong { color: #ffffff; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.product-detail-visual {
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
}

.product-detail-visual img { width: 100%; object-fit: contain; }

.product-detail-copy .section-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--cyan);
}

.product-detail-copy h1 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; }
.product-detail-copy > p { margin: 0 0 22px; font-size: 15px; line-height: 1.85; color: #aebadb; }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.product-price strong { font-size: 36px; font-weight: 900; color: var(--cyan); }
.product-price del { font-size: 15px; color: #7c8aad; }
.product-price span { font-size: 13px; color: #9fb0d2; }

.product-coin-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.product-coin-mark { width: 34px; height: 34px; object-fit: contain; }
.product-coin-line strong { display: block; font-size: 14px; margin-bottom: 2px; }
.product-coin-line span { font-size: 12px; color: #9fb0d2; }

.product-info-columns {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 22px;
  padding: 44px 0 70px;
}

.product-info-columns section {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line-d);
  border-radius: 18px;
}

.product-info-columns h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; color: #f0f4ff; }

.product-info-columns ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.product-info-columns li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-left: 4px;
  position: relative;
  padding-left: 18px;
}

.product-info-columns li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(77,141,255,.7);
}

/* ---------- 商品详述：摘要 + 可折叠全文 ---------- */
.pdc-brief { color: var(--text-dim) !important; line-height: 1.85; margin: 0 0 18px; }

.pdc-desc {
  margin: 0 0 24px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line-d);
  border-radius: 18px;
}
.pdc-desc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.pdc-desc-head h2 { margin: 0; font-size: 17px; font-weight: 800; color: #f0f4ff; }
.pdc-toggle {
  flex: none; padding: 7px 16px; font-size: 13px; font-weight: 700;
  color: var(--blue-soft); background: rgba(77,141,255,.10);
  border: 1px solid rgba(77,141,255,.34); border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.pdc-toggle:hover { background: rgba(77,141,255,.2); border-color: rgba(77,141,255,.6); }
.pdc-desc-body { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.pdc-desc-body p {
  margin: 0 0 12px; font-size: 14px; line-height: 1.9; color: var(--text-dim);
  padding-left: 14px; border-left: 2px solid rgba(77,141,255,.24);
}
.pdc-desc-body p:last-child { margin-bottom: 0; }
.pdc-desc-body p:first-child { color: #cdd6e6; }

/* ---------- 联系客服发货页 ---------- */
.contact-hero {
  padding: 56px 0 40px;
  color: #eaf1ff;
  background:
    radial-gradient(circle at 85% 20%, rgba(18, 166, 106, 0.28), transparent 46%),
    radial-gradient(circle at 10% 85%, rgba(89, 104, 255, 0.25), transparent 44%),
    #0a1024;
}

.contact-width {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.contact-hero .section-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--cyan);
}

.contact-hero h1 { margin: 0 0 14px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.contact-hero > p { margin: 0 auto 26px; max-width: 560px; font-size: 15px; line-height: 1.8; color: #9fb0d2; }

.contact-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-align: left;
}

.contact-product-chip img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,0.08); padding: 4px; }

.contact-product-chip strong { display: block; font-size: 16px; }
.contact-product-chip em { font-style: normal; font-size: 14px; color: var(--cyan); font-weight: 700; }
.contact-product-chip span { display: block; font-size: 12px; color: #9fb0d2; margin-top: 2px; }

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0 56px;
}

.contact-steps article {
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-steps b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
}

.contact-steps h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.contact-steps p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-bottom: 70px;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: left;
}

.contact-qr-box {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 20px;
  background: #f5f7fb;
  border: 1px dashed #d5dcea;
  border-radius: 16px;
}

.contact-qr-box img { width: 210px; height: 210px; object-fit: contain; background: #ffffff; border-radius: 12px; }
.contact-qr-box p { margin: 0; font-size: 13px; color: var(--muted); }

.contact-methods { display: grid; gap: 14px; align-content: start; }

.contact-methods h2 { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.contact-methods > p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }

.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-method div b { display: block; font-size: 14px; }
.contact-method div span { font-size: 13px; color: var(--muted); }

.contact-copy {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  background: #eef1ff;
  border: 1px solid #d9e0fb;
  border-radius: 10px;
  cursor: pointer;
}

.contact-copy:hover { background: #e2e8fc; }

.contact-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #5a6480;
  background: #fffaf0;
  border: 1px solid #f3e3bd;
  border-radius: 12px;
}

/* ---------- 悬浮工具 ---------- */
.floating-tools {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.floating-tools button,
.floating-tools a {
  width: 52px;
  padding: 9px 6px 7px;
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #4a5470;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(19, 31, 58, 0.12);
  cursor: pointer;
}

.floating-tools span { font-size: 17px; line-height: 1; }
.floating-tools b { font-size: 10px; font-weight: 600; }

.floating-tools button:hover,
.floating-tools a:hover { color: var(--blue-dark); border-color: #c9d4f6; }

/* 移动端：降低存在感，避免遮挡正文；隐藏「收藏网站」（手机端意义不大） */
@media (max-width: 760px) {
  .floating-tools { opacity: .82; }
  .floating-tools:hover, .floating-tools:focus-within { opacity: 1; }
  .floating-tools [data-bookmark-site] { display: none; }
}

/* ---------- 客服弹窗 ---------- */
.support-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 12, 25, 0.62);
  cursor: pointer;
}

.support-modal-dialog {
  position: relative;
  width: min(400px, 100%);
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(3, 8, 21, 0.35);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.support-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: #8590a8;
  background: none;
  border: none;
  cursor: pointer;
}

.support-modal-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.support-modal-heading span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 19px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 13px;
}

.support-modal-heading h2 { margin: 0; font-size: 19px; font-weight: 900; }

.support-modal-copy { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

/* 客服二维码展示块（弹窗 / 联系客服页 / 下单成功页共用） */
.support-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  background: #f7f9fd;
  border: 1px dashed #c9d4f6;
  border-radius: 12px;
  text-align: left;
}
.support-qr img {
  flex: none;
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.support-qr b { flex: 1; min-width: 0; font-size: 14px; color: #252f4d; }
.support-qr b small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }

.support-modal-tip { margin: 0; font-size: 13px; color: var(--muted); }
/* 弹窗内的「扫码加好友」大图视图 */
.support-qr-view { display: flex; flex-direction: column; align-items: center; padding: 4px 0; }
.support-qr-view .support-qr-tip { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #252f4d; }
.support-qr-view .support-qr-canvas { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.support-qr-view .support-qr-canvas svg { display: block; width: 200px; height: 200px; max-width: 100%; }
.support-qr-view .support-qr-text { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--blue-dark); word-break: break-all; text-align: center; }
.support-qr-view .support-qr-actions { margin-top: 14px; }

/* ---------- 页脚 ---------- */
.site-footer {
  color: #b9c4da;
  background: #070c19;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 40px;
}

.footer-inner > div > p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #8b97b3;
}

.footer-support { color: #74809f; }

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.footer-nav-column h3 {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 800;
  color: #e6ecf8;
}

.footer-nav-column a,
.footer-nav-column button {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 13px;
  color: #8b97b3;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.footer-nav-column a:hover,
.footer-nav-column button:hover { color: #ffffff; }

.copyright {
  grid-column: 1 / -1;
  display: block;
  margin-top: 34px;
  padding-top: 20px;
  font-size: 12px;
  color: #5d698a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; justify-items: center; }
  .contact-methods { width: 100%; }
}

@media (max-width: 860px) {
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .company-profile-panel { grid-template-columns: 1fr; }
  .services-hero-inner { grid-template-columns: 1fr; }
  .product-info-columns { grid-template-columns: 1fr; }
  .contact-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
    background: #080d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.nav-open { display: flex; }

  .main-nav > a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .main-nav > a::after { display: none; }

  .menu-button { display: block; margin-left: auto; }
  .mobile-auth { display: grid; gap: 8px; padding-top: 14px; }
  .mobile-auth a { padding: 8px 0; font-size: 14px; color: #bcc5d6; }
  .header-actions { display: none; }

  .announcement-arrow { width: 36px; height: 36px; font-size: 18px; }

  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card { height: 200px; }

  .coin-home-banner { flex-direction: column; text-align: center; }
  .coin-home-banner > a { margin: 6px auto 0; }

  .service-banner { justify-content: center; text-align: center; }

  .services-hero { padding: 44px 0 36px; }
  .services-hero-stats { grid-template-columns: 1fr; }

  .quick-strip { grid-template-columns: 1fr 1fr; }

  .contact-product-chip { flex-direction: column; text-align: center; }

  .floating-tools { right: 8px; bottom: 12px; gap: 7px; }
  .floating-tools button,
  .floating-tools a { width: 42px; padding: 7px 4px 6px; border-radius: 12px; }
  .floating-tools span { font-size: 15px; }
  .floating-tools b { font-size: 9px; }
}

/* ---------- 下单页（checkout） ---------- */
.checkout-section {
  padding: 40px 0 90px;
  background:
    radial-gradient(circle at 90% 0%, rgba(89, 104, 255, 0.07), transparent 42%),
    #f7f9fd;
  min-height: 60vh;
}

.checkout-width {
  width: min(1020px, calc(100% - 48px));
  margin: 0 auto;
}

.checkout-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.checkout-breadcrumb a { color: var(--muted); text-decoration: none; }
.checkout-breadcrumb a:hover { color: var(--blue-dark); }
.checkout-breadcrumb strong { color: #252f4d; }

.checkout-title {
  margin: 0 0 24px;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 900;
  color: #252f4d;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}

.checkout-panel {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.checkout-panel h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #252f4d;
}

.checkout-panel h2:not(:first-child) { margin-top: 26px; }

.plan-list { display: grid; gap: 10px; }

.plan-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: #f7f9fd;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.plan-option:hover { border-color: #b9c4ee; }

.plan-option.selected {
  border-color: var(--blue);
  background: rgba(93, 109, 245, 0.06);
}

.plan-option input { position: absolute; opacity: 0; pointer-events: none; }

.plan-option .plan-info { display: grid; gap: 2px; }
.plan-option .plan-info b { font-size: 15px; color: #252f4d; }
.plan-option .plan-info em { font-style: normal; font-size: 12px; color: var(--muted); }

.plan-option .plan-price { font-size: 13px; color: var(--muted); }
.plan-option .plan-price strong { font-size: 20px; color: var(--blue-dark); }
.plan-option.selected .plan-price strong { color: var(--blue); }

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-dark);
  background: #eef1ff;
  border: 1px solid #d9e0fb;
  border-radius: 10px;
  cursor: pointer;
}

.qty-btn:hover { background: #e2e8fc; }

.qty-row input {
  width: 72px;
  height: 38px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #252f4d;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.checkout-field { display: grid; gap: 8px; margin-bottom: 16px; }

.checkout-field span { font-size: 13px; font-weight: 700; color: #4a5470; }

.checkout-field input,
.checkout-field textarea {
  padding: 12px 14px;
  font: inherit;
  color: #252f4d;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus { outline: none; border-color: var(--blue); }

.checkout-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.7;
  color: #4a5470;
}

.checkout-agree input { margin-top: 3px; accent-color: var(--blue); }
.checkout-agree a { color: var(--blue-dark); font-weight: 700; }

.checkout-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  color: #c0392b;
  background: #fdf0ee;
  border: 1px solid #f5d4cf;
  border-radius: 12px;
}

.checkout-summary { position: sticky; top: 90px; }

.checkout-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.checkout-product img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 5px;
  background: #f5f7fb;
  border-radius: 12px;
}

.checkout-product b { display: block; font-size: 15px; color: #252f4d; }
.checkout-product span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.checkout-product strong { color: #e0552b; }

.checkout-rows { margin: 16px 0 0; display: grid; gap: 10px; }

.checkout-rows > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.checkout-rows dt { color: var(--muted); }
.checkout-rows dd { margin: 0; font-weight: 700; color: #252f4d; }

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-total span { font-size: 13px; color: var(--muted); }
.checkout-total strong { font-size: 26px; font-weight: 900; color: #e0552b; }

.checkout-submit { width: 100%; margin-top: 18px; }

.checkout-tip {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.checkout-tip strong { color: var(--blue-dark); }

/* ---------- 下单成功 + 发货内容 ---------- */
.order-success {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 0 20px;
  text-align: center;
}

.order-success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  font-size: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #22b87a, #12a566);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(18, 165, 102, 0.35);
}

.order-success h1 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: #252f4d; }
.order-success-sub { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

.order-no {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.order-no b { color: #252f4d; letter-spacing: 0.04em; }

.order-detail-card {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}

.order-detail-card .checkout-product { padding-bottom: 0; border-bottom: none; }

.delivery-box {
  margin-top: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: left;
}

.delivery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.delivery-heading h2 { margin: 0; font-size: 17px; font-weight: 900; color: #252f4d; }

.delivery-heading span,
.delivery-heading .delivery-contact-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #22b87a, #12a566);
  border-radius: 999px;
  border: 0;
}

.delivery-heading .delivery-contact-btn {
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.delivery-heading .delivery-contact-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* QQ「去添加」直达链接 */
.contact-add {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #22b87a, #12a566);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.contact-add:hover { filter: brightness(1.08); }

.support-row-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

.delivery-box > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a5470;
}

.delivery-box > p b { color: #252f4d; }

.delivery-box .contact-method { margin-bottom: 10px; }
.delivery-box .support-qr { margin-bottom: 10px; }

.order-success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* ---------- 自动发货（卡密展示） ---------- */
.delivery-auto {
  border: 1px solid #bfe6cd;
  background: linear-gradient(180deg, #f3fbf6, #ffffff);
}
.delivery-auto .delivery-auto-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0f7a42;
  background: #d9f4e4;
}
.auto-secret {
  margin: 12px 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed #9ed3b5;
  background: #ffffff;
  position: relative;
}
.auto-secret-text {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #123;
  white-space: pre-wrap;
  word-break: break-all;
  user-select: all;
}
.auto-secret .contact-copy {
  margin-top: 10px;
}
.auto-waiting {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f4f7ff;
  color: var(--muted);
  font-size: 14px;
}
.auto-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c9d6ff;
  border-top-color: var(--blue, #3b82f6);
  animation: auto-spin 0.8s linear infinite;
}
@keyframes auto-spin {
  to { transform: rotate(360deg); }
}

.order-success-actions .button-ghost {
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #d9e0fb;
}

/* ---------- 客服弹窗联系方式 ---------- */
.support-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}

.support-contact-row b { display: block; font-size: 13px; color: #252f4d; }
.support-contact-row span { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--blue-dark); }

[data-support-contacts] { display: grid; gap: 10px; margin: 4px 0 10px; }

.contact-panel-wide { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .order-success-actions { flex-wrap: wrap; }
}


/* ---------- 收款方式 & 付款确认 ---------- */
.pay-channels { display: grid; gap: 10px; margin-bottom: 14px; }

.pay-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f7f9fd;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pay-channel:hover { border-color: #b9c4ee; }
.pay-channel.selected { border-color: var(--blue); background: rgba(93, 109, 245, 0.06); }
.pay-channel.pay-ch-wechat.selected { border-color: #07c160; background: rgba(7, 193, 96, 0.05); }
.pay-channel.pay-ch-wechat input { accent-color: #07c160; }
.pay-channel.pay-ch-wechat .pay-channel-info b::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border-radius: 4px; background: #07c160; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.7 3C4.4 3 1 5.9 1 9.5c0 2 1.1 3.8 2.8 5l-.7 2.3 2.6-1.4c.9.3 1.9.4 3 .4h.5A6.7 6.7 0 0 1 9 14c0-3.3 3.1-6 7-6h.4C15.7 5 12.5 3 8.7 3zM6 7.2a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm5.5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2zM16 9.5c-3.6 0-6.5 2.4-6.5 5.4s2.9 5.4 6.5 5.4c.8 0 1.5-.1 2.2-.3l2.2 1.2-.6-2c1.4-1 2.7-2.6 2.7-4.3 0-3-2.9-5.4-6.5-5.4zm-2.2 3.1a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8zm4.4 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.7 3C4.4 3 1 5.9 1 9.5c0 2 1.1 3.8 2.8 5l-.7 2.3 2.6-1.4c.9.3 1.9.4 3 .4h.5A6.7 6.7 0 0 1 9 14c0-3.3 3.1-6 7-6h.4C15.7 5 12.5 3 8.7 3zM6 7.2a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm5.5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2zM16 9.5c-3.6 0-6.5 2.4-6.5 5.4s2.9 5.4 6.5 5.4c.8 0 1.5-.1 2.2-.3l2.2 1.2-.6-2c1.4-1 2.7-2.6 2.7-4.3 0-3-2.9-5.4-6.5-5.4zm-2.2 3.1a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8zm4.4 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.pay-channel.pay-ch-alipay.selected { border-color: #1677ff; background: rgba(22, 119, 255, 0.05); }
.pay-channel.pay-ch-alipay input { accent-color: #1677ff; }
.pay-channel input { accent-color: var(--blue); flex-shrink: 0; }

.pay-channel-info { flex: 1; }
.pay-channel-info b { display: block; font-size: 14px; color: #252f4d; }
.pay-channel-info span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

.pay-channel img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}

.checkout-paytip {
  margin-bottom: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: #4a5470;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pay-stage { margin-top: 18px; padding: 24px; background: #ffffff; border: 1.5px solid var(--blue); border-radius: 18px; box-shadow: 0 14px 34px rgba(93, 109, 245, 0.12); }

.pay-stage .pay-qr { text-align: center; margin: 6px 0 14px; }

.pay-stage .pay-qr img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}

.pay-stage .pay-qr p { margin-top: 6px; font-size: 12px; color: var(--muted); }

.pay-amount { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: #4a5470; }
.pay-amount b { color: #e0552b; }

/* ---------- 官方支付（自动到账） ---------- */
.pay-auto { margin: 14px 0; padding: 16px 16px 12px; background: #f7f9fd; border: 1px solid var(--line); border-radius: 14px; }
.pay-auto .pay-h5-row { margin: 4px 0 10px; }
.pay-auto .pay-h5-row .button { margin-right: 8px; }
.pay-auto-btn { background: linear-gradient(135deg, #22b87a, #12a566); }
.pay-auto-btn.ali-btn { background: linear-gradient(135deg, #378add, #185FA5); }
.pay-auto-qr { margin-top: 6px; text-align: center; }
.pay-auto-qrimg-wrap { display: inline-block; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.pay-auto-qrimg-wrap img { display: block; width: 220px; height: 220px; object-fit: contain; }
.pay-auto-tip { margin: 10px 0 2px; font-size: 14px; font-weight: 800; color: #252f4d; }
.pay-auto-err { margin: 8px 0; padding: 8px 12px; font-size: 13px; line-height: 1.7; color: #b3261e; background: #fdf1f0; border: 1px solid #f5c2be; border-radius: 8px; text-align: left; }
.pay-stage .checkout-submit { margin-top: 14px; }
.pay-stage .checkout-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- 二级分类 ---------- */
.subcategories {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.subcategories[hidden] { display: none; }

.subcategory {
  padding: 8px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #4a5470;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.subcategory:hover { border-color: var(--blue); color: var(--blue-dark); }

.subcategory-active {
  color: #ffffff;
  background: linear-gradient(135deg, #6a79f8, #4a5cf0);
  border-color: transparent;
}

/* H5 支付按钮 */
.pay-h5-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
.pay-h5 { flex: 1 1 180px; text-align: center; color: #fff !important; border: none; cursor: pointer; }
.pay-h5.pay-wechat { background: #07c160 !important; }
.pay-h5.pay-wechat:hover { background: #06ad56 !important; }
.pay-h5.pay-alipay { background: #1677ff !important; }
.pay-h5.pay-alipay:hover { background: #1268e0 !important; }
.pay-h5.pay-other { background: #5d6df5 !important; }
.pay-order-no { font-size: 13px; color: var(--muted); margin: 6px 0; }
.pay-order-no b { color: var(--text); }

/* ---------- 顾客账号中心（account.html） ---------- */
.auth-account {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.account-card-narrow { max-width: 520px; margin: 0 auto; }
.account-card h1 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #252f4d; }

.account-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 22px;
  padding: 5px;
  background: #eef1fb;
  border-radius: 14px;
}
.account-tabs button {
  flex: 1;
  padding: 11px 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #4a5470;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.account-tabs button.on { color: #ffffff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 8px 18px rgba(64, 82, 223, 0.28); }

.account-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.account-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #7a5cf0);
  border-radius: 16px;
}
.account-head > div:nth-child(2) { flex: 1; min-width: 0; }
.account-head h1 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: #252f4d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-head .hint { margin: 0; line-height: 1.7; }

.button-ghost {
  flex: none;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1.5px solid #d4dcf7;
}
.button-ghost:hover { background: #f2f4ff; }

.account-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.account-orders-head h2 { margin: 0; font-size: 17px; font-weight: 900; color: #252f4d; }
.account-orders-head h2 small { font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-refresh {
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #d4dcf7;
  border-radius: 10px;
  cursor: pointer;
}
.acc-refresh:hover { background: #f2f4ff; }

.acc-table { width: 100%; border-collapse: collapse; }
.acc-table th {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.acc-table td {
  padding: 12px;
  font-size: 13px;
  color: #252f4d;
  border-bottom: 1px dashed #e9edf5;
  vertical-align: middle;
}
.acc-table tr:last-child td { border-bottom: none; }
.order-state { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.order-state.paid { color: #0d7a4a; background: #e6f6ee; }
.order-state.wait { color: #a05a00; background: #fdf3df; }
.account-orders { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }


/* ========== 手机精修（≤480px，前台/结账/客服弹窗） ========== */
@media (max-width: 480px) {
  .content-width, .checkout-width, .contact-width, .product-detail-width { width: calc(100% - 28px); }
  body { -webkit-text-size-adjust: 100%; }
  /* 客服弹窗：改为底部抽屉，单手可操作 */
  .support-modal { padding: 0; place-items: end center; }
  .support-modal-dialog {
    width: 100%; max-width: 100%; padding: 24px 18px 30px;
    border-radius: 22px 22px 0 0;
  }
  /* 商品卡操作按钮纵向排满，方便点按 */
  .product-card-actions { flex-direction: column; }
  .product-card-actions > * { width: 100%; justify-content: center; }
  /* 结账/详情页内边距收紧 */
  .checkout-panel { padding: 18px 15px; border-radius: 16px; }
  .pay-stage { padding: 18px 14px; }
  .order-detail-card, .delivery-box { padding: 14px; }
  .order-success-actions { flex-direction: column; align-items: stretch; }
  .order-success-actions > * { width: 100%; text-align: center; }
  .order-no { flex-wrap: wrap; }
  .contact-method, .contact-steps article { padding: 13px 14px; }
  .product-detail-hero { padding: 26px 0 20px; }
  .product-detail-copy h1 { font-size: 24px; line-height: 1.35; }
  .product-price { flex-wrap: wrap; gap: 8px; }
  .product-price strong { font-size: 26px; }
  .checkout-title { font-size: 22px; }
  .checkout-section { padding: 24px 0 70px; }
  .site-footer .footer-inner { padding: 40px 0 26px; gap: 26px; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-inner { text-align: left; }
  .section-heading h2 { font-size: 21px; }
  .service-hero h1, .contact-hero h1 { font-size: 27px; }
  .button, .btn, a.button, button.button { padding: 13px 18px; }
}

/* ========== ZANEAI 暗色科技风品牌设计（基于 logo 黑底+蓝调） ========== */
/* 深色主题变量：此前仅引用了变量但未定义，导致回退成白底，此处补齐 */
:root {
  --bg: #07080d;
  --bg-2: #0a0e1a;
  --panel: #11141c;
  --panel-2: #161a26;
  --text: #e7ecf3;
  --text-dim: #a8b0c0;
  --muted-d: #7e8a9e;
  --line-d: #1f2433;
  --blue-bright: #4d8dff;
  --blue-soft: #82b4ff;
  --line: #1f2433;
}
body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }

.hero-zaneai {
  position: relative; min-height: 78vh; padding: 60px 24px 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(77,141,255,0.18) 0%, transparent 60%),
    radial-gradient(circle at 12% 90%, rgba(77,141,255,0.06), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(140,180,255,0.08), transparent 45%),
    linear-gradient(180deg, #0a0e1a 0%, #07080d 100%);
  overflow: hidden;
}
.hero-zaneai::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(77,141,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,141,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-zaneai::after {
  content: ""; position: absolute; left: 50%; top: 38%; transform: translate(-50%,-50%);
  width: 640px; height: 640px; max-width: 80vw; max-height: 80vw;
  background: radial-gradient(circle, rgba(77,141,255,0.20) 0%, transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hz-logo-wrap { position: relative; z-index: 2; }
.hz-logo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(77,141,255,0.55); box-shadow: 0 0 60px rgba(77,141,255,0.45), 0 0 120px rgba(77,141,255,0.25); animation: hz-float 5s ease-in-out infinite; }
@keyframes hz-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hz-title { position: relative; z-index: 2; margin: 32px 0 6px; font-size: clamp(40px, 8vw, 76px); font-weight: 900; letter-spacing: 4px; line-height: 1.1; color: #f0f4ff; text-shadow: 0 0 30px rgba(77,141,255,0.4); }
.hz-title .accent { background: linear-gradient(135deg, #4d8dff, #82b4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hz-subtitle { position: relative; z-index: 2; color: #5d6a82; font-size: 13px; letter-spacing: 8px; text-transform: uppercase; margin: 0 0 24px; }
.hz-slogan { position: relative; z-index: 2; color: #c2c8d4; max-width: 620px; line-height: 1.9; font-size: 15px; margin: 0 auto 36px; }
.hz-actions { position: relative; z-index: 2; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hz-actions .btn { padding: 14px 32px; font-size: 15px; border-radius: 999px; letter-spacing: 1px; }
.hz-actions .btn.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #c2c8d4; }
.hz-actions .btn.secondary:hover { background: rgba(77,141,255,0.1); border-color: rgba(77,141,255,0.5); }
.hz-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); color: #5d6a82; font-size: 11px; letter-spacing: 5px; z-index: 2; animation: hz-bob 1.8s ease-in-out infinite; }
.hz-scroll::after { content: "↓"; display: block; margin-top: 6px; font-size: 18px; }
@keyframes hz-bob { 0%,100%{ transform: translateX(-50%) translateY(0); opacity: .8; } 50%{ transform: translateX(-50%) translateY(8px); opacity: 1; } }

.site-header { background: rgba(10,14,26,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(77,141,255,0.12); }
.site-header .brand b { color: #f0f4ff; }
.section-heading h2 { color: #f0f4ff; }
.section-heading p { color: #7e8a9e; }
.product-card { background: var(--panel); border: 1px solid var(--line); }
.product-card h3 { color: #e7ecf3; }
.product-card-price strong { color: #82b4ff; }
.product-card-actions .button { background: linear-gradient(135deg, #4d8dff, #2c6ed5); }
.product-card-actions .button.secondary { background: transparent; border: 1px solid rgba(77,141,255,0.4); color: #82b4ff; }
.product-card-actions .button.secondary:hover { background: rgba(77,141,255,0.1); }
.product-detail-copy h1 { color: #f0f4ff; }
.product-detail-copy p { color: #a8b0c0; }
.product-price strong { color: #82b4ff; }
.quick-strip { background: linear-gradient(180deg, rgba(77,141,255,0.04), transparent); }
.quick-strip > div { color: #c2c8d4; }
.services-hero h1, .contact-hero h1 { color: #f0f4ff; }
.service-banner { color: #7e8a9e; }
.service-list { color: #c2c8d4; }
.editorial-card h3, .editorial-card a { color: #f0f4ff; }
.editorial-card { background: var(--panel); border: 1px solid var(--line); }
.checkout-section { background: linear-gradient(180deg, #0a0e1a 0%, #07080d 100%); }
.checkout-panel { background: var(--panel); border: 1px solid var(--line); }
.checkout-title, .checkout-panel h2 { color: #f0f4ff; }
.contact-section { background: var(--bg); }
.contact-panel, .contact-method { background: var(--panel); border: 1px solid var(--line); }
.contact-product-chip, .contact-step { color: #e7ecf3; }
.contact-note { background: rgba(77,141,255,0.06); border: 1px solid rgba(77,141,255,0.18); color: #c2c8d4; }
.order-success h1 { color: #f0f4ff; }
.order-success-actions .button { background: linear-gradient(135deg, #4d8dff, #2c6ed5); }
.order-success-actions .button-ghost { background: transparent; border: 1px solid rgba(77,141,255,0.4); color: #82b4ff; }
.delivery-box { background: var(--panel); border: 1px solid var(--line); }
.delivery-box p { color: #c2c8d4; }
.delivery-box b { color: #f0f4ff; }
.delivery-heading h2 { color: #f0f4ff; }
.order-detail-card { background: var(--panel); border: 1px solid var(--line); }
.order-detail-card .checkout-product b { color: #f0f4ff; }
.order-detail-card .checkout-product span { color: #7e8a9e; }
.pay-stage { background: var(--panel); border: 1px solid rgba(77,141,255,0.4); }
.pay-amount { color: #c2c8d4; }
.pay-amount b { color: #82b4ff; }
.checkout-paytip { background: rgba(77,141,255,0.06); border: 1px solid rgba(77,141,255,0.18); color: #c2c8d4; }
.floating-tools button, .floating-tools a { background: rgba(17,20,28,0.92); border: 1px solid rgba(77,141,255,0.25); color: #c2c8d4; }
.floating-tools button:hover, .floating-tools a:hover { color: #82b4ff; border-color: rgba(77,141,255,0.6); }
.announcement-banner { background: transparent; }
input, textarea, select { background: #0e1320; border-color: #1f2433; color: #e7ecf3; }
input:focus, textarea:focus, select:focus { background: #11141c; border-color: #4d8dff; }
input::placeholder, textarea::placeholder { color: #5d6a82; }
.hint, .form-hint, .order-success-sub { color: #7e8a9e !important; }
.hr-line { background: rgba(77,141,255,0.18); }
.pill.off { background: rgba(255,255,255,0.06); color: #7e8a9e; }

/* 关于 ZaneAI 大字：字体直接融入背景 */
.company-profile-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(circle at 50% 50%, rgba(77,141,255,0.10), transparent 60%); }
.company-profile-visual .visual-text { font-size: clamp(64px, 9vw, 132px); font-weight: 900; letter-spacing: 6px; line-height: 1; background: linear-gradient(180deg, #4d8dff, #82b4ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 60px rgba(77,141,255,0.4); }
.company-profile-visual .visual-sub { margin-top: 14px; color: #5d6a82; font-size: 13px; letter-spacing: 8px; text-transform: uppercase; }

.site-header .brand-logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; }
