/* ==========================================================================
   WhizTech Enterprise Design System
   Color Palette: Deep Slate/Obsidian Base (#070b14, #0b1120)
   Accents: Electric Blue (#1d63ed), Cyan Glow (#06b6d4), Emerald Glow (#10b981)
   Typography: Plus Jakarta Sans (Headings), Inter (Body)
   ========================================================================== */

:root {
  /* True Pure OLED Black Theme */
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #111111;
  --bg-card: rgba(14, 14, 16, 0.85);
  --bg-card-hover: rgba(22, 22, 26, 0.95);
  --bg-glass: rgba(10, 10, 12, 0.85);

  /* Primary Brand Colors */
  --blue-primary: #1d63ed;
  --blue-primary-hover: #2563eb;
  --blue-primary-active: #1d4ed8;
  --blue-subtle: rgba(29, 99, 237, 0.16);
  --blue-glow: rgba(29, 99, 237, 0.4);

  /* Cyan & Emerald Glows */
  --cyan-accent: #06b6d4;
  --cyan-subtle: rgba(6, 182, 212, 0.14);
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --emerald-accent: #10b981;
  --emerald-subtle: rgba(16, 185, 129, 0.14);
  --amber-accent: #f59e0b;
  --red-accent: #ef4444;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-slate: #94a3b8;
  --text-muted: #64748b;
  --text-light: #f1f5f9;

  /* Borders & Dividers */
  --border-white-06: rgba(255, 255, 255, 0.08);
  --border-white-10: rgba(255, 255, 255, 0.12);
  --border-white-15: rgba(255, 255, 255, 0.18);
  --border-blue-subtle: rgba(29, 99, 237, 0.35);
  --border-blue-glow: rgba(29, 99, 237, 0.65);

  /* Font Families (Luxury Geometric Tech Typography) */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Glass Filter */
  --glass-blur: blur(16px);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 35px -5px rgba(29, 99, 237, 0.35);
  --shadow-cyan-glow: 0 0 30px -5px rgba(6, 182, 212, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background-color: var(--bg-base);
  color: var(--text-slate);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--bg-base);
  color: var(--text-slate);
  min-height: 100vh;
}

/* Background Ambient Lighting & Subtle Grid */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #000000;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.32;
  will-change: transform;
}

.orb-primary {
  top: -15%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(29, 99, 237, 0.3) 0%, rgba(29, 99, 237, 0) 70%);
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.orb-secondary {
  top: 40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0) 70%);
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}

.orb-tertiary {
  bottom: -10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 99, 237, 0.18) 0%, rgba(29, 99, 237, 0) 70%);
  animation: floatOrb 24s ease-in-out infinite alternate;
}

.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: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 60%, transparent 100%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Typography Helpers (Luxury High-End Editorial Style) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

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

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #93c5fd 40%, #38bdf8 70%, #818cf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: luxuryTextGlow 6s ease-in-out infinite alternate;
}

@keyframes luxuryTextGlow {
  0% { background-position: 0% 50%; filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.2)); }
  100% { background-position: 100% 50%; filter: drop-shadow(0 0 25px rgba(129, 140, 248, 0.4)); }
}

