/* 
   Follox.ai Premium Landing Page Style Sheet
   Visual Style: Tech Minimalist / Asymmetric Bento Grid
   Design Philosophy: Expensive, precise, deeply technical B2B aesthetics
*/

/* --- Premium Typography Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/google-sans');
@import url('https://cdn.jsdelivr.net/gh/mortezaom/google-sans-cdn@master/fonts.css');

/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --bg-obsidian: #0A0F1D;
  --bg-services: #03050C;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.45);
  --border-tech: #1E293B;
  --border-tech-glow: rgba(37, 99, 235, 0.45);
  --accent-blue: #2563EB;
  --accent-sky: #38BDF8;
  --accent-gradient: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --accent-gradient-hover: linear-gradient(135deg, #1D4ED8 0%, #0EA5E9 100%);
  --text-white: #FFFFFF;
  --text-gray: #94A3B8;
  --text-dim: #64748B;
  
  /* Fonts */
  --font-display: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Google Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Border Rules */
  --radius-sharp: 6px;
  
  /* Glow Shadows */
  --glow-subtle: 0 0 25px rgba(37, 99, 235, 0.15);
  --glow-medium: 0 0 40px rgba(37, 99, 235, 0.25);
  --glow-strong: 0 0 60px rgba(56, 189, 248, 0.35);
  
  /* Layout */
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: var(--bg-obsidian);
}

/* Technical Dotted Grid Overlay Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: 
    radial-gradient(var(--border-tech) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

/* Faint ambient electric blue radial glow in background center-top */
.ambient-glow-top {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 100%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-mid {
  position: absolute;
  top: 45%;
  left: 10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.02) 60%, transparent 100%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, rgba(56, 189, 248, 0.01) 60%, transparent 100%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--border-tech);
  border-radius: var(--radius-sharp);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* --- Standard Headings & Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-gray);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Structural Containers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

/* Technical Continuous Dividers and Glowing Nodes */
.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-tech) 20%, var(--border-tech) 80%, transparent);
  opacity: 0.8;
}

.divider-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-sky);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-sky);
  animation: dividerDotPulse 3s infinite ease-in-out;
}

@keyframes dividerDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 15px var(--accent-sky), 0 0 25px var(--accent-blue);
  }
}

/* --- Buttons & Inputs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sharp);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-white);
  border: none;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-medium);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-tech);
}

.btn-secondary:hover {
  border-color: var(--accent-sky);
  background: rgba(30, 41, 59, 0.4);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* --- Badge Tokens --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: var(--accent-sky);
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-sky);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-sky);
}

/* --- Component A: Sticky Global Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-tech);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 15, 29, 0.75);
  transition: padding 0.3s ease, background 0.3s ease;
  padding: 20px 0;
}

.navbar.shrunk {
  padding: 12px 0;
  background: rgba(10, 15, 29, 0.9);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.nav-logo span {
  font-family: 'Google Sans', 'Outfit', sans-serif;
  font-weight: 700;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sharp);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
}

.logo-dot {
  color: var(--accent-sky);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  padding: 8px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-cta .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }


/* --- Component B: Redesigned 2-Column Hero Section --- */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  text-align: left;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-graphic-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  /* Apply soft floating/breathing idle animation */
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  /* Screen mix-blend completely bleeds any residual dark crop pixels into background */
  mix-blend-mode: screen;
  filter: drop-shadow(0 15px 35px rgba(37, 99, 235, 0.15)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-graphic-wrapper:hover .hero-visual-img {
  transform: scale(1.03) translateY(-4px);
  filter: drop-shadow(0 25px 45px rgba(37, 99, 235, 0.25)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}

/* Neon Back-Glow Zone to simulate realistic mockup depth & lighting */
.hero-graphic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(30, 110, 255, 0.3) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-graphic-wrapper:hover .hero-graphic-glow {
  opacity: 1;
}

/* Premium 60fps breathing animation */
@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive constraints for smaller screens */
@media (max-width: 1024px) {
  .hero-graphic-wrapper {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .hero-graphic-wrapper {
    max-width: 420px;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .hero-graphic-wrapper {
    max-width: 320px;
  }
}



/* Dynamic Interactive Hero Engine Canvas */
.hero-engine-canvas {
  position: relative;
  height: 380px;
  width: 100%;
  background: #060913;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: 
    radial-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 80%);
  background-size: 24px 24px, 100% 100%;
  pointer-events: none;
}

.hero-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-flow-path {
  stroke-dasharray: 8 6;
  animation: heroFlowPulse 12s infinite linear;
  filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4));
}

@keyframes heroFlowPulse {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.hero-nodes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-side-nodes {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 24px 12px;
  z-index: 5;
}

.hero-inputs { left: 10px; width: 180px; align-items: flex-start; }
.hero-outputs { right: 10px; width: 180px; align-items: flex-end; }

/* Widescreen n8n-Style Custom App Node Card */
.hero-node-item {
  position: relative;
  width: 175px;
  height: 52px;
  background: rgba(10, 15, 30, 0.88);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  user-select: none;
}

.hero-node-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-color);
  box-shadow: 0 0 15px var(--brand-glow), 0 8px 25px rgba(0, 0, 0, 0.7);
}

