/* ==========================================================================
   WIRED.DEV - DESIGN SYSTEM & STYLESHEET
   High-Performance Dark Theme, Glassmorphism & Cybernetic Glows
   ========================================================================== */

/* Scale the whole page so 100% browser zoom == former 80% zoom.
   Compensate with 125% min-height (100 / 0.8) so no blank gap appears at bottom. */
html {
  zoom: 0.8;
  min-height: 125%;
  background-color: #06070a;
}
body {
  margin: 0;
  min-height: 125vh;
  background-color: #06070a;
  overflow-x: hidden;
}

:root {
  /* Surface & Background */
  --bg-deep: #06070a;
  --bg-surface: #0a0d16;
  --bg-card: rgba(14, 18, 30, 0.75);
  --bg-card-hover: rgba(22, 28, 48, 0.85);
  --bg-elevated: #121728;
  
  /* Borders */
  --border-faint: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 92, 22, 0.35);
  --border-cyan: rgba(56, 189, 248, 0.3);
  
  /* Brand Accents */
  --accent-orange: #ff5722;
  --accent-orange-bright: #ff6d00;
  --accent-orange-glow: rgba(255, 87, 34, 0.35);
  --accent-gold: #ffaa00;
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  
  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Shadows & Glows */
  --glow-orange: 0 0 40px rgba(255, 87, 34, 0.28);
  --glow-ambient: 0 0 80px rgba(255, 87, 34, 0.12), 0 0 120px rgba(139, 92, 246, 0.08);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  
  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Radial Glows in Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 900px;
  background: 
    radial-gradient(ellipse 600px 400px at 75% 250px, rgba(255, 87, 34, 0.18), transparent 70%),
    radial-gradient(ellipse 500px 350px at 25% 150px, rgba(139, 92, 246, 0.12), transparent 70%),
    radial-gradient(circle 800px at 50% -100px, rgba(255, 110, 0, 0.08), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Background Grid Overlay */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 7, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-faint);
  transition: var(--transition);
}

.site-nav.scrolled {
  background: rgba(8, 10, 16, 0.92);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5722 0%, #ff8f00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.5);
}

.brand-icon-wrapper svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.brand-text {
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  background: rgba(255, 87, 34, 0.15);
  color: #ff8f00;
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 2px;
  font-weight: 600;
}

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

.nav-links li a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-signin {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 8px 16px;
}

.btn-signin:hover {
  color: #fff;
}

.btn-primary-sm {
  background: linear-gradient(135deg, #ff5722 0%, #ff7828 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 14px rgba(255, 87, 34, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.6);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 80px;
  position: relative;
  overflow: visible;
}

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

/* Left Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #ff9800;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5722;
  box-shadow: 0 0 8px #ff5722;
  animation: pulse 2s infinite ease-in-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #ff8f00 80%, #ff5722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff5722 0%, #ff7828 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 25px rgba(255, 87, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(255, 87, 34, 0.65);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 40px;
}

/* Trust / Metric Badges */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: #ff9800;
}

.trust-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Right Hero Visual: 3D Lightning Showcase */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lightning-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightning-backdrop-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 22, 0.35) 0%, rgba(255, 145, 0, 0.15) 40%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: breathe 5s infinite alternate ease-in-out;
}

.lightning-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.lightning-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 50px rgba(255, 87, 34, 0.45));
  transition: transform 0.2s cubic-bezier(0.1, 0.2, 0.3, 1);
  transform-style: preserve-3d;
}

