/* ========================================
   RESTTRANSIT - CINEMATIC SPRING EDITION
   ======================================== */

/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Corporate Colors - Premium & Professional */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-surface: rgba(241, 245, 249, 0.8);
  
  /* Premium Accent Colors - Monochromatic/Silver */
  --gold: #94a3b8; /* slate-400 */
  --gold-light: #cbd5e1; /* slate-300 */
  --gold-soft: rgba(148, 163, 184, 0.08);
  --amber: #64748b; /* slate-500 */
  --amber-soft: rgba(100, 116, 139, 0.08);
  --sky: #475569; /* slate-600 */
  --sky-light: #94a3b8;
  --sky-soft: rgba(71, 85, 105, 0.08);
  --emerald: #334155; /* slate-700 */
  --emerald-soft: rgba(51, 65, 85, 0.08);
  --mint: #0f172a; /* slate-900 */
  --mint-soft: rgba(15, 23, 42, 0.08);
  --gradient-mint: linear-gradient(135deg, #475569 0%, #0f172a 100%);
  --lavender: #64748b;
  --lavender-soft: rgba(100, 116, 139, 0.08);
  
  /* Dark Text Hierarchy for Light Theme */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-accent: #334155;
  
  /* Light Glassmorphism - Ultra Subtle Green */
  --glass-bg: rgba(240, 253, 244, 0.45);
  --glass-bg-hover: rgba(220, 252, 231, 0.6);
  --glass-border: rgba(148, 163, 184, 0.15);
  --glass-border-hover: rgba(52, 211, 153, 0.3);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  --glass-glow: 0 0 40px rgba(52, 211, 153, 0.08);
  
  /* Light Theme Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-large: 0 20px 80px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 0 30px rgba(100, 116, 139, 0.15);
  --shadow-sky: 0 0 30px rgba(71, 85, 105, 0.15);
  
  /* Light Corporate Gradients */
  --gradient-primary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --gradient-gold: linear-gradient(135deg, #475569 0%, #64748b 50%, #334155 100%);
  --gradient-sky: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 50%, #64748b 100%);
  --gradient-mesh: 
    radial-gradient(ellipse at 20% 20%, rgba(148, 163, 184, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(100, 116, 139, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(71, 85, 105, 0.04) 0%, transparent 50%);
  
  /* Spacing */
  --container: 1400px;
  --section-padding: 140px;
  
  /* Timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--gradient-primary);
  background-attachment: fixed;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: -1;
}

/* ===== CINEMATIC GRAIN ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  will-change: transform;
  animation: noiseScramble 8s steps(4) infinite;
}

@keyframes noiseScramble {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, -2%); }
  50% { transform: translate(2%, -1%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ===== WEBGL BACKGROUND ===== */
.webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/* Grain Overlay - REMOVED for minimalism */
.grain-overlay {
  display: none;
}

/* ===== FLUID CURSOR ===== */
.fluid-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
}

.cursor-core {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
}

/* ===== PROGRESS RING ===== */
.progress-ring {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.progress-ring.visible {
  opacity: 1;
}

.progress-ring svg {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: var(--glass-border);
  stroke-width: 3;
}

.progress-ring-fill {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.1s;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

.nav-blur {
  position: absolute;
  inset: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.nav-container {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Morph */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: #ffffff;
  padding: 8px 18px 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 136, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-logo:hover .logo-badge {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 255, 136, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.logo-svg-inline {
  width: 36px;
  height: 36px;
  overflow: visible;
  flex-shrink: 0;
}

.badge-text-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.logo-text {
  display: none;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s var(--ease-out);
  padding: 8px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

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

.nav-cta {
  display: flex;
  gap: 16px;
}

/* Magnetic Toggle */
.magnetic-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
}

.magnetic-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

/* Premium Glass Button */
.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
  box-shadow: var(--glass-glow);
  transform: translateY(-2px);
}

/* Liquid Gold Button */
.btn-liquid {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}



.liquid-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-liquid:hover .liquid-bg {
  opacity: 1;
}

.btn-liquid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.btn-liquid:hover .btn-arrow {
  transform: translateX(4px);
}

/* Glass Outline Button */
.btn-ghost-outline {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 2px solid var(--glass-border);
  color: var(--text-secondary);
}

.btn-ghost-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  box-shadow: var(--shadow-gold);
}

.btn-ghost-outline svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Premium Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(16, 185, 129, 0.4);
}

.btn-gradient .btn-text {
  position: relative;
  z-index: 1;
}

/* Sky Outline Button */
.btn-outline {
  background: transparent;
  border: 2px solid var(--sky);
  color: var(--sky);
}

.btn-outline:hover {
  background: var(--sky);
  color: var(--bg-primary);
  box-shadow: var(--shadow-sky);
}

/* ===== MATRIX BACKGROUND ===== */
#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Premium Badge */
.badge-float {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-muted);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s var(--ease-out);
}

.badge-float:hover {
  background: var(--glass-bg-hover);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--glass-glow);
}

.badge-dot {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.badge-text {
  
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Title */
.hero-title {
  
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: revealLine 0.8s var(--ease-out) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.15s;
}

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

.gradient-text {
  background: linear-gradient(135deg, #334155 0%, #94a3b8 33%, #475569 66%, #334155 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  filter: drop-shadow(0 4px 20px rgba(100, 116, 139, 0.1));
  animation: liquidGradient 8s linear infinite;
}

@keyframes liquidGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle-panel {
  margin: 0 auto 40px;
  max-width: 760px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 4px solid var(--mint);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-subtitle-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin: 0;
}

.hero-subtitle-panel .hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-subtitle-panel::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 120px;
  
  color: rgba(16, 185, 129, 0.05); /* very subtle mint quote mark */
  line-height: 1;
  pointer-events: none;
}

.highlight-word {
  display: inline-block;
  font-weight: 600;
  padding: 0 4px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-word.mint {
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.1);
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.highlight-word.mint:hover {
  color: #fff;
  background: rgba(16, 185, 129, 0.9);
  border-color: rgba(16, 185, 129, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.highlight-word.gold {
  color: #475569;
  background: rgba(71, 85, 105, 0.08);
  border-bottom: 2px solid rgba(71, 85, 105, 0.2);
}

.highlight-word.gold:hover {
  color: #fff;
  background: #475569;
  border-color: #475569;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.2);
  transform: translateY(-1px);
}

.highlight-word.sky {
  color: #64748b;
  background: rgba(100, 116, 139, 0.08);
  border-bottom: 2px solid rgba(100, 116, 139, 0.2);
}

.highlight-word.sky:hover {
  color: #fff;
  background: #64748b;
  border-color: #64748b;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
  transform: translateY(-1px);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

/* ===== HERO FLOW DIAGRAM ===== */
.hero-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 700px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: var(--glass-blur);
  position: relative;
  transition: all 0.3s;
}

.flow-node.highlight {
  border-color: var(--mint);
  box-shadow: var(--glass-glow);
}

.flow-node.success {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.flow-icon {
  font-size: 20px;
}

.flow-text {
  
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-line {
  height: 2px;
  flex: 1;
  background: rgba(148, 163, 184, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.flow-particle {
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  animation: flowMove 2s infinite linear;
}

.flow-particle.delay-1 { animation-delay: 0.6s; }
.flow-particle.delay-2 { animation-delay: 1.2s; }

@keyframes flowMove {
  0% { left: -20px; }
  100% { left: 100%; }
}

/* ===== AI TERMINAL LOG ===== */
.ai-terminal-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}

.ai-terminal {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  text-align: left;
}

.terminal-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}
.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #10b981; }

.terminal-title {
  
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  
  font-size: 10px;
  color: #10b981;
  font-weight: 700;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.terminal-body {
  padding: 16px;
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-entry {
  
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.log-time {
  color: #64748b;
  margin-right: 8px;
}

.log-agent {
  color: #10b981;
  margin-right: 8px;
  font-weight: 600;
}

.log-success { color: #3b82f6; }
.log-warning { color: #f59e0b; }

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

.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.trust-section {
  padding: 40px 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--container);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  min-height: 80px;
}

.trust-item:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--mint);
  position: relative;
  overflow: hidden;
}



.trust-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trust-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual - Dashboard */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 460px;
  z-index: 2;
}

/* Hero Visual - Deconstructed Dashboard Area */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 520px;
  z-index: 2;
}

/* Floating Glass Capsules (Suspended weightless panels) */
.float-capsule {
  position: absolute;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.04),
              0 1px 1px 0 rgba(255, 255, 255, 0.5) inset;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.float-capsule:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 15px 45px -5px rgba(16, 185, 129, 0.08),
              0 1px 1px 0 rgba(255, 255, 255, 0.6) inset;
}

/* Coordinates for Staggered Weightless Floating Look */
.decl-card {
  top: 10px;
  left: 20px;
  width: 290px;
  z-index: 5;
}

.route-card {
  top: 110px;
  right: 0px;
  width: 350px;
  z-index: 4;
}

.console-card {
  bottom: 10px;
  left: 0px;
  width: 390px;
  height: 230px;
  z-index: 6;
  display: flex;
  flex-direction: column;
}

.metric-card {
  bottom: 120px;
  right: 10px;
  width: 240px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  
  font-size: 11px;
  color: var(--text-secondary);
}

.capsule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 8px;
}

.badge-auto {
  
  font-size: 10px;
  font-weight: 700;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 8px;
  
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint);
  animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.declaration-details {
  display: flex;
  gap: 16px;
  
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.decl-id {
  font-weight: 700;
  color: var(--gold);
}

.route-map {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.route-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s;
  flex-shrink: 0;
}

.route-node.active {
  background: var(--mint);
  color: white;
  border-color: var(--mint);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.route-node.completed {
  background: var(--mint-soft);
  color: var(--mint);
  border-color: var(--mint);
}

.route-line {
  flex: 1;
  height: 3px;
  background: var(--glass-border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.route-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--mint);
  transition: width 0.3s ease;
}

.eta-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eta-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-bar-wrap {
  height: 6px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-mint);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.console-logs {
  flex: 1;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 12px;
  overflow-y: auto;
  
  font-size: 11px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

/* Custom scrollbar for logs console */
.console-logs::-webkit-scrollbar {
  width: 4px;
}

.console-logs::-webkit-scrollbar-track {
  background: transparent;
}

.console-logs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.console-logs::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.console-line {
  animation: logReveal 0.3s ease-out forwards;
  opacity: 0;
  transform: translateY(5px);
}

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

.log-tag {
  font-weight: 700;
  margin-right: 6px;
}

.log-tag.system { color: var(--text-muted); }
.log-tag.doc { color: #3b82f6; }
.log-tag.sign { color: #8b5cf6; }
.log-tag.integ { color: #10b981; }
.log-tag.poll { color: #f59e0b; }
.log-tag.accrual { color: #ec4899; }

.metric-icon {
  font-size: 14px;
  animation: bounceMini 2s ease-in-out infinite;
}

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


/* Data Points */
.data-points {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  z-index: 5;
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
}

.data-point {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: transparent;
  border: none;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none;
}

.data-point:hover {
  transform: translateY(-5px);
}

.data-num {
  
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(100, 116, 139, 0.15);
  margin-bottom: 8px;
}

.data-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  z-index: 5;
}

.scroll-text {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(148, 163, 184, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: scrollLineDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLineDrop {
  0% { top: -20px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
  padding: 40px 0;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}

.marquee-label {
  text-align: center;
  
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 32px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.marquee-content span {
  
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  padding: 8px 16px;
  border-radius: 8px;
}

.marquee-content span:hover {
  color: var(--gold);
  background: var(--gold-soft);
  transform: scale(1.05);
}

.marquee-content .separator {
  color: var(--mint);
  opacity: 0.4;
  font-weight: 400;
  transform: scale(0.8);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 60px 0;
  overflow: hidden;
}

.stats-container {
  display: flex;
  gap: 40px;
  padding: 0 80px;
}

.stat-card {
  flex: 1;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--mint);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Cursor Lighting Effects */
.stat-card::before, .agent-card-3d .card-front::before, .trust-item::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.stat-card:hover::before, .agent-card-3d:hover .card-front::before, .trust-item:hover::before {
  opacity: 1;
}

.stat-card > *, .card-front > *, .trust-item > * {
  position: relative;
  z-index: 1;
}

.stat-orb {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--mint-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover .stat-orb {
  opacity: 1;
}

.stat-num {
  
  font-size: 64px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.stat-suffix {
  font-size: 32px;
  color: var(--mint);
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header.center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.section-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: tagShine 3s ease-in-out infinite;
}

@keyframes tagShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.section-title {
  
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span {
  display: block;
}

.section-desc {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 24px auto 0;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
}

/* ===== AGENTS SECTION ===== */
.agents-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* 3D Agent Cards */
.agent-card-3d {
  perspective: 1000px;
  height: 320px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out);
  transform-style: preserve-3d;
}

.agent-card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-front {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card-back {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  color: var(--text-primary);
  transform: rotateY(180deg);
  border: 1px solid var(--mint);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.agent-card-3d.featured .card-front {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--gradient-mint);
  color: white;
  padding: 6px 40px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.agent-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.icon-morph {
  width: 64px;
  height: 64px;
  background: var(--mint-soft);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  z-index: 1;
}

.icon-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--mint);
  border-radius: 24px;
  opacity: 0;
  animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}

.agent-card-3d h3 {
  
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.agent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mint);
  
  margin-top: auto;
}

.status-pulse {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.card-back p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.agent-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.agent-tags span {
  padding: 6px 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.features-showcase {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-num {
  
  font-size: 14px;
  font-weight: 600;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 8px 16px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 20px;
}

.feature-content h3 {
  
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.feature-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-content p strong {
  color: var(--mint);
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s;
}

.feature-list li:hover {
  color: var(--mint);
}

.bullet {
  width: 24px;
  height: 24px;
  background: var(--mint-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--mint);
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
}

.feature-list li:hover .bullet {
  background: var(--mint);
  color: white;
  transform: scale(1.1);
}

/* Feature Visuals */
.feature-visual {
  perspective: 1000px;
}

.studio-mockup {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-large);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
}

.studio-mockup:hover {
  transform: rotateY(0) rotateX(0);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.5);
}

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

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-header span:last-child {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.studio-content {
  padding: 32px;
}

.form-field {
  padding: 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 20px;
}

.form-field.active {
  border-color: var(--mint);
  background: var(--mint-soft);
}

.form-field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.typing-text {
  
  font-size: 16px;
  color: var(--text-primary);
}

.route-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-point {
  width: 40px;
  height: 40px;
  background: var(--mint);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  
}

.route-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  position: relative;
}

.route-line::after {
  content: '✈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-primary);
  padding: 4px;
  font-size: 14px;
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}

.step.completed {
  background: var(--mint);
  color: white;
}

.step.active {
  background: var(--mint-soft);
  border: 2px solid var(--mint);
  color: var(--mint);
}

.line {
  flex: 1;
  height: 2px;
  background: var(--glass-border);
  position: relative;
}

.line.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mint);
  animation: lineGrow 1s ease-out forwards;
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Calc Visual */
.calc-visual {
  display: flex;
  justify-content: center;
}

.calc-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-large);
  transform: rotateY(5deg);
  transition: transform 0.5s;
}

.calc-card:hover {
  transform: rotateY(0);
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.calc-header span:first-child {
  font-size: 24px;
}

.calc-header span:last-child {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
}

.calc-row span:first-child {
  color: var(--text-muted);
}

.calc-val {
  
  font-weight: 500;
  color: var(--text-primary);
}

.calc-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 16px 0;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--mint-soft);
  border-radius: 12px;
  margin-top: 16px;
}

.calc-result span:first-child {
  color: var(--text-secondary);
  font-size: 14px;
}

.calc-total {
  
  font-size: 28px;
  font-weight: 700;
  color: var(--mint);
}

/* Flow Visual */
.flow-visual {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-large);
}

.flow-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
}

.f-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.f-node span:first-child {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
}

.f-node.active span:first-child {
  background: var(--mint-soft);
  border-color: var(--mint);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.f-node span:last-child {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.f-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  position: relative;
}

.f-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left: 8px solid var(--sky);
}

.invoice-preview {
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 24px;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--glass-border);
}

.inv-header span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.inv-badge {
  padding: 4px 12px;
  background: var(--mint);
  color: white;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  
}

.inv-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text-secondary);
}

.inv-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-weight: 600;
}

.inv-total span:last-child {
  
  font-size: 20px;
  color: var(--mint);
}

/* ===== FLOW SECTION - LIQUID ===== */
.flow-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.liquid-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, var(--mint-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, var(--sky-soft) 0%, transparent 50%);
  opacity: 0.5;
}

.flow-timeline-liquid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.flow-step-liquid {
  flex: 1;
  max-width: 280px;
  position: relative;
}

.step-blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: var(--gradient-mint);
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  opacity: 0.1;
  animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; transform: translateX(-50%) rotate(0deg); }
  25% { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; }
  50% { border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%; transform: translateX(-50%) rotate(180deg); }
  75% { border-radius: 60% 40% 60% 40% / 40% 60% 50% 50%; }
}

.step-content {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px;
  height: 100%;
  transition: all 0.4s var(--ease-out);
}

.step-content:hover {
  transform: translateY(-12px);
  border-color: var(--mint);
  box-shadow: var(--shadow-large);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-mint);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.step-content h3 {
  
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-time {
  display: inline-block;
  padding: 6px 14px;
  background: var(--mint-soft);
  color: var(--mint);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  
}

.flow-connector-liquid {
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flow-connector-liquid svg {
  width: 100%;
  height: 40px;
}

.connector-path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 10;
  animation: dashFlow 2s linear infinite;
}

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

/* ===== SECURITY SECTION ===== */
.security-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.security-constellation {
  max-width: var(--container);
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shield-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  animation: floatShield 6s ease-in-out infinite;
}

.shield-card:nth-child(2) { animation-delay: -1.5s; }
.shield-card:nth-child(3) { animation-delay: -3s; }
.shield-card:nth-child(4) { animation-delay: -4.5s; }

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

.shield-card:hover {
  transform: translateY(-15px) scale(1.02) !important;
  border-color: var(--lavender);
  box-shadow: var(--shadow-large);
}

.shield-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, var(--lavender-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.shield-card:hover .shield-glow {
  opacity: 1;
}

.shield-icon {
  width: 80px;
  height: 80px;
  background: var(--lavender-soft);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.shield-card h3 {
  
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.shield-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Tech Orbit */
.tech-orbit {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-orbit-item {
  padding: 12px 24px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  
  transition: all 0.3s;
  animation: orbitFloat 4s ease-in-out infinite;
}

.tech-orbit-item:hover {
  background: var(--mint);
  color: white;
  border-color: var(--mint);
  transform: translateY(-4px);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: var(--section-padding) 0;
}

.pricing-morph {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.featured {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
  border-color: var(--mint);
  transform: scale(1.02);
}

.price-card.featured:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: 0 30px 60px rgba(34, 197, 94, 0.2);
}

.card-sheen {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255,255,255,0.4) 50%,
    transparent 60%
  );
  transition: transform 0.5s;
  transform: translateX(-100%) rotate(45deg);
}

.price-card:hover .card-sheen {
  transform: translateX(100%) rotate(45deg);
}

.popular-tag {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 10px 24px;
  background: var(--gradient-mint);
  color: white;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  
}

.plan-badge {
  
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.plan-features li.na {
  opacity: 0.5;
}

.plan-features .check {
  width: 22px;
  height: 22px;
  background: var(--mint-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--mint);
  font-weight: 700;
}

.plan-features .check.star {
  background: var(--sky-soft);
  color: var(--sky);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.cta-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
}

.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 17px;
  color: var(--text-secondary);
}

.check-num {
  width: 44px;
  height: 44px;
  background: var(--mint-soft);
  border: 2px solid var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--mint);
  
  flex-shrink: 0;
  transition: all 0.3s;
}

.check-item:hover .check-num {
  background: var(--mint);
  color: white;
  transform: scale(1.1);
}

.cta-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.contact-pill:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
}

.contact-pill span:first-child {
  font-size: 24px;
}

.contact-pill small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-pill strong {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA Form */
.cta-form-container {
  position: relative;
  z-index: 1;
}

.cta-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 48px;
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.form-field-float {
  position: relative;
  margin-bottom: 24px;
}

.form-field-float input,
.form-field-float textarea {
  width: 100%;
  padding: 18px 16px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-field-float label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--text-muted);
  font-size: 16px;
  transition: all 0.3s;
  pointer-events: none;
  background: transparent;
  padding: 0 4px;
}

.field-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-mint);
  border-radius: 2px;
  transition: width 0.3s;
}

.form-field-float input:focus,
.form-field-float textarea:focus,
.form-field-float input:not(:placeholder-shown),
.form-field-float textarea:not(:placeholder-shown) {
  border-color: var(--mint);
  background: rgba(255,255,255,0.8);
  outline: none;
}

.form-field-float input:focus + label,
.form-field-float textarea:focus + label,
.form-field-float input:not(:placeholder-shown) + label,
.form-field-float textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: var(--mint);
  background: var(--bg-primary);
}

.form-field-float input:focus ~ .field-line,
.form-field-float textarea:focus ~ .field-line {
  width: calc(100% - 32px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-chips {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  cursor: pointer;
}

.chip input {
  display: none;
}

.chip span {
  display: block;
  padding: 10px 18px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.chip:hover span {
  border-color: var(--mint);
  color: var(--mint);
}

.chip input:checked + span {
  background: var(--mint-soft);
  border-color: var(--mint);
  color: var(--mint);
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
}

.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-svg,
.footer-logo .logo-img.small {
  width: 32px;
  height: 32px;
}

.footer-logo .logo-img {
  transition: transform 0.3s ease;
}

.footer-logo:hover .logo-img {
  transform: scale(1.05);
}

.footer-badge {
  padding: 6px 14px 6px 8px;
}

.footer-badge .logo-svg-inline {
  width: 28px;
  height: 28px;
}

.footer-badge .badge-text-label {
  font-size: 14px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.social-orbit {
  display: flex;
  gap: 12px;
}

.social-node {
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
  animation: socialFloat 4s ease-in-out infinite;
}

.social-node:nth-child(2) { animation-delay: -1s; }
.social-node:nth-child(3) { animation-delay: -2s; }
.social-node:nth-child(4) { animation-delay: -3s; }

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

.social-node:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: white;
  transform: translateY(-4px) !important;
}

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

.link-column h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
  
}

.link-column ul {
  list-style: none;
}

.link-column li {
  margin-bottom: 12px;
}

.link-column a {
  color: var(--text-muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.link-column a:hover {
  color: var(--mint);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 40px 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--mint);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-visual {
    opacity: 0.3;
    pointer-events: none;
  }
  
  .hero-content {
    margin-left: 5%;
    max-width: 600px;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
  }
  
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 40px auto 0;
    width: 100%;
    max-width: 580px;
    height: 440px;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .data-points {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .data-point {
    max-width: 320px;
    width: 100%;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 40px;
    gap: 20px;
    box-shadow: var(--glass-shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  }
  
  .nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .magnetic-toggle {
    display: flex;
  }

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

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

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

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

  .nav-cta {
    display: none !important;
  }
  
  .agents-grid,
  .security-constellation,
  .pricing-morph {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .feature-block.reverse {
    direction: ltr;
  }
  
  .flow-timeline-liquid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .flow-connector-liquid {
    transform: rotate(90deg);
    height: 60px;
  }
  
  .stats-container {
    flex-direction: column;
    padding: 0 40px;
  }
  
  .cta-section {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 80px;
  }
  
  .hero-visual {
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto 0;
    max-width: 100%;
  }
  
  .float-capsule {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .agents-grid,
  .security-constellation,
  .pricing-morph,
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .agent-card-3d {
    height: 280px;
  }
  
  .card-back {
    padding: 24px;
  }
  
  .cta-form {
    padding: 32px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 40px 24px;
  }
  
  .stat-num {
    font-size: 48px;
  }
  
  .nav-container,
  .agents-grid,
  .features-showcase,
  .security-constellation,
  .pricing-morph,
  .footer-content,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .fluid-cursor {
    display: none;
  }
  
  .progress-ring {
    display: none;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .grain-overlay {
    display: none;
  }
}