/* App Icon Container inside Card */
.node-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-white);
}

/* Custom brand bg/color codes */
.trigger-icon { background: rgba(255, 255, 255, 0.08); color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.15); }
.stripe-bg { background: rgba(99, 91, 255, 0.18); color: #635BFF; border: 1px solid rgba(99, 91, 255, 0.25); }
.crm-bg { background: rgba(255, 122, 89, 0.18); color: #FF7A59; border: 1px solid rgba(255, 122, 89, 0.25); }
.sf-bg { background: rgba(0, 161, 224, 0.18); color: #00A1E0; border: 1px solid rgba(0, 161, 224, 0.25); }
.qb-bg { background: rgba(44, 160, 28, 0.18); color: #2CA01C; border: 1px solid rgba(44, 160, 28, 0.25); }
.slack-icon-bg { background: rgba(234, 179, 8, 0.18); color: #EAB308; border: 1px solid rgba(234, 179, 8, 0.25); }
.ai-agent-bg { background: rgba(217, 119, 6, 0.18); color: #D97706; border: 1px solid rgba(217, 119, 6, 0.25); }

/* Node Card Content */
.node-details {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1px;
}

.node-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

.node-type {
  font-size: 0.58rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1;
}

/* High-End n8n-Style Floating Badges */
.node-success-chk {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #070b16;
  color: white;
  font-size: 8px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
  z-index: 6;
}

.node-time-tag {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.52rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
}

/* Central Core */
.hero-central-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.core-radar-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-radar-rings .ring {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 50%;
}

.ring-1 { width: 70px; height: 70px; animation: corePulseRing 4s infinite linear; }
.ring-2 { width: 110px; height: 110px; animation: corePulseRing 4s infinite linear 1.3s; }
.ring-3 { width: 140px; height: 140px; animation: corePulseRing 4s infinite linear 2.6s; }

@keyframes corePulseRing {
  0% { transform: scale(0.6); opacity: 0.8; border-color: rgba(56, 189, 248, 0.1); }
  50% { border-color: rgba(37, 99, 235, 0.25); }
  100% { transform: scale(1.3); opacity: 0; border-color: rgba(56, 189, 248, 0); }
}

.core-card {
  background: rgba(13, 20, 42, 0.95);
  border: 1px solid var(--border-tech-glow);
  border-radius: var(--radius-sharp);
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--glow-medium), 0 8px 30px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  z-index: 12;
  transition: all 0.3s;
}

.core-card:hover {
  border-color: var(--accent-sky);
  transform: scale(1.05);
  box-shadow: var(--glow-strong);
}

.core-card svg {
  color: var(--accent-sky);
  animation: coreSpinIcon 10s infinite linear;
}

@keyframes coreSpinIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.core-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.core-val {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.core-lbl {
  font-size: 0.55rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Mobile responsive collapses for Hero Engine Simulation */
@media (max-width: 480px) {
  .hero-engine-canvas {
    height: 320px;
  }
  .hero-node-item {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 50% !important; /* Perfect circular app icon badges */
    justify-content: center;
    border-color: var(--brand-color) !important;
  }
  .node-details, .node-success-chk, .node-time-tag {
    display: none !important; /* Hide overlays and text completely on small viewports */
  }
  .node-icon {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
  }
  .hero-inputs { width: 45px; left: 10px; }
  .hero-outputs { width: 45px; right: 10px; }
  .hero-central-core {
    width: 100px;
    height: 100px;
  }
  .core-card {
    width: 80px;
    height: 80px;
  }
}

.hero-headline {
  font-size: 3.8rem;
  line-height: 1.1;
  max-width: 100%;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #FFFFFF 60%, var(--text-gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 100%;
  margin-bottom: 36px;
  line-height: 1.5;
  text-align: left;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}


/* --- Component C: The Friction Section (Before vs. After Split) --- */
.friction-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-gray);
}

.friction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 48px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}

/* The Friction Style */
.comparison-card.friction-left {
  background: rgba(20, 20, 25, 0.4);
}

.comparison-card.friction-left::before {
  background: rgba(239, 68, 68, 0.2); /* Low-key Red indicator */
}

/* The Engine (Follox.ai) Style */
.comparison-card.follox-right {
  border-color: var(--border-tech-glow);
  box-shadow: var(--glow-subtle);
}

.comparison-card.follox-right::before {
  background: var(--accent-gradient); /* Radiant Blue gradient */
}

.comparison-card.follox-right:hover {
  box-shadow: var(--glow-medium);
  border-color: var(--accent-sky);
}

.card-type-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 24px;
}

.friction-left .card-type-tag {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
}

.follox-right .card-type-tag {
  color: var(--accent-sky);
  background: rgba(37, 99, 235, 0.15);
}

.comparison-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.comparison-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.comparison-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.comparison-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.friction-left .comparison-features li svg {
  color: #EF4444;
}

.follox-right .comparison-features li svg {
  color: var(--accent-sky);
}


.bento-section {
  position: relative;
  background: linear-gradient(180deg, #050813 0%, var(--bg-services) 50%, #050813 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 24px;
}

/* Bento Card Defaults */
.bento-card {
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08) 0%, rgba(15, 23, 42, 0.75) 80%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-sharp);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  min-width: 0; /* Prevents children with large min-width from stretching the card */
}

/* --- Fail-Safe Progressive Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: scale(0.96) translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, border-color 0.4s, box-shadow 0.4s;
  will-change: transform, opacity;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.15);
}

/* Staggered entry delays for bento cards to create a premium wave reveal */
.bento-grid .bento-card:nth-child(1) { transition-delay: 0ms; }
.bento-grid .bento-card:nth-child(2) { transition-delay: 100ms; }
.bento-grid .bento-card:nth-child(3) { transition-delay: 200ms; }
.bento-grid .bento-card:nth-child(4) { transition-delay: 300ms; }
.bento-grid .bento-card:nth-child(5) { transition-delay: 400ms; }

.bento-card:hover {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12) 0%, rgba(30, 41, 59, 0.85) 80%);
  border-color: var(--accent-sky);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(10, 15, 29, 0.9), 0 0 30px rgba(56, 189, 248, 0.25);
}

