/* 星驰加速 - 赛博朋克深色科技风格原生样式表 */
:root {
  --bg-primary: #05070F;
  --bg-card: rgba(13, 17, 34, 0.75);
  --bg-card-hover: rgba(19, 26, 51, 0.85);
  --cyan-neon: #00E5FF;
  --violet-neon: #8B5CF6;
  --text-main: #E5E7EB;
  --text-muted: #9CA3AF;
  --border-glow: rgba(0, 229, 255, 0.25);
  --border-violet: rgba(139, 92, 246, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 标题与数字使用 Orbitron 字体 */
.font-orbitron {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
}

/* 炫彩文字渐变效果 */
.text-gradient-cyan-violet {
  background: linear-gradient(135deg, #00E5FF 0%, #A78BFA 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00E5FF 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 背景 Canvas 画布 */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* 毛玻璃导航栏与卡片 */
.glass-nav {
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.2), 0 0 15px rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
}

/* 突出热门套餐卡片 */
.glass-card-featured {
  background: rgba(16, 21, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 25px -5px rgba(0, 229, 255, 0.35), 0 0 20px -5px rgba(139, 92, 246, 0.25);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-featured:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.5), 0 0 25px rgba(139, 92, 246, 0.4);
}

/* 霓虹按钮样式 */
.btn-neon-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #8B5CF6 100%);
  color: #05070F;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.45);
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-neon-primary:hover {
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.75), 0 0 18px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
  color: #000;
}

.btn-neon-secondary {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #E5E7EB;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
  transition: all 250ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-neon-secondary:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: #00E5FF;
  color: #00E5FF;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* 呼吸动画效果 */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 3s infinite ease-in-out;
}

/* 延迟指示灯 */
.latency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  margin-right: 6px;
  animation: latency-blink 2s infinite;
}

@keyframes latency-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* 测速模拟器转盘与动效 */
.speed-dial {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, #00E5FF 0deg, #8B5CF6 220deg, rgba(255,255,255,0.05) 220deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.speed-dial-inner {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: #090D1E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 折叠手风琴 FAQ 样式 */
details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: rgba(13, 17, 34, 0.6);
  transition: all 250ms ease;
}

details[open] {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(15, 22, 45, 0.8);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary .faq-icon {
  transition: transform 250ms ease;
}

details[open] summary .faq-icon {
  transform: rotate(180deg);
  color: #00E5FF;
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #9CA3AF;
  line-height: 1.7;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }
  .speed-dial {
    width: 180px;
    height: 180px;
  }
  .speed-dial-inner {
    width: 160px;
    height: 160px;
  }
}
