:root {
  /* Vibrant Color System (Hex-inspired) */
  --primary-purple: #8b5cf6;
  --primary-blue: #3b82f6;
  --primary-cyan: #8b5cf6;
  /* Overridden to Purple as per brand request */
  --accent-pink: #ec4899;
  --accent-orange: #f59e0b;
  --success-green: #10b981;

  /* Compatibility Aliases */
  --primary: var(--primary-purple);
  --accent: var(--primary-blue);

  /* Backgrounds */
  --background: #0a0e1a;
  --surface: rgba(15, 23, 42, 0.6);
  --surface-light: rgba(30, 41, 59, 0.4);

  /* Text */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-vibrant: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-purple-blue: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.5);
  --glow-blue: 0 0 40px rgba(59, 130, 246, 0.5);

  --pill-radius: 9999px;
}

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

html {
  font-size: 18px;
  /* Base font size as per expert critique */
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   ANIMATED GRADIENT BACKGROUND
   ======================================== */
.page-wrapper {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 10%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%),
    radial-gradient(ellipse at 80% 70%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%),
    radial-gradient(ellipse at 50% 50%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 50%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.02);
  }
}

.flow-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image: url("flow.png");
  background-size: cover;
  mix-blend-mode: screen;
}

/* ========================================
   GLASSMORPHISM UTILITIES
   ======================================== */

/* ========================================
   NAVBAR - Floating Glass
   ======================================== */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  padding: 0.75rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  transition: all 0.3s ease;
}

.navbar:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  /* Tightened gap */
  text-decoration: none !important;
  color: inherit !important;
}

.logo:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.logo-img {
  height: 48px;
  /* Increased from 32px */
  width: auto;
  filter: brightness(150%) drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.arch-node.primary {
  background: linear-gradient(135deg,
      rgba(139, 92, 246, 0.25),
      rgba(59, 130, 246, 0.25));
  border: 2px solid rgba(139, 92, 246, 0.8);
  box-shadow:
    0 0 50px rgba(139, 92, 246, 0.3),
    0 0 15px rgba(139, 92, 246, 0.6);
  font-size: 1.25rem;
  font-weight: 900;
  z-index: 10;
  /* Gradient Text */
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Restoration of background for the box itself requires a pseudo-element or separate container since text-fill-color transparent hides the background */
  /* Wait, if I set text-fill-color to transparent, the whole box text becomes gradient, but the background of the box disappears? */
  /* Yes. I need to be careful here. The user said "use this and the same colour scheme of STRAKE from the header for the arch diagram". */
  /* The header logo says: "background: var(--gradient-purple-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent;" */
  /* If I apply this to .arch-node.primary, the text will be gradient. But the box background will be lost if I apply it to the same element. */
  /* I should probably wrap the text in a span or apply the gradient to the text only. */
  /* Let's look at the HTML. The text is directly inside the div. */
  /* I will apply the gradient to the text via a new class if possible, or just modify the existing rule but keep the box background? */
  /* Actually, the user might want the BOX to be colored like that, or the TEXT? "same colour scheme of STRAKE from the header" implies the text style. */
  /* To do this without changing HTML, I can't easily have BOTH a gradient text AND a gradient border/background on the same element if I use background-clip: text on the container. */
  /* I'll wrap the text in a span in the next step or assume the user wants the text gradient and a simple dark background. */
  /* Actually, looking at the previous step, I saw "STRAKE" text is inside the div. */
  /* I will update the CSS to target everything, but I might need to update HTML index.html to wrap the text in a span for the text gradient if I want to preserve the box style. */
  /* Let's do the logo resizing first and the arch node update. */
}

.logo-text {
  font-weight: 800;
  /* Bolder */
  font-size: 1.15rem;
  /* Scaled for balance */
  letter-spacing: 0.05em;
  /* Added tracking */
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* No hover effects */
  transition: none !important;
  pointer-events: none;
  /* Disable mouse interactions for the text itself to avoid any potential accidental hovers from parent */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple-blue);
  transition: width 0.3s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

.github-icon svg {
  fill: var(--text-muted);
  transition: fill 0.2s;
}

.github-icon:hover svg {
  fill: var(--text-bright);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ========================================
   HERO SECTION - Hex Style (Simplified)
   ======================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  /* Reduced height slightly */
  display: flex;
  align-items: center;
  padding: 10rem 0 6rem;
  margin-top: 60px;
  overflow: hidden;
}

/* Layer 1: Blueprint Grid */
.technical-grid {
  position: fixed;
  /* Changed to fixed */
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  /* Stay behind content */
  pointer-events: none;
}

/* Disabled Distracting Animations */
.flow-lines,
.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Badge Row */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* Terminal Demo - Product Screenshot Style */
.terminal-demo {
  max-width: 800px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 60px -12px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(139, 92, 246, 0.15);
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.95),
      rgba(30, 41, 59, 0.95));
  backdrop-filter: blur(40px);
}

