/* ============ 开阳之星 AI+OPC工具栈 · 科技感主题 ============ */
:root {
  --bg-deep: #050b18;
  --bg-panel: rgba(13, 25, 48, 0.72);
  --bg-card: rgba(16, 32, 62, 0.55);
  --line: rgba(0, 229, 255, 0.18);
  --line-strong: rgba(0, 229, 255, 0.45);
  --cyan: #00e5ff;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #ff9f43;
  --green: #22e6a8;
  --red: #ff5c7a;
  --text: #e8f1ff;
  --text-dim: #8fa3c8;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
/* 网格与光晕背景 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 10%, rgba(139,92,246,.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,229,255,.08), transparent 65%),
    var(--bg-deep);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 0 3vw; height: 64px;
  background: rgba(5, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.nav-logo .star {
  width: 56px; height: 42px; flex: none;
  background: url("../img/logo.png") center / contain no-repeat;
  transform: translateY(-3px);
}
@keyframes pulse-star { 0%,100% { filter: drop-shadow(0 0 4px var(--cyan)); } 50% { filter: drop-shadow(0 0 14px var(--cyan)); } }
/* 品牌名：平台主色调渐变 */
.nav-logo .brand-name {
  background: linear-gradient(90deg, #fff, var(--cyan) 45%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 英文副标：放大 + 与品牌名两端对齐 + OPC主色调渐变突显 */
.nav-logo small.opc-tag {
  display: block; margin-top: 3px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .5px;
  color: var(--text-dim);
  text-align: justify; text-align-last: justify;
}
/* 品牌区扫光：斜向细光线，从左上角整体向右下角闪过，持续循环（仅覆盖文字，不含LOGO） */
.nav-logo > span { position: relative; display: inline-block; overflow: hidden; border-radius: 6px; }
.nav-logo > span::after {
  content: ""; position: absolute; inset: -90%;
  background: linear-gradient(135deg,
    transparent 45.5%,
    rgba(0, 229, 255, .05) 48.2%,
    rgba(255, 255, 255, .1) 50%,
    rgba(0, 229, 255, .05) 51.8%,
    transparent 54.5%);
  transform: translate(-100%, -100%);
  animation: tag-sweep 10s linear infinite;
  mix-blend-mode: screen; pointer-events: none;
}
@keyframes tag-sweep {
  0% { transform: translate(-100%, -100%); }
  70%, 100% { transform: translate(100%, 100%); }
}
.nav-logo small.opc-tag b {
  font-weight: 700;
  background: linear-gradient(120deg, #fff, var(--cyan) 40%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: opc-breathe 2.4s ease-in-out infinite;
}
/* A/I/O/P/C 依次呼吸，形成流动感 */
.nav-logo small.opc-tag b:nth-of-type(1) { animation-delay: 0s; }
.nav-logo small.opc-tag b:nth-of-type(2) { animation-delay: .18s; }
.nav-logo small.opc-tag b:nth-of-type(3) { animation-delay: .36s; }
.nav-logo small.opc-tag b:nth-of-type(4) { animation-delay: .54s; }
.nav-logo small.opc-tag b:nth-of-type(5) { animation-delay: .72s; }
@keyframes opc-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .62; }
}
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: 7px 11px; font-size: 13px; color: var(--text-dim);
  border: 1px solid transparent; border-radius: 6px; transition: all .25s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active {
  color: var(--cyan); border-color: var(--line-strong);
  background: rgba(0,229,255,.08);
  box-shadow: 0 0 16px rgba(0,229,255,.12) inset;
}

/* ---------- 通用容器 ---------- */
.wrap { padding: 0 4vw; }
.section { padding: 56px 0 20px; }
.sec-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { font-size: 26px; letter-spacing: 1px; }
.sec-head h2 em { color: var(--cyan); font-style: normal; }
.sec-head .en { font-size: 11px; color: var(--text-dim); letter-spacing: 3px; text-transform: uppercase; }
.sec-head .more { margin-left: auto; font-size: 13px; color: var(--cyan); }

/* ---------- 排版对齐规范（全站统一） ----------
   1) 栅格内所有卡片等高对齐，避免同行卡片因内容长短而参差；
   2) 卡片/面板内容用 flex 纵向排列，底部元素自然对齐到基线；
   3) 统计条数字基线统一，杜绝因 small 后缀导致的上下跳动。 */
.grid > .card, .grid > .panel { display: flex; flex-direction: column; }
.grid > .card > h3, .grid > .card > h4 { flex: none; }
/* 卡片内主要内容区自动撑开，底部内容（按钮/价格/meta）对齐到底部 */
.order-card .foot { margin-top: auto; padding-top: 12px; }
/* 统计条：统一行高与基线 */
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 108px; }
.stat .num { display: flex; align-items: baseline; justify-content: center; line-height: 1.15; }
.stat .num small { line-height: 1; }
/* 筛选标签行：统一垂直居中与换行间距 */
.filters { align-items: center; row-gap: 10px; }
.filters .chip { display: inline-flex; align-items: center; line-height: 1.4; }
/* 面板标题与图表间距统一 */
.panel h3.ptitle { margin-bottom: 16px; }
/* 页面横幅底部留白统一 */
.page-banner { padding-bottom: 16px; }

/* ---------- 面板 / 卡片 ---------- */
.panel {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.corner::after {
  content: ""; position: absolute; width: 14px; height: 14px; top: -1px; left: -1px;
  border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); border-radius: 12px 0 0 0;
}
.grid { display: grid; gap: 18px; align-items: stretch; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .g3,.g4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .g2,.g3,.g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px; transition: all .3s; position: relative;
}
.card:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  box-shadow: 0 12px 34px rgba(0, 150, 255, .16);
}

