/* 快喵 kuaimiao.best - 赛博朋克纯原生CSS架构 */
:root {
  --bg: #0a0e17;
  --bg-card: rgba(13, 20, 35, 0.86);
  --cyan: #00f0ff;
  --magenta: #ff2d95;
  --text: #e6f7ff;
  --muted: #93adc6;
  --border: rgba(0, 240, 255, 0.25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', 'Noto Sans SC', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 固定赛博霓虹网格地板与透视感 */
.cyber-grid-floor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridScroll 16s linear infinite;
}
.cyber-grid-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, transparent 25%, #0a0e17 92%);
}
@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 46px; }
}

/* 鼠标跟随径向霓虹光晕 */
#cursorGlow {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, rgba(255, 45, 149, 0.08) 42%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.25s ease;
}

.page-shell { position: relative; z-index: 2; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* 吸顶毛玻璃导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 1px;
}
.brand-badge {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e17;
  font-weight: 900;
  font-size: 0.95rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.96rem;
  font-weight: 600;
}
.nav-menu a { color: var(--muted); transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.nav-news { color: var(--cyan); }
.nav-news-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
  margin-left: 4px;
  vertical-align: middle;
}

/* 赛博切角按钮 */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 1rem;
  color: #0a0e17;
  background: linear-gradient(135deg, var(--cyan) 0%, #38bdf8 50%, var(--magenta) 100%);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 46px;
}
.btn-cyber:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 240, 255, 0.55);
}
.btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--cyan);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  min-height: 46px;
}
.btn-cyber-outline:hover {
  background: rgba(0, 240, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
}
.nav-cta { padding: 9px 20px; font-size: 0.92rem; min-height: 40px; }

/* 主视觉区 Hero + RGB故障分裂效果 */
.hero {
  padding: 76px 0 56px;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 45, 149, 0.5);
  background: rgba(255, 45, 149, 0.12);
  color: #ff8bc5;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.glitch-title {
  position: relative;
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-shadow: 2px 0 var(--magenta), -2px 0 var(--cyan);
}
.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.glitch-title::before {
  color: var(--cyan);
  animation: glitchA 3.2s infinite linear alternate-reverse;
  clip-path: inset(12% 0 68% 0);
}
.glitch-title::after {
  color: var(--magenta);
  animation: glitchB 2.8s infinite linear alternate-reverse;
  clip-path: inset(62% 0 14% 0);
}
@keyframes glitchA {
  0%, 88%, 100% { transform: translate(0); opacity: 0.45; }
  90% { transform: translate(-3px, 1px); opacity: 0.9; }
  94% { transform: translate(2px, -1px); opacity: 0.7; }
}
@keyframes glitchB {
  0%, 85%, 100% { transform: translate(0); opacity: 0.45; }
  87% { transform: translate(3px, -1px); opacity: 0.9; }
  92% { transform: translate(-2px, 2px); opacity: 0.7; }
}
.hero-sub {
  max-width: 740px;
  margin: 0 auto 32px;
  font-size: 1.12rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #7dd3fc;
}

/* 滚动数字统计行 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 26px 0 64px;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: inset 0 0 18px rgba(0, 240, 255, 0.05);
}
.stat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
}
.stat-label { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

/* 区块标题 */
.section { padding: 54px 0; }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head h2 {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 10px;
}
.sec-head p { color: var(--muted); max-width: 660px; margin: 0 auto; }

/* 3D 倾斜核心优势图文卡 */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tilt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.18s ease-out, border-color 0.25s, box-shadow 0.25s;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.22), 0 0 14px rgba(255, 45, 149, 0.16);
}
.tilt-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 240, 255, 0.18);
}
.tilt-card h3 { font-size: 1.22rem; color: #fff; margin-bottom: 8px; }
.tilt-card p { color: var(--muted); font-size: 0.96rem; }

/* 流媒体与AI解锁网格 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.media-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 45, 149, 0.25);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}
.media-card:hover { transform: translateY(-4px); border-color: var(--magenta); }
.media-tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.14);
  color: var(--cyan);
  margin-bottom: 10px;
}
.media-card h3 { font-size: 1.08rem; color: #fff; margin-bottom: 6px; }
.media-card p { font-size: 0.9rem; color: var(--muted); }

/* 全球节点闪烁状态网格 */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.node-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.node-left { display: flex; align-items: center; gap: 10px; }
.dot-blink {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.node-ms { font-family: 'Orbitron', sans-serif; color: var(--cyan); font-weight: 700; font-size: 0.95rem; }

/* 套餐价格卡：热门推荐带流动霓虹渐变边框 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-popular-wrap {
  position: relative;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta), #7c3aed, var(--cyan));
  background-size: 300% 300%;
  animation: neonFlow 4s linear infinite;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
}
@keyframes neonFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.price-popular-wrap .price-card {
  border: none;
  height: 100%;
  background: #0d1424;
}
.pop-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #0a0e17;
  margin-bottom: 12px;
}
.price-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0;
}
.price-num span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-list { list-style: none; margin: 18px 0 26px; }
.price-list li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #d8ecf8;
  font-size: 0.96rem;
}

/* 用户评价 */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.review-stars { color: #facc15; margin-bottom: 10px; font-size: 1.05rem; }
.review-user { margin-top: 14px; color: var(--cyan); font-weight: 700; font-size: 0.95rem; }

/* FAQ 手风琴 */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 22px 18px;
  color: var(--muted);
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--cyan); }

/* 页脚：仅保留四个指定标题 */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.92);
  padding: 34px 20px;
  margin-top: 40px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

/* 移动端响应式单栏适配 */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .pricing-grid { grid-template-columns: 1fr; }
  .media-grid, .nodes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .hero { padding: 52px 0 36px; }
  .stats-grid, .media-grid, .nodes-grid { grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .footer-links { gap: 18px; }
}
