/* ==========================================================================
   VectorForce Official Website — Stylesheet
   Static GitHub Pages Ready | Zero External Build Dependencies
   ========================================================================== */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1322;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(23, 35, 62, 0.88);
  --bg-glass: rgba(11, 17, 32, 0.8);
  --bg-code: #060911;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px -8px rgba(99, 102, 241, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

html.light {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-code: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-highlight: rgba(79, 70, 229, 0.45);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 35px -8px rgba(99, 102, 241, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
}

/* Background Ambient Mesh & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}

html.light .ambient-orb {
  opacity: 0.14;
}

.orb-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -140px;
  left: 12%;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: 260px;
  right: 8%;
}

.orb-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 15%;
  left: 20%;
}

/* Typography & Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar .container {
  max-width: 1380px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.light .gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

html.light .eyebrow {
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

section {
  padding: 96px 0;
  position: relative;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap !important;
  flex-shrink: 0;
}

html.light .brand-badge {
  color: #059669;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.65);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.btn-cloud-live {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(99, 102, 241, 0.2));
  border-color: rgba(245, 158, 11, 0.55);
  color: #fbbf24;
}

.btn-cloud-live:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(99, 102, 241, 0.3));
  border-color: #f59e0b;
  color: #fde68a;
  transform: translateY(-1px);
}

html.light .btn-cloud-live {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(99, 102, 241, 0.1));
  border-color: rgba(217, 119, 6, 0.6);
  color: #92400e;
  font-weight: 700;
}

html.light .btn-cloud-live:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(99, 102, 241, 0.16));
  border-color: #d97706;
  color: #78350f;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.mobile-menu-btn {
  display: none;
}

/* Off-Canvas Mobile Drawer & Backdrop */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--bg-surface, #0b1120);
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.mobile-nav-links a:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-cta-row .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* Quick Install Command Bar in Hero */
.quick-install-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-code);
  color: #e2e8f0;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 10px 14px 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  margin-bottom: 48px;
  max-width: 100%;
}

.quick-install-prompt {
  color: #10b981;
  user-select: none;
}

.quick-install-cmd {
  color: #f8fafc;
  white-space: nowrap;
  overflow-x: auto;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.copy-chip:hover {
  background: rgba(99, 102, 241, 0.32);
  color: #ffffff;
}

/* Supported Harnesses Strip */
.harness-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.harness-strip-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.harness-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.harness-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap !important;
  flex-shrink: 0;
}

html.light .harness-chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Intuitive Visual Metaphor: How It Works in 10 Seconds
   ========================================================================== */
.metaphor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 16px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.comparison-card.bad {
  border-top: 3px solid var(--accent-rose);
}

.comparison-card.good {
  border-top: 3px solid var(--accent-emerald);
  box-shadow: var(--shadow-glow);
}

.comparison-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.comparison-card.bad .comparison-tag {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
}

.comparison-card.good .comparison-tag {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}

html.light .comparison-card.bad .comparison-tag {
  color: #e11d48;
}

html.light .comparison-card.good .comparison-tag {
  color: #059669;
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.comparison-card p.desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

html.light .flow-step {
  background: rgba(241, 245, 249, 0.85);
}

.flow-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 1px;
}

.bad .flow-icon {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
}

.good .flow-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

/* ==========================================================================
   Demo Video Placeholder & Interactive Walkthrough Section
   ========================================================================== */
.video-showcase-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.video-frame-card {
  background: #080c17;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.video-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #0d1324;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.window-dots {
  display: flex;
  gap: 8px;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: radial-gradient(ellipse at 50% 35%, #161f3d 0%, #070a12 75%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  color: #f8fafc;
  overflow: hidden;
}

.video-stage video,
.video-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  z-index: 5;
}

.video-placeholder-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
  max-width: 680px;
}

.play-trigger-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #10b981 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 22px;
  box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.16), 0 12px 36px rgba(99, 102, 241, 0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 18px rgba(99, 102, 241, 0.24), 0 16px 44px rgba(99, 102, 241, 0.75);
}

.video-placeholder-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.video-placeholder-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.video-sim-screen {
  width: 100%;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #cbd5e1;
  min-height: 150px;
  margin-top: 8px;
}

.video-chapters-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 14px 20px;
  background: #0b1020;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chapter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.chapter-btn:hover,
.chapter-btn.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.45);
  color: #f8fafc;
}

.chapter-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #818cf8;
  margin-bottom: 2px;
}

.chapter-name {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
}

.video-replace-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

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

.feature-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.icon-indigo { background: rgba(99, 102, 241, 0.16); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.16); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-violet { background: rgba(139, 92, 246, 0.16); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.3); }
.icon-amber { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-cyan { background: rgba(6, 182, 212, 0.16); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-rose { background: rgba(244, 63, 94, 0.16); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Interactive Studio Control Center Preview
   ========================================================================== */
.studio-preview-shell {
  background: #080c16;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #f8fafc;
}

.studio-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: #0d1323;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.studio-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.studio-tab:hover,
.studio-tab.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #ffffff;
}

.studio-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 430px;
}

.studio-canvas {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08), transparent 70%);
}