/* ---------- HERO（居中排版，无地图） ---------- */
.hero {
  padding-top: 92px; padding-bottom: 48px;
  text-align: center; position: relative;
}
/* 主文案区：水平居中，宽度自适应内容 */
.hero-center {
  display: flex; flex-direction: column; align-items: center;
  max-width: 940px; margin: 0 auto;
}
.hero-center .badge { margin-bottom: 26px; }
.hero-center h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: 4px; line-height: 1.22;
  background: linear-gradient(90deg, #fff, var(--cyan) 45%, var(--blue) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(0,229,255,.28));
}
.hero-center h1 em { font-style: normal; }
.hero-center p.sub {
  margin: 26px 0 38px; max-width: 760px;
  color: var(--text-dim); font-size: 17px; line-height: 1.95;
}
.hero-center .cta { justify-content: center; gap: 18px; }
.hero-center .btn { padding: 14px 34px; font-size: 16px; }

/* 核心能力标签：四项数据卡片 */
.hero-tags {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; width: 100%; max-width: 860px;
  margin: 56px 0 0; padding: 0; list-style: none;
}
.hero-tags li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-card);
  transition: all .3s; position: relative; overflow: hidden;
}
.hero-tags li::after {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .55;
}
.hero-tags li:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 34px rgba(0, 150, 255, .16);
}
.hero-tags li b {
  font-family: var(--font-num); font-size: 34px; font-weight: 700;
  line-height: 1.1; color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, .45);
}
.hero-tags li span { font-size: 12.5px; color: var(--text-dim); letter-spacing: .5px; }

