@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ==========================================================================
   BAYBUZZ LABS — FUTURISTIC AI DESIGN SYSTEM
   Theme: Deep Space Cybernetic / Neural Intelligence / Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #05070e;
  --bg-dark: #080c18;
  --bg-card: rgba(13, 19, 36, 0.7);
  --bg-card-hover: rgba(18, 27, 52, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);
  
  /* Cyber Accents */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-dim: rgba(0, 240, 255, 0.12);
  
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.35);
  --violet-dim: rgba(139, 92, 246, 0.12);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-dim: rgba(16, 185, 129, 0.12);
  
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.35);
  --rose-dim: rgba(244, 63, 94, 0.12);
  
  --amber: #f59e0b;
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #ffffff;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 240, 255, 0.3);
  --border-violet: rgba(139, 92, 246, 0.3);
  --glow-shadow: 0 0 35px rgba(0, 240, 255, 0.15);
  --card-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Dimensions */
  --container-max: 1240px;
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Custom Selection */
::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #ffffff;
}

/* --- Global Background Mesh & Matrix Grids --- */
.cyber-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 80%);
}

.cyber-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.25;
  animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 0.35; }
  90% { opacity: 0.35; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* Ambient Radial Glow Blobs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.glow-orb-1 {
  top: -150px;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite alternate;
}

.glow-orb-2 {
  top: 30%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation: orbFloat2 25s ease-in-out infinite alternate;
}

.glow-orb-3 {
  bottom: 10%;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  animation: orbFloat3 18s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, -50px) scale(1.1); }
}
@keyframes orbFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.2); }
}

/* Custom Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, rgba(139, 92, 246, 0.03) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-highlight);
  line-height: 1.15;
}

.font-mono {
  font-family: var(--font-mono);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--cyan) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 10%, var(--emerald) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-violet {
  background: linear-gradient(135deg, #ffffff 15%, var(--violet) 65%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Layout Containers --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  position: relative;
  padding: 7.5rem 0;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- HUD Badges & Pills --- */
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hud-pill.violet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
}

.hud-pill.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s infinite;
}

.pulse-dot.emerald {
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* --- Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(5, 7, 14, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 7, 14, 0.92);
  border-bottom-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
@keyframes logo-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: filter 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

.logo-bay {
  color: #ffffff;
}

.logo-buzz {
  background: linear-gradient(
    90deg,
    var(--cyan) 0%,
    #a78bfa 40%,
    var(--cyan) 60%,
    var(--violet) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-shimmer 6s ease-in-out infinite;
}

.logo-labs {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 0.05rem;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px var(--cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-smooth);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #05070e !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.45), 0 15px 30px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.btn-primary:hover::before {
  transform: translateX(200%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

#neural-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 1.4rem 0 1.6rem;
  letter-spacing: -0.04em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Telemetry Status Strip */
.hero-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1rem 1.4rem;
  background: rgba(13, 19, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
}

.telemetry-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Cybernetic HUD Card (Right Column) */
.hero-hud-card {
  position: relative;
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(25px);
  overflow: hidden;
}

.hero-hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}

.hud-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.4rem;
}

.hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hud-card-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hud-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
}

/* --- Solution Showcase Slides (Hero Right Column) --- */
.showcase-slides {
  position: relative;
  min-height: 280px;
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.showcase-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.showcase-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
}

.showcase-icon-wrap.violet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--violet);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.12);
}

.showcase-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.12);
}

.showcase-icon-wrap.rose {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.25);
  color: var(--rose);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.12);
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Showcase navigation dots & progress bar */
.showcase-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.showcase-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.showcase-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: scale(1.2);
}

.showcase-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-left: 0.5rem;
  overflow: hidden;
}

.showcase-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* --- Live AI Neural Engine Interactive Sandbox --- */
.ai-engine-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
}

.sandbox-container {
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow), 0 0 60px rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(25px);
  overflow: hidden;
}

.sandbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(6, 10, 22, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.sandbox-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sandbox-tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sandbox-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sandbox-tab.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.2));
  color: #ffffff;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.sandbox-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
}

.sandbox-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sandbox-title {
  font-size: 1.85rem;
  color: #ffffff;
}

.sandbox-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.sandbox-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.5rem 0;
}

.sandbox-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.sandbox-metric-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.sandbox-metric-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Interactive Pipeline Canvas / Visualizer Box */
.sandbox-canvas-panel {
  background: rgba(4, 7, 16, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.sandbox-canvas-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
}

.pipeline-node {
  background: rgba(13, 20, 38, 0.9);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  width: 28%;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.pipeline-node.active-node {
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
}

.pipeline-node-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.pipeline-node-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.pipeline-node-status {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.pipeline-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 -5px;
}

.connector-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: movePulse 2.5s infinite linear;
}

@keyframes movePulse {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Interactive AI Solution Configurator / Estimator --- */
.configurator-section {
  position: relative;
}

.configurator-card {
  background: rgba(12, 18, 35, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--card-shadow), 0 0 60px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(25px);
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.config-input-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.preset-btn {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  border-color: var(--violet);
  color: #ffffff;
  background: rgba(139, 92, 246, 0.08);
}

.preset-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--violet);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.custom-prompt-input {
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: rgba(4, 7, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
  resize: vertical;
  min-height: 90px;
}

.custom-prompt-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Config Result Output Box */
.config-output-box {
  background: rgba(4, 7, 16, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.output-content-area {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.arch-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.arch-spec-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.arch-spec-text h5 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.arch-spec-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --- Bento Grid Section (Core Capabilities) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.8rem;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: var(--card-shadow), 0 0 35px rgba(0, 240, 255, 0.12);
  background: var(--bg-card-hover);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.bento-icon-wrap.violet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--violet);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.bento-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.bento-title {
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.bento-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bento-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.bento-feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bento-feature-list li svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* Interactive Code Snippet Preview in Bento */
.bento-code-block {
  background: rgba(4, 7, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #a5b4fc;
  margin-top: 1.5rem;
  overflow-x: auto;
}

/* --- Collaborative Engineering Protocol (Process) --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3.5rem;
}

.process-step-card {
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  backdrop-filter: blur(15px);
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.process-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Enterprise Metrics Matrix --- */
.metrics-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 12, 24, 0.5);
  backdrop-filter: blur(20px);
  padding: 4rem 0;
}

.metrics-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.matrix-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.matrix-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.matrix-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.matrix-subtext {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 200px;
}

/* --- Call to Action Banner --- */
.cta-banner-wrap {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 20, 42, 0.9), rgba(20, 15, 45, 0.9));
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  box-shadow: var(--card-shadow), 0 0 60px rgba(0, 240, 255, 0.12);
  overflow: hidden;
}

.cta-banner-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* --- Contact & Legal Pages --- */
.page-header {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3.5rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
}

.info-item-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.info-item-row:last-child {
  margin-bottom: 0;
}

.info-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(5, 8, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Legal Documents */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 6rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(20px);
}

.legal-title {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h3 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.8rem;
  color: #ffffff;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

/* --- Enterprise Footer --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 6, 12, 0.95);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow), 0 0 35px rgba(16, 185, 129, 0.08);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-telemetry-strip {
    margin: 0 auto;
  }
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    height: 72px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(5, 7, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.8rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    border-top: 1px solid var(--border-subtle);
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 1.3rem;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .metrics-matrix-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-card, .contact-form-card, .contact-info-card, .about-card {
    padding: 2rem 1.5rem;
  }
}
