/* =========================================================
   零点流量 · 4gll.cn 浅色版
   配色：零点品牌手册（与 www.gxxai.cn 浅色预览版同一套）
     墨蓝 #0A1A33 / 香槟金 #C8A24A / 青碧 #15958F / 暖白 #F4F1EA
   品牌金在浅底上对比度不够，小字一律用加深的 --gold-text；青碧小字用 --jade-text。
   布局沿用旧版 4gll.cn（首屏 + 卖点条 + 业务 + 产品 + 优势 + 关于），
   新增“公司名片”和“旗下品牌”两块。
   ========================================================= */

:root {
  /* 品牌色 */
  --ink: #0a1a33;
  --gold: #c8a24a;
  --jade: #15958f;
  --paper: #f4f1ea;

  /* 浅色底上的文字色（对比度 ≥ 4.5:1） */
  --gold-text: #8a6a1f;
  --jade-text: #0b6f69;
  --text: #15253a;
  --muted: #526273;

  /* 线条 */
  --line: rgba(10, 26, 51, 0.1);
  --line-gold: rgba(200, 162, 74, 0.35);

  --gold-gradient: linear-gradient(135deg, #f1dc9c 0%, #e3c77a 38%, #c8a24a 100%);
  --card-shadow: 0 12px 32px rgba(10, 26, 51, 0.06);
  --sans: "Avenir Next", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-height: 78px;
}

/* ---------- 基础 ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* 暖白底 + 左上金、右上青碧两团很淡的光 */
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 162, 74, 0.13), transparent 32%),
    radial-gradient(circle at 90% 6%, rgba(21, 149, 143, 0.09), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, #f7f5ef 45%, var(--paper) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
blockquote {
  margin: 0;
}

button {
  font: inherit;
}

/* 与 www.gxxai.cn 主页同宽：1200px */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/*
  首屏右侧的轨道线故意画到容器外面，这里把超出屏幕的部分裁掉，避免出现横向滚动条。
  导航栏在 main 外面，所以这里的 overflow 不会影响它吸顶。
*/
main {
  overflow-x: hidden;
}

/* 点击导航跳转时，给吸顶导航栏留出位置 */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.topline {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--jade));
}

/* ---------- 导航栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-gold);
  background: rgba(251, 250, 246, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 26, 51, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

/*
  标志：文字层（logo-text-light.svg）静止，双旋图形（icon-light.svg）叠在原位置上逆时针慢转。
  位置百分比由两张图的 viewBox 换算（logo 是 6 10 362 180，图标是 15 15 170 170），
  和 www.gxxai.cn 导航栏完全相同，图形与正式版 logo 严丝合缝。
*/
.brand-logo {
  position: relative;
  display: block;
  flex-shrink: 0;
}

.brand-logo .brand-logo-text {
  display: block;
  width: 96px;
  height: auto;
}

.brand-logo .brand-logo-mark {
  position: absolute;
  left: 2.486%;
  top: 2.778%;
  width: 46.961%;
  height: 94.444%;
  animation: spin-slow 14s linear infinite;
}

/* 标志右侧“流量服务 / MOBILE DATA”：和“零点”连读就是“零点流量” */
.brand-sub {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid rgba(200, 162, 74, 0.45);
  line-height: 1.3;
}

.brand-sub b {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand-sub small {
  color: var(--gold-text);
  font: 600 9px/1.4 var(--mono);
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* 悬停或当前板块：从中间展开一条金色细线 */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: left 0.25s ease, right 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  left: 0;
  right: 0;
}

.header-contact {
  padding: 10px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-contact span {
  margin-left: 6px;
  color: var(--gold-text);
}

.header-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 162, 74, 0.22);
}

.menu-button {
  display: none;
}

/* ---------- 按钮 ---------- */

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold-gradient);
  background-size: 200% 200%;
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(200, 162, 74, 0.26);
  animation: gradient-shift 6s ease infinite;
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(200, 162, 74, 0.4);
}