/* Floating status tags around the lightning */
.floating-chip {
  position: absolute;
  background: rgba(14, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 6s infinite ease-in-out;
}

.floating-chip.top-left {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}

.floating-chip.bottom-right {
  bottom: 12%;
  right: -5%;
  animation-delay: 3s;
}

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

/* ==========================================================================
   WORKFLOW ARCHITECTURE SECTION (Interactive Stepper & Visual Graph)
   ========================================================================== */
.workflow-section {
  padding: 80px 0 100px;
  position: relative;
}

.section-header-compact {
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ff9800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Stepper Column on Left */
.stepper-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.step-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 18, 30, 0.4);
  border: 1px solid var(--border-faint);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.step-card:hover {
  background: rgba(20, 26, 44, 0.6);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.step-card.active {
  background: rgba(255, 87, 34, 0.08);
  border-color: rgba(255, 87, 34, 0.45);
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.12);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.step-card.active .step-title {
  color: #ff8f00;
}

.step-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.step-card.active .step-desc {
  color: var(--text-secondary);
}

/* Canvas / Node Graph Display on Right */
.pipeline-canvas-wrapper {
  background: rgba(11, 14, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
}

/* Live Simulation Bar */
.pipeline-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-faint);
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sim-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s infinite;
}

.btn-simulate {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-simulate:hover {
  background: rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.4);
  color: #ff9800;
}

/* Interactive SVG & HTML Node Graph */
.node-graph-container {
  position: relative;
  width: 100%;
  height: 340px;
}

.svg-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connector-line {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease;
}

.connector-line.active {
  stroke: url(#lineGradient);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px rgba(255, 87, 34, 0.6));
}

.stream-pulse {
  animation: flowWire 3s infinite linear;
}

/* Nodes */
.graph-node {
  position: absolute;
  z-index: 2;
  background: rgba(16, 21, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  cursor: pointer;
}

.graph-node:hover, .graph-node.highlighted {
  border-color: #ff7828;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.25);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon-box.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.node-icon-box.orange {
  background: rgba(255, 87, 34, 0.15);
  color: #ff7828;
  border: 1px solid rgba(255, 87, 34, 0.3);
}

.node-icon-box.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.node-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.node-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Node Positioning in the Diagram (Matching Reference) */
#node-trigger {
  top: 70px;
  left: 20px;
  width: 150px;
}

#node-orchestrator {
  top: 60px;
  left: 240px;
  width: 180px;
  border-color: rgba(255, 87, 34, 0.4);
}

#node-tools {
  top: 70px;
  left: 480px;
  width: 150px;
}

#node-subagent1 {
  bottom: 20px;
  left: 170px;
  width: 140px;
}

#node-subagent2 {
  bottom: 20px;
  left: 330px;
  width: 140px;
}

#node-subagent3 {
  bottom: 20px;
  left: 490px;
  width: 140px;
}

#node-output {
  top: 25px;
  right: 20px;
  width: 150px;
}

#node-human {
  bottom: 120px;
  right: 20px;
  width: 150px;
}

/* ==========================================================================
   BENTO GRID FEATURES SECTION
   ========================================================================== */
.bento-section {
  padding: 60px 0 100px;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.bento-left-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Bento Card Base */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Card 1: Observability Card (Wide) */
.card-observability {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.card-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.6);
}

.chip-preview-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 87, 34, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card 3: Visual & Code Editor Card */
.card-builder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.builder-ui-mockup {
  background: #090c16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

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

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.mockup-val {
  color: #38bdf8;
}

.mockup-pill-active {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-bullets svg {
  width: 16px;
  height: 16px;
  color: #ff9800;
  flex-shrink: 0;
}

/* Card 2: Autonomous Execution Tall Card */
.card-safety-tall {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.policy-item {
  background: rgba(9, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.policy-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.policy-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch.active {
  background: #ff5722;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(18px);
}

.confidence-meter-box {
  background: rgba(9, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 14px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.meter-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.meter-bar-fill {
  width: 98.6%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #ff9800);
  border-radius: 4px;
}

/* ==========================================================================
   METRICS & TESTIMONIALS SECTION (Bottom 3 Cards from Screenshot)
   ========================================================================== */
.proof-section {
  padding: 40px 0 100px;
  position: relative;
}

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

.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.proof-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.proof-quote {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.proof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-faint);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.proof-stat {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff9800;
  text-shadow: 0 0 12px rgba(255, 152, 0, 0.3);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 40px 0 100px;
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(25, 30, 52, 0.8) 0%, rgba(14, 17, 30, 0.95) 100%);
  border: 1px solid rgba(255, 87, 34, 0.3);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--glow-ambient);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FOOTER SECTION (Matching the 4 columns & bottom bar in screenshot)
   ========================================================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

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

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

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #10b981;
  width: fit-content;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

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

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links li a:hover {
  color: #ff9800;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-faint);
  font-size: 0.825rem;
  color: var(--text-muted);
}

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

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

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

@keyframes breathe {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 0.95; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes flowWire {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .workflow-layout {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-signin {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .card-observability, .card-builder {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
