/* ==========================================================================
   flashcat 闪电猫 · 灵猫云迹 Cat-Nimbus (方案二：全景阶梯版 · 无登录版)
   Production Design System & Stylesheet
   Visual Tone: Bright & Soft (暖霜玉白 · 柔浅天蓝 · 深松烟墨 · 板岩墨灰 · 沉稳湖蓝 · 薄荷青)
   Pure Native CSS3 - Zero External Dependencies
   ========================================================================== */

/* --- 1. CSS Custom Properties / Design Tokens --- */
:root {
  /* Brand Identity - 沉稳湖蓝 & 薄荷青 & 灵猫闪电琥珀金 */
  --brand-primary: #0284c7;        /* 沉稳湖蓝 - Core Brand (Sky 600) */
  --brand-primary-hover: #0369a1;  /* 深湖蓝 (Sky 700) */
  --brand-accent: #0ea5e9;         /* 灵动浅天蓝 (Sky 500) */
  --brand-light: #e0f2fe;          /* 柔和浅天蓝 (Sky 100) */
  --brand-ultralight: #f0f9ff;     /* 天空淡彩 (Sky 50) */
  
  --cat-gold: #f59e0b;             /* 灵猫闪电金 (Amber 500) */
  --cat-gold-light: #fef3c7;       /* 柔暖金浅底 (Amber 100) */
  --cat-gold-hover: #d97706;       /* 浓郁金棕 (Amber 600) */
  
  --accent-mint: #0d9488;          /* 薄荷青强调 (Teal 600) */
  --accent-mint-light: #ccfbf1;    /* 薄荷青柔和底色 (Teal 100) */
  --nimbus-mint: #10b981;          /* 翡翠绿低延迟 (Emerald 500) */
  --nimbus-mint-light: #d1fae5;    /* 翡翠绿底 (Emerald 100) */
  --nimbus-iris: #6366f1;          /* 暮霭紫藤 (Indigo 500) */
  --nimbus-iris-light: #e0e7ff;    /* 暮霭浅紫底 (Indigo 100) */
  
  /* Neutral Surfaces - 暖霜玉白背景 & 通透纯白与柔浅天蓝表面 */
  --bg-page: #fbfcfd;              /* 暖霜玉白 */
  --bg-surface: #ffffff;           /* 通透纯白表面 */
  --bg-surface-soft: #f0f7ff;      /* 柔和浅天蓝表面 */
  --bg-surface-elevated: #ffffff;
  --bg-surface-muted: #f1f5f9;      /* 冷板岩浅灰 (Slate 100) */
  --bg-glass: rgba(251, 252, 253, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.96);
  --bg-glass-hover: rgba(255, 255, 255, 0.98);

  /* Typography Colors - 深松烟墨主标题 · 板岩墨灰正文 · 冷苔灰辅助说明 */
  --text-heading: #0b1329;         /* 深松烟墨主标题 - High-contrast deep slate ink */
  --text-main: #334155;            /* 板岩墨灰正文 (Slate 700) */
  --text-secondary: #475569;       /* 次级板岩灰 (Slate 600) */
  --text-muted: #64748b;           /* 冷苔灰辅助说明 (Slate 500) */
  --text-subtle: #94a3b8;          /* 浅冷苔灰 (Slate 400) */
  --text-brand: #0284c7;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;        /* Slate 200 */
  --border-medium: #cbd5e1;        /* Slate 300 */
  --border-brand: rgba(14, 165, 233, 0.35);
  --border-gold: rgba(245, 158, 11, 0.35);

  /* Shadows - Soft Multi-layered Feathered Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 19, 41, 0.04), 0 1px 2px rgba(11, 19, 41, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(11, 19, 41, 0.06), 0 2px 6px -1px rgba(11, 19, 41, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(11, 19, 41, 0.07), 0 4px 12px -2px rgba(11, 19, 41, 0.03);
  --shadow-xl: 0 20px 48px -6px rgba(11, 19, 41, 0.09), 0 8px 18px -4px rgba(11, 19, 41, 0.04);
  --shadow-glow: 0 0 28px -4px rgba(14, 165, 233, 0.22);
  --shadow-gold-glow: 0 0 24px -2px rgba(245, 158, 11, 0.22);

  /* Layout Spacing & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --container-wide: 1340px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Pointer Aura Coordinates (Updated by RAF) */
  --mouse-x: -500px;
  --mouse-y: -500px;
}

