/* Fast-Link - Hyper-Velocity Speedstream & Cosmic Cobalt / Laser Cyan */
:root {
  --bg-dark: #060914;
  --bg-panel: rgba(11, 19, 43, 0.7);
  --bg-panel-hover: rgba(18, 30, 68, 0.85);
  --border-line: rgba(56, 189, 248, 0.15);
  --border-hover: rgba(0, 212, 255, 0.4);
  --cyan-bright: #00d4ff;
  --blue-laser: #2563eb;
  --purple-laser: #7928ca;
  --text-pure: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-pure);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Speedstream Background */
.bg-speedstream {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 15%, rgba(0, 212, 255, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(37, 99, 235, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(121, 40, 202, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #04060d 0%, #060914 100%);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部公告 */
.top-notice {
  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
  color: #dbeafe;
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

.top-notice a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* 吸顶导航栏 */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 9, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.brand-domain-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  display: inline-block;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00d4ff 0%, #2563eb 50%, #7928ca 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 20px;
  height: 40px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 212, 255, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  border: none;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.5);
  filter: brightness(1.1);
}

/* Hero Section */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
}

.speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--cyan-bright);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

.radar-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-bright);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.glow-cyan-text {
  background: linear-gradient(135deg, #00d4ff 0%, #38bdf8 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.btn-hero-speed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00d4ff 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-speed:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-line);
  transition: all 0.2s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 遥测仪表栏 */
.telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.telemetry-box {
  text-align: left;
}

.t-val {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.t-unit {
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 4px;
}

.cyan-glow { color: #00d4ff; text-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
.green-glow { color: #10b981; text-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
.purple-glow { color: #c084fc; text-shadow: 0 0 15px rgba(192, 132, 252, 0.4); }
.gold-glow { color: #fbbf24; text-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }

.t-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.t-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.t-progress {
  height: 100%;
  background: #00d4ff;
}
.bg-green { background: #10b981; }
.bg-purple { background: #c084fc; }
.bg-gold { background: #fbbf24; }

/* Sections */
.section {
  padding: 80px 0;
}

.bg-contrast {
  background: rgba(11, 19, 43, 0.4);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-bright);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Benchmark Grid */
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bench-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.bench-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-panel-hover);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.12);
}

.bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bench-header h3 {
  font-size: 1.25rem;
}

.bench-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan-bright);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.bench-data {
  margin-bottom: 16px;
}

.bench-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
}

.bench-num .unit {
  font-size: 0.95rem;
  color: var(--cyan-bright);
  font-weight: 600;
}

.bench-sub {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
}

.bench-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Topology Diagram */
.topo-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.topo-step {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex: 1;
  text-align: center;
  position: relative;
}

.step-num {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 1.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.topo-step h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.topo-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.topo-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.arrow-dash {
  color: var(--cyan-bright);
  font-weight: 900;
  font-size: 1.1rem;
}

.fiber-tag {
  font-size: 0.68rem;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Nodes Table */
.nodes-table-wrap {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.nodes-table th, .nodes-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nodes-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.latency-good {
  color: #10b981;
  font-weight: 800;
  font-family: var(--font-mono);
}

.status-online {
  font-size: 0.8rem;
  color: #34d399;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--cyan-bright);
  background: rgba(14, 26, 58, 0.95);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.18);
  transform: scale(1.02);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00d4ff 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.p-header h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.p-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.p-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.p-currency {
  font-size: 1.4rem;
  color: var(--cyan-bright);
  font-weight: 700;
}

.p-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.p-period {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.p-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.p-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-price {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-price:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-highlight {
  background: linear-gradient(135deg, #00d4ff 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Wiki */
.section-wiki {
  padding: 40px 0 60px;
}

.wiki-box {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.wiki-tag {
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--cyan-bright);
  color: #060914;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
}

.wiki-text h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.wiki-text p {
  color: var(--text-muted);
}

.btn-wiki-link {
  display: inline-block;
  background: #ffffff;
  color: #060914;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-wiki-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* Footer */
.footer {
  background: #04060d;
  border-top: 1px solid var(--border-line);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-intro {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan-bright);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.status-indicator {
  width: 6px;
  height: 6px;
  background: var(--cyan-bright);
  border-radius: 50%;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 响应式断点 */
@media (max-width: 1200px) {
  .nav-links { gap: 3px; }
  .nav-links a { font-size: 0.86rem; padding: 6px 8px; }
}

@media (max-width: 1040px) {
  .benchmark-grid { grid-template-columns: 1fr; }
  .topo-diagram { flex-direction: column; }
  .telemetry-bar { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a { font-size: 0.82rem; padding: 5px 6px; }
  .nav-actions .btn-primary { padding: 0 14px; font-size: 0.84rem; }
}

@media (max-width: 880px) {
  .nav-links { display: none !important; }
  .hero-title { font-size: 2.4rem; }
  .wiki-box { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .telemetry-bar { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