/* 悬停时一道高光从左扫到右 */
.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.button-primary:hover::after {
  left: 130%;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.button-quiet span {
  color: var(--jade-text);
}

.button-quiet:hover {
  border-color: var(--line-gold);
  box-shadow: 0 10px 22px rgba(10, 26, 51, 0.07);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 560px;
  padding: 56px 0 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 0.7s ease both;
}

/* H1 外观是小胶囊标签 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.live-dot,
.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(21, 149, 143, 0.15);
  animation: live-pulse 2.4s ease-in-out infinite;
}

/* 视觉大标题“零距离 / 心流量” */
.hero-title {
  margin: 26px 0 20px;
  color: var(--ink);
  font-size: 72px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* “心流量”三个字：金 → 青碧渐变，缓慢流动 */
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #b38a2e 0%, #c8a24a 35%, #15958f 75%, #b38a2e 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-flow 8s linear infinite;
}

.hero-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta b {
  margin-right: 4px;
  color: var(--ink);
  font-size: 18px;
}

/* 背景网格：右侧缓慢斜向平移 */
.hero-grid {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 520px;
  height: 520px;
  opacity: 0.8;
  background-image:
    linear-gradient(rgba(10, 26, 51, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 26, 51, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at 60% 45%, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle at 60% 45%, #000 20%, transparent 70%);
  animation: grid-drift 18s linear infinite;
}

/* 两圈轨道线：一金一青碧，轻微呼吸 */
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbit-pulse 5s ease-in-out infinite;
}

.orbit-one {
  top: 10px;
  right: -150px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(200, 162, 74, 0.32);
}

.orbit-two {
  top: 230px;
  right: 60px;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(21, 149, 143, 0.35);
  animation-delay: -2.5s;
}

/* 首屏右侧“流量办理”卡片 */
.recharge-panel {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 380px;
  padding: 24px 26px 20px;
  border: 1px solid var(--line-gold);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 250, 245, 0.9));
  box-shadow: 0 26px 60px rgba(10, 26, 51, 0.09);
  animation: rise-in 0.7s 0.12s ease both;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
}

.panel-brand img {
  animation: spin-slow 14s linear infinite;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(21, 149, 143, 0.3);
  border-radius: 999px;
  background: rgba(21, 149, 143, 0.06);
  color: var(--jade-text);
  font-size: 12px;
}

.status i {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.recharge-panel h2 {
  margin: 22px 0 4px;
  color: var(--ink);
  font-size: 24px;
}

.panel-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.operator-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 16px;
}

.operator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.operator:hover {
  transform: translateY(-2px);
  border-color: var(--line-gold);
  box-shadow: 0 6px 14px rgba(10, 26, 51, 0.06);
}

.operator.active {
  border-color: var(--gold);
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.14);
}

/* 运营商用中性的“移 / 联 / 电”字标，不使用运营商商标 */
.operator-logo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #f1dc9c;
  font-size: 11px;
  font-weight: 700;
}

.panel-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(10, 26, 51, 0.035);
  list-style: none;
  color: var(--text);
  font-size: 13px;
}

.panel-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-steps b {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold-text);
  font-size: 11px;
}

.full-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.full-button span:last-child {
  color: #f1dc9c;
}

.full-button:hover {
  transform: translateY(-2px);
  background: #132a4d;
  box-shadow: 0 12px 24px rgba(10, 26, 51, 0.22);
}

.panel-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.panel-note b {
  color: var(--jade-text);
  font-weight: 600;
}

/* ---------- 卖点条 ---------- */

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.signal-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.signal-strip > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.signal-strip > div:hover {
  transform: translateY(-4px);
}

.signal-strip b {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.signal-strip small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* 线条图标：描边用 currentColor，颜色由这里统一控制 */
.signal-icon,
.service-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--jade);
  transition: color 0.25s ease, transform 0.25s ease;
}

