/* ===================================================================
   WgetCloud Official Web Suite Stylesheet
   Design Philosophy: Unix-Terminal Modern Publication · Cute Rounded Navbar
   Domain: wget-cloud.autos | Zero-Dependency Vanilla CSS
   WCAG AA Compliance: Rigorous Contrast & >= 44x44px Touch Targets
   =================================================================== */

:root {
  /* 1. Bright & Soft Color Palette - WCAG AA Rigorous Conformity */
  --bg-primary: #F8FAFC;              /* Soft Snow Porcelain White */
  --bg-surface: #FFFFFF;              /* Pure White Surface */
  --bg-surface-translucent: rgba(255, 255, 255, 0.92);
  --bg-subtle: #F1F5F9;
  
  --text-main: #0F172A;               /* Deep Pine Smoke Ink (Contrast > 13:1 on white) */
  --text-body: #334155;               /* Slate Ink Grey (Contrast > 7:1 on white) */
  --text-muted: #64748B;              /* Cool Moss Grey (Contrast >= 4.5:1 on white) */
  --text-inverse: #FFFFFF;

  /* Terminal Accent Colors */
  --accent-primary: #2563EB;          /* Steady Tech Indigo (Contrast >= 4.5:1 with white) */
  --accent-primary-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  
  --accent-green: #059669;            /* Soft Terminal Green Status Badge */
  --accent-green-bg: #ECFDF5;
  --accent-green-border: #A7F3D0;

  --accent-amber: #D97706;
  --accent-amber-bg: #FFFBEB;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-dark: #334155;

  /* Terminal Screen Backgrounds */
  --bg-terminal: #0F172A;
  --bg-terminal-subtle: #1E293B;
  --bg-terminal-code: #0B1120;
  --text-terminal-cyan: #38BDF8;
  --text-terminal-green: #10B981;
  --text-terminal-amber: #F59E0B;

  /* Typography Stack - Pure System Font, Strictly Zero Remote Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", Menlo, Monaco, Consolas, "Courier New", monospace;

  /* Radius & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-terminal: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  --shadow-pill: 0 12px 30px -8px rgba(37, 99, 235, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.05);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
}

/* Section Anchors with Scroll-Margin to Avoid Sticky Navbar Overlap */
section[id],
article[id],
#hero,
#features,
#workflow,
#pricing,
#faq {
  scroll-margin-top: 96px;
}

/* ===================================================================
   Full-Screen CLI Geometric Grid & Rulers Background
   =================================================================== */
.cli-geometric-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  user-select: none;
  opacity: 0.75;
}

.cli-geometric-svg {
  width: 100%;
  height: 120%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.08s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .cli-geometric-svg {
    transform: none !important;
    transition: none !important;
  }
}

/* Ensure all interactive content sits safely above the background */
.site-content-wrapper,
.navbar-wrapper,
.hero-section,
.section-wrapper,
.site-footer,
.container {
  position: relative;
  z-index: 1;
}

/* ===================================================================
   Accessibility: Focus Visible & Touch Target >= 44x44px
   =================================================================== */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

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

img, svg {
  vertical-align: middle;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   Cute Rounded Floating Navigation Bar
   =================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 16px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.cute-navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-pill);
  padding: 6px 12px 6px 18px;
  border-radius: var(--radius-pill);
  width: auto;
  max-width: 1180px;
  min-height: 54px;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.cute-navbar:hover {
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.2), 0 4px 14px rgba(15, 23, 42, 0.08);
  border-color: rgba(191, 219, 254, 0.95);
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  padding-right: 8px;
  min-height: 44px;
  min-width: 44px;
}

.brand-icon-cute {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  transform: rotate(-3deg);
  transition: transform var(--transition-fast);
}

