/* xingyunjichang.cyou - 星云机场评测实验室与技术架构研报 专属视觉引擎 */
:root {
  --bg-obsidian: #030712;
  --bg-surface: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --border-subtle: rgba(245, 158, 11, 0.16);
  --border-focus: rgba(245, 158, 11, 0.45);
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.75;
  padding-bottom: 74px;
}

a { color: var(--accent-amber); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--accent-amber-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 实验室警报横幅 */
.lab-header-banner {
  background: linear-gradient(90deg, #451a03, #1e1b4b, #030712);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 13px;
  color: #fde68a;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.lab-pulse {
  width: 9px;
  height: 9px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-amber);
  animation: lab-pulse-anim 1.8s infinite;
}

@keyframes lab-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* 导航 */
header.lab-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 15px 0;
}

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

.lab-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lab-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #030712;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.lab-title-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.lab-title-text p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--accent-amber);
}

.btn-lab-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #030712 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.btn-lab-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.lab-hero {
  padding: 55px 0 40px;
  text-align: center;
}

.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-amber);
  margin-bottom: 24px;
}

.lab-hero h1.hero-h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 40%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lab-hero h2.hero-subhead {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--accent-amber);
  margin-bottom: 18px;
}

.lab-hero p.subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto 36px;
}

/* 核心评分看板 */
.score-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  transition: all 0.25s ease;
}

.score-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.score-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.score-num {
  font-size: 40px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-amber);
}

.score-total {
  font-size: 16px;
  color: var(--text-muted);
}

.score-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.score-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 行业四种代理形态硬核对比 */
.matrix-section {
  margin-bottom: 60px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 15px;
}

.matrix-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow-x: auto;
}

table.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

table.matrix-table th {
  background: #0b0f19;
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

table.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

table.matrix-table tr.highlight td {
  background: rgba(245, 158, 11, 0.05);
  color: #fff;
  font-weight: 500;
}

.badge-tag-winner {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #030712;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

/* 优惠券横幅 */
.amber-coupon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(99, 102, 241, 0.12));
  border: 1px dashed var(--accent-amber);
  border-radius: 14px;
  padding: 24px 30px;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.amber-coupon h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.amber-coupon p {
  font-size: 13px;
  color: var(--text-secondary);
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-val {
  font-family: var(--font-mono);
  background: #030712;
  border: 1px solid var(--border-subtle);
  color: var(--accent-amber-light);
  font-size: 18px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
}

/* 套餐方案 */
.pricing-section {
  margin-bottom: 60px;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.plan-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-box:hover {
  border-color: var(--accent-amber);
  transform: translateY(-4px);
}

.plan-box.recommended {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 100%);
}

.plan-badge-top {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-amber);
  color: #030712;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
}

.plan-box h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.plan-cost {
  margin: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-cost .sym {
  font-size: 20px;
  color: var(--accent-amber);
  font-weight: 700;
}

.plan-cost .val {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
}

.plan-features {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: "★";
  color: var(--accent-amber);
  font-size: 12px;
}

/* 研报集群卡片 */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px;
  transition: all 0.25s ease;
}

.report-card:hover {
  border-color: var(--accent-amber);
}

.report-card .cate {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  margin-bottom: 10px;
  display: inline-block;
}

.report-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-box {
  max-width: 900px;
  margin: 0 auto 60px;
}

.faq-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Footer */
footer.lab-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-surface);
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col-main h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-col-main ul {
  list-style: none;
}

.footer-col-main ul li {
  margin-bottom: 8px;
}

.footer-col-main ul li a {
  color: var(--text-muted);
}

.footer-col-main ul li a:hover {
  color: var(--accent-amber);
}

.bottom-line {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 12px;
}

/* 常驻底部吸附条 */
.sticky-amber-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(245, 158, 11, 0.4);
  padding: 12px 20px;
  z-index: 999;
}

.sticky-amber-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .sticky-amber-inner { justify-content: center; text-align: center; }
}

/* 实验室扩展模块样式：流媒体解锁矩阵、168小时压测表、自建成本对比 */
.lab-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow-x: auto;
  margin-bottom: 50px;
}
.lab-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.lab-data-table th {
  background: #080d1a;
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}
.lab-data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}
.lab-data-table tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}
.badge-pass {
  color: #10b981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 自建与专线 TCO 成本对比 */
.tco-section {
  margin-bottom: 60px;
}
.tco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.tco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
}
.tco-card.highlight {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}
.tco-card h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tco-list {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
}
.tco-list li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
}
.tco-list li strong {
  color: #fff;
}