/* Column configurations */
.bento-span-2 {
  grid-column: span 2;
}

.bento-span-1 {
  grid-column: span 1;
}

.bento-span-3 {
  grid-column: span 3;
}

/* Card Visuals Containers */
.bento-visual {
  height: 140px;
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.bento-card:hover .bento-visual {
  border-color: rgba(56, 189, 248, 0.15);
}

/* Custom Image Visuals for Bento Cards */
.image-visual {
  padding: 0 !important;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#bento-websites .bento-img {
  object-fit: cover;
  object-position: center top;
}

.bento-card:hover .bento-img {
  transform: scale(1.04);
}

.node-canvas-visual {
  height: 340px; /* Generous, expansive landscape height for spacious engineering map */
  background: #060913; 
  border-color: rgba(56, 189, 248, 0.15);
  position: relative;
  overflow-x: auto; /* Enable smooth horizontal scroll on mobile viewport */
  overflow-y: hidden;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
}

.canvas-inner {
  width: 100%;
  height: 100%;
  min-width: 960px; /* Locked to avoid overlapping and maintain gorgeous flow spacing on narrow screens */
  position: relative;
  overflow: hidden;
}

/* Glowing background radar grids */
.canvas-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: 
    radial-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  background-size: 28px 28px, 100% 100%;
  pointer-events: none;
}