.signal-strip > div:hover .signal-icon {
  color: var(--gold);
  transform: scale(1.15);
}

/* ---------- 板块通用标题 ---------- */

.section-kicker {
  color: var(--gold-text);
  font: 600 11px var(--mono);
  letter-spacing: 0.18em;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2,
.catalog-intro h2,
.why-heading h2,
.about-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-heading p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.catalog-intro em,
.why-heading em {
  font-style: normal;
  color: var(--jade-text);
}

/* ---------- 01 主营业务 ---------- */

.content-section {
  padding: 110px 0 100px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-gold);
  box-shadow: 0 20px 40px rgba(10, 26, 51, 0.1);
}

/* 第一张卡片：墨蓝底 + 金色点缀，作为视觉重心 */
.service-card.featured {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 100%, rgba(21, 149, 143, 0.35), transparent 45%),
    linear-gradient(160deg, #10284a 0%, var(--ink) 70%);
  color: #fff;
}

.card-number {
  color: var(--muted);
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
}

.featured .card-number {
  color: #e3c77a;
}

.service-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 30px 0 18px;
  color: var(--jade);
  transition: transform 0.3s ease, color 0.3s ease;
}

.featured .service-icon {
  color: #e3c77a;
}

.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.08);
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.featured h3 {
  color: #fff;
}

.service-card p {
  max-width: 240px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card a {
  position: absolute;
  bottom: 26px;
  color: var(--jade-text);
  font-size: 13px;
  font-weight: 600;
}

.service-card a span {
  margin-left: 4px;
}

.featured a {
  color: #f1dc9c;
}

/* 卡片右下角的小装饰：波纹 / 柱状 / 网络节点 */
.card-wave,
.mini-bars,
.mini-network {
  position: absolute;
  right: -5px;
  bottom: -15px;
  opacity: 0.6;
}

.card-wave {
  width: 150px;
  height: 108px;
  border: 1px solid rgba(227, 199, 122, 0.7);
  border-radius: 50%;
}

.card-wave::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -24px;
  width: 175px;
  height: 92px;
  border: 1px solid rgba(227, 199, 122, 0.5);
  border-radius: 50%;
}

