/* ==========================================================================
   Agent M - Modern Dark Neon Glassmorphism Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #06080F;
  --bg-secondary: #0B0F1A;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 32, 58, 0.85);
  --bg-card-solid: #0F172A;
  --bg-input: rgba(11, 15, 26, 0.85);
  
  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(99, 102, 241, 0.45);
  --glass-blur: blur(16px);
  
  /* Accents & Gradients */
  --accent-cyan: #06B6D4;
  --accent-blue: #3B82F6;
  --accent-indigo: #6366F1;
  --accent-violet: #8B5CF6;
  --accent-purple: #A855F7;
  --accent-pink: #EC4899;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;
  
  --grad-primary: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  --grad-accent: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-surface: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.22) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);
  --grad-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(6, 182, 212, 0.15) 100%);
  --grad-showcase-halo: radial-gradient(circle at 50% 45%, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.18) 35%, rgba(15, 23, 42, 0.05) 70%, transparent 85%);
  
  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --shadow-neon-indigo: 0 0 30px rgba(99, 102, 241, 0.35);
  --shadow-neon-purple: 0 0 30px rgba(168, 85, 247, 0.35);
  
  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

/* Selection */
::selection {
  background: rgba(99, 102, 241, 0.4);
  color: #FFFFFF;
}

/* Canvas Background for Particle Constellations */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.glow-1 {
  top: -150px;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.1) 60%, transparent 80%);
}
.glow-2 {
  top: 600px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.08) 60%, transparent 80%);
}
.glow-3 {
  top: 1800px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(16, 185, 129, 0.08) 60%, transparent 80%);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Typography & Shared Components
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-purple {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: #67E8F9;
}
.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #FCD34D;
}
.badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition-normal);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.15);
}
.glass-card:hover::before {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(25deg);
  transition: all 0.75s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5), 0 0 20px rgba(6, 182, 212, 0.4);
}
.btn-primary:hover::after {
  left: 100%;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-glow {
  box-shadow: var(--shadow-neon-cyan);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 8, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}
.site-header.scrolled {
  background: rgba(6, 8, 15, 0.92);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
  position: relative;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #FFFFFF 40%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover {
  color: #FFFFFF;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 80px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 1000px;
  margin: 0 auto 24px;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Waitlist Form Card */
.waitlist-card {
  max-width: 660px;
  margin: 0 auto 40px;
  padding: 28px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.15);
  text-align: left;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-input, .form-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--transition-fast);
}
.form-input:focus, .form-select:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  background: rgba(15, 23, 42, 0.95);
}
.form-select option {
  background-color: #0F172A;
  color: #FFFFFF;
}

/* Platform Selector Pills */
.platform-selector {
  display: flex;
  gap: 8px;
}
.platform-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}
.platform-pill svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}
.platform-pill input {
  display: none;
}
.platform-pill.active, .platform-pill:has(input:checked) {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--accent-indigo);
  color: #FFFFFF;
}
.platform-pill.active svg, .platform-pill:has(input:checked) svg {
  opacity: 1;
}

.waitlist-submit-btn {
  height: 52px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  margin-top: 4px;
}

.waitlist-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.avatar-stack {
  display: flex;
  margin-right: -4px;
}
.avatar-stack .avatar-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFFFFF;
}
.avatar-stack .avatar-chip:first-child {
  margin-left: 0;
}

/* ==========================================================================
   Hero Visual / Multi-Device Interactive Showcase with Studio Pedestal
   ========================================================================== */
.showcase-section {
  position: relative;
  margin-top: 30px;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.showcase-tab-btn svg {
  opacity: 0.7;
}
.showcase-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.showcase-tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}
.showcase-tab-btn.active svg {
  opacity: 1;
}

/* Screen Subtabs for Mobile View */
.mobile-view-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.mobile-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mobile-subtab-btn svg {
  opacity: 0.7;
}
.mobile-subtab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: rgba(22, 32, 58, 0.9);
}
.mobile-subtab-btn.active {
  background: rgba(6, 182, 212, 0.16);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}
.mobile-subtab-btn.active svg {
  opacity: 1;
}

/* Studio Stage & Device Viewports Container */
.device-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px 0 50px;
  perspective: 1200px;
}

/* Ambient Studio Halo Glow Behind Phone (High Contrast Separation) */
.showcase-studio-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 680px;
  background: var(--grad-showcase-halo);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Studio Lighting Stage Pedestal / Base Platform */
.showcase-pedestal {
  width: 480px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.5) 0%, rgba(99, 102, 241, 0.25) 50%, transparent 75%);
  filter: blur(10px);
  margin-top: -12px;
  z-index: 1;
}