/* SVG Connection Paths */
.canvas-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.flow-path {
  stroke-dasharray: 8 6;
  animation: flowAnimation 20s infinite linear;
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.3));
}

@keyframes flowAnimation {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

/* High-Tech Glowing Laser Scanner Line */
.canvas-laser {
  position: absolute;
  top: 0;
  left: -100px;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-sky), var(--accent-blue), transparent);
  box-shadow: 0 0 15px var(--accent-sky), 0 0 30px var(--accent-blue);
  opacity: 0.5;
  pointer-events: none;
  z-index: 4;
  animation: sweepingLaser 8s infinite linear;
}

@keyframes sweepingLaser {
  0% { left: -5%; }
  100% { left: 105%; }
}

/* Nodes Container */
.node-canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Glassmorphic Node Card */
.node-card {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto; /* Allow hovering on cards */
  user-select: none;
  width: 190px;
  height: 52px;
}

.node-card:hover {
  transform: translate(-50%, -50%) scale(1.05);
  border-color: var(--accent-sky);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25), 0 8px 30px rgba(0, 0, 0, 0.6);
}

.node-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}

.trigger-icon { background: rgba(56, 189, 248, 0.2); color: var(--accent-sky); border: 1px solid rgba(56, 189, 248, 0.3); }
.center-icon { background: rgba(37, 99, 235, 0.2); color: var(--text-white); border: 1px solid rgba(37, 99, 235, 0.4); }
.claude-bg { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.25); }
.db-bg { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.25); }
.slack-bg { background: rgba(234, 179, 8, 0.15); color: #EAB308; border: 1px solid rgba(234, 179, 8, 0.25); }
.jira-bg { background: rgba(37, 99, 235, 0.15); color: var(--accent-blue); border: 1px solid rgba(37, 99, 235, 0.25); }

/* Center Node: AI Orchestrator (Main Engine) */
.node-center {
  padding: 10px 18px;
  border-color: var(--border-tech-glow);
  background: rgba(13, 20, 42, 0.95);
  width: 210px;
  height: 60px;
  z-index: 10;
}

.node-center:hover {
  border-color: var(--accent-sky);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4), 0 8px 30px rgba(0, 0, 0, 0.7);
}

.node-pulsing::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius-sharp) + 1px);
  border: 1px solid var(--accent-sky);
  opacity: 0.8;
  animation: centerPulse 2.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes centerPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.15; }
  100% { transform: scale(1.1); opacity: 0; }
}

.node-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1px;
}

.node-info h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.1;
}

.node-center .node-info h4 {
  font-size: 0.92rem;
}

.node-info p {
  font-size: 0.65rem;
  color: var(--text-gray);
  margin: 0 !important;
  line-height: 1;
}
  }
}

.bento-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bento-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Tech Stack Badge Arrays */
.bento-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 8px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-tech);
  color: var(--text-white);
  border-radius: 4px;
}

/* ROI Highlight Banners */
.roi-banner {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: auto;
}

