/* ==========================================================================
   飞鸟 (Feinio) - Ultra-Professional Floating Canvas SaaS Theme
   Design Principles: Spacious Whitespace | Clean Grid Alignment | Soft Floating Card Depth
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --bg-dark: #050810;
  --bg-canvas: #080d1a;
  
  --bg-card: rgba(13, 20, 36, 0.7);
  --bg-card-hover: rgba(20, 31, 56, 0.85);
  
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-glow: rgba(96, 165, 250, 0.4);
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.35);
  
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Floating Elevation Shadows */
  --shadow-float-low: 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-float-mid: 0 20px 48px -12px rgba(0, 0, 0, 0.65), 0 0 24px -4px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-float-high: 0 32px 64px -16px rgba(0, 0, 0, 0.8), 0 0 36px -4px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(96, 165, 250, 0.35);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  /* Soft Canvas Ambient Glow Background */
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility Layout Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Typography & Headers --- */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 999px;
  color: #60a5fa;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1.15rem;
}

.section-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -2px rgba(59, 130, 246, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 28px -2px rgba(59, 130, 246, 0.65);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-card-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* CRITICAL FIX: Hide mobile menu drawer by default on desktop! */
.mobile-menu {
  display: none;
}

/* --- Hero Section --- */
.hero {
  padding: 6.5rem 0 5.5rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text-content {
  max-width: 580px;
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-feature-item svg {
  color: var(--accent-emerald);
}

/* --- Hero Floating Network Dashboard Card --- */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: var(--shadow-float-mid);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float-high);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.8rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 600;
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.node-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.node-item:hover {
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.flag-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.node-type {
  font-size: 0.73rem;
  color: var(--text-subtle);
  display: block;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
}

.dashboard-waveform {
  background: rgba(10, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.waveform-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.waveform-svg {
  width: 100%;
  height: 54px;
  stroke: var(--primary);
}

/* --- Core Advantages (Clean Floating Bento Grid) --- */
.advantages-section {
  padding: 7.5rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Crisp Grid-Aligned Floating Cards with Soft Layered Depth */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float-low);
  backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--bg-card-border-glow);
  box-shadow: var(--shadow-float-high);
  background: var(--bg-card-hover);
}

.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(20, 31, 56, 0.85) 0%, rgba(13, 20, 36, 0.95) 100%);
}

.bento-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  box-shadow: 0 6px 16px -2px rgba(59, 130, 246, 0.25);
}

.bento-card.featured .bento-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
  box-shadow: 0 6px 16px -2px rgba(139, 92, 246, 0.3);
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.bento-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* --- Global Nodes Section --- */
.nodes-section {
  padding: 5rem 0 7.5rem 0;
}

.global-map-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 3.75rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float-mid);
  backdrop-filter: blur(20px);
}

.nodes-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-box {
  padding: 1.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
}

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

/* --- AI & Streaming Section (Floating Feature Cards) --- */
.ai-streaming-section {
  padding: 7.5rem 0;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.scene-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  position: relative;
  box-shadow: var(--shadow-float-mid);
  backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.scene-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float-high);
  border-color: rgba(96, 165, 250, 0.35);
}

.scene-badge {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  display: block;
}

.scene-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.scene-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 1.85rem;
  line-height: 1.68;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Pricing Section (SaaS Pricing Cards Canvas) --- */
.pricing-section {
  padding: 7.5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-float-low);
  backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float-mid);
}

.pricing-card.recommended {
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.95) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-float-high), 0 0 40px rgba(59, 130, 246, 0.25);
  transform: scale(1.02);
}

.pricing-card.recommended:hover {
  transform: scale(1.02) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 1.25rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.65rem;
  min-height: 42px;
}

.plan-price {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 1.85rem;
  font-family: var(--font-mono);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-subtle);
  font-family: var(--font-sans);
}

.plan-features {
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --- SEO Articles Grid Section --- */
.articles-section {
  padding: 7.5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-float-low);
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0.9rem;
}

.article-category {
  color: #60a5fa;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.12);
  padding: 0.22rem 0.7rem;
  border-radius: 6px;
}

.article-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.article-summary {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.article-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-link:hover {
  color: #60a5fa;
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 7.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-float-low);
  backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float-mid);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.user-info h4 {
  font-size: 1.02rem;
  font-weight: 700;
}

.user-info p {
  font-size: 0.83rem;
  color: var(--text-subtle);
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.68;
  font-style: italic;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 7.5rem 0;
}

.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-float-low);
  backdrop-filter: blur(16px);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: var(--shadow-float-mid);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--text-subtle);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.6rem 1.6rem 1.6rem;
}

/* --- Article Detail Page Typography & Styles --- */
.article-header {
  padding: 4.5rem 0 2.75rem 0;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
}

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

.article-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.35rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-body {
  max-width: 860px;
  margin: 0 auto 5.5rem auto;
  font-size: 1.06rem;
  line-height: 1.88;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.85rem 0 1.25rem 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body h3 {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2.15rem 0 1.1rem 0;
}

.article-body p {
  margin-bottom: 1.6rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.85rem 1.6rem;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.55rem;
}

.article-body blockquote {
  background: rgba(20, 31, 56, 0.6);
  border-left: 4px solid var(--primary);
  padding: 1.35rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2.15rem 0;
  font-style: italic;
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.15rem 0;
  font-size: 0.96rem;
}

.article-body th, .article-body td {
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.article-body th {
  background: rgba(30, 43, 70, 0.85);
  color: var(--text-main);
  font-weight: 700;
}

.article-body td {
  background: rgba(15, 23, 42, 0.5);
}

.cta-box {
  background: linear-gradient(145deg, rgba(20, 31, 56, 0.95) 0%, rgba(13, 20, 36, 0.98) 100%);
  border: 1px solid var(--primary-glow);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2rem;
  text-align: center;
  margin: 3.75rem 0;
  box-shadow: var(--shadow-float-mid);
}

.cta-box h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.65rem;
}

.related-articles {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3.75rem;
  margin-top: 4.25rem;
}

/* --- Footer --- */
.footer {
  background: #03050b;
  border-top: 1px solid var(--bg-card-border);
  padding: 4.5rem 0 2.75rem 0;
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.25rem;
  margin-bottom: 3.25rem;
}

.footer-brand h3 {
  color: var(--text-main);
  font-size: 1.3rem;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.62;
  max-width: 330px;
}

.footer-col-title {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.footer-recommended {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.footer-recommended span {
  color: var(--text-subtle);
  font-size: 0.86rem;
}

.footer-recommended a {
  color: var(--text-muted);
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

.footer-recommended a:hover {
  color: #60a5fa;
}

/* --- Responsive Breakpoints Protection --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }
  .hero-text-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features-strip {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.featured {
    grid-column: span 2;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.recommended {
    transform: none;
  }
  .pricing-card.recommended:hover {
    transform: translateY(-4px);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  /* Mobile Menu active drawer ONLY on mobile */
  .mobile-menu.active {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--bg-card-border);
    padding: 1.6rem;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 999;
  }
  .mobile-menu .btn {
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.featured {
    grid-column: span 1;
  }
  .nodes-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 1.9rem;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
