* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #070a12;
  --accent-blue: #0066ff;
  --accent-blue-hover: #1a75ff;
  --accent-blue-glow: rgba(0, 102, 255, 0.45);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);
  --neon-green: #00f5a0;
  --neon-green-glow: rgba(0, 245, 160, 0.35);
  --neon-purple: #a855f7;
  --text-white: #ffffff;
  --text-dim: #cbd5e1;
  --text-muted: #94a3b8;
  --glass-bg: rgba(7, 12, 24, 0.28);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 102, 255, 0.4);
  --glass-glow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-glow-hover: 0 12px 40px rgba(0, 102, 255, 0.15);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 10, 18, 0.95);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan);
}

/* ==========================================================
   MINIMALIST BLACK LOADING SCREEN (Number & Progress Line Only)
   ========================================================== */
.white-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #03060f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.75s cubic-bezier(0.77, 0, 0.175, 1), 
              transform 0.75s cubic-bezier(0.77, 0, 0.175, 1),
              visibility 0.75s ease;
  overflow: hidden;
}

.white-loader.hidden {
  opacity: 0;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}

.white-loader-content {
  width: 90%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Percentage Display */
.white-loader-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1;
}

.white-counter-number {
  font-size: clamp(3.5rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.white-counter-symbol {
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-left: 4px;
}

/* Hairline Progress Bar */
.white-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  overflow: hidden;
}

.white-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, var(--neon-cyan));
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  border-radius: 100px;
  transition: width 0.12s linear;
}

/* ==========================================================
   PINNED CANVAS BACKGROUND (Scrubbed on scroll)
   ========================================================== */
.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

#canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page Container */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 36px 80px 36px;
}

/* Reduced Blur Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-glow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-glow-hover);
}

.accent-line {
  width: 36px;
  height: 3px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Top Navbar (Reduced Blur) */
.navbar {
  position: sticky;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(7, 11, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 100px;
  margin: 18px auto 36px auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.code-bracket {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ai-badge {
  color: var(--neon-cyan);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 2px 6px;
  background: rgba(0, 240, 255, 0.15);
  border-radius: 4px;
  margin-left: 4px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.btn-contract-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--neon-green);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.12);
  transition: all 0.25s ease;
}

.btn-contract-pill:hover {
  background: var(--neon-green);
  color: #01140e;
  box-shadow: 0 0 24px var(--neon-green-glow);
  transform: translateY(-2px);
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* ==========================================================
   SECTION 1: HERO
   ========================================================== */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}

.hero-3col-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 340px;
  gap: 36px;
  width: 100%;
  align-items: center;
}