.text-center { text-align: center; }
.text-emerald { color: var(--emerald-accent) !important; }
.text-cyan { color: var(--cyan-accent) !important; }
.text-blue { color: #60a5fa !important; }
.text-slate { color: var(--text-slate); }
.w-full { width: 100%; }

/* Glassmorphism Panel Component */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white-10);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(29, 99, 237, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, #1d63ed 0%, #1e40af 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(29, 99, 237, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: luxuryBtnSheen 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes luxuryBtnSheen {
  0%, 70% { left: -75%; opacity: 0; }
  75% { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

.btn-primary:hover::after {
  animation: none;
  left: 140%;
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 24px rgba(29, 99, 237, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-white);
  border: 1px solid var(--border-white-15);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.icon-sm {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.btn:hover .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Header / Sticky Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-white-06);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: var(--border-white-10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.brand-img-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-img-logo {
  transform: scale(1.03);
}

.brand-text-container {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  background: var(--cyan-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-slate);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--text-white);
}

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

.nav-link.active {
  color: var(--text-white);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hamburger Menu Toggle */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.open .bar-1 {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-btn.open .bar-2 {
  opacity: 0;
}
.hamburger-btn.open .bar-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Deep Background Blur when Mobile Menu is Active */
body.mobile-menu-active main,
body.mobile-menu-active .site-header,
body.mobile-menu-active .site-footer,
body.mobile-menu-active .fixed-background {
  filter: blur(18px) brightness(0.35);
  transition: filter 0.35s ease;
  pointer-events: none;
  user-select: none;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: #000000;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.8rem 1.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -25px 0 60px rgba(0, 0, 0, 0.95);
  overflow-y: auto;
  z-index: 10000;
  position: relative;
}

@media (max-width: 600px) {
  .mobile-drawer-content {
    max-width: 100vw;
    border-left: none;
  }
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-white-10);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.8rem 0;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #ffffff;
  background: rgba(29, 99, 237, 0.15);
  border-color: rgba(29, 99, 237, 0.4);
  transform: translateX(3px);
}

.mobile-nav-link svg {
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover svg {
  color: #ffffff;
  transform: translateX(3px);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-white-10);
}

.mobile-contact-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mobile-contact-snippet a {
  color: var(--text-slate);
  display: block;
  margin-bottom: 0.3rem;
}

.mobile-contact-snippet a:hover {
  color: var(--cyan-accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

/* Pill Badge */
.pill-badge-wrapper {
  margin-bottom: 1.5rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(29, 99, 237, 0.08);
  border: 1px solid rgba(29, 99, 237, 0.28);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 10px var(--cyan-accent);
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #bfdbfe;
}

.badge-accent {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--text-white);
}

/* Headline & Subheadline */
.hero-headline {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-subheadline {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 2.2rem;
  max-width: 620px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-white-06);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
}

.trust-tag svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-accent);
}

/* Hero Terminal & Flow Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-terminal-card {
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.95);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  animation: floatTerminal 7s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatTerminal {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--border-white-10);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--emerald-accent);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.terminal-body {
  padding: 1.5rem;
}

.arch-flow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(16, 16, 20, 0.85);
  border: 1px solid var(--border-white-06);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.arch-node:hover,
.arch-node.active-pulse {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(22, 22, 28, 0.95);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.node-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.node-icon svg {
  width: 18px;
  height: 18px;
}

.bg-blue-subtle {
  background: var(--blue-subtle);
  color: #60a5fa;
  border: 1px solid rgba(29, 99, 237, 0.3);
}

.bg-cyan-subtle {
  background: var(--cyan-subtle);
  color: var(--cyan-accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.node-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.node-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.node-spec {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-status {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: monospace;
}

.flow-connector {
  position: relative;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.flow-pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent);
  animation: flowDown 2s infinite linear;
}

@keyframes flowDown {
  0% { transform: translateY(-8px); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

.terminal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-white-06);
}

.stat-pill {
  background: rgba(5, 5, 6, 0.9);
  border: 1px solid var(--border-white-06);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
}

/* ==========================================================================
   Metric Strip
   ========================================================================== */
.metric-strip-wrapper {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.2rem 2.5rem;
  align-items: center;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-divider {
  display: none;
}

/* ==========================================================================
   Section Standard Structure
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.8rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-slate);
}

/* ==========================================================================
   Services Grid (6-Card Bento / Grid Layout)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.service-card {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-white-10);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.service-card::before,
.testimonial-card::before,
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    360px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(29, 99, 237, 0.6),
    rgba(6, 182, 212, 0.35) 25%,
    transparent 65%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.service-card:hover::before,
.testimonial-card:hover::before,
.spotlight-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 99, 237, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(29, 99, 237, 0.25);
}

.card-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(29, 99, 237, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover .card-glow-bg {
  opacity: 1;
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(29, 99, 237, 0.1);
  border: 1px solid rgba(29, 99, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #60a5fa;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
  box-shadow: 0 0 20px rgba(29, 99, 237, 0.5);
}

.service-icon {
  width: 26px;
  height: 26px;
}

.service-meta {
  margin-bottom: 1.2rem;
}

.service-category {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  display: block;
  margin-bottom: 0.4rem;
}

.service-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-slate);
}

.service-features {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-white-06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-white-06);
  margin-top: auto;
}

.tech-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-white-06);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.service-card:hover .tech-tag {
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.service-learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 0.4rem 0.8rem;
  margin-left: -0.8rem;
  border-radius: 8px;
  width: fit-content;
}

.service-learn-more-link .learn-more-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}

.service-learn-more-link:hover {
  color: #ffffff;
  background: rgba(29, 99, 237, 0.18);
  box-shadow: 0 0 16px rgba(29, 99, 237, 0.25);
}

.service-learn-more-link:hover .learn-more-arrow {
  transform: translateX(4px);
}

.service-card:hover .service-learn-more-link {
  color: #93c5fd;
}

@keyframes fieldPulse {
  0% { box-shadow: 0 0 0 0 rgba(29, 99, 237, 0.6); border-color: var(--blue-primary); }
  50% { box-shadow: 0 0 0 6px rgba(29, 99, 237, 0.25); border-color: var(--cyan-accent); }
  100% { box-shadow: 0 0 0 0 rgba(29, 99, 237, 0); }
}

.form-select.highlight-pulse {
  animation: fieldPulse 1.2s ease-out;
}

/* ==========================================================================
   Capabilities & Tech Stack Section
   ========================================================================== */
.capabilities-box {
  padding: 3.5rem;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.capability-pills {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cap-pill {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.cap-pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-subtle);
  border: 1px solid rgba(29, 99, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.cap-pill-icon svg {
  width: 20px;
  height: 20px;
}

.cap-pill-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.cap-pill-desc {
  font-size: 0.88rem;
  color: var(--text-slate);
  line-height: 1.55;
}

.tech-stack-matrix {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-white-10);
  border-radius: 14px;
  padding: 2rem;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-white-06);
  margin-bottom: 1.5rem;
}

.matrix-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.matrix-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald-accent);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.matrix-category {
  margin-bottom: 1.4rem;
}

.matrix-category:last-child {
  margin-bottom: 0;
}

.cat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.matrix-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-white-06);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.matrix-tag:hover {
  background: rgba(29, 99, 237, 0.18);
  border-color: rgba(29, 99, 237, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-copy {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.value-bullet {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan-accent);
  background: var(--cyan-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.3rem;
}

.value-text {
  font-size: 0.9rem;
  color: var(--text-slate);
  line-height: 1.6;
}

.about-feature-box {
  padding: 2.5rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.9);
}

.feature-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-white-06);
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-subtle);
  border: 1px solid rgba(29, 99, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.feature-box-icon svg {
  width: 22px;
  height: 22px;
}

.box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.box-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.framework-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #93c5fd;
  background: rgba(29, 99, 237, 0.15);
  border: 1px solid rgba(29, 99, 237, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

.step-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.framework-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
}

/* ==========================================================================
   Testimonials Section (3 Clean Card Reviews)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid var(--border-white-10);
  background: var(--bg-card);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-white-06);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d63ed, #06b6d4);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 99, 237, 0.35);
  flex-shrink: 0;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.company-name {
  color: #93c5fd;
  font-weight: 600;
}

/* ==========================================================================
   Contact & Lead Capture Section
   ========================================================================== */
.contact-wrapper {
  padding: 3.5rem;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

.contact-meta-col {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
  color: var(--text-white);
}

.contact-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 2.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-subtle);
  border: 1px solid rgba(29, 99, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

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

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

.contact-value {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
}

.link-accent {
  color: #93c5fd;
  transition: color var(--transition-fast);
}

.link-accent:hover {
  color: var(--cyan-accent);
  text-decoration: underline;
}

.response-guarantee {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-white-06);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-top: auto;
}

.guarantee-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.guarantee-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.guarantee-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Right Column: Modern Intake Form */
.contact-form-col {
  position: relative;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  background: rgba(5, 5, 6, 0.92);
  border: 1px solid var(--border-white-10);
  border-radius: 16px;
  padding: 2.2rem;
}

.form-header {
  margin-bottom: 0.5rem;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.3rem;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-label .required {
  color: #f87171;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
  position: relative;
  width: 100%;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(15, 15, 18, 0.95);
  border: 1px solid var(--border-white-10);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #475569;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  background: rgba(22, 22, 26, 0.98);
  box-shadow: 0 0 0 3px rgba(29, 99, 237, 0.25);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red-accent);
}

.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-white);
}

.select-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  font-size: 0.78rem;
  color: #f87171;
  display: none;
  margin-top: 0.2rem;
}

.field-error.visible {
  display: block;
}

/* Cloudflare Turnstile Simulated Widget */
.turnstile-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.turnstile-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.turnstile-box:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: #111114;
}