.roi-banner .roi-label {
  color: var(--text-dim);
  font-weight: 500;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.roi-banner .roi-value {
  color: var(--text-white);
  font-weight: 700;
  font-family: var(--font-display);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* Bento Card Specific Visualizations */

/* Card 1: Lead Gen pipeline animation */
.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 80%;
  justify-content: space-between;
}

.pipeline-node {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sharp);
  background: var(--bg-obsidian);
  border: 1px solid var(--border-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

.pipeline-node.active {
  border-color: var(--accent-sky);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.pipeline-connector {
  flex-grow: 1;
  height: 1px;
  background: var(--border-tech);
  position: relative;
}

.pipeline-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent-sky);
  box-shadow: 0 0 8px var(--accent-sky);
  animation: pipelinePulse 3s infinite linear;
}

.pipeline-connector:nth-child(2)::after {
  animation-delay: 0s;
}

.pipeline-connector:nth-child(4)::after {
  animation-delay: 1s;
}

.pipeline-connector:nth-child(6)::after {
  animation-delay: 2s;
}

/* Card 2: Customer Onboarding Sync Animation */
.onboarding-sync {
  width: 100%;
  padding: 0 24px;
}

.sync-bar {
  height: 12px;
  width: 100%;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-tech);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.sync-progress {
  height: 100%;
  width: 45%;
  background: var(--accent-gradient);
  border-radius: 4px;
  animation: syncMove 4s infinite ease-in-out;
}

.sync-status-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent-sky);
  text-align: center;
  margin-top: 10px;
}

/* Card 3: Custom Website Creation Visual */
.website-wireframe {
  width: 85%;
  height: 90px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-tech);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.wireframe-header {
  height: 24px;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid var(--border-tech);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.wireframe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.wireframe-dot.red { background: #EF4444; }
.wireframe-dot.yellow { background: #F59E0B; }
.wireframe-dot.green { background: #10B981; }

.wireframe-address {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--text-dim);
  background: rgba(10, 15, 29, 0.6);
  padding: 2px 12px;
  border-radius: 4px;
  margin-left: auto;
  border: 1px solid var(--border-tech);
}

.wireframe-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.wireframe-hero-line {
  height: 10px;
  background: var(--accent-gradient);
  border-radius: 2px;
  width: 70%;
  animation: pulseWidth 3s infinite ease-in-out;
}

.wireframe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wireframe-box {
  height: 24px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 3px;
}

@keyframes pulseWidth {
  0%, 100% { width: 70%; }
  50% { width: 85%; }
}

/* Card 4: Automated Invoicing Interactive Ledger Counter */
.ledger-view {
  width: 80%;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
  padding-bottom: 4px;
}

.ledger-amount {
  color: var(--text-white);
}

.ledger-status {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.ledger-status.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  animation: flashGreen 2.5s infinite ease-in-out;
}

/* Card 5: Custom AI Workflows full-width canvas */
.pipeline-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 40px;
}

.canvas-block {
  padding: 10px 20px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-white);
  position: relative;
  text-align: center;
}

.canvas-block.accented {
  border-color: var(--accent-blue);
  box-shadow: var(--glow-subtle);
}

.canvas-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-tech);
  animation: pulseColor 2s infinite ease-in-out;
}

.canvas-arrow.delayed {
  animation-delay: 1s;
}


/* --- Component E: Execution Architecture (How It Works) --- */
.process-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 29, 0.6) 50%, transparent 100%);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 40px;
}

/* Linear connector line behind cards */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 130px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--border-tech);
  z-index: 1;
}

/* Decorative progress light path overlay */
.process-timeline::after {
  content: '';
  position: absolute;
  top: 130px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-sky) 50%, transparent);
  box-shadow: 0 0 10px var(--accent-sky);
  z-index: 2;
  animation: pulseScan 6s infinite linear;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 40px;
  text-align: left;
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-tech-glow);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border-tech);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s;
}

.process-card:hover .process-step-num {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.process-card p {
  font-size: 0.95rem;
}

.process-deliverable {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-tech);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent-sky);
  font-weight: 600;
}


/* --- Component F: Enterprise Trust, Security & Risk Callout --- */
.security-section {
  position: relative;
}

.security-panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 29, 0.9) 100%);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 64px;
  box-shadow: 0 20px 50px rgba(10, 15, 29, 0.9);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Subtle glowing accent boundary on security panel */