/* Mobile Phone Frame - Premium Titanium Chassis */
.phone-mockup {
  width: 324px;
  height: 668px;
  background: linear-gradient(160deg, #1E293B 0%, #0F172A 50%, #020617 100%);
  border-radius: 46px;
  padding: 11px;
  border: 2.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(99, 102, 241, 0.35),
    0 0 80px rgba(6, 182, 212, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
  z-index: 2;
}
.phone-mockup:hover {
  transform: translateY(-6px) rotateX(2deg);
}

/* Dynamic Island Notch */
.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 22px;
  background: #000000;
  border-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.phone-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0D1117;
  border: 1.5px solid #30363D;
}
.phone-speaker {
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: #21262D;
}

/* Glass Screen Inner Enclosure */
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Desktop Command Center Frame */
.desktop-mockup {
  width: 920px;
  max-width: 100%;
  background: #090E17;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(6, 182, 212, 0.22);
  overflow: hidden;
  display: none; /* toggled via JS */
  z-index: 2;
}
.desktop-header {
  height: 42px;
  background: #0F172A;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.desktop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }
.desktop-title-bar {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.desktop-screen {
  width: 100%;
  height: auto;
  max-height: 540px;
  overflow: hidden;
}
.desktop-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Feature Highlight Chips */
.floating-chip {
  position: absolute;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 20;
  animation: floatChip 4s infinite ease-in-out;
}
.chip-left {
  top: 30%;
  left: calc(50% - 330px);
  animation-delay: 0s;
}
.chip-right {
  bottom: 25%;
  right: calc(50% - 330px);
  animation-delay: 2s;
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Capabilities Bento Grid
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.bento-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bento-span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.bento-icon.purple {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}
.bento-icon.emerald {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.bento-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-visual {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Mini Waveform in Bento Card */
.mini-waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}
.mini-bar {
  width: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: miniWave 1.2s infinite ease-in-out;
}
.mini-bar:nth-child(2) { animation-delay: 0.2s; }
.mini-bar:nth-child(3) { animation-delay: 0.4s; }
.mini-bar:nth-child(4) { animation-delay: 0.1s; }
.mini-bar:nth-child(5) { animation-delay: 0.5s; }
.mini-bar:nth-child(6) { animation-delay: 0.3s; }
.mini-bar:nth-child(7) { animation-delay: 0.6s; }
.mini-bar:nth-child(8) { animation-delay: 0.15s; }
@keyframes miniWave {
  0%, 100% { height: 6px; }
  50% { height: 32px; }
}

/* ==========================================================================
   Interactive Feature Playground
   ========================================================================== */
.playground-wrap {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.playground-nav {
  display: flex;
  background: #0B0F1A;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}
.playground-tab {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.playground-tab svg {
  opacity: 0.7;
}
.playground-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}
.playground-tab.active {
  color: #FFFFFF;
  border-bottom-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
}
.playground-tab.active svg {
  opacity: 1;
}

.playground-body {
  padding: 36px;
  min-height: 420px;
}

.playground-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.playground-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Waveform Canvas & Live Turns Simulation */
.waveform-box {
  background: #070B14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.waveform-canvas-wrap {
  height: 90px;
  width: 100%;
  background: rgba(6, 182, 212, 0.04);
  border: 1px dashed rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#live-waveform-canvas {
  width: 100%;
  height: 100%;
}
.waveform-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.turns-stream-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}
.turn-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.875rem;
  animation: fadeIn 0.3s ease;
}
.turn-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Action Ranker Playground */
.action-ranker-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.action-card-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #0B0F1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.action-card-demo:hover {
  border-color: var(--accent-indigo);
  transform: translateX(4px);
}
.action-rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.action-info {
  flex: 1;
  margin: 0 16px;
}
.action-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.action-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.action-controls {
  display: flex;
  gap: 6px;
}
.action-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.action-btn-sm:hover {
  background: var(--accent-indigo);
  color: #FFFFFF;
}

/* Semantic Search Playground */
.search-demo-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.search-input-wrap {
  position: relative;
}
.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input-demo {
  width: 100%;
  height: 52px;
  padding-left: 48px;
  padding-right: 16px;
  background: #0B0F1A;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}
.search-input-demo:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.memory-result-card {
  padding: 16px;
  background: #0B0F1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.memory-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Copilot Chat Playground */
.chat-demo-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-quick-prompts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chat-prompt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #C7D2FE;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.chat-prompt-pill:hover {
  background: rgba(99, 102, 241, 0.25);
  color: #FFFFFF;
}
.chat-messages-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
}
.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-bubble-agent {
  background: #0B0F1A;
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
}
.chat-bubble-user {
  background: var(--grad-primary);
  color: #FFFFFF;
  align-self: flex-end;
}

/* ==========================================================================
   Comparison Matrix
   ========================================================================== */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.comparison-table th {
  background: #0B0F1A;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.comparison-table th.col-highlight, .comparison-table td.col-highlight {
  background: rgba(99, 102, 241, 0.08);
  border-left: 1px solid rgba(99, 102, 241, 0.25);
  border-right: 1px solid rgba(99, 102, 241, 0.25);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: bold;
}
.cross-icon {
  color: var(--text-muted);
}

/* ==========================================================================
   Architecture & Security
   ========================================================================== */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.arch-visual-box {
  background: #080D1A;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}

.arch-flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0F172A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.flow-node.active-node {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}
.flow-arrow {
  text-align: center;
  color: var(--accent-indigo);
  font-size: 0.875rem;
}

.tech-tags-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.tech-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* ==========================================================================
   Testimonials & Social Proof
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rating-stars {
  color: var(--accent-amber);
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #EC4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
}
.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
}
.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}
.faq-item.active {
  border-color: var(--accent-indigo);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-indigo);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   Waitlist Ticket / Referral Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}
.modal-overlay.active {
  display: flex;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ticket-modal {
  width: 100%;
  max-width: 540px;
  background: #0B0F1A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(6, 182, 212, 0.3);
  padding: 36px;
  position: relative;
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.ticket-pass {
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(145deg, #131C31 0%, #0D1322 100%);
  border: 1px dashed rgba(99, 102, 241, 0.5);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.ticket-rank-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.ticket-rank-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.share-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.share-link-input {
  flex: 1;
  height: 44px;
  background: #060913;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  outline: none;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10B981;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: none;
  animation: slideToast 0.3s ease;
}
@keyframes slideToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04060B;
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-2 {
    grid-column: span 2;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-group .btn-secondary {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }
  .chip-left, .chip-right {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
