/* ==========================================================================
   G2B - Futuristic Dark Theme Design System (Blue, Light Blue, Red, Light Red)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Base Canvas */
  --bg-space: #04060d;
  --bg-dark: #080c18;
  --bg-card: rgba(12, 18, 36, 0.7);
  --bg-card-hover: rgba(20, 30, 55, 0.85);
  --bg-glass: rgba(10, 16, 32, 0.65);
  --bg-glass-heavy: rgba(6, 10, 22, 0.9);

  /* Primary Theme Palette: Blue, Light Blue, Red, Light Red */
  --color-blue: #2563eb;
  --color-blue-glow: rgba(37, 99, 235, 0.45);
  --color-light-blue: #38bdf8;
  --color-light-blue-glow: rgba(56, 189, 248, 0.45);
  --color-red: #ff2a4b;
  --color-red-glow: rgba(255, 42, 75, 0.45);
  --color-light-red: #ff6b81;
  --color-light-red-glow: rgba(255, 107, 129, 0.45);

  /* Design Token Aliases */
  --neon-cyan: var(--color-light-blue);
  --neon-cyan-glow: var(--color-light-blue-glow);
  --neon-purple: var(--color-blue);
  --neon-purple-glow: var(--color-blue-glow);
  --neon-pink: var(--color-red);
  --neon-green: var(--color-light-blue);
  --neon-green-glow: var(--color-light-blue-glow);
  --neon-gold: var(--color-light-red);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Glow Shadows */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(56, 189, 248, 0.35);
  --border-glow-cyan: 0 0 20px rgba(56, 189, 248, 0.25);
  --border-glow-purple: 0 0 20px rgba(37, 99, 235, 0.25);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-space);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0f172a 0%, var(--bg-space) 75%);
}

/* Selection & Scrollbar */
::selection {
  background: var(--color-light-blue);
  color: #000;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-space);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-light-blue);
}

/* Background Canvas & Ambient Lighting */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
  animation: pulse-glow 8s infinite alternate ease-in-out;
}

.ambient-glow.cyan {
  top: -100px;
  left: 15%;
  width: 600px;
  height: 600px;
  background: var(--color-light-blue);
}

.ambient-glow.purple {
  top: 400px;
  right: 5%;
  width: 650px;
  height: 650px;
  background: var(--color-blue);
}

.ambient-glow.green {
  bottom: 500px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--color-red);
}

/* Grid Overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* Container & Typography Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Updated Text Gradient combining Light Blue, Blue, Red, Light Red */
.text-gradient {
  background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-blue) 35%, var(--color-red) 70%, var(--color-light-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-light-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--color-light-red) 0%, var(--color-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--color-light-blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.text-center {
  text-align: center;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.2);
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Primary Button: Electric Blue & Light Blue */
.btn-primary {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-light-blue) 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.7);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-light-blue);
  color: var(--color-light-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

/* Red / Light Red Button */
.btn-purple {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-light-red) 100%);
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 42, 75, 0.4);
}

.btn-purple:hover {
  box-shadow: 0 0 40px rgba(255, 42, 75, 0.7);
  transform: translateY(-2px) scale(1.02);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(4, 6, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
}

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
  transition: transform var(--transition-bounce);
}

.brand-logo:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.brand-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  color: white;
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-light-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-light-blue);
  transition: width var(--transition-fast);
  box-shadow: 0 0 10px var(--color-light-blue);
}

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

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-light-blue);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-light-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-light-blue);
  animation: blink 1.5s infinite alternate;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--color-light-blue);
  font-family: var(--font-heading);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual & Interactive Badge */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-hologram-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hologram-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  animation: rotate-slow 25s linear infinite;
}

.hologram-ring.r1 {
  width: 100%;
  height: 100%;
  border-color: rgba(56, 189, 248, 0.3);
}

.hologram-ring.r2 {
  width: 80%;
  height: 80%;
  border-color: rgba(37, 99, 235, 0.4);
  animation-direction: reverse;
  animation-duration: 18s;
}

