/* ============================================================
   风格 3 · 暗夜流光（Neon Dark）
   与风格 1（深紫渐变亮色）/ 风格 2（纯白简约商务）完全不同的主题：
   深空底色 + 霓虹青/紫双色强调 + 毛玻璃卡片 + 大圆角
   主色 #EF1C66 / #F8EB4F 落在 deploy_theme_colors('ICP') 清单中，参与随机换色
   ============================================================ */
:root {
  --th-dark: #0B0D17;
  --th-dark-2: #111524;
  --th-dark-3: #161B2E;
  --th-dark-4: #1E2438;
  --th-line: #232A40;
  --th-text: #E6E8F0;
  --th-muted: #9AA3B8;
  --th-dim: #6B7488;
  --th-accent: #EF1C66;
  --th-accent-deep: #CC094B;
  --th-accent-soft: #F862A4;
  --th-accent-2: #F8EB4F;
  --th-accent-2-soft: #FAF781;
  --th-accent-rgb: 239,28,102;
  --th-accent-2-rgb: 248,235,79;
  --th-radius: 16px;
  --th-radius-sm: 14px;
  --th-radius-xs: 12px;
}

html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 1.15; }
body {
  margin: 0;
  font-family: "Microsoft Yahei", PingFangSC-Regular, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--th-text);
  background: var(--th-dark);
  min-width: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; border: 0; }
input, button { outline: none; font-family: inherit; }
.clearfix:after { content: ""; display: table; clear: both; }
.container { width: 1200px; margin: 0 auto; }

/* ===== HEADER：深色毛玻璃 + 霓虹指示点 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 23, .9);
  border-bottom: 1px solid var(--th-line);
  backdrop-filter: blur(14px);
}
.header .container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; gap: 11px; }
.site-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--th-radius-xs);
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-2));
  color: var(--th-dark);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(var(--th-accent-rgb), .38);
}
.site-logo-name { font-size: 17px; font-weight: 700; color: var(--th-text); }

.hdr-nav { display: flex; align-items: center; gap: 2px; }
.hdr-nav a {
  position: relative;
  padding: 9px 16px 9px 22px;
  font-size: 14px;
  color: var(--th-muted);
  transition: color .2s;
}
.hdr-nav a:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--th-line);
  transition: .2s;
}
.hdr-nav a:hover { color: var(--th-text); }
.hdr-nav a.active { color: var(--th-accent); }
.hdr-nav a.active:before {
  background: var(--th-accent);
  box-shadow: 0 0 8px var(--th-accent);
}

.hdr-auth { display: flex; align-items: center; gap: 8px; }
.hdr-auth a {
  font-size: 14px;
  color: var(--th-muted);
  padding: 9px 16px;
  border-radius: 999px;
  transition: .2s;
}
.hdr-auth a:hover { color: var(--th-text); }
.hdr-btn { border: 1px solid var(--th-line); color: var(--th-text) !important; }
.hdr-btn:hover { border-color: var(--th-accent); color: var(--th-accent) !important; }
.hdr-btn-fill {
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-deep)) !important;
  color: var(--th-dark) !important;
  font-weight: 700;
  border: 0;
}
.hdr-btn-fill:hover { box-shadow: 0 0 20px rgba(var(--th-accent-rgb), .5); }

/* ===== HERO：整幅暗色背景图 + 左对齐大字 + 毛玻璃数据条 ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 84px;
  background: var(--th-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(1.15);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 340px at 12% 18%, rgba(var(--th-accent-2-rgb), .3), transparent 70%),
    linear-gradient(100deg, rgba(11,13,23,.97) 0%, rgba(11,13,23,.86) 48%, rgba(11,13,23,.42) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--th-accent);
  background: rgba(var(--th-accent-rgb), .1);
  border: 1px solid rgba(var(--th-accent-rgb), .4);
  border-radius: 999px;
}
.hero-text h1 {
  font-size: 58px;
  font-weight: 800;
  color: var(--th-text);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
  max-width: 760px;
}
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--th-accent), var(--th-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text p {
  font-size: 17px;
  color: var(--th-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; }
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-deep));
  color: var(--th-dark);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: box-shadow .22s, transform .22s;
}
.hero-btn-primary:hover { box-shadow: 0 0 30px rgba(var(--th-accent-rgb), .5); transform: translateY(-2px); }
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: rgba(255, 255, 255, .05);
  color: var(--th-text);
  border: 1px solid var(--th-line);
  border-radius: 999px;
  font-size: 15px;
  transition: .22s;
}
.hero-btn-outline:hover { border-color: var(--th-accent); color: var(--th-accent); }

/* 数据条：毛玻璃胶囊，嵌在 hero 内部（风格 1/2 均在 hero 之外） */
.hero-chips { display: flex; gap: 14px; margin-top: 52px; }
.hero-chips .chip {
  min-width: 176px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-sm);
  backdrop-filter: blur(8px);
}
.hero-chips .chip b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(96deg, var(--th-accent), var(--th-accent-2-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.hero-chips .chip span { font-size: 12px; color: var(--th-muted); letter-spacing: 1.2px; }

/* 兼容旧结构（若 hero 未带背景图） */
.hero-visual { display: none; }
.stats-bar { display: none; }

/* ===== INNER HERO ===== */
.inner-hero {
  padding: 62px 0 46px;
  background: var(--th-dark-2);
  border-bottom: 1px solid var(--th-line);
}
.inner-hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--th-text);
  margin-top: 14px;
  letter-spacing: -1px;
}
.inner-hero p { margin-top: 10px; color: var(--th-muted); font-size: 15px; }
.position { color: var(--th-dim); font-size: 13px; }
.position a { color: var(--th-accent); font-weight: 600; }