/* --- 2. CSS Reset & Base Rules --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 50% 0%, rgba(224, 242, 254, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 10% 25%, rgba(14, 165, 233, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(13, 148, 136, 0.03) 0%, transparent 50%),
    var(--bg-page);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--brand-light);
  color: var(--brand-primary-hover);
}

/* --- Clear High-Contrast Focus-Visible Outline --- */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Section Scroll Margin Top (Preventing Fixed Header Overlap) */
section[id], #hero, #features, #tutorial, #network, #pricing, #faq {
  scroll-margin-top: 88px;
}

/* --- Skip Link for Keyboard Accessibility --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-primary);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 99999;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* --- 3. Pointer Aura (鼠标跟随微光 - 柔和低透明度云雾效果) --- */
.pointer-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin-top: -260px;
  margin-left: -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.24; /* 遵循柔和云雾微光，避免强烈霓虹光圈 */
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(13, 148, 136, 0.05) 45%, transparent 72%);
  transform: translate3d(var(--mouse-x), var(--mouse-y), 0);
  will-change: transform;
  transition: opacity 0.4s ease;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .pointer-aura {
    display: none !important;
  }
}

/* --- 4. Click Tactile & Ripple Feedback --- */
.btn, .platform-tab-btn, .billing-tab-btn, .plan-cta-btn {
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: transform 0.12s ease, box-shadow var(--transition-normal), background var(--transition-fast);
}

.btn:active, .platform-tab-btn:active, .billing-tab-btn:active, .plan-cta-btn:active {
  transform: scale(0.97) !important;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  pointer-events: none;
  animation: ripple-spread 0.55s ease-out forwards;
}

.btn-secondary .ripple-circle {
  background: rgba(2, 132, 199, 0.18);
}

@keyframes ripple-spread {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ripple-circle {
    display: none !important;
  }
}

/* --- 5. Scroll Reveal (Graceful Degradation - 默认100%可见，有JS时渐显) --- */
.scale-ruler-reveal,
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

html.js-reveal-active .scale-ruler-reveal,
html.js-reveal-active .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-reveal-active .scale-ruler-reveal.is-revealed,
html.js-reveal-active .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal-active .scale-ruler-reveal,
  html.js-reveal-active .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 6. Utility Classes & Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.section-padding {
  padding-top: clamp(3.5rem, 6vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 6.5rem);
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem) auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--brand-ultralight);
  color: var(--brand-primary);
  border: 1px solid var(--border-brand);
  margin-bottom: 0.875rem;
  box-shadow: 0 1px 2px rgba(14, 165, 233, 0.08);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.section-desc {
  font-size: clamp(0.975rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-mint {
  background: var(--nimbus-mint-light);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: var(--brand-light);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-gold {
  background: var(--cat-gold-light);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-iris {
  background: var(--nimbus-iris-light);
  color: #3730a3;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Region Badge Pill (No Emojis) */
.region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-xs);
  background: var(--brand-ultralight);
  color: var(--brand-primary);
  border: 1px solid var(--border-brand);
  line-height: 1;
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #0284c7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.42);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-soft);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.42);
}

.btn-sm {
  font-size: 0.825rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-xs);
}

/* Pulsing Status Dot */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nimbus-mint);
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--nimbus-mint);
  opacity: 0.6;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* --- 7. Top Announcement & Status Bar --- */
