/* ==========================================================================
   青云梯 (QingYunTi) - 极速网络中继服务
   Design DNA: Nocturnal skyscraper-viewport & cyan-violet holographic UI
   Palette: Abyssal navy-black (#080c16), mint-cyan (#2dd4bf), indigo-violet (#5b6cf9)
   ========================================================================== */

:root {
  /* Daytime / Light Mode Tokens */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(226, 232, 240, 0.88);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-stark: #090d16;
  
  --accent-primary: #5b6cf9;
  --accent-primary-hover: #4857e4;
  --accent-primary-glow: rgba(91, 108, 249, 0.35);
  
  --accent-mint: #0d9488;
  --accent-mint-glow: rgba(13, 148, 136, 0.2);
  --accent-mint-bg: #f0fdfa;
  
  --accent-violet: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #0d9488 0%, #5b6cf9 50%, #7c3aed 100%);
  --button-gradient: linear-gradient(135deg, #5b6cf9 0%, #6366f1 100%);
  
  --border-color: #e2e8f0;
  --border-focus: #0d9488;
  --card-specular-border: rgba(13, 148, 136, 0.5);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px -3px rgba(91, 108, 249, 0.09);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
  
  --hero-glow-1: radial-gradient(circle at 75% 25%, rgba(91, 108, 249, 0.12), transparent 60%);
  --hero-glow-2: radial-gradient(circle at 20% 70%, rgba(45, 212, 191, 0.1), transparent 50%);
}

[data-theme="dark"] {
  /* Deep Midnight-Indigo Palette Tokens */
  --bg-primary: #080c16;
  --bg-secondary: #0f1523;
  --bg-card: rgba(15, 21, 35, 0.72);
  --bg-card-hover: rgba(22, 31, 51, 0.92);
  --bg-glass: rgba(8, 12, 22, 0.82);
  --glass-border: rgba(45, 212, 191, 0.16);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-stark: #ffffff;
  
  --accent-primary: #5b6cf9;
  --accent-primary-hover: #7382fa;
  --accent-primary-glow: rgba(91, 108, 249, 0.45);
  
  --accent-mint: #2dd4bf;
  --accent-mint-glow: rgba(45, 212, 191, 0.28);
  --accent-mint-bg: rgba(45, 212, 191, 0.08);
  
  --accent-violet: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #2dd4bf 0%, #5b6cf9 50%, #c084fc 100%);
  --button-gradient: linear-gradient(135deg, #5b6cf9 0%, #4f46e5 100%);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #2dd4bf;
  --card-specular-border: rgba(45, 212, 191, 0.75);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 26px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 48px -8px rgba(0, 0, 0, 0.75);
  
  --hero-glow-1: radial-gradient(circle at 80% 30%, rgba(91, 108, 249, 0.22), transparent 60%);
  --hero-glow-2: radial-gradient(circle at 15% 65%, rgba(45, 212, 191, 0.16), transparent 50%);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Lights */
.ambient-glow-1 {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw;
  height: 75vh;
  background: var(--hero-glow-1);
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s ease;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 60vw;
  height: 60vh;
  background: var(--hero-glow-2);
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s ease;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

/* Brand Logo (Exact Image 2 Replacement) */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  padding: 4px 0;
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 0 12px rgba(45, 212, 191, 0.55));
}

[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.2));
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--accent-mint);
}

.nav-link.active-pill {
  color: var(--accent-mint);
}

.nav-link.highlight {
  color: var(--accent-primary);
  font-weight: 600;
}

.nav-link.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* Nav Actions (Optimized Day/Night Button + Dual Buttons) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   优化图1：精致双模昼夜指示按钮 (Refined Day/Night Switch from Image 1)
   ========================================================================== */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--accent-mint);
  box-shadow: 0 0 16px var(--accent-mint-glow);
}

.theme-dual-icon {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 白天模式下：太阳元素高亮璀璨金/青光，月亮适度淡雅 */
[data-theme="light"] .theme-sun-element {
  stroke: #f59e0b;
  fill: rgba(245, 158, 11, 0.15);
  filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.6));
  transition: all 0.3s ease;
}