/* ===== SECTION ===== */
.section { padding: 78px 0; }
.section-hd {
  text-align: center;
  margin-bottom: 42px;
}
.section-hd h2 {
  font-size: 32px;
  color: var(--th-text);
  font-weight: 800;
  letter-spacing: -1px;
}
.section-hd h2 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--th-accent), var(--th-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.more-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--th-muted);
  transition: .2s;
}
.more-link:hover { color: var(--th-accent); }

/* ===== CATEGORY：霓虹胶囊 ===== */
.cat-scroll {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.cat-scroll a {
  padding: 9px 22px;
  font-size: 14px;
  color: var(--th-muted);
  background: var(--th-dark-2);
  border: 1px solid var(--th-line);
  border-radius: 999px;
  transition: .2s;
}
.cat-scroll a:hover { color: var(--th-text); border-color: var(--th-dim); }
.cat-scroll a.active {
  background: var(--th-accent);
  border-color: var(--th-accent);
  color: var(--th-dark);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(var(--th-accent-rgb), .4);
}

/* ===== PRODUCT GRID：2 列横向大卡（风格 1 三列 / 风格 2 四列） ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  display: grid;
  grid-template-columns: 208px 1fr;
  background: var(--th-dark-2);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--th-accent-rgb), .55);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .55);
}
.product-img {
  display: block;
  position: relative;
  height: 100%;
  min-height: 208px;
  background: var(--th-dark-3);
  overflow: hidden;
}
/* 绝对定位让图片不参与布局计算：竖图（如 780×1040）否则会按原始比例顶高所在整行 */
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.product-card:hover .product-img img { transform: scale(1.06); }
.img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(11, 13, 23, .78);
  color: var(--th-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  border-radius: 999px;
  border: 1px solid rgba(var(--th-accent-rgb), .35);
}
.product-body { padding: 22px 24px; display: flex; flex-direction: column; }
.product-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--th-text);
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 51px;            /* 固定预留 2 行，避免末行单张卡片被撑高 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-summary {
  font-size: 13px;
  color: var(--th-muted);
  line-height: 1.7;
  min-height: 44px;            /* 固定预留 2 行，避免 flex 拉伸造成卡片高度不一 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.product-specs span {
  padding: 3px 10px;
  background: rgba(var(--th-accent-rgb), .08);
  border: 1px solid rgba(var(--th-accent-rgb), .22);
  color: var(--th-accent-soft);
  font-size: 11px;
  border-radius: 999px;
}
.product-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--th-line);
  border-bottom: 1px solid var(--th-line);
  font-size: 12px;
  color: var(--th-muted);
}
.product-contact .contact-phone { color: var(--th-accent) !important; font-weight: 700; font-size: 13px !important; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-date { font-size: 12px; color: var(--th-dim); }
.product-contact-hint { font-size: 12px; color: var(--th-text); font-weight: 600; }
.product-card:hover .product-contact-hint { color: var(--th-accent); }

/* ===== DETAIL PAGE ===== */
.detail-section { padding-top: 52px; }
.news-left { float: left; width: 800px; }
.news-right { float: right; width: 340px; }
.news-title, .news-content, .news-exp, .news-box, .about-1, .contact-page, .auth-card {
  background: var(--th-dark-2);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
}
.news-title { padding: 32px; margin-bottom: 20px; }
.news-title h1 {
  font-size: 27px;
  line-height: 1.45;
  color: var(--th-text);
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}
.news-title p { display: flex; gap: 22px; color: var(--th-dim); font-size: 13px; }
.news-content { padding: 36px 32px; line-height: 2; color: #C3C9D8; }
.news-content .summary {
  padding: 20px 0 20px 22px;
  margin-bottom: 26px;
  border-left: 3px solid var(--th-accent);
  color: var(--th-text);
  font-size: 16px;
  line-height: 1.8;
}
.news-content p { margin-bottom: 16px; font-size: 15px; }
.news-content img { display: block; max-width: 580px; width: 100%; margin: 28px auto; border-radius: var(--th-radius-sm); }
.news-exp {
  margin-top: 20px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.news-exp a { color: var(--th-muted); font-size: 14px; }
.news-exp a:hover { color: var(--th-accent); }
.news-box { overflow: hidden; }
.news-box .tit {
  padding: 18px 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--th-line);
  color: var(--th-text);
  font-size: 15px;
}
.side-news-list li a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--th-line); transition: .2s; }
.side-news-list li:last-child a { border-bottom: 0; }
.side-news-list li a:hover { background: var(--th-dark-3); }
.side-news-list strong { display: block; line-height: 1.5; color: var(--th-text); font-size: 14px; font-weight: 600; }
.side-news-list span { color: var(--th-accent); font-size: 12px; }