.top-notice-bar {
  background: linear-gradient(90deg, #f0fdf4 0%, #f0f9ff 50%, #fdf4ff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  position: relative;
  z-index: 1001;
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.notice-highlight {
  font-weight: 600;
  color: var(--brand-primary);
}

/* --- 8. Navigation Bar (Single-Line 6-Item Header + Quick Register CTA) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(11, 19, 41, 0.06);
  background: rgba(255, 255, 255, 0.96);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 60%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon-wrapper::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: logo-shimmer 6s infinite ease-in-out;
}

@keyframes logo-shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  30%, 100% { transform: translateX(100%) rotate(25deg); }
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.logo-title .brand-highlight {
  color: var(--brand-primary);
}

.logo-sub {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Middle Navigation Menu - Exactly 6 Items with 16px SVG Icons */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.885rem;
  font-weight: 650;
  color: var(--text-heading); /* 单色深墨字 */
  padding: 0.45rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link:hover svg {
  color: var(--brand-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

/* Nav Actions (Right side: ONLY Quick Register CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Mobile Drawer CTA Container */
.mobile-drawer-cta {
  display: none;
  width: 100%;
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
}

/* --- 9. Centered Symmetrical Hero Section (居中对称首屏 · 柔和云层渐变与空间纵深) --- */
.hero-section {
  position: relative;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  background: 
    radial-gradient(ellipse 75% 45% at 50% 0%, rgba(224, 242, 254, 0.65) 0%, transparent 70%),
    radial-gradient(circle 540px at 85% 25%, rgba(14, 165, 233, 0.05) 0%, transparent 60%),
    radial-gradient(circle 480px at 15% 35%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
}

.hero-centered-content {
  max-width: 920px;
  margin: 0 auto clamp(2.5rem, 4.5vw, 4rem) auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.05rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-brand);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
  margin-bottom: 1.5rem;
}

.hero-pill-spark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-gold);
}

.hero-pill-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 1.35rem;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 45%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title-cat {
  color: var(--cat-gold);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Centered Panoramic Telemetry Console Card */
.hero-cockpit-centered {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  text-align: left;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cockpit-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.cockpit-cat-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  background: var(--brand-light);
  color: var(--brand-primary);
}

.radar-stream-visual {
  background: #0b1329;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #f8fafc;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.radar-stream-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.stream-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.stream-title {
  font-size: 0.775rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stream-rate {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #38bdf8;
}

.stream-wave-container {
  height: 52px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 4px 0;
}

.wave-bar {
  flex: 1;
  background: linear-gradient(180deg, #38bdf8 0%, rgba(14, 165, 233, 0.2) 100%);
  border-radius: 2px 2px 0 0;
  min-height: 8px;
  animation: wavePulse 2.8s infinite ease-in-out alternate;
}

@keyframes wavePulse {
  0% { transform: scaleY(0.7); }
  50% { transform: scaleY(1.15); }
  100% { transform: scaleY(0.85); }
}

.stream-footer-tags {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* 4-Column Cockpit Telemetry Nodes */
.cockpit-pinger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ping-route-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  transition: all var(--transition-fast);
  gap: 0.5rem;
}

.ping-route-item:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}

.route-info {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.route-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

.route-type {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.route-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border-subtle);
}

.latency-badge {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.speed-meter-pill {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-ultralight);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

/* --- 10. Horizontal Service Metric Scale Bar (首屏下方横向服务指标刻度条) --- */
.service-metric-scale-wrapper {
  max-width: 1040px;
  margin: 2rem auto 0 auto;
  position: relative;
}

.service-metric-scale-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.scale-ruler-ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(14, 165, 233, 0.5) 0px,
    rgba(14, 165, 233, 0.5) 1px,
    transparent 1px,
    transparent 10px
  );
  opacity: 0.6;
}

.scale-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.scale-metric-node {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.scale-metric-node:hover {
  border-left-color: var(--brand-primary);
}

.scale-metric-tag {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.scale-metric-val {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 850;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scale-metric-val-cyan {
  color: var(--brand-primary);
}

.scale-metric-val-mint {
  color: var(--accent-mint);
}

.scale-metric-val-gold {
  color: var(--cat-gold-hover);
}

.scale-metric-sub {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- 11. Section: 核心优势与技术内核 (#features) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cat-Nimbus 全景阶梯错落层次 (Desktop >= 993px) */
@media (min-width: 993px) {
  .feature-stepped-card:nth-child(1) {
    margin-top: 18px;
    border-top: 2px solid var(--border-subtle);
  }
  .feature-stepped-card:nth-child(2) {
    margin-top: 8px;
    border-top: 2px solid rgba(14, 165, 233, 0.35);
  }
  .feature-stepped-card:nth-child(3) {
    margin-top: 0px;
    border-top: 3px solid var(--brand-primary);
    box-shadow: var(--shadow-md);
  }
  .feature-stepped-card:nth-child(4) {
    margin-top: 12px;
    border-top: 2px solid var(--accent-mint);
  }
}

.feature-stepped-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-stepped-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(14, 165, 233, 0.08);
}

.step-indicator-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, monospace;
  line-height: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform var(--transition-fast);
}

.feature-stepped-card:hover .feature-icon-box {
  transform: scale(1.08);
}

.icon-box-cyan {
  background: var(--brand-light);
  color: var(--brand-primary);
}

.icon-box-gold {
  background: var(--cat-gold-light);
  color: var(--cat-gold-hover);
}

.icon-box-iris {
  background: var(--nimbus-iris-light);
  color: var(--nimbus-iris);
}

.icon-box-mint {
  background: var(--accent-mint-light);
  color: var(--accent-mint);
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.feature-card-desc {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.check-svg-inline {
  width: 15px;
  height: 15px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

/* --- 12. Section: 客户端生态与三步配置教程 (#tutorial) --- */
.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Cat-Nimbus 全景阶梯错落层次 (Desktop >= 993px) */
@media (min-width: 993px) {
  .tutorial-step-card:nth-child(1) {
    margin-top: 16px;
    border-top: 2px solid var(--border-subtle);
  }
  .tutorial-step-card:nth-child(2) {
    margin-top: 8px;
    border-top: 2px solid rgba(14, 165, 233, 0.35);
  }
  .tutorial-step-card:nth-child(3) {
    margin-top: 0px;
    border-top: 3px solid var(--brand-primary);
  }
}

.tutorial-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.tutorial-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.tutorial-step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: var(--brand-ultralight);
  color: var(--brand-primary);
  border: 1px solid var(--border-brand);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.tutorial-step-title {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.tutorial-step-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.client-platform-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.platform-tab-btn:hover {
  border-color: var(--brand-accent);
  color: var(--brand-primary);
}

.platform-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Client Cards Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.client-app-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.client-app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-md);
}

.client-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.client-app-name {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-heading);
}

.client-app-desc {
  font-size: 0.845rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.client-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.client-download-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Universal Sub Box */
.universal-sub-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

.sub-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sub-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-link-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem 0.45rem 1rem;
  margin-bottom: 1rem;
}

.sub-link-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.85rem;
  color: var(--text-main);
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1;
}

.btn-copy-sub {
  flex-shrink: 0;
}

.sub-formats-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- 13. Section: 全景网络阶梯架构、使用场景与 PoP 节点矩阵 (#network) --- */
.stepped-network-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.network-architecture-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-bottom: 3rem;
}

.arch-layer-card {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: all var(--transition-fast);
}

.arch-layer-card:hover {
  background: #ffffff;
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.layer-level-tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.04em;
}

.layer-name {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}

.layer-detail {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 4 Real-World Usage Scenarios Grid */
.network-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.scenario-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.scenario-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.scenario-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-ultralight);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.scenario-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}

.scenario-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stepped Node Matrix Table (Default Fully Expanded) */
.node-matrix-container {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.node-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  min-width: 820px;
}

.node-matrix-table th {
  background: #f8fafc;
  color: var(--text-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border-subtle);
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.node-matrix-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.node-matrix-table tr:last-child td {
  border-bottom: none;
}

.node-matrix-table tr:hover td {
  background: #f8fafc;
}

.node-location-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-title-bold {
  font-weight: 700;
  color: var(--text-heading);
  display: block;
}

.node-pop-code {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.tech-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pill-sm {
  font-size: 0.725rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  background: #f1f5f9;
  color: var(--text-secondary);
  font-weight: 500;
}

.pill-service {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.pill-ai {
  background: #faf5ff;
  color: #6b21a8;
  border: 1px solid rgba(107, 33, 168, 0.15);
}

.latency-highlight {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  display: inline-block;
}

/* --- 14. Section: 全景阶梯套餐与算力带宽矩阵 (#pricing) --- */
.billing-switcher-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.billing-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 0.3rem;
  border-radius: var(--radius-full);
}

.billing-tab-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.billing-tab-btn:hover {
  color: var(--text-heading);
}

.billing-tab-btn.active {
  background: #ffffff;
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(11, 19, 41, 0.08);
}

.billing-discount-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--cat-gold-light);
  color: var(--cat-gold-hover);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

/* 4 Stepped Pricing Cards */
.pricing-stepped-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

/* Cat-Nimbus 全景阶梯错落层次 (Desktop >= 993px) */
@media (min-width: 993px) {
  .pricing-card:nth-child(1) {
    margin-top: 24px;
  }
  .pricing-card:nth-child(2) {
    margin-top: 0px;
  }
  .pricing-card:nth-child(3) {
    margin-top: 12px;
  }
  .pricing-card:nth-child(4) {
    margin-top: 24px;
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-medium);
}

.pricing-card-featured {
  border-color: rgba(14, 165, 233, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 32px rgba(14, 165, 233, 0.28);
}

.pricing-card-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-primary), #0284c7);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.plan-head {
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.plan-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.plan-price-wrap {
  margin: 1.25rem 0;
  text-align: center;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  vertical-align: top;
  line-height: 1.8;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 850;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

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

.price-original-struck {
  font-size: 0.825rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  display: block;
  margin-top: 0.15rem;
}

/* Feature Checkmarks (Default Fully Expanded) */
.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.845rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-feature-item.highlight-feature {
  font-weight: 700;
  color: var(--text-heading);
}

.check-svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta-btn {
  width: 100%;
}

/* Stepped Full Comparison Table (带 <caption> 与语义化表头关联) */
.comparison-matrix-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

.matrix-header-box {
  margin-bottom: 1.5rem;
}

.matrix-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.matrix-header-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.matrix-table-caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.matrix-table-caption span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
  margin-left: 0.45rem;
}

.stepped-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 780px;
}

.stepped-matrix-table th {
  background: #f8fafc;
  padding: 0.95rem 1rem;
  text-align: center;
  font-weight: 750;
  color: var(--text-heading);
  border-bottom: 2px solid var(--border-subtle);
}

.stepped-matrix-table th[scope="col"]:first-child {
  text-align: left;
  width: 32%;
}

.stepped-matrix-table td {
  padding: 0.9rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.stepped-matrix-table td[scope="row"],
.stepped-matrix-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-heading);
}

.stepped-matrix-table tr:hover td {
  background: #f8fafc;
}

.cell-highlight {
  font-weight: 700;
  color: var(--brand-primary);
}

.cell-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
}

/* --- 15. Section: 全景阶梯透明问答 (#faq - 原生 details open 默认全展开) --- */
.faq-panoramic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-details {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.faq-details:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-details[open] {
  border-color: rgba(14, 165, 233, 0.35);
}

.faq-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-summary-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.faq-q-number {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-question-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-heading);
  line-height: 1.4;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
  margin-top: 3px;
}

.faq-details[open] .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-answer-body {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 2.25rem;
  margin-top: 0.85rem;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.85rem;
}

/* --- 16. Final Conversion Call-to-Action Banner --- */
.cta-banner-wrapper {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #4338ca 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: #e0f2fe;
  margin-bottom: 2rem;
}

.cta-buttons-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-white {
  background: #ffffff;
  color: #0369a1;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-translucent {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-translucent:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* --- 17. Footer (No-Login Edition Compliance & Transparency) --- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 3vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-primary);
}

.footer-sla-card {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-sla-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-sla-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.disclaimer-badge {
  font-size: 0.75rem;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

/* --- 18. Toast Feedback Notification --- */
.toast-container {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0b1329;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-svg {
  width: 16px;
  height: 16px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

/* Floating Back-to-Top Button (Right-aligned, zero text collision) */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* --- 19. Multi-Breakpoint Responsive Design (360px, 390px, 768px, 1024px, 1440px+) --- */

/* Ultra-Wide Desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 5.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pricing-stepped-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Standard Laptop & Desktop (max-width: 1280px) */
@media (max-width: 1280px) {
  .container {
    max-width: 1180px;
  }
}

/* Laptop & Medium Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.95rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-stepped-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card-featured {
    transform: none;
  }
  .pricing-card-featured:hover {
    transform: translateY(-6px);
  }
  .network-architecture-layers {
    grid-template-columns: repeat(2, 1fr);
  }
  .network-scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tutorial-steps-grid {
    grid-template-columns: 1fr;
  }
  .cockpit-pinger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scale-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Tablet Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 0.4rem 0.55rem;
  }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-panoramic-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablet Portrait & Large Mobiles (max-width: 768px) */
@media (max-width: 768px) {
  .top-notice-bar {
    display: none;
  }
  .site-header {
    height: 68px;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    min-height: 44px; /* Touch target >= 44x44px */
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border-radius: var(--radius-xs);
  }
  .nav-link:hover, .nav-link:focus {
    background: var(--bg-surface-soft);
  }
  .mobile-drawer-cta {
    display: block;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
  }
  .mobile-drawer-cta .btn {
    min-height: 44px;
  }
  .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .cockpit-pinger-grid {
    grid-template-columns: 1fr;
  }
  .scale-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .scale-metric-node {
    padding-left: 0.5rem;
  }
  .pricing-stepped-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    margin-top: 0 !important;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  /* 移动端全景阶梯：将横向空间层次转换为纵向错落节奏 */
  .feature-stepped-card:nth-child(1) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--brand-accent);
  }
  .feature-stepped-card:nth-child(2) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--brand-primary);
  }
  .feature-stepped-card:nth-child(3) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--accent-mint);
  }
  .feature-stepped-card:nth-child(4) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--cat-gold);
  }

  .tutorial-step-card:nth-child(1) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--brand-accent);
  }
  .tutorial-step-card:nth-child(2) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--brand-primary);
  }
  .tutorial-step-card:nth-child(3) {
    margin-top: 0 !important;
    border-left: 3.5px solid var(--cat-gold);
  }
  .network-architecture-layers {
    grid-template-columns: 1fr;
  }
  .network-scenarios-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-answer-body {
    padding-left: 0;
    margin-top: 0.5rem;
  }
  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Standard Smartphone Viewport (max-width: 390px) */
@media (max-width: 390px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons-row .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .feature-stepped-card,
  .pricing-card,
  .scenario-card,
  .step-stepped-card {
    padding: 1.25rem 1rem;
  }
  .stepped-matrix-table th,
  .stepped-matrix-table td {
    padding: 0.75rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* Small / Compact Mobile Screens (max-width: 360px) */
@media (max-width: 360px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-pill-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }
  .sub-link-input-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-copy-sub {
    width: 100%;
    min-height: 44px;
  }
  .billing-switcher {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .billing-tab-btn {
    justify-content: center;
    min-height: 44px;
    font-size: 0.8rem;
    padding: 0.4rem;
  }
  .platform-tab-btn {
    min-height: 44px;
    font-size: 0.82rem;
  }
}

/* --- 20. High Contrast & Print Optimization --- */
@media print {
  .site-header, .top-notice-bar, .back-to-top, .toast-container, .btn-primary, .btn-secondary, .pointer-aura {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .feature-stepped-card, .pricing-card, .faq-details {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
}