.hologram-ring.r3 {
  width: 60%;
  height: 60%;
  border-color: rgba(255, 42, 75, 0.35);
  animation-duration: 12s;
}

.logo-glass-center {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 36px;
  background: rgba(12, 18, 36, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.3), inset 0 0 30px rgba(37, 99, 235, 0.2);
  animation: float 5s ease-in-out infinite;
}

.logo-glass-center img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.8));
}

/* Floating Orbit Cards */
.orbit-card {
  position: absolute;
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  background: rgba(10, 16, 32, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

.orbit-card.card-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.orbit-card.card-2 {
  bottom: 12%;
  right: -10px;
  animation-delay: 2s;
}

.orbit-card.card-3 {
  top: 65%;
  left: -20px;
  animation-delay: 4s;
}

.orbit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.orbit-icon.cyan { background: rgba(56, 189, 248, 0.15); color: var(--color-light-blue); }
.orbit-icon.purple { background: rgba(37, 99, 235, 0.15); color: var(--color-blue); }
.orbit-icon.green { background: rgba(255, 42, 75, 0.15); color: var(--color-red); }

.orbit-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.orbit-text strong {
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

/* Interactive Quest Playground Section */
.section-padding {
  padding: 6rem 0;
}

.simulator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 24px;
}

.quest-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-level-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.level-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-light-blue), var(--color-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.level-info h4 {
  font-size: 1.1rem;
}
.level-info p {
  font-size: 0.8rem;
  color: var(--color-light-blue);
}

.xp-progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.6rem 0 0.3rem 0;
}

.xp-progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--color-light-blue), var(--color-blue), var(--color-red));
  border-radius: 999px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px var(--color-light-blue);
}

.quest-actions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quest-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.quest-card-item:hover {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.25);
}

.quest-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quest-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition-fast);
}

.quest-card-item.completed .quest-check {
  background: var(--color-light-blue);
  border-color: var(--color-light-blue);
  color: black;
  box-shadow: 0 0 10px var(--color-light-blue);
}

.quest-meta h5 {
  font-size: 0.95rem;
  color: var(--text-main);
}

.quest-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.xp-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-light-red);
  background: rgba(255, 107, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 129, 0.25);
}

/* AI Engine Insights Output Box */
.ai-output-panel {
  background: rgba(5, 8, 18, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.ai-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-output-header span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-log-stream {
  min-height: 180px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.log-entry {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--color-light-blue);
  animation: fadeIn 0.3s ease;
}

.log-entry.reward {
  border-left-color: var(--color-light-red);
}

.log-entry.level {
  border-left-color: var(--color-red);
}

/* Interactive ROI Calculator */
.roi-container {
  padding: 3rem;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label span {
  font-weight: 500;
  color: var(--text-secondary);
}

.slider-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-light-blue);
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-light-blue);
  cursor: pointer;
  box-shadow: 0 0 15px var(--color-light-blue);
  transition: transform 0.2s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-results-display {
  background: rgba(6, 10, 22, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.05);
  position: relative;
}

.roi-metric-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.roi-big-value {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--color-light-blue);
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
  margin-bottom: 1.5rem;
}

.roi-stats-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.roi-substat h4 {
  font-size: 1.4rem;
  color: var(--color-red);
}

.roi-substat p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature Matrix Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-light-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
  transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-light-blue);
  color: black;
  box-shadow: 0 0 30px var(--color-light-blue);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* AI Assistant Chatbot Simulator */
