/* ============================================
   FLUYENTA - PALANTIR-INSPIRED DESIGN SYSTEM
   Authoritative. Spacious. Confident.
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Brand blue - matches logo */
  --brand: #2BA6FF;
  --brand-light: #5BBAFF;
  --brand-dark: #1A8FE6;
  --brand-subtle: rgba(43, 166, 255, 0.08);
  --brand-glow: rgba(43, 166, 255, 0.15);

  /* Legacy aliases */
  --neon-blue: var(--brand);
  --neon-blue-light: var(--brand-light);
  --neon-blue-dark: var(--brand-dark);
  --cyan: var(--brand);
  --cyan-light: var(--brand-light);

  --navy: #09090B;
  --navy-light: #0C0C0F;
  --navy-card: #111114;
  --navy-border: rgba(255, 255, 255, 0.06);
  --text-primary: #FAFAFA;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-dim: rgba(255, 255, 255, 0.2);
  --rule-color: rgba(255, 255, 255, 0.08);
  --section-padding: clamp(5rem, 10vw, 10rem);
  --content-max: 76rem;
  --content-narrow: 56rem;

  --purple: #A855F7;
  --orange: #F97316;
  --green: #10B981;
  --yellow: #EAB308;
  --red: #EF4444;
  --pink: #EC4899;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
.fluyenta-body {
  background: var(--navy);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  line-height: 1.6;
}

/* ============================================
   3. BACKGROUND - Minimal, no particles
   ============================================ */
.fluyenta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(43, 166, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.fluyenta-mesh,
.fluyenta-orbs,
.fluyenta-particles,
.fluyenta-grid,
.orb, .star, .particle {
  display: none !important;
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.fluyenta-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.fluyenta-navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--rule-color);
}

.fluyenta-navbar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fluyenta-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.fluyenta-logo-img {
  height: 1.75rem;
  width: auto;
}

.fluyenta-nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.fluyenta-nav-link {
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.fluyenta-nav-link:hover {
  color: var(--text-primary);
}

.fluyenta-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Nav CTA - restrained outline style for enterprise confidence */
.fluyenta-navbar .fluyenta-btn-glow {
  padding: 0.6rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand-light);
  letter-spacing: 0.02em;
}

.fluyenta-navbar .fluyenta-btn-glow:hover {
  background: var(--brand);
  color: white;
  transform: none;
}

@media (max-width: 768px) {
  .fluyenta-navbar-inner {
    padding: 1rem 1.5rem;
  }
  .fluyenta-nav-links {
    display: none;
  }
  .fluyenta-menu-toggle {
    display: block;
  }
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.fluyenta-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
}

.fluyenta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 2rem;
}

.fluyenta-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.fluyenta-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 2rem;
  max-width: 18ch;
}

.fluyenta-gradient-text {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fluyenta-text-glow {
  /* Removed - no glow in Palantir style */
}

.fluyenta-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
}

.fluyenta-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.fluyenta-social-proof,
.fluyenta-scroll-indicator {
  display: none;
}

/* ============================================
   6. BUTTONS
   ============================================ */
.fluyenta-btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: var(--brand);
  border: none;
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.fluyenta-btn-glow:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.fluyenta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--navy-border);
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.fluyenta-btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

/* ============================================
   7. SECTION DIVIDERS & STRUCTURE
   ============================================ */
.section-rule {
  width: 100%;
  height: 1px;
  background: var(--rule-color);
}

.fluyenta-section {
  padding: var(--section-padding) 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}

.fluyenta-section + .fluyenta-section {
  border-top: 1px solid var(--rule-color);
}

.fluyenta-section-header {
  margin-bottom: 4rem;
}

.fluyenta-section-header.centered {
  text-align: center;
}

.fluyenta-section-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  display: block;
  margin-bottom: 1rem;
}

.fluyenta-section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.fluyenta-section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.fluyenta-section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 48ch;
}

.fluyenta-section-header.centered .fluyenta-section-subtitle {
  margin: 0 auto;
}

.fluyenta-section-underline {
  display: none;
}

/* ============================================
   8. POWERED-BY STRIP
   ============================================ */