@media (max-width: 900px) {
  .hero { padding-top: 64px; padding-bottom: 36px; }
  .hero-center h1 { letter-spacing: 2px; }
  .hero-center p.sub { font-size: 15px; margin: 22px 0 30px; }
  .hero-tags { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
  .hero-tags li b { font-size: 27px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; padding-bottom: 26px; }
  .hero-center p.sub { font-size: 14px; line-height: 1.85; }
  .hero-center .btn { padding: 12px 22px; font-size: 14px; }
  .hero-tags { gap: 10px; margin-top: 32px; }
  .hero-tags li { padding: 16px 8px; }
  .hero-tags li b { font-size: 23px; }
  .hero-tags li span { font-size: 11.5px; }
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--cyan); letter-spacing: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 26px; background: rgba(0,229,255,.06);
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 28px; border-radius: 8px; font-size: 14.5px; letter-spacing: 1px;
  border: 1px solid var(--line-strong); color: var(--cyan);
  background: rgba(0,229,255,.07); transition: all .25s;
}
.btn:hover { box-shadow: 0 0 24px rgba(0,229,255,.35); transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  color: #03101f; font-weight: 700; border: none;
}
.btn.ghost { background: transparent; }
.btn.sm { padding: 7px 16px; font-size: 12.5px; }

/* ---------- 数据统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 44px 0 10px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: 24px 10px; position: relative;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
}
.stat .num { font-family: var(--font-num); font-size: 38px; font-weight: 700; color: var(--cyan); text-shadow: 0 0 18px rgba(0,229,255,.5); }
.stat .num small { font-size: 15px; color: var(--text-dim); margin-left: 4px; }
.stat .label { margin-top: 6px; font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

/* ---------- 版块入口卡 ---------- */
.entry { display: block; overflow: hidden; }
.entry .icon { font-size: 30px; margin-bottom: 12px; }
.entry h3 { font-size: 17px; margin-bottom: 8px; }
.entry p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.entry .go { margin-top: 14px; font-size: 12.5px; color: var(--cyan); }
.entry::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,229,255,.14), transparent 70%); border-radius: 50%;
}

/* ---------- 看板 ---------- */
.chart { width: 100%; height: 300px; }
.chart-sm { height: 240px; }
.panel h3.ptitle { font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.panel h3.ptitle::before { content: ""; width: 4px; height: 14px; background: linear-gradient(var(--cyan), var(--blue)); border-radius: 2px; }
.live-tag { margin-left: auto; font-size: 11px; color: var(--green); display: inline-flex; align-items: center; gap: 5px; }
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.4s infinite; }

/* ---------- 滚动播报 ---------- */
.ticker {
  border: 1px solid var(--line); border-radius: 10px; background: rgba(0,229,255,.04);
  overflow: hidden; height: 42px; display: flex; align-items: center; margin: 22px 0;
}
.ticker .tag {
  flex: none; height: 100%; display: flex; align-items: center; padding: 0 16px;
  background: linear-gradient(120deg, rgba(0,229,255,.2), rgba(59,130,246,.2));
  color: var(--cyan); font-size: 12.5px; letter-spacing: 2px; border-right: 1px solid var(--line-strong);
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner { display: inline-flex; white-space: nowrap; animation: marquee 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-inner { animation-play-state: paused; }
.ticker-inner span { padding: 0 34px; font-size: 13px; color: var(--text-dim); }
.ticker-inner b { color: var(--orange); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 订单卡 ---------- */
.order-card { display: flex; flex-direction: column; gap: 10px; }
.order-card .top { display: flex; align-items: center; gap: 10px; }
.order-card .plat {
  flex: none; font-size: 11px; padding: 3px 10px; border-radius: 4px;
  border: 1px solid var(--line-strong); color: var(--cyan); background: rgba(0,229,255,.08);
}
.order-card .plat.orange { color: var(--orange); border-color: rgba(255,159,67,.5); background: rgba(255,159,67,.08); }
.order-card .plat.purple { color: #c4b5fd; border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.1); }
.order-card .plat.green { color: var(--green); border-color: rgba(34,230,168,.5); background: rgba(34,230,168,.08); }
.order-card .plat.red { color: var(--red); border-color: rgba(255,92,122,.5); background: rgba(255,92,122,.08); }
.order-card h4 { font-size: 15px; line-height: 1.5; }
.order-card .desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.7; }
.order-card .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--text-dim); margin-top: auto; }
.order-card .price { font-family: var(--font-num); font-size: 22px; color: var(--orange); font-weight: 700; text-shadow: 0 0 12px rgba(255,159,67,.4); }
.order-card .price small { font-size: 12px; color: var(--text-dim); font-weight: 400; }
.order-card .foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; }
.tag-mini { font-size: 11px; color: var(--text-dim); border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; white-space: nowrap; flex: none; }

