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

/* CSS Variables */
:root {
  --font-heading: 'Figtree', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-deep: #06070d;
  --bg-slate: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.45);
  --bg-card-hover: rgba(20, 30, 54, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(20, 184, 166, 0.25);
  
  --primary: #14b8a6; /* Calming Teal */
  --primary-glow: rgba(20, 184, 166, 0.15);
  --secondary: #6366f1; /* Deep Tech Indigo */
  --secondary-glow: rgba(99, 102, 241, 0.15);
  
  --nvidia-green: #76b900;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; color: var(--text-primary); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--text-primary);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-header p {
  font-size: 1.125rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-indigo {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--secondary);
}

.tag-nvidia {
  background: rgba(118, 185, 0, 0.1);
  border: 1px solid rgba(118, 185, 0, 0.2);
  color: var(--nvidia-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--primary);
  color: #06070d;
  border: 1px solid var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Glassmorphic Navbar & Footers */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 7, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(6, 7, 13, 0.9);
  padding: 0.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 101;
}

.logo svg {
  fill: var(--primary);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-normal);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Beta Pill Badge inside Navbar */
.nav-beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-beta-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-marker 1.5s infinite;
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0.5rem;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Hero Section Styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.65;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 8s infinite alternate;
}

.hero-glow-secondary {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 12s infinite alternate-reverse;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.2) translate(30px, -20px); opacity: 0.8; }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image Panel Styles */
.image-panel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-slate);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
}

.image-panel:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(20, 184, 166, 0.15);
}

.image-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 6s ease;
}

.image-panel:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(6, 7, 13, 0.95) 0%, rgba(6, 7, 13, 0.4) 60%, transparent 100%);
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Team Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--bg-slate);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}

.team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animated SVG Flowchart Diagram */
.diagram-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin: 4rem auto 0;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.flow-path {
  stroke-dasharray: 8;
  animation: flow-dash 2s linear infinite;
}

@keyframes flow-dash {
  0% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 0; }
}

.flow-node {
  transition: var(--transition-normal);
}

.flow-node:hover {
  filter: drop-shadow(0 0 8px var(--primary));
  transform: scale(1.02);
  transform-origin: center;
}

.scan-line-anim {
  animation: scanning-pulse 4s ease-in-out infinite;
}

@keyframes scanning-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(50px); opacity: 1; }
}

/* Products Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

/* Cards & Grid Systems */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 1px 1px var(--primary-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  transform: scale(1.05);
}

.col-span-2 {
  grid-column: span 2;
}

/* Timeline Components */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 4rem;
  opacity: 0.15;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.timeline-active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--border-color);
  z-index: 2;
  transition: var(--transition-normal);
}