.brand-pill:hover .brand-icon-cute {
  transform: rotate(0deg) scale(1.08);
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-name .domain-suffix {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.nav-links-cute {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  min-height: 44px; /* Touch Target Compliance */
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.nav-link-item a svg {
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-link-item a:hover {
  color: var(--accent-primary);
  background: var(--accent-light);
}

.nav-link-item a:hover svg {
  color: var(--accent-primary);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .nav-link-item a:hover svg {
    transform: none;
  }
}

.nav-link-item.active a {
  color: var(--accent-primary);
  background: #EFF6FF;
}

.nav-link-item.active a svg {
  color: var(--accent-primary);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0 20px;
  min-height: 44px; /* Touch target >= 44x44px */
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cute-subtle {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-cute-subtle:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.btn-cute-primary {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-cute-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  color: var(--text-main);
}

/* Mobile Drawer Overlay & Modal */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1050;
}

.mobile-drawer-content {
  position: fixed;
  top: 75px;
  left: 16px;
  right: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px 20px;
  z-index: 1100;
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

/* ===================================================================
   Hero Section - Terminal Editorial Dual-Track Aesthetic
   =================================================================== */
.hero-section {
  padding: 60px 0 70px;
  position: relative;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.hero-meta-tag {
  background: #EFF6FF;
  color: var(--accent-primary);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

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

.hero-headline {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-headline .highlight-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #0284C7 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-hero-lg {
  padding: 0 26px;
  min-height: 48px;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

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

/* ===================================================================
   Static Objective Terminal & Architecture Board (No Fake Data)
   =================================================================== */
.terminal-window {
  background: var(--bg-terminal);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-terminal);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: var(--bg-terminal-subtle);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-badge-static {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.7;
  color: #CBD5E1;
  background: var(--bg-terminal-code);
}

.terminal-block {
  margin-bottom: 14px;
}

.terminal-block-title {
  color: var(--text-terminal-cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

.terminal-block-desc {
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.6;
}

.terminal-code-snippet {
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 0.76rem;
  color: #E2E8F0;
  overflow-x: auto;
}

/* ===================================================================
   Editorial Section Layout System
   =================================================================== */
.section-wrapper {
  padding: 85px 0;
  position: relative;
}

.section-wrapper.subtle-bg {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.25;
}

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

/* ===================================================================
   Features Matrix & Objective Node Architecture (#features)
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue { background: #EFF6FF; color: var(--accent-primary); }
.icon-green { background: #ECFDF5; color: var(--accent-green); }
.icon-purple { background: #F5F3FF; color: #7C3AED; }

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-tag-mono {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-primary);
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  align-self: flex-start;
  border: 1px solid #DBEAFE;
}

/* Objective Node Architecture Card (Default FULLY EXPANDED) */
.node-network-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.node-region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.node-region-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.node-region-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.node-region-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===================================================================
   Workflow Section (#workflow - Default FULLY EXPANDED)
   =================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.workflow-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-lg);
}

.workflow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.workflow-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===================================================================
   6 Full Pricing Plans (#pricing - Responsive 3-Column Grid)
   =================================================================== */
.plans-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #BFDBFE;
}

.plan-card.featured {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 35%);
  box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.2);
}

.plan-top-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

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

.plan-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.plan-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.plan-tier-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tier-starter { background: #F1F5F9; color: #475569; }
.tier-standard { background: #EFF6FF; color: var(--accent-primary); }
.tier-pro { background: #ECFDF5; color: var(--accent-green); }
.tier-flagship { background: #FFFBEB; color: var(--accent-amber); }
.tier-geek { background: #F5F3FF; color: #7C3AED; }
.tier-enterprise { background: #0F172A; color: #38BDF8; }

.plan-price-box {
  margin-bottom: 22px;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.plan-bandwidth-badge {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-primary);
  background: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

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

.plan-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.45;
}

.plan-specs-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-plan-select {
  width: 100%;
  padding: 0 16px;
  min-height: 46px; /* Touch target >= 44x44px */
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  background: var(--bg-subtle);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border-light);
}

.btn-plan-select:hover {
  background: #E2E8F0;
}

.plan-card.featured .btn-plan-select {
  background: var(--accent-primary);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.plan-card.featured .btn-plan-select:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* ===================================================================
   Native HTML <details open> & <summary> FAQ Section (Fully Expanded)
   =================================================================== */
.faq-grid-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: border-color var(--transition-fast);
}

.faq-detail-card:hover {
  border-color: #CBD5E1;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  min-height: 44px; /* Touch target compliance */
}

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

.faq-summary-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 12px;
}

details[open] .faq-summary-icon {
  transform: rotate(180deg);
}

.faq-body-text {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-deep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-primary);
  min-height: 38px;
}

.faq-deep-link:hover {
  text-decoration: underline;
}

/* ===================================================================
   Knowledge Base Specific Styles (Dual-Column: Left 72% + Right 28% Sticky TOC)
   =================================================================== */
.kb-layout {
  display: grid;
  grid-template-columns: minmax(0, 72%) minmax(0, 28%);
  gap: 36px;
  padding: 40px 0 80px;
}

.kb-content-area {
  order: 1;
}

.kb-sidebar {
  order: 2;
  position: sticky;
  top: 96px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 960px) {
  .kb-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kb-sidebar {
    order: 1;
    position: static;
    max-height: none;
    margin-bottom: 12px;
  }
  .kb-content-area {
    order: 2;
  }
}

#art-1, #art-2, #art-3, #art-4, #art-5, #art-6 {
  scroll-margin-top: 96px;
}

.kb-main-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.kb-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.kb-main-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.kb-cross-nav-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.86rem;
}

.kb-cross-nav-title {
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.kb-cross-nav-link {
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.kb-cross-nav-link:hover {
  color: var(--accent-primary-hover);
  text-decoration: underline;
}

.kb-nav-group-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.kb-nav-list {
  list-style: none;
  margin-bottom: 24px;
}

.kb-nav-list li a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-height: 44px; /* Touch Target Compliance */
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.kb-nav-list li a:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.kb-nav-list li.active a {
  background: var(--accent-light);
  color: var(--accent-primary);
  font-weight: 600;
}

.kb-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.kb-article-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.kb-article-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: #EFF6FF;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid #DBEAFE;
}

.kb-article-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.kb-article-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.kb-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.kb-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.kb-body p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-body);
}

.kb-callout {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.callout-note {
  background: #EFF6FF;
  border-left: 4px solid var(--accent-primary);
  color: #1E40AF;
}

.callout-tip {
  background: #ECFDF5;
  border-left: 4px solid var(--accent-green);
  color: #065F46;
}

.callout-warning {
  background: #FFFBEB;
  border-left: 4px solid var(--accent-amber);
  color: #92400E;
}

.kb-code-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #CBD5E1;
  overflow-x: auto;
  position: relative;
}

.kb-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ===================================================================
   Footer - Modern Technical Editorial Style
   =================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 32px;
  margin-top: 60px;
}

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

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

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

/* Table Styles & Horizontal Scroll Isolation for Mobile */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}

.nodes-table th {
  text-align: left;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}

.nodes-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: top;
}

.nodes-table tr:hover td {
  background: #F8FAFC;
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1080px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .plans-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .node-region-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kb-layout { grid-template-columns: 1fr; }
  .kb-sidebar { position: static; max-height: none; }
}

@media (max-width: 768px) {
  .cute-navbar { padding: 4px 10px; }
  .nav-links-cute { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-headline { font-size: 2.1rem; }
  .plans-grid-6 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .faq-grid-details { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .hero-metrics-strip { grid-template-columns: 1fr; gap: 12px; }
  .kb-content-card { padding: 24px 18px; }
}