.fluyenta-powered-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid var(--rule-color);
  border-bottom: 1px solid var(--rule-color);
  flex-wrap: wrap;
}

.fluyenta-powered-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.fluyenta-powered-item svg {
  opacity: 0.4;
}

/* ============================================
   9. AGENT CARDS (Home page grid)
   ============================================ */
.fluyenta-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .fluyenta-agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fluyenta-agents-grid {
    grid-template-columns: 1fr;
  }
}

.agent-card {
  background: rgba(43, 166, 255, 0.04);
  padding: 2.5rem;
  transition: background 0.3s ease;
}

.agent-card:hover {
  background: rgba(43, 166, 255, 0.08);
}

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

.agent-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(43, 166, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  flex-shrink: 0;
}

.agent-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.agent-role {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

.agent-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.agent-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-card-stat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
}

/* ============================================
   10. PLATFORM GRID
   ============================================ */
.fluyenta-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .fluyenta-platform-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  padding: 2.5rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.platform-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.platform-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.platform-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Workflow card inside platform cards */
.workflow-card {
  padding: 1.25rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

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

.workflow-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.agent-badge-active {
  font-size: 0.625rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.workflow-steps {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.workflow-step-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.workflow-step-icon.blue { color: var(--neon-blue); background: rgba(43, 166, 255, 0.08); }
.workflow-step-icon.purple { color: var(--purple); background: rgba(168, 85, 247, 0.08); }
.workflow-step-icon.orange { color: var(--orange); background: rgba(249, 115, 22, 0.08); }
.workflow-step-icon.green { color: var(--green); background: rgba(16, 185, 129, 0.08); }
.workflow-step-icon.cyan { color: var(--cyan); background: rgba(56, 178, 172, 0.08); }
.workflow-step-icon.pink { color: var(--pink); background: rgba(236, 72, 153, 0.08); }

.workflow-step-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.workflow-connector {
  width: 2rem;
  height: 1px;
  background: var(--rule-color);
  flex-shrink: 0;
}

/* ============================================
   11. CAPABILITIES GRID
   ============================================ */
.fluyenta-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fluyenta-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fluyenta-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.capability-cell {
  background: rgba(43, 166, 255, 0.04);
  padding: 2.5rem;
  transition: background 0.3s ease;
}

.capability-cell:hover {
  background: rgba(43, 166, 255, 0.08);
}

.capability-icon {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.capability-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.capability-description {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================
   12. METRICS BAR
   ============================================ */
.fluyenta-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid var(--rule-color);
  border-bottom: 1px solid var(--rule-color);
}

@media (max-width: 768px) {
  .fluyenta-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-item {
  padding: 3.5rem 2.5rem;
  text-align: center;
  border-right: 1px solid var(--rule-color);
}

.metric-item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .metric-item:nth-child(2) {
    border-right: none;
  }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) {
    border-bottom: 1px solid var(--rule-color);
  }
}

.metric-value {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================
   13. PIPELINE (The Journey)
   ============================================ */
.fluyenta-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pipeline-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--rule-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.pipeline-step:hover .pipeline-number {
  border-color: var(--cyan);
  color: var(--cyan);
}

.pipeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pipeline-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ============================================
   14. CTA SECTION
   ============================================ */
.fluyenta-cta-section {
  text-align: center;
  padding: var(--section-padding) 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid var(--rule-color);
}

.fluyenta-cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.fluyenta-cta-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.fluyenta-inline-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.fluyenta-input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.fluyenta-input::placeholder {
  color: var(--text-dim);
}

.fluyenta-input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   14b. WAITLIST FORM
   ============================================ */
.fluyenta-form-container {
  max-width: 24rem;
  margin: 0 auto;
  padding: 3rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.015);
}

.fluyenta-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.fluyenta-form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   15. FEATURE CARDS (Features page)
   ============================================ */
.fluyenta-feature-card {
  padding: 2.5rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.fluyenta-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.fluyenta-feature-card.featured {
  border-color: rgba(43, 166, 255, 0.3);
  background: rgba(43, 166, 255, 0.03);
}

.fluyenta-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.fluyenta-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.fluyenta-feature-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Product cards (smaller) */
.fluyenta-product-card {
  padding: 2rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.fluyenta-product-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.fluyenta-product-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color, var(--text-muted));
  margin-bottom: 1rem;
}

.fluyenta-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.fluyenta-product-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* AI cards (Features page) */
.fluyenta-ai-card {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.fluyenta-ai-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.fluyenta-ai-icon {
  flex-shrink: 0;
  color: var(--text-dim);
}

/* ============================================
   16. AGENT PAGE STYLES
   ============================================ */
.agent-roster {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 2rem 4rem;
  max-width: var(--content-max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.agent-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.agent-chip:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.agent-section {
  border-top: 1px solid var(--rule-color);
}

.agent-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-padding) 2rem;
}

.agent-demo.reverse {
  direction: rtl;
}

.agent-demo.reverse > * {
  direction: ltr;
}

@media (max-width: 1024px) {
  .agent-demo {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .agent-demo.reverse {
    direction: ltr;
  }
}

.agent-info h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.agent-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-light);
  margin-bottom: 1.5rem;
}

.agent-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.agent-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.agent-stat {
  display: flex;
  flex-direction: column;
}

.agent-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.agent-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.agent-capabilities {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.agent-capability {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--rule-color);
  border-radius: 0.25rem;
  letter-spacing: 0.02em;
}

/* ============================================
   17. MOCKUPS (Demo UIs)
   ============================================ */
.mockup {
  border: 1px solid var(--rule-color);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--navy-card);
}

.mockup-bar {
  display: flex;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--rule-color);
}

.mockup-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mockup-dot.red { background: rgba(239, 68, 68, 0.4); }
.mockup-dot.yellow { background: rgba(234, 179, 8, 0.4); }
.mockup-dot.green { background: rgba(16, 185, 129, 0.4); }

.mockup-body {
  padding: 1.5rem;
}

/* Chat */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  padding: 0.875rem 1.125rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: 85%;
}

