/* ==========================================================================
   Agent Fabric — Nimblersoft Agentic Design System Stylesheet
   ========================================================================== */

:root {
  /* DARK THEME SYSTEM TOKENS (SSOT) */
  --color-bg: #050a18;
  --color-bg-alt: #080f24;
  --color-surface: #0f1629;
  --color-surface-hover: #1a2240;
  --color-border: #252f55;
  --color-border-glow: rgba(0, 240, 255, 0.25);

  --color-text-primary: #f0f4ff;
  --color-text-secondary: #8b95b0;
  --color-text-muted: #5a6380;

  /* SIGNATURE ACCENTS */
  --color-cyan: #00f0ff;
  --color-cyan-hover: #00d4e0;
  --color-violet: #a855f7;
  --color-violet-hover: #9333ea;
  --color-indigo: #6366f1;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;

  /* GLASSMORPHISM */
  --color-glass-bg: rgba(15, 22, 41, 0.65);
  --color-glass-border: rgba(0, 240, 255, 0.12);
  --color-glass-strong-bg: rgba(15, 22, 41, 0.88);
  --color-glass-strong-border: rgba(168, 85, 247, 0.22);

  /* TYPOGRAPHY */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* SHADOWS & GLOWS */
  --shadow-cyan-glow: 0 0 25px rgba(0, 240, 255, 0.2), 0 0 50px rgba(0, 240, 255, 0.08);
  --shadow-violet-glow: 0 0 30px rgba(168, 85, 247, 0.22), 0 0 60px rgba(168, 85, 247, 0.1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);

  /* TRANSITIONS */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

/* Ambient Glow Spheres */
.glow-sphere {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: pulse-slow 8s ease-in-out infinite alternate;
}

.glow-cyan {
  background: radial-gradient(circle, var(--color-cyan) 0%, rgba(0, 240, 255, 0) 70%);
}

.glow-violet {
  background: radial-gradient(circle, var(--color-violet) 0%, rgba(168, 85, 247, 0) 70%);
}

@keyframes pulse-slow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
  50% { transform: scale(1.15) translate(20px, 30px); opacity: 0.4; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.25; }
}

/* Subtle Grid Background */
.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  background-image: 
    linear-gradient(to right, rgba(37, 47, 85, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 47, 85, 0.25) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
}

.glass-strong {
  background: var(--color-glass-strong-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-glass-strong-border);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 240, 255, 0.08);
  border-radius: 12px;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--color-cyan) 0%, #38bdf8 40%, var(--color-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050a18;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.version-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: rgba(0, 240, 255, 0.12);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-cyan) 0%, #00b4d8 100%);
  color: #050a18;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-cyan-hover) 0%, var(--color-cyan) 100%);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  z-index: 10;
}

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

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

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

/* Install Card */
.install-card {
  padding: 1.25rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.install-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.install-tab {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.install-tab.active, .install-tab:hover {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.1);
}

.install-command-bar {
  display: flex;
  align-items: center;
  background: #020611;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.cmd-prompt {
  color: var(--color-cyan);
  margin-right: 0.6rem;
  font-weight: 700;
  user-select: none;
}

.install-command-bar code {
  color: #f8fafc;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 0.5rem;
}

.btn-copy:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.install-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

/* Hero Badges / Counters */
.hero-badges {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.hero-badge {
  display: flex;
  flex-direction: column;
}

.badge-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-lbl {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Terminal Window Visual */
.terminal-window {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #020611;
  border-bottom: 1px solid var(--color-border);
}

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

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

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

.terminal-title {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

.terminal-lang {
  font-size: 0.7rem;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  background: rgba(0, 240, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.terminal-body {
  padding: 1.25rem;
  background: #080e1e;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  line-height: 1.7;
}

.term-line {
  margin-bottom: 0.15rem;
  word-break: break-all;
}

.term-dim { color: #475569; font-style: italic; }
.term-cyan { color: var(--color-cyan); }
.term-violet { color: var(--color-violet); font-weight: 600; }
.term-green { color: #34d399; }
.term-white { color: #e2e8f0; }
.term-gray { color: #94a3b8; }

/* Sections Shared */
section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

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

/* Compiler Showcase */
.compiler-box {
  padding: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.compiler-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
  overflow-x: auto;
}

.compiler-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.compiler-tab:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.compiler-tab.active {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

.tab-badge.ssot {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
  color: #050a18;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.compiler-content {
  padding: 1.25rem 0 0.5rem;
}

.compiler-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020611;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.compiler-file-path {
  color: #cbd5e1;
}

.target-badge {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.code-display {
  background: #040816;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.compiler-footer {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.feature-pill svg {
  color: var(--color-cyan);
}

/* Fleet Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.agent-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bg-cyan { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.4); }
.bg-violet { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.4); }
.bg-indigo { background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.4); }
.bg-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); }
.bg-amber { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); }
.bg-rose { background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.4); }

.agent-name {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-text-primary);
}

.profile-tier {
  display: block;
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-planner { color: var(--color-cyan); }
.tier-reviewer { color: var(--color-violet); }
.tier-supervisor { color: #818cf8; }
.tier-worker { color: #34d399; }

.agent-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.agent-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #94a3b8;
}

/* Architecture Grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.arch-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.arch-card:hover {
  border-color: var(--color-violet);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.arch-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.arch-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.arch-desc {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.arch-detail {
  padding: 0.5rem 0.75rem;
  background: #020611;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-cyan);
}

/* Workflow Stepper */
.workflow-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
}

.step-card {
  flex: 1;
  padding: 1.25rem;
  background: #080f24;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--color-cyan);
  margin-bottom: 0.4rem;
}

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

.step-desc {
  font-size: 0.775rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.step-arrow {
  color: var(--color-cyan);
  font-size: 1.2rem;
  padding: 0 0.25rem;
}

/* CLI Demo */
.cli-demo-box {
  padding: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.cli-command-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.cli-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cli-btn.active, .cli-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.cli-output-window {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cli-output-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020611;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  border-bottom: 1px solid var(--color-border);
}

.cli-active-cmd {
  color: var(--color-cyan);
}

.cli-status-badge {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.cli-output-pre {
  background: #040816;
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-height: 350px;
  overflow-y: auto;
}

/* Quickstart Grid */
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qs-card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
}

.qs-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text-primary);
}

.qs-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.qs-code-box {
  background: #020611;
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  overflow-x: auto;
}

/* Overrides Box */
.overrides-box {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.overrides-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.overrides-file {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-violet);
  background: rgba(168, 85, 247, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-cyan);
}

.faq-chevron {
  font-size: 1.1rem;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #020611;
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0.75rem 0 1.25rem;
  max-width: 320px;
}

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

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

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition-fast);
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-cyan);
  color: var(--color-text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.3);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .workflow-stepper {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .quickstart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .main-nav {
    display: none;
  }
  .hero-badges {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }
}