.terminal-header {
  padding: 1rem 1.5rem;
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
}

.terminal-dot:nth-child(1) {
  background: #ef4444;
}

.terminal-dot:nth-child(2) {
  background: #f59e0b;
}

.terminal-dot:nth-child(3) {
  background: #10b981;
}

.terminal-body {
  padding: 2rem;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-main);
}

.terminal-line {
  margin-bottom: 0.25rem;
  /* Tighter vertical spacing */
  white-space: normal;
}

.terminal-line span {
  margin: 0;
  padding: 0;
}

.terminal-output {
  color: var(--text-muted);
  padding-left: 2rem;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Hero Text */
.hero-section h1 {
  font-size: 2.66rem;
  /* 48px */
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.subheadline {
  font-size: 1.35rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.subheadline strong {
  color: var(--text-bright);
  font-weight: 600;
}

/* CTA Buttons - Vibrant */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-primary {
  padding: 1rem 2.5rem;
  background: var(--gradient-purple-blue);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 20px 40px rgba(139, 92, 246, 0.5);
}

.cta-secondary {
  padding: 1rem 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-bright);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

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

/* ========================================
   VISUAL PROOF MOCKUP
   ======================================== */
.visual-proof {
  max-width: 900px;
  margin: 4rem auto;
  background: #0f172a;
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: block;
}

.mockup-header {
  background: rgba(30, 41, 59, 0.9);
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal-dot:nth-child(1) {
  background: #ef4444;
}

.terminal-dot:nth-child(2) {
  background: #f59e0b;
}

.terminal-dot:nth-child(3) {
  background: #10b981;
}

.mockup-title {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.mockup-content {
  padding: 2.5rem;
}

.agent-interaction {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agent-query {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  /* Scaled up 20% */
  color: var(--text-bright);
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--primary-purple);
  width: 0;
  animation:
    typing 2.5s steps(40, end) forwards,
    blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--primary-purple);
  }
}

.agent-name {
  color: var(--primary-purple);
}

.strake-process {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* More whitespace between steps */
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.process-step {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.process-step:nth-child(1) {
  animation-delay: 2.7s;
}

.process-step:nth-child(2) {
  animation-delay: 3.2s;
}

.process-step:nth-child(3) {
  animation-delay: 3.7s;
}

.process-step:nth-child(4) {
  animation-delay: 4.2s;
}

.agent-response {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 4.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.agent-response {
  background: rgba(139, 92, 246, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  /* Expanded padding for heroic payoff */
  border: 1.5px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.data-result table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
}

.data-result th {
  text-align: left;
  color: var(--primary-cyan);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-result td {
  padding-top: 0.5rem;
  color: var(--text-main);
}

.data-result td.status-accent-red {
  color: #f87171;
  /* Softer, brand-harmonized red */
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.data-result td.status-accent-amber {
  color: #fbbf24;
  /* Softer, brand-harmonized amber */
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

/* ========================================
   CONNECTORS PAGE STYLES
   ======================================== */

/* ========================================
   QUICK START SECTION
   ======================================== */
.quick-start {
  text-align: center;
  margin-bottom: 3rem;
}

.quick-start-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.docker-command-container.hero-variant {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* ========================================
   SECTIONS - Modern Cards
   ======================================== */
.section {
  padding: 8rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.15);
  /* Lightened purple background */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: #c4b5fd;
  /* Brighter purple for better contrast */
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.sub-header {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-purple-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* .feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(139, 92, 246, 0.1);
} */

.icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.icon svg {
  width: 64px;
  height: 64px;
  stroke-width: 2.5px;
}

.template-card:hover .icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.9));
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.7));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-purple);
  stroke-width: 2.5;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  /* filter: drop-shadow(0 0 40px rgba(139, 92, 246, 1)); */
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Comparison Table - Vibrant */
.comparison-section {
  padding: 8rem 0;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(139, 92, 246, 0.05) 50%,
      transparent 100%);
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  padding: 3rem;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  position: relative;
  transition: all 0.4s;
}

.comparison-card.featured {
  background: rgba(139, 92, 246, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.1);
}

.comparison-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1.25rem;
  background: var(--gradient-purple-blue);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.comparison-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1.5rem 0;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--success-green);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-list strong {
  color: var(--text-bright);
}

.feature-list.warning li::before {
  content: none;
}

/* RAG Comparison List (No automatic checkmarks, relies on inline SVGs) */
.rag-comparison-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.rag-comparison-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.rag-comparison-list strong {
  color: var(--text-bright);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-purple-blue);
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-bright);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 14, 26, 0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ========================================
   ANIMATED ARCHITECTURE DIAGRAM (SVG)
   ======================================== */
.arch-svg-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 0 auto;
}

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

.arch-node {
  position: absolute;
  width: 140px;
  padding: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.arch-node.primary {
  background: linear-gradient(135deg,
      rgba(139, 92, 246, 0.25),
      rgba(59, 130, 246, 0.25));
  border: 2px solid rgba(139, 92, 246, 0.8);
  box-shadow:
    0 0 50px rgba(139, 92, 246, 0.3),
    0 0 15px rgba(139, 92, 246, 0.6);
  font-size: 1.1rem;
  font-weight: 800;
  z-index: 10;
  transition: none !important;
  pointer-events: none;
}

.arch-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.arch-node .sub-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* SVG Paths */
.connection-path {
  fill: none;
  stroke: url(#gradient-stroke);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.3;
}

.connection-flow {
  fill: none;
  stroke: url(#gradient-flow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 10;
  animation: flowAnimation 1s linear infinite;
  opacity: 0.8;
}

@keyframes flowAnimation {
  to {
    stroke-dashoffset: -20;
  }
}

.arch-annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.arch-annotation {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Copy Button */
.terminal-demo {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.copy-button.copied {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}



/* ========================================
   ARCHITECTURE DIAGRAM SECTION
   ======================================== */
.arch-groups {
  position: relative;
  width: 100%;
  height: 500px;
  /* Base height for desktop */
}

.arch-group {
  position: static;
}

.arch-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--primary-purple);
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Container reset */
  .arch-svg-container {
    height: auto;
    padding: 2rem 0;
  }

  .arch-svg-container svg {
    display: none;
  }

  /* Vertical stack with explicit structure */
  .arch-groups {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: auto;
    position: relative;
  }

  /* Each group is a flex container for its nodes */
  .arch-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 0;
    position: relative;
  }

  /* Labels */
  .arch-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    opacity: 0.9;
  }

  /* Node styling - static positioning */
  .arch-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 85%;
    max-width: 280px;
    margin: 0;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    z-index: 2;
  }

  /* Center node - emphasized but NOT sticky */
  .arch-node.primary {
    width: 90%;
    max-width: 300px;
    padding: 1.5rem;
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.3),
        rgba(59, 130, 246, 0.3));
    border: 2px solid rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transform: none;
    margin: 0.5rem 0;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  .arch-node.primary .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Sub-text always visible */
  .arch-node .sub-text {
    display: block;
    font-size: 0.75rem;
    color: #10b981;
    margin-top: 0.4rem;
    font-weight: 500;
  }

  /* Connector lines - explicit divs */
  .arch-connector {
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom,
        rgba(139, 92, 246, 0.3),
        rgba(139, 92, 246, 0.8));
    position: relative;
    margin: -0.5rem 0;
    z-index: 1;
  }

  .arch-connector::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-purple);
    animation: pulse 2s infinite;
  }

  .arch-connector.reverse {
    background: linear-gradient(to top,
        rgba(139, 92, 246, 0.3),
        rgba(139, 92, 246, 0.8));
  }

  .arch-connector.reverse::after {
    top: -4px;
    bottom: auto;
  }

  @keyframes pulse {

    0%,
    100% {
      opacity: 0.6;
      transform: translateX(-50%) scale(1);
    }

    50% {
      opacity: 1;
      transform: translateX(-50%) scale(1.2);
    }
  }

  /* REMOVE sticky positioning that was causing bugs */
  .arch-group.core {
    position: relative;
    z-index: auto;
    margin: 0;
    padding: 1.5rem 0;
  }

  /* Navbar mobile */
  .navbar {
    top: 1rem;
    width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-bright);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .logo-img {
    height: 32px;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    /* Prevent child overflow from stretching container */
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-nav-links {
    list-style: none;
    text-align: center;
  }

  .mobile-nav-links li {
    margin: 2rem 0;
  }

  .mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    text-decoration: none;
  }

  /* Hero mobile */
  .hero-section {
    padding: 6rem 0 3rem;
    margin-top: 60px;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .terminal-demo {
    margin: 0 auto 2rem;
    max-width: 100%;
    overflow-x: auto;
  }

  .terminal-body {
    padding: 1rem;
    font-size: 0.65rem;
    overflow-x: auto;
  }

  .visual-proof {
    margin: 2rem 0;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  .mockup-content {
    padding: 1.25rem;
    word-break: break-word;
    /* Ensure long words wrap */
  }

  /* Target the inline-styled code blocks inside visual-proof */
  .strake-process .process-step {
    padding-left: 0.5rem !important;
    font-size: 0.75rem !important;
    word-break: break-all;
  }

  .agent-interaction {
    gap: 1rem;
  }

  .data-result table {
    font-size: 0.75rem;
  }

  .agent-query {
    font-size: 0.85rem;
    white-space: normal;
    width: auto !important;
    border-right: none !important;
    animation: fadeIn 0.8s ease forwards !important;
  }

  .cta-buttons {
    flex-direction: column;
    padding: 0;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    text-align: center;
  }

  h2 {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-cards {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}


/* Utilities */
.text-center {
  text-align: center;
}

body.no-scroll {
  overflow: hidden;
}

/* ========================================
   LOGO CLOUD - Social Proof
   ======================================== */

/* ========================================
   SPACIOUS SHOWCASES
   ======================================== */
.showcase-section {
  padding: 8rem 0;
}

.showcase-grid {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.showcase-grid.reverse {
  flex-direction: row-reverse;
}

.showcase-image {
  flex: 1.2;
  position: relative;
}

.showcase-content {
  flex: 1;
}

.showcase-content h2 {
  text-align: left;
  margin-bottom: 2rem;
  /* line-height: 1.1; */
}

.showcase-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========================================
   REFINED FOOTER
   ======================================== */

@media (max-width: 992px) {
  .showcase-grid {
    flex-direction: column !important;
    gap: 4rem;
    text-align: center;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.faq-card {
  padding: 2rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .faq-card {
    padding: 1.5rem;
  }
}

.faq-card h4 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   REPORT & LEGAL PAGE STYLES
   ======================================== */
.report-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  padding-top: 140px;
  /* Fix for fixed navbar */
}

.report-header {
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 2rem;
  text-align: center;
}

.report-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.report-section {
  margin-bottom: 4rem;
}

.report-section h2 {
  color: var(--primary-purple);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.report-section h3 {
  color: var(--primary-purple);
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.report-section p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-purple);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.back-link:hover {
  transform: translateX(-4px);
}