.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline {
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

/* 30 Negative — an inversion bar sweeps the word, flipping letters to their
   photographic negative via mix-blend-mode: difference */
.fx-negative {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: .06em;
  color: #ffffff;
  padding: .02em .18em;
  background: transparent;
  vertical-align: baseline;
  border-radius: 4px;
}

.fx-negative::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: #ffffff;
  mix-blend-mode: difference;
  border-radius: 2px;
  animation: fx-negative 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes fx-negative {
  0%   { left: 0;    transform: translateX(0); }
  100% { left: 100%; transform: translateX(-100%); }
}

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

.hero-description {
  font-size: 15.5px;
  line-height: 1.68;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 480px;
  min-height: 80px;
}

/* 03 Teletype — typewriter with blinking caret */
.fx-typewriter {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.typewriter-caret {
  display: inline-block;
  width: 2.5px;
  height: 1.15em;
  background-color: var(--neon-cyan);
  vertical-align: -2.5px;
  margin-left: 3px;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: fx-caret .65s steps(1) infinite;
}

@keyframes fx-caret {
  50% { opacity: 0; }
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-circle-down {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--neon-cyan) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020814;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--neon-cyan-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-circle-down svg {
  width: 22px;
  height: 22px;
}

.btn-circle-down:hover {
  transform: translateY(4px) scale(1.08);
  box-shadow: 0 10px 28px var(--neon-cyan-glow);
}

.hero-scroll-caption {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Center Stage (Open for 3D Face) */
.hero-col-center {
  position: relative;
  height: 500px;
  pointer-events: none;
}

.face-hud-frame {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 400px;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(0, 240, 255, 0.35);
  border-style: solid;
}

.hud-corner.top-left { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud-corner.top-right { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hud-corner.bottom-left { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hud-corner.bottom-right { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* Right Sidebar Panel */
.hero-col-right {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
}

.sidebar-heading {
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.sidebar-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.sidebar-link {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.sidebar-link:hover {
  color: var(--neon-cyan);
  transform: translateX(4px);
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #01140e;
  box-shadow: 0 0 16px var(--neon-cyan-glow);
  transform: translateY(-2px);
}

/* ==========================================================
   SECTION 2: ANIMATED BIG TECH GIANTS MARQUEE
   ========================================================== */
.tech-giants-section {
  margin-bottom: 90px;
}

.giants-header {
  text-align: center;
  margin-bottom: 18px;
}

.giants-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.giants-marquee-container {
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

.giants-marquee-container::before,
.giants-marquee-container::after {
  display: none;
}

.giants-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.giants-marquee-track:hover {
  animation-play-state: paused;
}

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

.giant-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(7, 12, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  color: var(--text-dim);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
}

.giant-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.giant-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* OpenAI Gradient Badge */
.badge-openai {
  border-color: rgba(0, 240, 255, 0.3);
}
.badge-openai .giant-logo {
  color: #00f0ff;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
}
.badge-openai .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-openai:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.45);
  transform: translateY(-3px) scale(1.04);
}

/* NVIDIA Gradient Badge */
.badge-nvidia {
  border-color: rgba(118, 185, 0, 0.35);
}
.badge-nvidia .giant-logo {
  color: #76b900;
  filter: drop-shadow(0 0 6px rgba(118, 185, 0, 0.5));
}
.badge-nvidia .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #76b900 60%, #00f5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-nvidia:hover {
  border-color: #76b900;
  box-shadow: 0 0 24px rgba(118, 185, 0, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* DeepMind Gradient Badge */
.badge-deepmind {
  border-color: rgba(66, 133, 244, 0.35);
}
.badge-deepmind .giant-logo {
  color: #4285f4;
  filter: drop-shadow(0 0 6px rgba(66, 133, 244, 0.5));
}
.badge-deepmind .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #4285f4 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-deepmind:hover {
  border-color: #4285f4;
  box-shadow: 0 0 24px rgba(66, 133, 244, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* Anthropic Gradient Badge */
.badge-anthropic {
  border-color: rgba(245, 158, 11, 0.35);
}
.badge-anthropic .giant-logo {
  color: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}
.badge-anthropic .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #f59e0b 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-anthropic:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* Meta AI Gradient Badge */
.badge-meta {
  border-color: rgba(0, 129, 251, 0.35);
}
.badge-meta .giant-logo {
  color: #0081fb;
  filter: drop-shadow(0 0 6px rgba(0, 129, 251, 0.5));
}
.badge-meta .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #0081fb 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-meta:hover {
  border-color: #0081fb;
  box-shadow: 0 0 24px rgba(0, 129, 251, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* Hugging Face Gradient Badge */
.badge-huggingface {
  border-color: rgba(255, 210, 30, 0.35);
}
.badge-huggingface .giant-logo {
  color: #ffd21e;
  filter: drop-shadow(0 0 6px rgba(255, 210, 30, 0.5));
}
.badge-huggingface .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #ffd21e 60%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-huggingface:hover {
  border-color: #ffd21e;
  box-shadow: 0 0 24px rgba(255, 210, 30, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* Azure AI Gradient Badge */
.badge-azure {
  border-color: rgba(0, 120, 212, 0.35);
}
.badge-azure .giant-logo {
  color: #0078d4;
  filter: drop-shadow(0 0 6px rgba(0, 120, 212, 0.5));
}
.badge-azure .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #0078d4 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-azure:hover {
  border-color: #0078d4;
  box-shadow: 0 0 24px rgba(0, 120, 212, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* AWS Bedrock Gradient Badge */
.badge-aws {
  border-color: rgba(255, 153, 0, 0.35);
}
.badge-aws .giant-logo {
  color: #ff9900;
  filter: drop-shadow(0 0 6px rgba(255, 153, 0, 0.5));
}
.badge-aws .giant-name {
  background: linear-gradient(135deg, #ffffff 0%, #ff9900 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-aws:hover {
  border-color: #ff9900;
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.5);
  transform: translateY(-3px) scale(1.04);
}

/* ==========================================================
   SECTION 3: CORE AI SPECIALIZATIONS
   ========================================================== */
.section-container {
  min-height: 85vh;
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading-centered {
  text-align: center;
  margin-bottom: 44px;
}

.section-kicker {
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
  display: inline-block;
  margin-bottom: 8px;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.section-title-large {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto;
}

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

.spec-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.icon-blue {
  background: rgba(0, 102, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 102, 255, 0.35);
  box-shadow: 0 0 16px var(--accent-blue-glow);
}

.icon-green {
  background: rgba(0, 245, 160, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: 0 0 16px var(--neon-green-glow);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.spec-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.spec-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.spec-desc {
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chips span {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================
   SECTION 4: DEEP TECH STACK MATRIX
   ========================================================== */
.tech-stack-panel {
  padding: 48px 44px;
}

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

.stack-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.14);
  color: var(--neon-cyan);
  border-radius: 100px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.stack-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stack-category {
  background: rgba(2, 6, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
}

.cat-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-pill {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.cat-pill.highlight-blue {
  color: var(--neon-cyan);
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.06);
}

.cat-pill.highlight-green {
  color: var(--neon-green);
  border-color: rgba(0, 245, 160, 0.25);
  background: rgba(0, 245, 160, 0.06);
}

.cat-pill.highlight-purple {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.06);
}

.cat-pill:hover {
  border-color: var(--neon-cyan);
  color: #fff;
  transform: translateX(3px);
}

/* ==========================================================
   SECTION 5: BENCHMARKS
   ========================================================== */
.benchmarks-card {
  padding: 48px;
}

.bench-header {
  margin-bottom: 36px;
}

.benchmarks-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bench-stat-box {
  background: rgba(2, 6, 16, 0.8);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bench-stat-box:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 16px;
  color: var(--neon-cyan);
  margin-left: 2px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 16px;
}

.stat-badge {
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  width: max-content;
}

/* ==========================================================
   SECTION 6: CONTACT
   ========================================================== */
.contact-box {
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-subtext {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 480px;
}

.contact-meta-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  width: max-content;
}

.meta-pill strong { color: var(--neon-cyan); }

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: rgba(2, 6, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

.btn-submit-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--neon-cyan) 100%);
  color: #020814;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--neon-cyan-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-ai svg {
  width: 18px;
  height: 18px;
}

.btn-submit-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 240, 255, 0.6);
}

/* ==========================================================
   PRE-FOOTER & MAIN ARCHITECTURAL FOOTER (Matching Reference)
   ========================================================== */
.site-footer-wrapper {
  margin-top: 80px;
  width: 100%;
}

/* Pre-Footer Banner */
.pre-footer-cta-container {
  margin-bottom: 50px;
}

.pre-footer-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.pre-footer-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92) 0%, rgba(217, 119, 6, 0.88) 100%);
  border-radius: 14px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.25);
}

.banner-text {
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1102;
  letter-spacing: -0.01em;
}

.banner-btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f59e0b;
  color: #1a1102;
  font-size: 14.5px;
  font-weight: 800;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-btn-amber:hover {
  background-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Main Dark Footer Container (Reduced Blur) */
.main-dark-footer {
  position: relative;
  background: rgba(7, 11, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 36px;
  padding: 64px 54px 40px 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: visible;
}

/* Rotating "GET STARTED" Badge in Notch */
.footer-badge-notch {
  position: absolute;
  top: -38px;
  right: 140px;
  width: 90px;
  height: 90px;
  background: rgba(7, 11, 20, 0.85);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 8px var(--bg-deep), 0 10px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.footer-rotating-badge {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-rotating-badge .badge-text-svg {
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.footer-badge-center-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badge-center-icon svg {
  width: 18px;
  height: 18px;
}

/* Platform Logo with signature underline */
.footer-top-brand {
  margin-bottom: 44px;
}

.platform-logo {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.logo-l-underline {
  position: relative;
  margin-right: 64px;
}

.logo-l-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 4px;
  background-color: #f59e0b;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* 4-Column Footer Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.6fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-col-heading {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-list a {
  font-size: 13.5px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Newsletter & Contact us Column */
.footer-action-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-email-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.footer-email-form input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 11px 48px 11px 20px;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-email-form input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}

.footer-email-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-footer-submit {
  position: absolute;
  right: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-footer-submit svg {
  width: 14px;
  height: 14px;
}

.btn-footer-submit:hover {
  background: #f59e0b;
  color: #1a1102;
  border-color: #f59e0b;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.contact-line a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-line a:hover {
  color: #ffffff;
}

/* Social Row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.footer-social-link {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-back-to-top {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back-to-top svg {
  width: 16px;
  height: 16px;
}

.btn-back-to-top:hover {
  background: #f59e0b;
  color: #1a1102;
  border-color: #f59e0b;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-3col-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-col-center {
    display: none;
  }
  .specializations-grid {
    grid-template-columns: 1fr;
  }
  .stack-categories-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benchmarks-4col-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-box {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .page-container {
    padding: 0 18px 40px 18px;
  }
  .navbar {
    padding: 12px 18px;
  }
  .nav-menu {
    display: none;
  }
  .hero-3col-grid {
    grid-template-columns: 1fr;
  }
  .pre-footer-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-dark-footer {
    padding: 48px 24px 28px 24px;
    border-radius: 24px;
  }
  .footer-badge-notch {
    right: 30px;
    top: -30px;
    width: 70px;
    height: 70px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .stack-categories-grid {
    grid-template-columns: 1fr;
  }
  .benchmarks-4col-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   BLUE COMET TRAIL CURSOR
   ========================================================== */
/* Colour tokens — Blue skin:
   --ink-2  primary accent (electric blue)   --ink-3  secondary (neon cyan) */
:root {
  --ink: currentColor;
  --ink-2: #0066ff;
  --ink-3: #00f0ff;
}

@property --x { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --y { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --angle { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@property --speed { syntax: '<number>'; inherits: true; initial-value: 0; }

.cur {
  --c: var(--ink-3);   /* cursor primary colour (neon cyan #00f0ff) */
  --c2: var(--ink-2);  /* cursor accent colour (electric blue #0066ff) */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
  touch-action: none;
}

/* The follower — positioned from --x/--y, eased with a transition */
.cursor {
  position: absolute;
  left: var(--x, -100px);
  top: var(--y, -100px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  transform: translate(-50%, -50%);
  transition: left 0.1s cubic-bezier(0.22, 1, 0.36, 1),
              top 0.1s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.2s ease,
              height 0.2s ease,
              background-color 0.2s ease,
              box-shadow 0.2s ease;
  pointer-events: none;
  will-change: left, top;
}

/* 05 Comet — a bright blue head trailing a tapered tail along its motion */
.cur-trail .cursor {
  width: 14px;
  height: 14px;
  background: var(--c);
  box-shadow: 0 0 14px var(--c), 0 0 28px rgba(0, 102, 255, 0.85);
  transition-duration: 0.08s;
}

.cur-trail .cursor::after {
  content: "";
  position: absolute;
  right: 50%;
  top: 50%;
  width: calc(18px + var(--speed, 0) * 80px);
  height: 4.5px;
  transform: translateY(-50%) rotate(var(--angle, 0deg));
  transform-origin: right center;
  background: linear-gradient(to left, var(--c), var(--c2) 55%, transparent);
  border-radius: 4px;
  opacity: var(--speed, 0);
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.8));
  pointer-events: none;
}

/* Interactive Hover state */
.cur-trail.is-hover .cursor {
  width: 26px;
  height: 26px;
  background: #00f5a0;
  box-shadow: 0 0 22px #00f5a0, 0 0 40px rgba(0, 245, 160, 0.6);
}

.cur-trail.is-click .cursor {
  transform: translate(-50%, -50%) scale(0.65);
  background: #ffffff;
  box-shadow: 0 0 30px #ffffff;
}

/* Disable on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cur {
    display: none !important;
  }
}