.studio-inspector {
  padding: 28px;
  background: #0b101d;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topology-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 300;
  max-height: 310px;
}

.topo-node {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.topo-node rect {
  transition: all 0.2s ease;
}

.topo-node:hover rect,
.topo-node.selected rect {
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.55));
}

.inspector-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  width: fit-content;
}

.inspector-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
}

.inspector-card h5 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* ==========================================================================
   Installation & Quickstart Guide Section
   ========================================================================== */
.install-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.install-steps-nav {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.install-steps-nav h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.step-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.step-nav-item a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.16);
  color: #818cf8;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.install-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
}

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

.install-step-badge {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.install-step-card h3 {
  font-size: 1.32rem;
  font-weight: 750;
}

.install-step-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

/* Code Blocks */
.code-window {
  background: var(--bg-code);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 12px;
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
}

.code-pre {
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.code-comment { color: #64748b; }
.code-cmd { color: #34d399; }
.code-flag { color: #818cf8; }
.code-str { color: #fbbf24; }

/* Harness Tabs inside Installation Guide */
.harness-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.harness-tabs::-webkit-scrollbar {
  height: 4px;
}

.harness-tabs::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
  border-radius: 4px;
}

.harness-tab-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

html.light .harness-tab-btn {
  background: #f1f5f9;
}

.harness-tab-btn.active,
.harness-tab-btn:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: #6366f1;
  color: var(--text-primary);
}

/* ==========================================================================
   Interactive CLI & MCP Tools Explorer
   ========================================================================== */
.mcp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mcp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
}

.mcp-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.mcp-tool-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html.light .mcp-tool-name {
  color: #4f46e5;
}

.mcp-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
  background: var(--bg-secondary);
}

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

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

/* ==========================================================================
   Responsive Design (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .nav-github-btn {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .nav-github-btn {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .metaphor-grid,
  .studio-body,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .studio-canvas {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .install-steps-nav {
    position: static;
  }

  .step-nav-list {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
  }

  .step-nav-item {
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .features-grid,
  .mcp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-chapters-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cloud-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.85rem);
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .quick-install-box {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 14px;
    gap: 8px;
  }

  .quick-install-cmd {
    font-size: 0.8rem;
    max-width: 100%;
    overflow-x: auto;
  }

  .features-grid,
  .mcp-grid,
  .video-chapters-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .edition-switcher-banner {
    grid-template-columns: 1fr;
  }

  .cloud-feature-list {
    grid-template-columns: 1fr;
  }

  .install-step-card {
    padding: 20px 16px;
  }

  .code-window-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .code-pre {
    padding: 14px 14px;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .brand-badge {
    display: none;
  }

  .nav-cta-btn {
    display: none;
  }

  .hero-pills .pill {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

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

  .copy-chip {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   VectorForce Cloud & Post-Diwali (Nov 15) Customer Interest Section
   ========================================================================== */
.nav-cloud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(99, 102, 241, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24 !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-cloud-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

html.light .nav-cloud-pill {
  color: #92400e !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(99, 102, 241, 0.1));
  border-color: rgba(217, 119, 6, 0.5);
}

.cloud-badge-mini {
  background: #f59e0b;
  color: #090d16;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.edition-switcher-banner {
  max-width: 920px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-lg);
}

.edition-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.edition-switch-card.oss-active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.edition-switch-card.cloud-promo {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(99, 102, 241, 0.16));
  border-color: rgba(245, 158, 11, 0.45);
}

.edition-switch-card.cloud-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.2);
}

.cloud-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.1) 0%, rgba(99, 102, 241, 0.08) 45%, transparent 80%);
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}

.diwali-launch-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(236, 72, 153, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
}

.cloud-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

.cloud-Pitch-card,
.cloud-interest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(14px);
}

.cloud-interest-card {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(245, 158, 11, 0.12);
}

.cloud-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.cloud-feature-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}

html.light .cloud-feature-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.cloud-feature-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cloud-feature-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vote-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0 20px;
}

.vote-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

html.light .vote-option-btn {
  background: #f8fafc;
}

.vote-option-btn:hover,
.vote-option-btn.selected {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
}

.vote-option-btn.selected .vote-radio {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #090d16;
}

.vote-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.feature-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.feature-check-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.feature-check-pill.active {
  background: rgba(99, 102, 241, 0.22);
  border-color: #818cf8;
  color: #ffffff;
}

.cloud-form-group {
  margin-bottom: 14px;
}

.cloud-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cloud-input,
.cloud-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 22, 0.75);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

html.light .cloud-input,
html.light .cloud-select {
  background: #ffffff;
}

.cloud-input:focus,
.cloud-select:focus {
  outline: none;
  border-color: #f59e0b;
}

.btn-cloud-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #6366f1 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.btn-cloud-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.5);
}

@media (max-width: 820px) {
  .edition-switcher-banner,
  .cloud-feature-list {
    grid-template-columns: 1fr;
  }
}


