/* ==========================================================================
   kuromis 机场 - 微型跑分测试器风 (Speedtest Radar) 全局核心样式表
   ========================================================================== */

:root {
  --bg-primary: #070a14;
  --bg-secondary: #0c1222;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 62, 0.85);
  --bg-glass: rgba(13, 20, 37, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);
  --border-purple: rgba(121, 40, 202, 0.35);

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7928ca;
  --accent-green: #00f5a0;
  --accent-orange: #ff9900;
  --accent-red: #ff3366;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-glow: 0 0 15px rgba(0, 242, 254, 0.5);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Fira Code", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-purple: 0 0 35px rgba(121, 40, 202, 0.3);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  transition: var(--transition);
}

/* Background Canvas & Radar Atmosphere */
#radar-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

.radar-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, transparent 20%, rgba(7, 10, 20, 0.85) 75%, var(--bg-primary) 100%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Banner */
.top-announcement {
  background: linear-gradient(90deg, #111b33 0%, #1e1140 50%, #111b33 100%);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #e2e8f0;
  position: relative;
  z-index: 100;
  overflow: hidden;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.badge-tag {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #070a14;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-link {
  color: var(--accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-link:hover {
  color: #fff;
  text-shadow: var(--text-glow);
}

/* Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 10, 20, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(7, 10, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 242, 254, 0.2);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.radar-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(121, 40, 202, 0.2));
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.radar-logo-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  animation: logoPulse 2.4s infinite ease-out;
}

@keyframes logoPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.logo-text-main {
  background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-size: 0.68rem;
  color: var(--accent-green);
  border: 1px solid rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 4px;
}

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

.nav-link {
  font-size: 0.94rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.knowledge-pill {
  background: rgba(121, 40, 202, 0.15);
  border: 1px solid rgba(121, 40, 202, 0.4);
  color: #d8b4fe;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.nav-link.knowledge-pill:hover {
  background: rgba(121, 40, 202, 0.3);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(121, 40, 202, 0.4);
}
.nav-link.knowledge-pill::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(0, 242, 254, 0.3);
}
.sound-toggle-btn.muted {
  color: var(--text-muted);
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #2563eb 50%, var(--accent-purple) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-primary-cta:hover::before {
  left: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
}

/* SECTION 1: HERO SPEEDTEST RADAR (微型跑分测试器核心) */
.hero-speedtest-section {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}

.hero-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent-cyan) 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Speedtest Instrument Stage */
.speedtest-instrument-stage {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, rgba(14, 22, 42, 0.85) 0%, rgba(9, 13, 26, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 28px;
  padding: 44px 36px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.radar-crosshair-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% 40%, rgba(0, 242, 254, 0.05) 0%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  border-radius: 28px;
}

.stage-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.server-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Big Circular Gauge */
.gauge-wrapper {
  position: relative;
  width: 340px;
  height: 300px;
  margin: 0 auto 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  width: 340px;
  height: 300px;
  transform: rotate(-10deg);
}

.gauge-bg-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 14;
  stroke-linecap: round;
}

.gauge-active-track {
  fill: none;
  stroke: url(#gaugeGradient);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 630;
  stroke-dashoffset: 630;
  transition: stroke-dashoffset 0.1s linear;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6));
}

.gauge-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  text-align: center;
  pointer-events: none;
}

.speed-number-display {
  font-family: var(--font-mono);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  text-shadow: 0 0 25px rgba(0, 242, 254, 0.6), 0 0 50px rgba(0, 242, 254, 0.2);
}

.speed-unit {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-top: 4px;
}

.gauge-status-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* Three Score Cards: Ping, Jitter, Video Stream */
.speed-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.metric-card {
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

.metric-card:hover {
  background: rgba(15, 23, 44, 0.9);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.metric-card.ping-card::before { background: var(--accent-cyan); }
.metric-card.jitter-card::before { background: var(--accent-purple); }
.metric-card.stream-card::before { background: var(--accent-green); }

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.metric-value.highlight-cyan { color: var(--accent-cyan); text-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
.metric-value.highlight-purple { color: #c084fc; text-shadow: 0 0 10px rgba(192, 132, 252, 0.4); }
.metric-value.highlight-green { color: var(--accent-green); text-shadow: 0 0 10px rgba(0, 245, 160, 0.4); }

.metric-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Completion Conversion Card (跑分定格瞬间弹出) */
.speedtest-finish-box {
  margin-top: 28px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(121, 40, 202, 0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: fadeInFinish 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

@keyframes fadeInFinish {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.finish-message {
  display: flex;
  align-items: center;
  gap: 14px;
}

.finish-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 245, 160, 0.2);
  border: 1px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.finish-text-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.finish-text-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.finish-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-speed-again {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
}
.btn-speed-again:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-open-line {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: #042417;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 245, 160, 0.35);
  animation: pulseButton 2s infinite ease-in-out;
}
.btn-open-line:hover {
  background: linear-gradient(135deg, #10f7a5 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 160, 0.6);
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 245, 160, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(0, 245, 160, 0.7); }
}

/* SECTION 2: LIVE NODES & RADAR STATUS (节点延迟和状态板块) */
.section-padding {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.nodes-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.node-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.1);
}

.node-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.node-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.node-type-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-family: var(--font-mono);
}

.node-type-badge.iepl {
  background: rgba(121, 40, 202, 0.15);
  color: #c084fc;
  border-color: rgba(121, 40, 202, 0.4);
}

.node-type-badge.bgp {
  background: rgba(255, 153, 0, 0.15);
  color: var(--accent-orange);
  border-color: rgba(255, 153, 0, 0.3);
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--accent-green);
  font-weight: 600;
}

.node-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
  text-align: center;
}

.node-spec-item .spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-spec-item .spec-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.node-features-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.node-tags {
  display: flex;
  gap: 6px;
}

.node-mini-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #cbd5e1;
}

/* SECTION 3: CORE ADVANTAGES (核心优势板块) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.1);
}

.adv-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(121, 40, 202, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.adv-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.adv-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.adv-metrics-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* SECTION 4: PRICING PLANS (套餐价格板块) */
.pricing-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(121, 40, 202, 0.08) 0%, transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(17, 28, 56, 0.9) 0%, rgba(12, 18, 36, 0.95) 100%);
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.25);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  min-height: 40px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.price-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.feature-check {
  color: var(--accent-green);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan-cta {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: block;
}

.btn-plan-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.featured .btn-plan-cta {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #2563eb 100%);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.pricing-card.featured .btn-plan-cta:hover {
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

/* SECTION 5: USER REVIEWS & BENCHMARK PROOF (用户评价板块) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.user-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-body {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 18px;
}

.benchmark-snip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.snip-speed {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* SECTION 6: FAQ (常见问题板块) */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 242, 254, 0.3);
}