.msg-ai {
  background: rgba(43, 166, 255, 0.08);
  border: 1px solid rgba(43, 166, 255, 0.12);
  color: var(--text-secondary);
  align-self: flex-start;
}

.msg-lead {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-color);
  color: var(--text-secondary);
  align-self: flex-end;
}

/* Finance dashboard */
.finance-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.finance-card {
  padding: 1rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.02);
}

.finance-card-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.375rem;
}

.finance-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.finance-card-value.positive {
  color: var(--green);
}

.cashflow-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  padding: 1rem;
  height: 6rem;
}

.cashflow-bar {
  flex: 1;
  border-radius: 2px;
  min-height: 4px;
}

.cashflow-bar.income {
  background: rgba(43, 166, 255, 0.4);
}

.cashflow-bar.expense {
  background: rgba(255, 255, 255, 0.08);
}

/* Security feed */
.security-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.security-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.security-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-icon.success { color: var(--green); background: rgba(16, 185, 129, 0.1); }
.security-icon.warning { color: var(--yellow); background: rgba(234, 179, 8, 0.1); }
.security-icon.error { color: var(--red); background: rgba(239, 68, 68, 0.1); }

.security-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex: 1;
}

.security-time {
  font-size: 0.6875rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Forge terminal */
.forge-terminal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
}

.forge-line {
  display: flex;
  gap: 0.5rem;
}

.forge-prompt { color: var(--cyan); }
.forge-command { color: var(--text-primary); }
.forge-output { color: var(--text-muted); }
.forge-success { color: var(--green); }

/* Kanban */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

.kanban-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kanban-header {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-color);
  margin-bottom: 0.25rem;
}