[data-theme="light"] .theme-moon-element {
  stroke: #64748b;
  opacity: 0.65;
  transition: all 0.3s ease;
}

[data-theme="light"] .theme-connector-element {
  stroke: #cbd5e1;
}

/* 暗夜模式下：月亮元素高亮电光薄荷青，太阳适度暗调 */
[data-theme="dark"] .theme-moon-element {
  stroke: #2dd4bf;
  fill: rgba(45, 212, 191, 0.2);
  filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.8));
  transition: all 0.3s ease;
}

[data-theme="dark"] .theme-sun-element {
  stroke: #475569;
  opacity: 0.6;
  fill: none;
  filter: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .theme-connector-element {
  stroke: #334155;
}

.theme-toggle-btn:active .theme-dual-icon {
  transform: rotate(25deg) scale(0.92);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-solid-blue {
  background: var(--button-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--accent-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-solid-blue:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(91, 108, 249, 0.6);
}

.btn-dark-outline {
  background: rgba(15, 23, 42, 0.4);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-dark-outline:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: rgba(45, 212, 191, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ==========================================================================
   Hero Section: Asymmetric Architectural-Viewport Layout
   ========================================================================== */
.hero-section {
  padding: 145px 0 60px;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}

.hero-content {
  text-align: left;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-mint-bg);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent-mint);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  box-shadow: 0 0 14px var(--accent-mint-glow);
}

.hero-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-stark);
}

.hero-headline .brand-highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.hero-feat-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

.hero-feat-item strong {
  color: var(--text-primary);
}

/* Right Canvas: Architectural Skyscraper Viewport */
.viewport-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skyscraper-viewport {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 480px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, #151d32 0%, #080c16 100%);
  border: 1px solid rgba(45, 212, 191, 0.3);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(91, 108, 249, 0.25);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.viewport-svg-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.viewport-hologram-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(45, 212, 191, 0.08) 100%);
  pointer-events: none;
  border-radius: 28px;
  transition: opacity 0.3s ease;
}

.viewport-specular-rim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #2dd4bf 30%, #5b6cf9 70%, transparent 100%);
  opacity: 0.9;
}

.viewport-badge-hud {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid rgba(45, 212, 191, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.hud-meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hud-meta-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-signal-indicator {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.hud-signal-indicator span {
  width: 3px;
  background: var(--accent-mint);
  border-radius: 1px;
}
.hud-signal-indicator span:nth-child(1) { height: 4px; }
.hud-signal-indicator span:nth-child(2) { height: 7px; }
.hud-signal-indicator span:nth-child(3) { height: 11px; }
.hud-signal-indicator span:nth-child(4) { height: 14px; }

/* Metric Cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
              border-color 0.25s ease, 
              box-shadow 0.35s ease;
  cursor: default;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: transparent;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-specular-border);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.4), 0 0 18px var(--accent-mint-glow);
}

.metric-card:hover::before {
  background: linear-gradient(135deg, var(--accent-mint) 0%, rgba(91, 108, 249, 0.8) 100%);
}

.metric-number {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-stark);
  line-height: 1.1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

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

.metric-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Headers */
.section {
  padding: 95px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent-mint-bg);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-stark);
}

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

/* Core Advantages */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 38px 30px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-mint-glow);
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.14) 0%, rgba(91, 108, 249, 0.16) 100%);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

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

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-stark);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-highlight-list {
  margin-top: 22px;
  list-style: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

.feature-highlight-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.feature-highlight-list li svg {
  width: 15px;
  height: 15px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

/* Showcase Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  padding: 42px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-mint);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-mint-glow);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent-mint-bg);
  color: var(--accent-mint);
  border: 1px solid rgba(45, 212, 191, 0.3);
  margin-bottom: 18px;
}

.showcase-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-stark);
}

.showcase-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.service-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.service-pill:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  transform: translateY(-2px);
}

.service-pill svg {
  width: 17px;
  height: 17px;
}

.speed-metric-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 14px;
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-mint);
  display: block;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--accent-mint);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), 0 0 24px var(--accent-mint-glow);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #080c16;
  padding: 4px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.4);
}

.pricing-header {
  margin-bottom: 22px;
}

.pricing-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-stark);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-mint);
}

.price-num {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-stark);
}

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

.pricing-specs {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-specs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pricing-specs li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mint);
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.4);
}

.review-stars {
  color: #fbbf24;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-mint-bg);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.user-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-stark);
}

.user-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: var(--accent-mint);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-stark);
  cursor: pointer;
  outline: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

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

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, #172138 0%, #0d1322 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  margin: 60px 0 100px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent-mint-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Footer (Only 4 links as strictly specified) */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-mint);
}

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

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .hero-main-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-features-list {
    align-items: center;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .nav-links {
    display: none;
  }
  
  .hero-section {
    padding: 120px 0 50px;
  }

  .hero-headline {
    font-size: 2.3rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .metrics-row,
  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card.featured {
    order: -1;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner {
    padding: 40px 20px;
    border-radius: 20px;
    margin: 40px 0 60px;
  }

  .cta-banner h2 {
    font-size: 1.85rem;
  }
}


/* ==========================================================================
   Article Detail Page Styles (Long-form SEO Article Structure)
   ========================================================================== */
.article-detail-wrap {
  padding: 130px 0 90px;
}

.article-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 52px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .article-main-card {
    padding: 30px 20px;
    border-radius: 18px;
  }
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--accent-mint);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.article-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-post-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent-mint-bg);
  color: var(--accent-mint);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.article-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-title-main {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-stark);
  margin-bottom: 18px;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Table of Contents Box (TOC) */