/* ---------- 筛选条 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  cursor: pointer; font-size: 13px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim); transition: all .2s; background: rgba(16,32,62,.4);
}
.chip:hover { color: var(--cyan); border-color: var(--line-strong); }
.chip.on { color: #03101f; background: linear-gradient(120deg, var(--cyan), var(--blue)); font-weight: 600; border-color: transparent; }

/* ---------- 工具卡 ---------- */
.tool-card { display: flex; gap: 14px; align-items: flex-start; }
.tool-card .ticon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(139,92,246,.16));
  border: 1px solid var(--line);
}
.tool-card h4 { font-size: 15px; }
.tool-card h4 small { font-size: 11px; color: var(--text-dim); margin-left: 6px; font-weight: 400; }
.tool-card p { font-size: 12.5px; color: var(--text-dim); line-height: 1.65; margin-top: 5px; }
.tool-card .tfoot { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.price-tag { font-size: 11px; padding: 2px 9px; border-radius: 4px; }
.price-tag.free { color: var(--green); background: rgba(34,230,168,.1); border: 1px solid rgba(34,230,168,.35); }
.price-tag.freemium { color: var(--cyan); background: rgba(0,229,255,.08); border: 1px solid var(--line-strong); }
.price-tag.paid { color: var(--orange); background: rgba(255,159,67,.1); border: 1px solid rgba(255,159,67,.4); }
.rate { margin-left: auto; font-size: 12px; color: #ffd166; font-family: var(--font-num); }
.tlink { font-size: 12px; color: var(--blue); }
.tlink:hover { color: var(--cyan); }

/* ---------- 政策时间线 / 清单 ---------- */
.policy-list { display: flex; flex-direction: column; gap: 14px; }
.policy-item { display: flex; gap: 16px; padding: 18px 20px; }
.policy-item .picon {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 20px;
  background: rgba(0,229,255,.1); border: 1px solid var(--line-strong); color: var(--cyan);
}
.policy-item h4 { font-size: 15px; margin-bottom: 5px; }
.policy-item h4 .hl { color: var(--orange); }
.policy-item p { font-size: 13px; color: var(--text-dim); line-height: 1.75; }
.policy-item p b { color: var(--text); }

/* ---------- 表格 ---------- */
table.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tb th, table.tb td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.tb th { color: var(--cyan); font-weight: 600; letter-spacing: 1px; font-size: 12px; background: rgba(0,229,255,.05); }
table.tb tr:hover td { background: rgba(0,229,255,.04); }
table.tb td { color: var(--text-dim); }
table.tb td b { color: var(--text); }

/* ---------- 弹窗表单 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3, 8, 18, .75); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  width: min(560px, 94vw); max-height: 88vh; overflow-y: auto;
  background: #0a162e; border: 1px solid var(--line-strong); border-radius: 14px; padding: 28px;
  box-shadow: 0 24px 80px rgba(0,229,255,.15);
}
.modal h3 { font-size: 18px; margin-bottom: 20px; color: var(--cyan); }
.frow { margin-bottom: 15px; }
.frow label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 7px; }
.frow input, .frow select, .frow textarea {
  width: 100%; padding: 10px 13px; border-radius: 8px; font-size: 13.5px; color: var(--text);
  background: rgba(5,11,24,.8); border: 1px solid var(--line); outline: none; transition: border .2s;
  font-family: inherit;
}
.frow input:focus, .frow select:focus, .frow textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 12px rgba(0,229,255,.15); }
.frow textarea { resize: vertical; min-height: 84px; }
.modal .fbtns { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; }

/* toast */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
  z-index: 300; padding: 12px 26px; border-radius: 10px; font-size: 14px;
  background: rgba(10, 30, 24, .95); border: 1px solid rgba(34,230,168,.5); color: var(--green);
  opacity: 0; pointer-events: none; transition: all .35s; box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 页脚 ---------- */
footer {
  margin-top: 70px; border-top: 1px solid var(--line);
  background: rgba(4, 9, 20, .9); padding: 44px 4vw 30px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h5 { font-size: 14px; color: var(--cyan); margin-bottom: 14px; letter-spacing: 1px; }
.foot-grid p, .foot-grid a { display: block; font-size: 12.5px; color: var(--text-dim); line-height: 2.1; }
.foot-grid a:hover { color: var(--cyan); }
.copyright {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid rgba(0,229,255,.08); text-align: center;
  font-size: 12.5px; color: var(--text-dim); letter-spacing: 1px; line-height: 2;
}
.copyright b { color: var(--cyan); }

/* 页面标题横幅 */
.page-banner { padding: 60px 0 10px; }
.page-banner .crumb { font-size: 12px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 14px; }
.page-banner h1 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: 2px; }
.page-banner h1 em { color: var(--cyan); font-style: normal; }
.page-banner p { margin-top: 14px; max-width: 780px; color: var(--text-dim); font-size: 14px; line-height: 1.9; }

/* 导语强制单行：不换行、不截断；窄屏时恢复常规换行以免横向溢出 */
.page-banner p.lead-1line {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .page-banner p.lead-1line { white-space: normal; }
}

/* ---------- AI通识课 · 音频播放器 ---------- */
.player-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
@media (max-width: 900px) { .player-panel { grid-template-columns: 1fr; } }
.np-disc {
  width: 128px; height: 128px; border-radius: 50%; flex: none; margin: 6px auto 18px;
  background:
    radial-gradient(circle at center, #0a1530 26%, transparent 27%),
    conic-gradient(from 0deg, #00e5ff, #3b82f6, #8b5cf6, #00e5ff);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 0 34px rgba(0, 229, 255, .22);
}
.np-disc::after {
  content: ""; position: absolute; inset: 34%; border-radius: 50%;
  background: #050b18; border: 1px solid var(--line-strong);
}
.np-disc .eq { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.np-disc .eq i { width: 3px; background: var(--cyan); border-radius: 2px; height: 20%; }
.playing .np-disc { animation: spin 9s linear infinite; }
.playing .np-disc .eq i { animation: eqjump .9s ease-in-out infinite alternate; }
.playing .np-disc .eq i:nth-child(2) { animation-delay: .15s; }
.playing .np-disc .eq i:nth-child(3) { animation-delay: .3s; }
.playing .np-disc .eq i:nth-child(4) { animation-delay: .45s; }
.playing .np-disc .eq i:nth-child(5) { animation-delay: .6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eqjump { from { height: 18%; } to { height: 100%; } }
.np-title { font-size: 17px; font-weight: 700; color: #e8f1ff; text-align: center; margin-bottom: 4px; }
.np-sub { font-size: 12px; color: var(--text-dim); text-align: center; margin-bottom: 16px; }
.np-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; overflow: hidden; }
.np-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 10px rgba(0,229,255,.6); transition: width .2s linear; }
.np-time { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-top: 7px; font-variant-numeric: tabular-nums; }
.np-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 16px; }
.np-btn {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(0,229,255,.06); color: var(--cyan); transition: all .25s;
}
.np-btn:hover { box-shadow: 0 0 14px rgba(0,229,255,.4); }
.np-btn.main { width: 54px; height: 54px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #04101f; border: none; box-shadow: 0 0 20px rgba(0,229,255,.45); }
.np-btn svg { width: 17px; height: 17px; fill: currentColor; }
.np-btn.main svg { width: 21px; height: 21px; }
.np-wave {
  width: 100%; height: 88px; display: block; margin-top: 18px;
}
@media (max-width: 640px) { .np-wave { height: 60px; margin-top: 14px; } }

.np-hint { margin-top: 14px; padding: 9px 12px; border: 1px dashed rgba(255,159,67,.45); border-radius: 8px;
  background: rgba(255,159,67,.07); color: #ffb86b; font-size: 12px; line-height: 1.6; display: none; }
.np-hint.show { display: block; }
.np-hint a { color: var(--cyan); }
.ep-list { display: flex; flex-direction: column; gap: 9px; max-height: 430px; overflow-y: auto; padding-right: 4px; }
.ep {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(10,22,44,.55); transition: all .25s;
}
.ep:hover { border-color: rgba(0,229,255,.45); transform: translateX(3px); }
.ep.on { border-color: var(--cyan); background: rgba(0,229,255,.08); box-shadow: 0 0 16px rgba(0,229,255,.18); }
.ep .no { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--cyan); background: rgba(0,229,255,.09); border: 1px solid rgba(0,229,255,.25); font-variant-numeric: tabular-nums; }
.ep .tt { flex: 1; min-width: 0; }
.ep .tt b { display: block; font-size: 13.5px; color: #dbe7ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep .tt span { font-size: 11.5px; color: var(--text-dim); }
.ep .dur { flex: none; font-size: 11.5px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.ep .ply { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(0,229,255,.35); color: var(--cyan); }
.ep .ply svg { width: 11px; height: 11px; fill: currentColor; }
.ep.on .ply { background: var(--cyan); color: #04101f; }

/* 课程大纲单元 */
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
/* 课程大纲（人才引育页）：固定两行，每行 5 个单元 */
.unit-grid.cols5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .unit-grid.cols5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .unit-grid.cols5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .unit-grid.cols5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .unit-grid.cols5 { grid-template-columns: 1fr; } }
.unit {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(10,22,44,.55);
  transition: all .25s; position: relative; overflow: hidden;
}
.unit::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue)); box-shadow: 0 0 10px rgba(0,229,255,.5); }
.unit:hover { border-color: rgba(0,229,255,.5); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,229,255,.12); }
.unit .uno {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  font-size: 14px; font-weight: 800; color: #04101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  filter: drop-shadow(0 0 8px rgba(0,229,255,.4));
}
.unit .unm { font-size: 13.5px; color: #dbe7ff; line-height: 1.45; }
.unit .unm small { display: block; font-size: 10.5px; color: var(--text-dim); letter-spacing: 1px; margin-bottom: 2px; }

/* 底部公安备案图标 */
.beian-icon { height: 14px; width: auto; vertical-align: -2px; margin-right: 5px; }
/* 备案信息条目：桌面同行排列，手机竖屏每项单独一行 */
.beian-item { display: inline-block; margin: 0 .7em; }
@media (max-width: 640px) { .beian-item { display: block; margin: 0; } }

/* 实时数据引擎 · LIVE 更新指示器（导航栏 LOGO 右侧） */
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(8, 18, 38, .6); border: 1px solid rgba(0, 229, 255, .25);
  font-size: 11px; color: var(--text-dim); letter-spacing: .5px;
  white-space: nowrap;
  transition: border-color .4s, box-shadow .4s, color .4s;
  pointer-events: none;
}
@media (max-width: 1100px) { .live-badge span { display: none; } .live-badge { padding: 5px 7px; } }
.live-badge i {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: live-dot 1.6s ease-in-out infinite;
}
@keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.live-badge.flash { border-color: rgba(0, 229, 255, .7); box-shadow: 0 0 18px rgba(0, 229, 255, .35); color: var(--cyan); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #060d1c; }
::-webkit-scrollbar-thumb { background: #16335e; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #1e4a8a; }

/* ---------- 全屏按钮 ---------- */
.fs-btn {
  flex: none; width: 34px; height: 34px; margin-left: 6px;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: rgba(0, 229, 255, .07); color: var(--cyan);
  transition: all .25s;
}
.fs-btn:hover { box-shadow: 0 0 16px rgba(0, 229, 255, .4); transform: translateY(-1px); }
.fs-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 全屏模式下保持深色背景 */
:fullscreen, ::backdrop { background: var(--bg-deep); }

/* ============ 科技感动态效果 ============ */
/* 粒子网络背景画布 */
#fx-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6; }

/* ---------- 全站星光粒子层（starfield.js） ----------
   位于粒子网络之下、网格光晕之上，形成"远景星空 → 中景星网"的空间纵深 */
#starfield {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .92;
  /* 边缘羽化：中心清晰、四边渐隐，避免画布硬边 */
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 46%, #000 42%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.18) 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 46%, #000 42%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.18) 100%);
  contain: strict;
}
/* 叠加一层极淡的暗角，提升"高级感"与画面聚焦 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 42%, rgba(2,6,18,.42) 88%, rgba(2,6,18,.66) 100%);
}

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .36, 1); }
.reveal.revealed { opacity: 1; transform: none; }

/* 新订单卡入场 */
@keyframes cardIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.order-card { animation: cardIn .5s ease backwards; }

/* 导航链接下划线扫光 */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* 导航项较多时的窄屏兜底：横向滚动而非换行撑高导航条 */
@media (max-width: 1180px) {
  .nav-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}

/* 按钮流光扫过 */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn:hover::after { left: 135%; }

/* 统计数字呼吸辉光 */
.stat .num { animation: numGlow 3s ease-in-out infinite; }
@keyframes numGlow { 0%,100% { text-shadow: 0 0 14px rgba(0,229,255,.4); } 50% { text-shadow: 0 0 28px rgba(0,229,255,.8); } }

/* 面板顶部流光束 */
.panel::before {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%; animation: beam 4.5s linear infinite;
}
@keyframes beam { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* 卡片悬停扫光 */
.card { overflow: hidden; }
.card::before {
  content: ""; position: absolute; top: 0; left: -90%; width: 55%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(0,229,255,.07), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.card:hover::before { left: 140%; }

/* LOGO悬浮微放大（保持上移位置） */
.nav-logo:hover .star { transform: translateY(-3px) scale(1.08); transition: transform .3s; }

/* 全屏壳：全屏时站点运行在铺满视口的 iframe 内，跳转导航不退出全屏 */
body.fs-shell-on { overflow: hidden; }
body.fs-shell-on > :not(.fs-shell) { display: none !important; }
iframe.fs-shell {
  position: fixed; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 99999; background: #050b18; display: block;
}

/* 宽屏增强：内容加宽后看板与标题随之舒展 */
@media (min-width: 1500px) {
  .chart { height: 340px; }
  .chart-sm { height: 270px; }
  .sec-head h2 { font-size: 28px; }
  .stat .num { font-size: 42px; }
  .card { padding: 24px; }
}

/* 尊重减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  #fx-canvas { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-inner, .panel::before, .stat .num, .nav-logo > span::after, .nav-logo small.opc-tag b, .live-badge i { animation: none !important; }
}

/* ---------- 弹窗双列行 ---------- */
.frow-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============ 移动端竖屏适配（≤640px） ============ */
@media (max-width: 640px) {
  /* 导航：两行布局，菜单横向滑动不挤压 */
  .nav { height: auto; flex-wrap: wrap; gap: 6px 12px; padding: 8px 3vw 0; }
  .nav-logo { font-size: 15px; gap: 8px; letter-spacing: .5px; }
  .nav-logo .star { width: 40px; height: 30px; }
  .nav-logo small.opc-tag { font-size: 10px; letter-spacing: .3px; }
  .live-badge { margin-left: auto; }
  .nav-links {
    order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap;
    overflow-x: auto; gap: 6px; padding: 4px 0 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: none; padding: 6px 12px; font-size: 12.5px; }
  .fs-btn { width: 30px; height: 30px; }

  /* 容器与版块间距 */
  .wrap { padding: 0 3vw; }
  .section { padding: 36px 0 14px; }
  .sec-head { margin-bottom: 18px; }
  .sec-head h2 { font-size: 21px; }
  .sec-head .en { letter-spacing: 2px; }

  /* HERO / 页面横幅 */
  .hero { padding-top: 48px; padding-bottom: 26px; }
  .hero-center h1 { letter-spacing: 2px; }
  .hero-center p.sub { font-size: 14px; line-height: 1.85; margin: 16px 0 24px; }
  .hero-center .btn { padding: 12px 22px; font-size: 14px; }
  .hero-tags { margin-top: 30px; }
  .page-banner { padding: 38px 0 8px; }
  .page-banner p { font-size: 13.5px; }

  /* 统计数字 */
  .stats { gap: 12px; margin: 30px 0 6px; }
  .stat { padding: 16px 6px; }
  .stat .num { font-size: 28px; }
  .stat .num small { font-size: 12px; }
  .stat .label { font-size: 12px; }

  /* 看板图表 */
  .chart { height: 240px; }
  .chart-sm { height: 210px; }
  .panel { padding: 16px; }

  /* 播报条 */
  .ticker { height: 38px; margin: 16px 0; }
  .ticker .tag { padding: 0 10px; font-size: 11px; letter-spacing: 1px; }
  .ticker-inner span { padding: 0 22px; font-size: 12.5px; }

  /* 订单卡 */
  .order-card .price { font-size: 19px; }
  .order-card .foot { flex-wrap: wrap; gap: 10px; }

  /* 政策条目 */
  .policy-item { gap: 12px; padding: 14px 15px; }
  .policy-item .picon { width: 38px; height: 38px; font-size: 17px; }

  /* 弹窗：更紧凑，双列表单行转单列 */
  .modal-mask { padding: 12px; }
  .modal { padding: 20px 16px; max-height: 92vh; }
  .frow-2col { grid-template-columns: 1fr; }

  /* toast 不超出屏幕 */
  .toast { max-width: 92vw; font-size: 13px; text-align: center; padding: 11px 18px; }

  /* 页脚 */
  footer { margin-top: 48px; padding: 34px 3vw 24px; }
  .copyright { font-size: 11.5px; letter-spacing: .3px; }

  /* 课程播放器 */
  .np-disc { width: 108px; height: 108px; }
  .ep-list { max-height: 320px; }
}

/* ============ 页头横幅粒子层（动态科技感） ============ */
/* 每个页面横幅容器内挂一张独立 canvas，粒子在横幅范围内循环漂浮 + 连线成网 */
.hd-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hd-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* 横幅容器需为定位上下文，且内容浮于粒子之上 */
.page-banner, .pi-hero, .qwd-hero, .hero { position: relative; }
.page-banner > *, .pi-hero > *, .qwd-hero > *, .hero > * { position: relative; z-index: 1; }
/* 裁剪交给 .hd-fx 自身，容器不设 overflow，避免裁掉卡片 hover 的位移 */
.page-banner { overflow: visible; }
/* 圆角容器：粒子层跟随圆角裁剪 */
.pi-hero > .hd-fx, .qwd-hero > .hd-fx { border-radius: inherit; }
.hd-fx-halo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(0,229,255,.10), transparent 70%),
    radial-gradient(ellipse 45% 80% at 85% 100%, rgba(139,92,246,.10), transparent 70%);
  animation: hdHaloBreath 8s ease-in-out infinite;
}
@keyframes hdHaloBreath { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hd-fx, .hd-fx-halo { display: none; }
}