.mini-bars {
  right: 26px;
  bottom: -2px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.mini-bars i {
  width: 8px;
  height: 28px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #e3c77a, rgba(21, 149, 143, 0.6));
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.mini-bars i:nth-child(2) { height: 47px; }
.mini-bars i:nth-child(3) { height: 34px; }
.mini-bars i:nth-child(4) { height: 64px; }
.mini-bars i:nth-child(5) { height: 51px; }

.service-card:hover .mini-bars i {
  transform: scaleY(1.15);
}

.mini-network {
  width: 90px;
  height: 75px;
}

.mini-network span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.mini-network span:nth-child(1) { left: 7px; top: 36px; }
.mini-network span:nth-child(2) { right: 7px; top: 7px; background: var(--jade); }
.mini-network span:nth-child(3) { right: 20px; bottom: 4px; }

.mini-network::before,
.mini-network::after {
  content: "";
  position: absolute;
  top: 39px;
  left: 10px;
  width: 68px;
  border-top: 1px solid rgba(200, 162, 74, 0.6);
  transform: rotate(-25deg);
}

.mini-network::before {
  transform: rotate(20deg);
}

/* ---------- 02 流量产品 ---------- */

.catalog-section {
  display: grid;
  grid-template-columns: 38% 62%;
  padding: 90px 0 110px;
  border-top: 1px solid var(--line-gold);
}

.catalog-intro p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.catalog-list {
  padding-left: 80px;
}

/* 产品标签是 <button>：先把浏览器默认样式清掉 */
.catalog-item {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  width: 100%;
  min-height: 80px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.catalog-item:first-child {
  border-top: 1px solid var(--line);
}

.catalog-item:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 4px 0 0 var(--gold);
}

.catalog-item.active {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--jade);
}

.catalog-item:focus-visible {
  outline: 0;
  box-shadow: inset 4px 0 0 var(--jade), 0 0 0 3px rgba(21, 149, 143, 0.2);
}

.catalog-index {
  padding-left: 14px;
  color: var(--gold-text);
  font: 600 12px var(--mono);
}

.catalog-item strong,
.catalog-item small {
  display: block;
}

.catalog-item strong {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.catalog-item.active strong {
  color: var(--jade-text);
}

.catalog-item small {
  color: var(--muted);
  font-size: 12px;
}

.catalog-arrow {
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.catalog-item:hover .catalog-arrow,
.catalog-item.active .catalog-arrow {
  color: var(--gold-text);
  transform: translate(3px, -3px);
}

.catalog-detail,
.catalog-note {
  grid-column: 2;
  margin-left: 80px;
}

.catalog-detail {
  margin-top: 18px;
  padding: 13px 16px;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(200, 162, 74, 0.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}

.catalog-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.detail-refresh {
  animation: detail-in 0.3s ease both;
}

/* ---------- 03 服务优势 ---------- */

.why-section {
  display: grid;
  grid-template-columns: 34% 66%;
  padding: 90px 0 100px;
  border-top: 1px solid var(--line-gold);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.why-item {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.why-item:hover {
  transform: translateX(6px);
}

.why-item strong {
  color: var(--gold-text);
  font: 600 12px var(--mono);
}

.why-item h3 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.why-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 04 关于我们 / 公司名片 ---------- */

.about-section {
  display: grid;
  grid-template-columns: 150px 1fr 400px;
  gap: 48px;
  align-items: center;
  padding: 90px 0 100px;
  border-top: 1px solid var(--line-gold);
}

/* 放大的品牌图形：逆时针慢转，外圈两道虚线环一正一反 */
.about-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
}

.about-mark img {
  width: 96px;
  height: 96px;
  animation: spin-slow 14s linear infinite;
}

.about-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring-1 {
  border: 1px dashed rgba(200, 162, 74, 0.55);
  animation: spin-slow 30s linear infinite;
}

.ring-2 {
  inset: 16px;
  border: 1px dashed rgba(21, 149, 143, 0.4);
  animation: spin-slow 22s linear infinite reverse;
}

.about-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.about-copy h2 {
  margin-bottom: 6px;
}

.about-quote {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.company-card {
  padding: 24px 26px;
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 250, 245, 0.9));
  box-shadow: 0 22px 50px rgba(10, 26, 51, 0.08);
}

.company-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-gold);
}

.company-card-head img {
  animation: spin-slow 14s linear infinite;
}

.company-card-head b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.company-card-head small {
  color: var(--gold-text);
  font: 600 10px var(--mono);
  letter-spacing: 0.12em;
}

.company-info > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.company-info > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.company-info dt {
  color: var(--muted);
}

.company-info dd {
  color: var(--ink);
  font-weight: 500;
}

.company-info a {
  color: var(--jade-text);
}

/* 许可证号、电话这类编号不要在连字符处断开 */
.nowrap {
  white-space: nowrap;
}

/* ---------- 05 旗下品牌 ---------- */

.brands-section {
  padding: 90px 0 110px;
  border-top: 1px solid var(--line-gold);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.brand-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
  box-shadow: 0 20px 40px rgba(10, 26, 51, 0.1);
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-tag {
  padding: 4px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-text);
  font-size: 12px;
}

.brand-domain {
  color: var(--muted);
  font: 12px var(--mono);
}

.brand-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.brand-card p {
  max-width: 470px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.brand-card a {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 20px;
  color: var(--jade-text);
  font-size: 14px;
  font-weight: 600;
}

/* 零点数据 API 卡片：墨蓝底，与 www.gxxai.cn 深色主站呼应 */
.brand-card-dark {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 162, 74, 0.28), transparent 45%),
    linear-gradient(160deg, #10284a 0%, var(--ink) 70%);
}

.brand-card-dark .brand-tag {
  border-color: rgba(227, 199, 122, 0.5);
  color: #f1dc9c;
}

.brand-card-dark .brand-domain {
  color: rgba(255, 255, 255, 0.6);
}

.brand-card-dark h3 {
  color: #fff;
}

.brand-card-dark p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.74);
}