.toc-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-mint);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-stark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  counter-reset: toc-counter;
}

.toc-list li {
  margin-bottom: 10px;
  counter-increment: toc-counter;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.toc-list a::before {
  content: counter(toc-counter) ".";
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.9rem;
}

.toc-list a:hover {
  color: var(--accent-mint);
  transform: translateX(4px);
}

/* Article Body Content */
.article-body-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-stark);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-stark);
  margin: 28px 0 14px;
}

.article-body-content p {
  margin-bottom: 20px;
}

.article-body-content ul, 
.article-body-content ol {
  margin: 0 0 24px 24px;
  line-height: 1.85;
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-body-content strong {
  color: var(--text-stark);
}

.article-body-content a {
  color: var(--accent-mint);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article-body-content a:hover {
  color: var(--accent-primary);
}

/* Internal Callout / Note Boxes */
.callout-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0;
}

.callout-box.tip {
  border-left-color: var(--accent-mint);
  background: var(--accent-mint-bg);
}

.callout-box.tip strong {
  color: var(--accent-mint);
}

.callout-box p {
  margin-bottom: 0;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--bg-secondary);
}

.custom-table th, 
.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.custom-table th {
  background: var(--bg-card);
  color: var(--text-stark);
  font-weight: 700;
}

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

/* In-article CTA */
.in-article-cta {
  background: radial-gradient(circle at 50% 50%, #162035 0%, #0c1220 100%);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  color: #fff;
  margin: 44px 0;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-mint-glow);
}

.in-article-cta h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.in-article-cta p {
  color: #94a3b8;
  font-size: 0.98rem;
  max-width: 580px;
  margin: 0 auto 22px;
}

/* Article FAQ Section */
.article-faq-section {
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}

.article-faq-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-stark);
  margin-bottom: 24px;
}

.article-faq-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 18px;
}

.article-faq-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-stark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-faq-card h4::before {
  content: "Q:";
  color: var(--accent-mint);
  font-weight: 800;
}

.article-faq-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Related Reading Section */
.related-reading-section {
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}

.related-reading-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-stark);
  margin-bottom: 22px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-mint);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.related-card h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-stark);
  line-height: 1.45;
  margin-bottom: 10px;
}

.related-card span {
  font-size: 0.85rem;
  color: var(--accent-mint);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