.ai-assistant-wrapper {
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.chat-history {
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.chat-bubble.bot {
  background: rgba(12, 18, 36, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chip-prompts {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--color-light-blue);
  color: var(--color-light-blue);
}

.chat-input-bar {
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  color: white;
  font-family: var(--font-body);
  outline: none;
}

.chat-input:focus {
  border-color: var(--color-light-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.pricing-card {
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-light-blue);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
  transform: scale(1.04);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 25px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-tag {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin: 1.2rem 0;
}

.price-tag span {
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.8rem 0 2.2rem 0;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-features-list i {
  color: var(--color-light-blue);
}

/* Lead Capture Form */
.lead-form-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 28px;
}

.form-step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-item.active {
  color: var(--color-light-blue);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item.active .step-number {
  background: var(--color-light-blue);
  color: black;
  border-color: var(--color-light-blue);
  box-shadow: 0 0 10px var(--color-light-blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

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

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input, .form-select {
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-light-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-light-blue);
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.3);
  animation: slideInRight 0.4s ease forwards;
}

.toast-icon {
  font-size: 1.2rem;
  color: var(--color-light-blue);
}

/* Footer */
.footer {
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 5, 12, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-light-blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Keyframe Animations */
@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.15); opacity: 0.55; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes blink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .simulator-box, .roi-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(4, 6, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Activity Log / Telemetry Table Section
   ========================================================================== */
.telemetry-card {
  padding: 2.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.search-box-wrapper .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-light-blue);
  font-size: 1rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.table-search-input {
  width: 100%;
  padding: 0.85rem 3rem 0.85rem 2.8rem;
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.table-search-input::placeholder {
  color: var(--text-muted);
}

.table-search-input:focus {
  border-color: var(--color-light-blue);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
  background: rgba(12, 18, 36, 0.95);
}

.search-clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  display: none;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  color: var(--color-light-red);
  transform: translateY(-50%) scale(1.15);
}

.table-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-light-blue);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.table-stats-badge i {
  color: var(--color-light-blue);
}

.table-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.filter-chip:hover, .filter-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--color-light-blue);
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* Scrollable Container */
.telemetry-table-container {
  max-height: 490px;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 13, 0.7);
  position: relative;
  scrollbar-gutter: stable;
}

/* Custom Scrollbar for Table */
.telemetry-table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.telemetry-table-container::-webkit-scrollbar-track {
  background: rgba(6, 10, 22, 0.85);
  border-radius: 4px;
}

.telemetry-table-container::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 4px;
  border: 2px solid rgba(6, 10, 22, 0.85);
}

.telemetry-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--color-light-blue);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Table Architecture */
.telemetry-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  text-align: left;
}

/* Sticky Header */
.telemetry-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 13, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--color-light-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}

.telemetry-table thead th i {
  margin-right: 0.45rem;
  color: var(--color-light-blue);
}

.telemetry-table th.th-date {
  width: 195px;
}

.telemetry-table th.th-content {
  width: auto;
}

.telemetry-table th.th-actions {
  width: 175px;
  text-align: right;
}

/* Table Body Rows */
.telemetry-table tbody tr {
  transition: background var(--transition-fast), transform var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.telemetry-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.07);
}

.telemetry-table tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: var(--text-secondary);
}

.telemetry-table td.col-date {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.83rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.telemetry-table td.col-date i {
  margin-right: 0.35rem;
  color: var(--text-dim);
}

.telemetry-table td.col-content {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.telemetry-table td.col-actions {
  text-align: right;
  white-space: nowrap;
}

/* Content Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-right: 0.65rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.badge-tag.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--color-light-blue);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-tag.purple {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.45);
}

.badge-tag.green {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-tag.red {
  background: rgba(255, 42, 75, 0.16);
  color: var(--color-light-red);
  border: 1px solid rgba(255, 42, 75, 0.35);
}

.badge-tag.gold {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-tag.blue {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

/* Micro Action Buttons */
.action-buttons-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.38rem 0.7rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.table-action-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--color-light-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.table-action-btn.copy-btn:hover {
  background: rgba(255, 42, 75, 0.18);
  border-color: var(--color-light-red);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 42, 75, 0.35);
}

/* No results state */
.no-results-row {
  display: none;
}

.no-results-cell {
  text-align: center;
  padding: 3.5rem 1.5rem !important;
  color: var(--text-muted);
}

.no-results-cell i {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--color-light-blue);
  opacity: 0.5;
  display: block;
}

.no-results-cell p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box-wrapper {
    max-width: 100%;
  }

  .table-stats-badge {
    align-self: flex-start;
  }

  .telemetry-card {
    padding: 1.25rem;
  }
}
