/* Live Speedometer Benchmark (实测速度对比条) Theme - High Performance Optimized */
:root {
  --spe-bg: #0b0f19;
  --spe-surface: #131b2e;
  --spe-card: #1c2742;
  --spe-green: #00ff88;
  --spe-blue: #00a2ff;
  --spe-purple: #8b5cf6;
  --spe-orange: #ff9900;
  --spe-text: #e2e8f0;
  --spe-heading: #ffffff;
  --spe-muted: #94a3b8;
  --spe-border: #2a3859;
  --spe-radius: 8px;
  --spe-shadow: 0 4px 25px rgba(0, 255, 136, 0.12);
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--spe-bg);
  color: var(--spe-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 255, 136, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 85% 85%, rgba(0, 162, 255, 0.05) 0%, transparent 25%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--spe-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--spe-heading);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--spe-green);
  color: #0b0f19;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--spe-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--spe-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--spe-green);
  box-shadow: 0 0 8px var(--spe-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--spe-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--spe-green);
  color: #0b0f19;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  background: #33ff9e;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.5);
}

.btn-outline {
  background: var(--spe-surface);
  color: var(--spe-heading);
  border: 1px solid var(--spe-border);
}

.btn-outline:hover {
  border-color: var(--spe-green);
  color: var(--spe-green);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 75px 0 55px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--spe-border);
}

.spe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--spe-green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.spe-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--spe-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--spe-green);
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  color: var(--spe-heading);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--spe-green);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--spe-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Live Speedometer Benchmark Module */
.benchmark-container {
  background: var(--spe-surface);
  border: 1px solid var(--spe-border);
  border-radius: 12px;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto 40px;
  box-shadow: var(--spe-shadow);
}

.benchmark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--spe-border);
}

.benchmark-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--spe-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.benchmark-status {
  font-size: 12px;
  font-weight: 800;
  color: var(--spe-green);
  background: rgba(0, 255, 136, 0.15);
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.benchmark-item {
  margin-bottom: 20px;
}

.benchmark-item:last-child {
  margin-bottom: 0;
}

.benchmark-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.benchmark-name {
  color: var(--spe-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.benchmark-val {
  font-weight: 900;
  font-family: monospace;
}

.val-tg {
  color: var(--spe-green);
  font-size: 16px;
}

.val-other {
  color: var(--spe-muted);
}

.speed-track {
  width: 100%;
  height: 14px;
  background: var(--spe-card);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--spe-border);
  position: relative;
}

.speed-fill-tg {
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, #00a2ff 0%, #00ff88 100%);
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  will-change: width;
}

.speed-fill-trad {
  width: 22%;
  height: 100%;
  background: #475569;
  border-radius: 7px;
}

/* Hero Showcase Grid */
.spe-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.spe-card {
  background: var(--spe-surface);
  border: 1px solid var(--spe-border);
  border-radius: var(--spe-radius);
  padding: 12px;
  transition: all 0.25s ease;
  will-change: transform;
}

.spe-card:hover {
  transform: translateY(-4px);
  border-color: var(--spe-green);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.15);
}

.spe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  content-visibility: auto;
}

.spe-caption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--spe-heading);
  text-align: center;
}

/* Sections */
.section {
  padding: 75px 0;
  border-bottom: 1px solid var(--spe-border);
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.section-panel {
  background: var(--spe-surface);
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--spe-heading);
  margin-bottom: 10px;
}

.section-title p {
  font-size: 15px;
  color: var(--spe-muted);
}

/* 3x3 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--spe-card);
  border: 1px solid var(--spe-border);
  border-radius: var(--spe-radius);
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--spe-green);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
  transform: translateY(-3px);
}

.feature-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 136, 0.12);
  color: var(--spe-green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--spe-heading);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--spe-muted);
  line-height: 1.6;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--spe-surface);
  border: 1px solid var(--spe-border);
  border-radius: var(--spe-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.blog-card:hover {
  border-color: var(--spe-blue);
  box-shadow: 0 4px 20px rgba(0, 162, 255, 0.15);
  transform: translateY(-2px);
}

.blog-date {
  font-size: 12px;
  font-weight: 800;
  color: var(--spe-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--spe-heading);
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px;
  color: var(--spe-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--spe-green);
}

.blog-link:hover {
  color: #33ff9e;
  text-decoration: underline;
}

.more-wrapper {
  text-align: center;
  margin-top: 36px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--spe-card);
  border: 1px solid var(--spe-border);
  border-radius: var(--spe-radius);
  padding: 22px 26px;
}

.faq-question {
  font-size: 17px;
  font-weight: 800;
  color: var(--spe-heading);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--spe-muted);
  line-height: 1.7;
}

/* Download Page Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.download-card {
  background: var(--spe-surface);
  border: 1px solid var(--spe-border);
  border-radius: var(--spe-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.download-card:hover {
  border-color: var(--spe-green);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.15);
  transform: translateY(-3px);
}

.download-card-icon {
  font-size: 38px;
  margin-bottom: 14px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--spe-heading);
  margin-bottom: 10px;
}

.download-card p {
  font-size: 14px;
  color: var(--spe-muted);
  margin-bottom: 22px;
}

.download-web-banner {
  background: var(--spe-surface);
  border: 1px solid var(--spe-green);
  border-radius: var(--spe-radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.download-web-banner h3 {
  font-size: 20px;
  color: var(--spe-green);
  margin-bottom: 6px;
}

.download-web-banner p {
  color: var(--spe-muted);
  font-size: 14px;
}

/* Footer */
.footer {
  background: #070a12;
  color: var(--spe-muted);
  padding: 60px 0 30px;
  border-top: 3px solid var(--spe-green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--spe-green);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 14px;
  color: var(--spe-muted);
  line-height: 1.7;
}

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

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--spe-muted);
}

.footer-col ul li a:hover {
  color: var(--spe-heading);
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid var(--spe-border);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 992px) {
  .spe-showcase, .features-grid, .download-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-web-banner {
    flex-direction: column;
    text-align: center;
  }
}