.security-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.security-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 48px;
  align-items: center;
}

.security-hero h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #FFFFFF, var(--text-gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.security-hero p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.security-visual-lock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-sky);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-item {
  border-left: 2px solid var(--border-tech);
  padding-left: 24px;
  transition: all 0.3s ease;
}

.security-item:hover {
  border-color: var(--accent-sky);
}

.security-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.security-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.security-item:hover p {
  color: var(--text-gray);
}


/* --- Component G: Transparent Models & Final CTA --- */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

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

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.pricing-header .pricing-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-cost {
  margin-bottom: 32px;
}

.pricing-cost .cost-rate {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--text-white);
  font-weight: 700;
}

.pricing-cost .cost-period {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.pricing-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-tech);
  padding-top: 32px;
}

.pricing-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-details li svg {
  color: var(--accent-sky);
  flex-shrink: 0;
}

/* High impact Closing Banner + Lead Wizard */
.conversion-panel {
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12) 0%, var(--bg-services) 80%);
  border: 1px solid var(--border-tech-glow);
  border-radius: var(--radius-sharp);
  box-shadow: var(--glow-medium);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.conversion-panel.scroll-reveal.revealed {
  box-shadow: var(--glow-strong);
}

.conversion-panel h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.conversion-panel p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

/* Dynamic Wizard Container */
/* Dynamic Wizard Configurator */
.audit-wizard-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border-tech);
  background: rgba(10, 15, 29, 0.88);
  border-radius: var(--radius-sharp);
  padding: 36px;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(37, 99, 235, 0.04), 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Glowing Neon Header Badge & step-by-step indicator */
.wizard-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  padding: 4px 10px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-sky);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-sky);
  animation: badgeDotGlow 2s infinite ease-in-out;
}

@keyframes badgeDotGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px var(--accent-sky); }
}

.status-badge .badge-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-sky);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wizard-status-header .step-counter {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
}

.wizard-status-header .step-counter #wizard-step-name {
  color: var(--text-white);
  font-weight: 600;
}

.wizard-progress-bar {
  height: 4px;
  background: var(--border-tech);
  width: 100%;
  margin-bottom: 32px;
  position: relative;
  border-radius: 2px;
}

.wizard-progress-active {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-sky);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.wizard-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}

.wizard-step.active {
  display: block;
  animation: wizardStepSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wizardStepSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wizard-step-title .step-num {
  font-size: 0.85rem;
  color: var(--accent-sky);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.wizard-step-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* High-Fidelity Diagnostic Option Cards */
.wizard-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.wizard-option-btn {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 14px 20px;
  color: var(--text-gray);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.wizard-option-btn:hover {
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--text-white);
  background: rgba(30, 41, 59, 0.35);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.wizard-option-btn.selected {
  border-color: var(--accent-sky);
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Custom Circular Radio Indicators */
.option-radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-tech);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.wizard-option-btn:hover .option-radio-circle {
  border-color: rgba(56, 189, 248, 0.5);
}

.wizard-option-btn.selected .option-radio-circle {
  border-color: var(--accent-sky);
}

/* Pulsing sky-blue dot in center of selected option circle */
.wizard-option-btn.selected .option-radio-circle::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-sky);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-sky);
  animation: radioPulse 1.5s infinite ease-in-out;
  display: block;
}

@keyframes radioPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-sky), 0 0 18px var(--accent-blue); }
}

.option-text {
  pointer-events: none;
  font-size: 0.92rem;
}

/* Form Sizing and Fields */
.wizard-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.wizard-input-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-white);
  font-weight: 500;
}

.wizard-text-input {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-sharp);
  padding: 14px 18px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.wizard-text-input:focus {
  border-color: var(--accent-sky);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15), inset 0 0 8px rgba(56, 189, 248, 0.05);
  background: rgba(15, 23, 42, 0.85);
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.wizard-submit-success {
  text-align: center;
  padding: 20px 0;
}

.wizard-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sharp);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}