.faq-item.active {
  background: rgba(18, 27, 50, 0.85);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 25px rgba(0, 242, 254, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.faq-icon-arrow {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* KNOWLEDGE BASE BANNER (Dedicated Link Section without revealing articles on index) */
.knowledge-portal-banner {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.15) 0%, rgba(0, 242, 254, 0.12) 100%);
  border: 1px solid rgba(121, 40, 202, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.kp-content-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.kp-content-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.btn-goto-knowledge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--accent-purple), #9333ea);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(121, 40, 202, 0.4);
}
.btn-goto-knowledge:hover {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(121, 40, 202, 0.6);
}

/* SECTION 7: BOTTOM CONVERSION CTA BANNER */
.bottom-cta-section {
  padding: 80px 0 100px;
}

.bottom-cta-card {
  position: relative;
  background: linear-gradient(135deg, #0e172e 0%, #171133 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.bottom-cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.bottom-cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-large-cta {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #2563eb 50%, var(--accent-purple) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.45);
}
.btn-large-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 242, 254, 0.7);
}

/* FOOTER */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.7;
  max-width: 340px;
  color: var(--text-secondary);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* Floating Action Speed Bar */
.floating-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 17, 34, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.25);
  animation: floatBounce 3s infinite ease-in-out;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.floating-speed-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 1.85rem; }
  .speedtest-instrument-stage { padding: 30px 20px; }
  .gauge-wrapper { width: 280px; height: 260px; }
  .gauge-svg { width: 280px; height: 260px; }
  .speed-number-display { font-size: 3.8rem; }
  .speed-metrics-grid { grid-template-columns: 1fr; }
  .speedtest-finish-box { flex-direction: column; text-align: center; }
  .finish-message { flex-direction: column; }
  .finish-cta-group { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .bottom-cta-title { font-size: 1.85rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .knowledge-portal-banner { flex-direction: column; text-align: center; }
}