.kanban-card {
  padding: 0.75rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.kanban-card-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.kanban-card-meta {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

/* Support inbox */
.support-inbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.support-ticket {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.ticket-priority {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-priority.high { background: var(--red); }
.ticket-priority.medium { background: var(--yellow); }
.ticket-priority.low { background: var(--text-dim); }

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-subject {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-meta {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.ticket-status {
  font-size: 0.625rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ticket-status.open { background: rgba(43, 166, 255, 0.1); color: var(--neon-blue-light); }
.ticket-status.resolved { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.ticket-status.pending { background: rgba(234, 179, 8, 0.1); color: var(--yellow); }

.csat-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.csat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.csat-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

/* Lead stream */
.lead-stream {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.lead-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.lead-info {
  flex: 1;
  min-width: 0;
}

.lead-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}

.lead-company {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.lead-source {
  font-size: 0.5625rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.lead-source.linkedin { background: rgba(43, 166, 255, 0.1); color: var(--neon-blue-light); }
.lead-source.website { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.lead-source.referral { background: rgba(168, 85, 247, 0.1); color: var(--purple); }

/* BPMN diagram */
.bpmn-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.bpmn-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bpmn-shape {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rule-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.bpmn-shape.start { border-color: rgba(16, 185, 129, 0.3); color: var(--green); }
.bpmn-shape.end { border-color: rgba(16, 185, 129, 0.3); color: var(--green); }
.bpmn-shape.gateway {
  border-radius: 50%;
  transform: rotate(45deg);
  border-color: rgba(234, 179, 8, 0.3);
  color: var(--yellow);
}

.bpmn-shape.gateway svg {
  transform: rotate(-45deg);
}

.bpmn-label {
  font-size: 0.625rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bpmn-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Dashboard (How it works) */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-stat {
  padding: 1rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
  text-align: center;
}

.dashboard-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-stat-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 4rem;
  padding: 0.75rem;
  border: 1px solid var(--rule-color);
  border-radius: 0.375rem;
}

.chart-bar {
  flex: 1;
  background: rgba(43, 166, 255, 0.3);
  border-radius: 2px;
  min-height: 4px;
  transition: background 0.3s ease;
}

.chart-bar:hover {
  background: rgba(43, 166, 255, 0.5);
}

/* ============================================
   18. HOW IT WORKS PAGE
   ============================================ */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 2rem 2rem;
}

.progress-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--cyan);
}

.how-step {
  border-top: 1px solid var(--rule-color);
}

.how-step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-padding) 2rem;
}

.how-step-content.reverse {
  direction: rtl;
}

.how-step-content.reverse > * {
  direction: ltr;
}

@media (max-width: 1024px) {
  .how-step-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .how-step-content.reverse {
    direction: ltr;
  }
}

.how-step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.how-step-number::before {
  content: '0';
}

.how-step-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.how-step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   19. ANIMATIONS
   ============================================ */

/* Fade up on load */
.fluyenta-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }
.reveal-delay-5 { transition-delay: 0.25s; }
.reveal-delay-6 { transition-delay: 0.3s; }

/* ============================================
   20. TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .two-col.reverse {
    direction: ltr;
  }
}

/* ============================================
   21. FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--rule-color) !important;
}

/* ============================================
   22. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .fluyenta-hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }

  .fluyenta-heading {
    max-width: 100%;
  }

  .fluyenta-agents-grid {
    grid-template-columns: 1fr;
  }

  .fluyenta-platform-grid {
    grid-template-columns: 1fr;
  }

  .fluyenta-pipeline {
    flex-direction: column;
    gap: 1rem;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
  }

  .fluyenta-powered-strip {
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .agent-stats {
    gap: 1.5rem;
  }
}

/* ============================================
   22b. RESPONSIVE — INLINE GRID OVERRIDES
   Pages use inline grid styles; these media
   queries collapse them on smaller screens.
   ============================================ */

/* 4-column timeline → 2 cols on tablet, 1 col on phone */
@media (max-width: 900px) {
  .fluyenta-section [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .fluyenta-section [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}

/* 3-column value-prop grids → 2 cols on tablet, 1 col on phone */
@media (max-width: 900px) {
  .fluyenta-section [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .fluyenta-section [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* 2-column model cards & use cases → 1 col on phone */
@media (max-width: 640px) {
  .fluyenta-section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Waitlist page hero metrics → wrap nicely */
@media (max-width: 640px) {
  .fluyenta-hero [style*="gap: 3.25rem"] {
    gap: 1.5rem !important;
  }
}

/* Waitlist countdown → smaller on mobile */
@media (max-width: 480px) {
  .fluyenta-hero [style*="gap: 6px"] {
    padding: 1rem 1.25rem !important;
  }
  .fluyenta-hero [style*="gap: 6px"] [style*="font-size: 3rem"] {
    font-size: 2.25rem !important;
  }
}

/* ============================================
   23. UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