.timeline-item.completed .timeline-marker {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.timeline-item.in-progress .timeline-marker {
  border-color: var(--secondary);
  background: var(--bg-deep);
  box-shadow: 0 0 12px var(--secondary);
  animation: pulse-marker 2s infinite;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-item.in-progress .timeline-date {
  color: var(--secondary);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem;
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}

/* Launch Countdown Panel */
.countdown-box {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.countdown-unit {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  min-width: 90px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* Specs Table / Benchmarks */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table th, .specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.specs-table td {
  color: var(--text-secondary);
}

.specs-table tr:hover td {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

/* Forms styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* API Docs styling */
.api-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.api-sidebar {
  position: sticky;
  top: 7rem;
  height: calc(100vh - 10rem);
  overflow-y: auto;
}

.api-nav {
  list-style: none;
}

.api-nav li {
  margin-bottom: 0.5rem;
}

.api-nav a {
  display: block;
  padding: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-left: 2px solid transparent;
}

.api-nav a:hover, .api-nav a.active {
  color: var(--text-primary);
  border-left-color: var(--primary);
  background: rgba(255, 255, 255, 0.01);
}

.api-content section {
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4rem;
}

.api-content section:last-child {
  border-bottom: none;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--secondary);
}

pre {
  background: #0b0f19;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  color: #a7f3d0;
}

.endpoint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.method {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
}

.method-get { background: #34d399; }
.method-post { background: #60a5fa; }

/* Interactive Widgets */
.interactive-widget {
  background: #0b0f19;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.slider-container {
  margin: 1.5rem 0;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  margin: 1rem 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* Scroll Animation Hooks */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Footers Redesign (MolexAI Aligned) */
footer {
  background: #030408;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem;
  color: var(--text-secondary);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-logo svg {
  fill: var(--primary);
}

.footer-links h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-muted);
}

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

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-left: 0.75rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: var(--primary-glow);
  transform: translateY(-2px);
}

/* Built With NVIDIA Box */
.footer-nvidia-box {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  background: rgba(15, 23, 42, 0.2);
}

.footer-nvidia-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-nvidia-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: monospace;
}

/* Headquarters Box */
.footer-hq-box {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 2rem 0 3rem;
  background: rgba(15, 23, 42, 0.2);
}

.footer-hq-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-hq-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-hq-col {
  background: rgba(6, 7, 13, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.footer-hq-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-hq-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .btn-group {
    justify-content: center;
  }

  .bento-grid, .product-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 3rem;
  }

  .footer-hq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: rgba(6, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-slow);
    pointer-events: none;
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .bento-grid, .product-grid, .team-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .api-container {
    grid-template-columns: 1fr;
  }

  .api-sidebar {
    position: relative;
    top: 0;
    height: auto;
    overflow-y: visible;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
  }
}

/* GTA V Loading Screen Police Light Vignette Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.85) 0%, transparent 60%),
              radial-gradient(circle at 90% 90%, rgba(59, 130, 246, 0.85) 0%, transparent 60%);
  filter: blur(60px);
  animation: policeLightsStrobe 7s infinite alternate ease-in-out;
}

@keyframes policeLightsStrobe {
  0% {
    background: radial-gradient(circle at 15% 15%, rgba(239, 68, 68, 0.9) 0%, transparent 60%),
                radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.9) 0%, transparent 60%);
    opacity: 0.07;
  }
  33% {
    background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.9) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(239, 68, 68, 0.9) 0%, transparent 60%);
    opacity: 0.10;
  }
  66% {
    background: radial-gradient(circle at 50% 10%, rgba(239, 68, 68, 0.9) 0%, transparent 60%),
                radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.9) 0%, transparent 60%);
    opacity: 0.06;
  }
  100% {
    background: radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.9) 0%, transparent 60%),
                radial-gradient(circle at 85% 15%, rgba(239, 68, 68, 0.9) 0%, transparent 60%);
    opacity: 0.09;
  }
}

/* NVIDIA Powered Nav Badge */
.nav-power-badge {
  font-family: monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #76b900;
  background: rgba(118, 185, 0, 0.08);
  border: 1px solid rgba(118, 185, 0, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
@media (max-width: 768px) {
  .nav-power-badge {
    display: none;
  }
}

/* Special Feature Box Hover Animation */
.hover-animate-box {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.hover-animate-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.03);
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.12);
}

/* ============================================================
   Site-wide Animated Background
   ============================================================ */
body {
  position: relative;
  isolation: isolate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 30%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 55% at 50% 90%, rgba(118, 185, 0, 0.10), transparent 65%),
    var(--bg-deep);
  animation: aurora-drift 22s ease-in-out infinite alternate;
  filter: blur(20px) saturate(1.1);
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 0deg at 30% 40%, transparent 0deg, rgba(20, 184, 166, 0.08) 60deg, transparent 140deg),
    conic-gradient(from 180deg at 70% 60%, transparent 0deg, rgba(99, 102, 241, 0.08) 80deg, transparent 160deg);
  animation: aurora-spin 40s linear infinite;
  filter: blur(60px);
  opacity: 0.75;
}

@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

@keyframes aurora-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating particle grid */
.site-bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.site-bg-particles::before,
.site-bg-particles::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.55) 0, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.55) 0, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(118, 185, 0, 0.4) 0, transparent 2px),
    radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.5) 0, transparent 2px),
    radial-gradient(circle at 10% 70%, rgba(99, 102, 241, 0.5) 0, transparent 2px);
  background-size: 320px 320px;
  animation: particle-float 24s linear infinite;
  opacity: 0.55;
}
.site-bg-particles::after {
  background-size: 480px 480px;
  animation-duration: 40s;
  animation-direction: reverse;
  opacity: 0.35;
}

@keyframes particle-float {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-320px, -320px, 0); }
}

/* Subtle scan line for medical / diagnostic feel */
.site-bg-scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(20, 184, 166, 0.06) 48%,
    rgba(20, 184, 166, 0.14) 50%,
    rgba(20, 184, 166, 0.06) 52%,
    transparent 100%
  );
  background-size: 100% 300%;
  animation: scan-sweep 9s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.6;
}

@keyframes scan-sweep {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after,
  .site-bg-particles::before, .site-bg-particles::after,
  .site-bg-scanline { animation: none !important; }
}

/* ============================================================
   Hero background slideshow (auto-rotating human body imagery)
   ============================================================ */
.hero { position: relative; overflow: hidden; }

.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  animation: hero-bg-rotate 32s infinite;
  will-change: opacity, transform;
}
.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 8s; }
.hero-bg-slide:nth-child(3) { animation-delay: 16s; }
.hero-bg-slide:nth-child(4) { animation-delay: 24s; }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 7, 13, 0.92) 0%, rgba(6, 7, 13, 0.65) 45%, rgba(6, 7, 13, 0.55) 100%),
    radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(6, 7, 13, 0.75) 80%);
  z-index: 1;
}

/* Push hero content above the slideshow (do not change positioning of
   absolutely-positioned decorative layers — only bump z-index) */
.hero > .container { position: relative; z-index: 3; }
.hero > .hero-glow,
.hero > .hero-glow-secondary,
.hero > #hero-canvas { z-index: 2; }

@keyframes hero-bg-rotate {
  0%   { opacity: 0; transform: scale(1.08); }
  6%   { opacity: 1; transform: scale(1.05); }
  25%  { opacity: 1; transform: scale(1.00); }
  31%  { opacity: 0; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { animation: none; opacity: 1; }
  .hero-bg-slide:not(:first-child) { display: none; }
}

.hero > .hero-bg-slideshow { z-index: 0; }