.turnstile-box.verified {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.turnstile-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.turnstile-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 2px solid #64748b;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
}

.turnstile-box:hover .turnstile-checkbox {
  border-color: #94a3b8;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: #ffffff;
  display: none;
}

.spinner-icon {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #38bdf8;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.turnstile-box.verifying .spinner-icon {
  display: block;
}

.turnstile-box.verified .turnstile-checkbox {
  background: #10b981;
  border-color: #10b981;
}

.turnstile-box.verified .check-icon {
  display: block;
}

.turnstile-box.verified .spinner-icon {
  display: none;
}

.turnstile-status-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #e2e8f0;
}

.turnstile-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cf-logo-block {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cf-icon {
  width: 32px;
  height: 14px;
}

.cf-brand {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}

.cf-terms {
  font-size: 0.65rem;
  color: #64748b;
}

.form-submit-container {
  margin-top: 0.4rem;
}

/* Success State */
.form-success-state {
  background: rgba(5, 5, 6, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-accent);
  margin-bottom: 1.5rem;
}

.success-icon-badge svg {
  width: 32px;
  height: 32px;
}

.success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-white-15);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(29, 99, 237, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-base);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.legal-dialog {
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-white-06);
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.legal-content {
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-content h4 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.4rem;
  color: var(--text-white);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-white-06);
}

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