/* ===== PAGINATION：圆形霓虹 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination a {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--th-dark-2);
  border: 1px solid var(--th-line);
  border-radius: 999px;
  color: var(--th-muted);
  font-size: 14px;
  transition: .2s;
}
.pagination a:hover { border-color: var(--th-accent); color: var(--th-accent); }
.pagination .active a {
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-deep));
  color: var(--th-dark);
  border-color: transparent;
  font-weight: 700;
}

/* ===== POLICY PAGES ===== */
.about-1, .contact-page { padding: 44px 40px; line-height: 2.2; color: #C3C9D8; }
.about-1 p { margin-bottom: 16px; font-size: 15px; }
.about-1 strong { display: inline-block; color: var(--th-text); font-size: 17px; font-weight: 700; margin-top: 10px; }
.policy-contact-box {
  margin-top: 34px;
  padding: 24px 28px;
  background: var(--th-dark-3);
  border-left: 3px solid var(--th-accent);
  border-radius: var(--th-radius-sm);
}
.policy-contact-box h3 { color: var(--th-text); margin-bottom: 10px; font-size: 15px; }

/* ===== CONTACT PAGE ===== */
.contact-page h1 { font-size: 32px; margin-bottom: 16px; color: var(--th-text); letter-spacing: -1px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.contact-card {
  padding: 28px 26px;
  background: var(--th-dark-3);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-sm);
}
.contact-card h3 {
  font-size: 11px;
  color: var(--th-dim);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.contact-card p { color: var(--th-text); line-height: 1.75; font-size: 15px; }
.contact-phone { font-size: 22px !important; font-weight: 800; color: var(--th-accent) !important; letter-spacing: -0.5px; }

/* ===== AUTH ===== */
.auth-section { min-height: 560px; display: grid; place-items: center; padding: 84px 0; background: var(--th-dark); }
.auth-card { width: 430px; padding: 44px 40px; }
.auth-card h2 { font-size: 27px; color: var(--th-text); margin-bottom: 8px; letter-spacing: -0.8px; }
.auth-subtitle { color: var(--th-dim); margin-bottom: 34px; font-size: 14px; }
.auth-form-group { margin-bottom: 20px; }
.auth-form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--th-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
}
.auth-form-group input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-xs);
  background: var(--th-dark-3);
  color: var(--th-text);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.auth-form-group input:focus { border-color: var(--th-accent); box-shadow: 0 0 0 3px rgba(var(--th-accent-rgb), .15); }