.brand-card-dark a {
  color: #f1dc9c;
}

/* 右下角半隐的大号品牌图形，逆时针慢转 */
.brand-card-mark {
  position: absolute;
  right: -34px;
  bottom: -40px;
  opacity: 0.22;
  animation: spin-slow 30s linear infinite;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 44px 0 30px;
  border-top: 1px solid var(--line-gold);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer-label {
  color: var(--gold-text);
  font: 600 11px var(--mono);
  letter-spacing: 0.16em;
}

.footer-contact p {
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
}

.footer-contact a:hover {
  color: var(--jade-text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--jade-text);
}

/* ---------- 提示条 ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  max-width: calc(100% - 40px);
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(10, 26, 51, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 滚动浮现（由 script.js 加上 .reveal / .in） ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 动画 ---------- */

/* 逆时针慢转：与 www.gxxai.cn 的 logo 转向一致 */
@keyframes spin-slow {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes detail-in {
  from {
    opacity: 0.2;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 38px 38px;
  }
}

@keyframes orbit-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.5;
  }
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(21, 149, 143, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(21, 149, 143, 0.05);
  }
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes text-flow {
  to {
    background-position: -220% 0;
  }
}

/* ---------- 平板与手机 ---------- */

@media (max-width: 1080px) {
  .main-nav {
    gap: 20px;
  }

  .about-section {
    grid-template-columns: 120px 1fr;
  }

  .about-mark {
    width: 120px;
    height: 120px;
  }

  .about-mark img {
    width: 76px;
    height: 76px;
  }

  /* 名片换到下一行，占满宽度 */
  .company-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .brand-logo .brand-logo-text {
    width: 76px;
  }

  .brand-sub b {
    font-size: 14px;
  }

  .header-contact {
    display: none;
  }

  /* 汉堡菜单按钮 */
  .menu-button {
    position: relative;
    display: grid;
    place-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-gold);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  .menu-button:hover,
  .menu-button.is-open {
    background: #fffaf0;
    box-shadow: 0 6px 15px rgba(200, 162, 74, 0.2);
  }

  .menu-button span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-button.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* 下拉菜单：默认隐藏，点按钮后展开 */
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line-gold);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(10, 26, 51, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .main-nav.menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--ink);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(200, 162, 74, 0.1);
    color: var(--gold-text);
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 40px 0 50px;
  }

  .hero-title {
    font-size: 56px;
  }

  .recharge-panel {
    width: 100%;
    max-width: 460px;
    margin-top: 44px;
  }

  .hero-grid,
  .hero-orbit {
    opacity: 0.5;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
  }

  .signal-strip > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .content-section {
    padding: 72px 0 70px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .section-heading h2,
  .catalog-intro h2,
  .why-heading h2,
  .about-copy h2 {
    font-size: 28px;
  }

  .service-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .catalog-section,
  .why-section {
    display: block;
    padding: 64px 0 72px;
  }

  .catalog-list {
    margin-top: 34px;
    padding-left: 0;
  }

  .catalog-detail,
  .catalog-note {
    margin-left: 0;
  }

  .why-grid {
    margin-top: 30px;
    gap: 0 24px;
  }

  .about-section,
  .brands-section {
    padding: 64px 0 72px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-title {
    font-size: 46px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0;
  }

  .hero-meta {
    gap: 16px;
    flex-wrap: wrap;
  }

  .recharge-panel {
    padding: 22px 18px 18px;
  }

  .signal-strip > div {
    padding-left: 14px;
  }

  .signal-strip small {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-card {
    padding: 20px 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* 系统开启“减少动态效果”时：所有动画、过渡基本停掉，logo 不转 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