.toast {
  pointer-events: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-white-15);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  color: var(--text-white);
  font-size: 0.9rem;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
}

.toast.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border-white-06);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-white-06);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 1.2rem 0 1.5rem;
  max-width: 320px;
}

.footer-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-location-tag svg {
  color: var(--cyan-accent);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-slate);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--blue-primary-hover);
  transform: translateX(3px);
}

.contact-meta-links li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.88rem;
}

.meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-quick-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-quick-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-quick-links a:hover {
  color: var(--text-white);
}

.dot-separator {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-headline {
    font-size: 2.8rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .system-status-indicator,
  #nav-cta-btn {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-headline {
    font-size: 2.5rem;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
  .capabilities-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .capabilities-box,
  .contact-wrapper {
    padding: 2.2rem 1.8rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }
  .hero-headline {
    font-size: 2.15rem;
  }
  .hero-subheadline {
    font-size: 1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .metric-strip {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .modal-dialog {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Killer Bespoke Micro-Effects (Custom Engineering Look)
   ========================================================================== */

/* 1. Ambient Background Cursor Halo */
.cursor-ambient-halo {
  position: fixed;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 99, 237, 0.14) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

.cursor-ambient-halo.active {
  opacity: 1;
}

/* 2. Scroll Reveal Elements (Smooth Staggered Rise) */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Live Telemetry Pulse & Scanning Line in Terminal */
.live-telemetry-ping {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.live-telemetry-ping.ping-active {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* 4. Edmonton Live SLA Clock */
.edmonton-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-white-06);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.edmonton-clock-time {
  font-family: monospace;
  color: var(--cyan-accent);
  font-weight: 700;
}

/* 5. Back to Top Floating Quick-Action Pill */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: rgba(29, 99, 237, 0.25);
  border-color: rgba(29, 99, 237, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(29, 99, 237, 0.3);
}
