/* ==========================================================================
   极速云 (jisu-yun.mom) - 极光玻璃风格样式表 (Aurora Glass Theme)
   Bootstrap 5.3 深色主题 + 自定义极光拟态磨砂玻璃层
   深蓝黑背景 #0B0B14 + 三大漂浮极光光斑 + 18px 磨砂玻璃卡片
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg-deep: #0B0B14;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-focus: rgba(0, 242, 254, 0.4);
  --blur-val: 18px;
  --radius-card: 1.25rem;
  --font-sora: 'Sora', -apple-system, sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, sans-serif;
  --aurora-cyan: #00f2fe;
  --aurora-purple: #7928ca;
  --aurora-pink: #ff0080;
}

body {
  background-color: var(--bg-deep) !important;
  color: #f1f5f9 !important;
  font-family: var(--font-body) !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-sora {
  font-family: var(--font-sora);
}

/* 三大漂浮极光光斑 (青、紫、粉径向渐变，90px 模糊，缓慢漂移) */
.aurora-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.orb-cyan {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0,242,254,0.8) 0%, rgba(0,242,254,0) 70%);
  top: -10%;
  left: 10%;
  animation: drift-cyan 22s ease-in-out infinite alternate;
}

.orb-purple {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(121,40,202,0.8) 0%, rgba(121,40,202,0) 70%);
  top: 30%;
  right: -5%;
  animation: drift-purple 28s ease-in-out infinite alternate;
}

.orb-pink {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,0,128,0.7) 0%, rgba(255,0,128,0) 70%);
  bottom: -10%;
  left: 25%;
  animation: drift-pink 25s ease-in-out infinite alternate;
}

@keyframes drift-cyan {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-80px, 140px) scale(0.9); }
}

@keyframes drift-purple {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, -90px) scale(1.1); }
  100% { transform: translate(60px, -120px) scale(0.95); }
}

@keyframes drift-pink {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, -110px) scale(1.2); }
  100% { transform: translate(110px, -60px) scale(0.85); }
}

/* 磨砂玻璃基础类 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-val));
  -webkit-backdrop-filter: blur(var(--blur-val));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-focus);
  box-shadow: 0 16px 40px rgba(0, 242, 254, 0.12);
}

/* 导航栏玻璃层 */
.glass-nav {
  background: rgba(11, 11, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.glass-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: color 0.15s ease;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
  color: var(--aurora-cyan) !important;
}

/* 极光发光按钮 */
.btn-aurora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #0b0b14;
  font-weight: 800;
  padding: 0.75rem 1.8rem;
  border-radius: 0.75rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-aurora:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
  filter: brightness(1.1);
  color: #0b0b14;
}

.btn-aurora-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: 0.75rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-aurora-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--aurora-cyan);
  color: var(--aurora-cyan);
}

/* 实时延迟跳动徽章 */
.live-ping-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--aurora-cyan);
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

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

/* 测速小组件 (SVG 半圆仪表盘) */
.gauge-card {
  text-align: center;
  padding: 2.2rem;
}

.gauge-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  overflow: visible;
}

.gauge-bg-arc {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 16;
  stroke-linecap: round;
}

.gauge-progress-arc {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-needle {
  transform-origin: 100px 100px;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-speed-val {
  font-family: var(--font-sora);
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

/* 6 城市实时延迟表与进度条 */
.city-latency-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.city-latency-item:last-child {
  border-bottom: none;
}

.custom-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  width: 140px;
}

.progress-bar-cyan {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
}

/* 3D 倾斜容器 */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* 定价卡高亮 */
.pricing-glass-featured {
  background: rgba(0, 242, 254, 0.08) !important;
  border: 1px solid rgba(0, 242, 254, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 242, 254, 0.18) !important;
}

/* 折叠面板玻璃化 */
.accordion-item {
  background: transparent !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-card) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--aurora-cyan) !important;
  background: rgba(0, 242, 254, 0.08) !important;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  padding: 1.5rem;
}

/* 底部极光渐变玻璃色块 */
.cta-glass-banner {
  background: linear-gradient(135deg, rgba(0,242,254,0.15) 0%, rgba(121,40,202,0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 2rem;
  padding: 4.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
}

/* 页脚 */
.footer-custom {
  background: rgba(11, 11, 20, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-custom a:hover {
  color: var(--aurora-cyan);
}