.auth-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-deep));
  color: var(--th-dark);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .2s;
}
.auth-submit:hover { box-shadow: 0 0 26px rgba(var(--th-accent-rgb), .45); }
.auth-switch { margin-top: 22px; color: var(--th-dim); font-size: 14px; }
.auth-switch a { color: var(--th-accent); font-weight: 700; }
.auth-agreement { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--th-muted); }
.auth-agreement input[type="checkbox"] { accent-color: var(--th-accent); }
.auth-agreement a { color: var(--th-accent); }

/* ===== FOOTER：深底 + 霓虹分隔线 ===== */
.footer {
  margin-top: 40px;
  background: var(--th-dark-2);
  border-top: 1px solid var(--th-line);
  color: var(--th-muted);
  padding-top: 62px;
  position: relative;
}
.footer:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--th-accent), var(--th-accent-2), transparent);
  opacity: .8;
}
.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--th-line);
}
.footer-col h4 {
  color: var(--th-text);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
}
.footer-col p, .footer-nav a { color: var(--th-muted); line-height: 2.1; font-size: 14px; }
.footer-nav li { margin-bottom: 2px; }
.footer-nav a:hover { color: var(--th-accent); }
.footer-bottom {
  text-align: center;
  padding: 26px 0;
  color: var(--th-dim);
  font-size: 13px;
  line-height: 2.1;
}
.footer-bottom a { color: var(--th-muted); }
.footer-bottom a:hover { color: var(--th-accent); }

/* ===== BACK TO TOP：霓虹圆钮 ===== */
.backTop {
  position: fixed;
  right: 30px;
  bottom: 44px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--th-accent), var(--th-accent-2));
  color: var(--th-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: box-shadow .2s;
  z-index: 90;
}
.backTop:hover { box-shadow: 0 0 24px rgba(var(--th-accent-rgb), .6); }

/* ===== 随机动效组件在深色主题下的适配 =====
   组件库的浅色覆盖规则（.fx-cell 用 rgba(0,0,0,.04)、.fx-label 用深字）
   在深色底上会看不清，此处用 !important 压过运行时注入的同名规则。 */
body.indexget-template #fx-counter .fx-cell {
  background: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .12) !important;
}
body.indexget-template #fx-counter .fx-label { color: rgba(255, 255, 255, .62) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1220px) {
  body { min-width: auto; }
  .container { width: auto; padding: 0 24px; }
  .hero { padding: 72px 0 60px; }
  .hero-text h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-chips { flex-wrap: wrap; }
  .hero-chips .chip { min-width: 140px; flex: 1; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 160px 1fr; }
  .news-left, .news-right { float: none; width: auto; }
  .news-right { margin-top: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; gap: 36px; }
  /* 中等视口：导航折叠为可横向滚动的第二行，避免完全无法访问 */
  .header .container { height: auto; flex-wrap: wrap; padding: 8px 24px; row-gap: 4px; }
  .hdr-nav {
    order: 3;
    width: 100%;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hdr-nav::-webkit-scrollbar { display: none; }
  .hdr-nav a { white-space: nowrap; padding: 8px 12px 8px 20px; }
}
