/* ===================================================================
   青云梯 (qingyunti.site) - 官方极速网络加速落地页设计系统
   全设备响应式适配 | 所有价格同排展示 | 动态星河粒子底座 | 极致SEO优化
   =================================================================== */

:root {
  --bg-primary: #060a12;
  --bg-secondary: #0a1120;
  --bg-card: rgba(13, 21, 38, 0.72);
  --bg-card-hover: rgba(18, 30, 54, 0.88);
  --bg-card-featured: linear-gradient(165deg, rgba(16, 36, 70, 0.92), rgba(10, 20, 44, 0.96));
  --bg-glass: rgba(8, 14, 26, 0.82);

  --primary: #00f2fe;
  --primary-rgb: 0, 242, 254;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --primary-dark: #0284c7;

  --secondary: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 242, 254, 0.4);
  --border-featured: rgba(0, 242, 254, 0.75);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #38bdf8;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --container-max: 1260px;
  --container-narrow: 940px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 20px 40px -10px rgba(0, 242, 254, 0.3);
  --shadow-featured: 0 20px 45px -8px rgba(0, 242, 254, 0.45);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #060a12;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: #060a12;
}

/* Ambient Base Gradient Layer (Layer -3) */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -3;
  background: 
    radial-gradient(ellipse 90% 60% at 75% 15%, rgba(0, 242, 254, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 20% 45%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 0%, #0d1e3d 0%, #060a12 70%);
}

/* Ambient Cyan Ladder Grid Background (Layer -2) */
.bg-ladder-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  opacity: 0.38;
  background-image: 
    linear-gradient(to right, rgba(0, 242, 254, 0.14) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(0, 242, 254, 0.25) 2px, transparent 2px);
  background-size: 140px 42px;
  background-position: center top;
  mask-image: radial-gradient(circle at 70% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black 40%, transparent 85%);
}

/* Background Dynamic Canvas (Layer -1, strictly above background layers!) */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  display: block;
}

/* Content Elements strictly on layer 1 */
.hero-section,
.container,
.section,
.cta-section,
.footer,
.article-main {
  position: relative;
  z-index: 1;
}

/* Containers */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* Text Gradients & Highlights */
.text-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================================
   Navigation Bar
   =================================================================== */
.navbar {
  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: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 10, 18, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(0, 242, 254, 0.2);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (Left Top) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-icon {
  height: 42px;
  width: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.75));
  transition: var(--transition);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-5deg) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.95));
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.2));
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  border-radius: 2px;
}

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

/* Nav Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Universal Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #040812;
  box-shadow: 0 4px 18px var(--primary-glow);
  font-weight: 700;
}

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

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
}

/* Mobile Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(8, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.mobile-nav-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: #fff;
}

.hero-desc {
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.badge-item svg {
  color: var(--accent-green);
}

/* ===================================================================
   Live Network Telemetry Dashboard
   =================================================================== */
.telemetry-card {
  background: rgba(10, 18, 36, 0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.telemetry-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.telemetry-node {
  background: rgba(15, 25, 48, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
}

.telemetry-node:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: rgba(20, 34, 64, 0.75);
}

.node-region {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.node-loss {
  font-size: 0.78rem;
  color: var(--accent-green);
}

/* ===================================================================
   Section Universal Styles
   =================================================================== */
.section {
  padding: 75px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===================================================================
   Core Features (3 Columns)
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary);
  transform: scale(1.08);
}

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

.feature-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* ===================================================================
   PRICING SECTION: 所有价格同排 (ALL PRICES IN SAME ROW ON DESKTOP)
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 PLANS SIDE BY SIDE IN ONE ROW */
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  background: var(--bg-card-featured);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-featured);
  transform: scale(1.02);
}

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

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #040812;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px var(--primary-glow);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 16px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.plan-sub {
  font-size: 0.84rem;
  color: var(--text-dim);
  min-height: 38px;
  line-height: 1.45;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-amount {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.plan-cycle {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-feature-item strong {
  color: #fff;
  font-weight: 600;
}

.plan-btn {
  width: 100%;
  margin-top: auto;
}

/* ===================================================================
   Articles Section (SEO & Internal Links)
   =================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.article-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: var(--transition);
}

.article-card:hover .article-card-title {
  color: var(--primary);
}

.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-card-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.article-card:hover .article-card-link {
  transform: translateX(4px);
}

/* ===================================================================
   User Reviews Section
   =================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.review-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #040812;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.review-user-role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-content {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  font-style: italic;
}

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

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

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

.faq-item.active {
  border-color: var(--primary);
  background: rgba(16, 28, 52, 0.85);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  user-select: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

/* ===================================================================
   CTA Banner Section
   =================================================================== */
.cta-section {
  padding: 60px 0 80px;
}

.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.18) 0%, rgba(13, 24, 48, 0.9) 70%);
  border: 1.5px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ===================================================================
   Footer
   =================================================================== */
.footer {
  background: #04070e;
  border-top: 1px solid var(--border-subtle);
  padding: 65px 0 35px;
}

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

.footer-brand p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(2px);
  display: inline-block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: var(--transition);
}

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

/* ===================================================================
   Article Sub-Pages Styling
   =================================================================== */
.article-page {
  background: var(--bg-primary);
}

.article-main {
  padding: 50px 0 80px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 45px 50px;
  box-shadow: var(--shadow-card);
}

.article-header {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-tag {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.article-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.86rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.article-section {
  margin-bottom: 32px;
}

.article-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 30px 0 14px;
  position: relative;
  padding-left: 14px;
}

.article-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.article-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 22px 0 10px;
}

.article-section p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-section strong {
  color: #fff;
  font-weight: 600;
}

.article-section ol, .article-section ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.article-section li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 10px;
}

.inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.inline-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary-glow);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.article-table th {
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(79, 172, 254, 0.06));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-related {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-related h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-list a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.related-list a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===================================================================
   RESPONSIVE DESIGN & MOBILE ADAPTATION
   =================================================================== */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-nav-drawer {
    display: flex;
  }
  .nav-actions .btn-outline {
    display: none;
  }
  .hero-section {
    padding: 60px 0 40px;
  }
  .hero-badges {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  /* On mobile: keep pricing smooth with horizontal scroll or 1-col */
  .pricing-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .article-body {
    padding: 30px 20px;
  }
}