/* --- Footer Section --- */
.footer {
  border-top: 1px solid var(--border-tech);
  padding: 60px 0;
  background: var(--bg-obsidian);
  color: var(--text-dim);
}

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

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

.footer-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

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

.footer-right {
  font-size: 0.9rem;
}


/* --- Micro Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pipelinePulse {
  0% { left: 0%; width: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; width: 0%; opacity: 0; }
}

@keyframes syncMove {
  0% { left: 0%; width: 20%; }
  50% { left: 80%; width: 20%; }
  100% { left: 0%; width: 20%; }
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes pulseScan {
  0% { left: 0%; width: 0%; opacity: 0; }
  25% { width: 30%; opacity: 1; }
  75% { width: 30%; opacity: 1; }
  100% { left: 100%; width: 0%; opacity: 0; }
}

@keyframes pulseScanVertical {
  0% { top: 0%; height: 0%; opacity: 0; }
  25% { height: 30%; opacity: 1; }
  75% { height: 30%; opacity: 1; }
  100% { top: 100%; height: 0%; opacity: 0; }
}

@keyframes flashGreen {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); }
}

@keyframes pulseColor {
  0%, 100% { color: var(--border-tech); }
  50% { color: var(--accent-sky); text-shadow: 0 0 8px var(--accent-sky); }
}

/* --- Responsive Media Queries --- */

/* Tablet viewports (up to 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
    text-align: center;
  }
  
  .hero-subheadline {
    text-align: center;
  }
  
  .hero-headline {
    font-size: 2.8rem;
  }
  
  .section-header h2,
  .security-hero h2 {
    font-size: 2.0rem;
  }
  
  .conversion-panel h2 {
    font-size: 2.2rem;
  }
  
  .comparison-card h3,
  .pricing-header h3 {
    font-size: 1.5rem;
  }
  
  .bento-card h3 {
    font-size: 1.25rem;
  }
  
  .friction-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-span-3 {
    grid-column: span 2;
  }

  .bento-visual.image-visual {
    height: 185px;
  }
  
  .process-timeline {
    position: relative;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 54px; /* Offset to make space for the vertical breadcrumb line! */
  }
  
  .process-timeline::before {
    content: '';
    display: block !important;
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 20px;
    width: 2px;
    height: auto;
    background: var(--border-tech);
    z-index: 1;
  }
  
  .process-timeline::after {
    content: '';
    display: block !important;
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 20px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--accent-sky) 50%, transparent);
    box-shadow: 0 0 10px var(--accent-sky);
    z-index: 2;
    animation: pulseScanVertical 6s infinite linear;
  }
  
  .security-panel-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile Viewports (up to 768px) */
@media (max-width: 768px) {
  /* Section padding inherits the fluid clamp() declaration from root */
  
  .navbar {
    padding: 16px 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 29, 0.98);
    border-left: 1px solid var(--border-tech);
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-cta {
    display: none; /* hide standard header CTA on narrow screens, we have sections */
  }
  
  .hero-headline {
    font-size: 2.0rem;
  }
  
  .section-header h2,
  .security-hero h2 {
    font-size: 1.6rem;
  }
  
  .conversion-panel h2 {
    font-size: 1.75rem;
  }
  
  .wizard-status-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .comparison-card h3,
  .pricing-header h3 {
    font-size: 1.3rem;
  }
  
  .bento-card h3 {
    font-size: 1.25rem;
  }
  
  .hero-subheadline {
    font-size: 1.05rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-span-2,
  .bento-span-1,
  .bento-span-3 {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 24px;
  }
  
  .bento-visual.image-visual {
    height: 185px;
  }
  
  .comparison-card {
    padding: 24px;
  }
  
  .security-panel {
    padding: 32px;
  }
  
  .pricing-card {
    padding: 32px;
  }
  
  .conversion-panel {
    padding: 40px 20px;
  }
  
  .audit-wizard-container {
    padding: 20px;
  }
  
  .wizard-options-grid {
    grid-template-columns: 1fr;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-left {
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    gap: 16px;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile Viewports (up to 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
  }
}


