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

:root {
  /* HSL Colors - Dark Space Luxury */
  --color-bg-hsl: 240 10% 3.9%;          /* #09090b - Velvet Black */
  --color-surface-hsl: 240 10% 6%;       /* #0f0f12 - Card Surface */
  --color-primary-hsl: 199 89% 48%;      /* #0ea5e9 - Cyber Cyan */
  --color-secondary-hsl: 263 70% 50%;    /* #8b5cf6 - Pulse Violet */
  --color-accent-hsl: 330 81% 60%;       /* #ec4899 - Action Coral */
  --color-text-hsl: 0 0% 98%;            /* #fafafa - Pure Light */
  --color-muted-hsl: 240 5% 65%;         /* #a1a1aa - Slate Grey */
  --color-border-hsl: 240 6% 15%;        /* #27272a - Velvet Border */

  /* Mapped Variables */
  --color-bg: hsl(var(--color-bg-hsl));
  --color-surface: hsl(var(--color-surface-hsl));
  --color-primary: hsl(var(--color-primary-hsl));
  --color-secondary: hsl(var(--color-secondary-hsl));
  --color-accent: hsl(var(--color-accent-hsl));
  --color-text: hsl(var(--color-text-hsl));
  --color-muted: hsl(var(--color-muted-hsl));
  --color-border: rgba(255, 255, 255, 0.08);
  --color-ring: hsl(var(--color-primary-hsl));
  
  /* Fonts */
  --font-heading: "Space Grotesk", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Grid & Gaps */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

/* Local lightweight icon shim replacing the render-blocking Font Awesome CDN. */
.fas,
.far,
.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-rendering: auto;
}

.fas::before,
.far::before,
.fab::before {
  content: "";
}

.fa-bars::before {
  width: 1em;
  height: 0.72em;
  background: linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat;
}

.fa-times::before {
  width: 1em;
  height: 1em;
  background: linear-gradient(45deg, transparent 44%, currentColor 45% 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 45% 55%, transparent 56%);
}

.fa-arrow-right::before,
.fa-chevron-right::before {
  width: 0.64em;
  height: 0.64em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.fa-plus::before {
  width: 0.86em;
  height: 0.86em;
  background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
}

.fa-circle::before {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.fa-check::before,
.fa-check-circle::before {
  width: 0.8em;
  height: 0.45em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.fa-linkedin::before,
.fa-linkedin-in::before,
.fa-whatsapp::before,
.fa-brain::before,
.fa-robot::before,
.fa-bullseye::before,
.fa-chart-line::before,
.fa-chart-pie::before,
.fa-chart-simple::before,
.fa-headset::before,
.fa-phone-volume::before,
.fa-funnel-dollar::before,
.fa-filter::before,
.fa-network-wired::before,
.fa-diagram-project::before,
.fa-users-cog::before,
.fa-user-tie::before,
.fa-user-shield::before,
.fa-laptop-code::before,
.fa-server::before,
.fa-database::before,
.fa-window-restore::before,
.fa-magnifying-glass-chart::before,
.fa-globe::before,
.fa-shield-alt::before,
.fa-shield-heart::before,
.fa-tachometer-alt::before,
.fa-bolt::before,
.fa-comments::before,
.fa-gears::before,
.fa-map::before,
.fa-route::before,
.fa-list-check::before,
.fa-building::before,
.fa-house::before,
.fa-briefcase::before,
.fa-clock::before,
.fa-file-medical::before,
.fa-file-signature::before,
.fa-notes-medical::before,
.fa-face-smile::before,
.fa-hand-holding-medical::before,
.fa-key::before,
.fa-link::before,
.fa-percent::before,
.fa-percentage::before,
.fa-solar-panel::before,
.fa-wheelchair::before,
.fa-envelopes-bulk::before,
.fa-exchange-alt::before,
.fa-envelope::before,
.fa-paper-plane::before,
.fa-calendar-alt::before,
.fa-calendar-check::before {
  width: 1.72em;
  min-width: 1.72em;
  height: 1.72em;
  border-radius: 0.48em;
  border: 1px solid rgba(103, 232, 249, 0.38);
  background:
    linear-gradient(145deg, rgba(103, 232, 249, 0.2), rgba(255, 255, 255, 0.045)),
    rgba(3, 11, 18, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(14, 165, 233, 0.12);
  color: #baf6ff;
  content: var(--icon-mark, "AX");
  font-size: 0.42em;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fa-linkedin::before,
.fa-linkedin-in::before { --icon-mark: "IN"; }
.fa-whatsapp::before { --icon-mark: "WA"; }
.fa-brain::before,
.fa-robot::before { --icon-mark: "AI"; }
.fa-bullseye::before { --icon-mark: "ACQ"; }
.fa-chart-line::before,
.fa-chart-pie::before,
.fa-chart-simple::before { --icon-mark: "KPI"; }
.fa-headset::before,
.fa-phone-volume::before { --icon-mark: "CALL"; }
.fa-funnel-dollar::before,
.fa-filter::before { --icon-mark: "LEAD"; }
.fa-network-wired::before,
.fa-diagram-project::before { --icon-mark: "TEL"; }
.fa-users-cog::before,
.fa-user-tie::before,
.fa-user-shield::before { --icon-mark: "OPS"; }
.fa-laptop-code::before,
.fa-server::before,
.fa-database::before { --icon-mark: "DEV"; }
.fa-window-restore::before { --icon-mark: "WEB"; }
.fa-magnifying-glass-chart::before,
.fa-globe::before { --icon-mark: "SEO"; }
.fa-shield-alt::before,
.fa-shield-heart::before { --icon-mark: "SEC"; }
.fa-tachometer-alt::before,
.fa-bolt::before { --icon-mark: "FAST"; }
.fa-comments::before { --icon-mark: "CHAT"; }
.fa-gears::before { --icon-mark: "SYS"; }
.fa-map::before,
.fa-route::before { --icon-mark: "MAP"; }
.fa-list-check::before { --icon-mark: "QA"; }
.fa-building::before,
.fa-house::before { --icon-mark: "HQ"; }
.fa-briefcase::before { --icon-mark: "BIZ"; }
.fa-clock::before { --icon-mark: "24H"; }
.fa-file-medical::before,
.fa-file-signature::before,
.fa-notes-medical::before { --icon-mark: "DOC"; }
.fa-face-smile::before { --icon-mark: "CX"; }
.fa-hand-holding-medical::before { --icon-mark: "HLTH"; }
.fa-key::before { --icon-mark: "KEY"; }
.fa-link::before { --icon-mark: "API"; }
.fa-percent::before,
.fa-percentage::before { --icon-mark: "ROI"; }
.fa-solar-panel::before { --icon-mark: "SOL"; }
.fa-wheelchair::before { --icon-mark: "SSDI"; }
.fa-envelopes-bulk::before,
.fa-envelope::before,
.fa-paper-plane::before { --icon-mark: "MAIL"; }
.fa-exchange-alt::before { --icon-mark: "SYNC"; }
.fa-calendar-alt::before,
.fa-calendar-check::before { --icon-mark: "CAL"; }

/* Custom Scrollbar */
html {
  scrollbar-color: rgba(103, 232, 249, 0.55) rgba(255, 255, 255, 0.035);
  scrollbar-width: thin;
  overflow-y: scroll;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #05070a;
  box-shadow: inset 0 0 18px rgba(14, 165, 233, 0.08);
}
::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.85), rgba(14, 165, 233, 0.58)),
    rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 2px solid rgba(5, 7, 10, 0.88);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.22);
}
::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(103, 232, 249, 0.86)),
    var(--color-primary);
}

/* Custom Desktop Cursor (Disabled on mobile by media query) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor select,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor .interactive-node {
    cursor: none !important;
  }

  a, button, select, input, textarea, [role="button"], .interactive-node {
    cursor: auto;
  }
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff 0 18%, #67e8f9 22% 100%);
    box-shadow: 0 0 18px rgba(103, 232, 249, 0.75);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s, background-color 0.15s;
  }
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(103, 232, 249, 0.72);
    background: rgba(103, 232, 249, 0.035);
    backdrop-filter: blur(8px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.05),
      0 12px 30px rgba(14, 165, 233, 0.16);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
  }
  body.cursor-hovering .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background: #ffffff;
  }
  body.cursor-hovering .custom-cursor-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 255, 255, 0.82);
    background:
      radial-gradient(circle at center, rgba(103, 232, 249, 0.14), rgba(14, 165, 233, 0.045)),
      rgba(255, 255, 255, 0.06);
  }
}
@media (hover: none), (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* Base resets & resets for transitions */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg);
  line-height: 1.6;
  cursor: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Base structure */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  position: relative;
  padding: 2.75rem 0;
  z-index: 10;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.16), transparent 24%),
    radial-gradient(circle at 34% 30%, rgba(236, 72, 153, 0.09), transparent 26%),
    linear-gradient(180deg, #020407 0%, #05070a 100%);
  opacity: 1;
  visibility: visible;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.preloader::before {
  background:
    linear-gradient(rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  animation: preloader-grid-drift 5s linear infinite;
}

.preloader::after {
  background: conic-gradient(from 180deg, transparent, rgba(103, 232, 249, 0.12), transparent 34%);
  filter: blur(28px);
  opacity: 0.55;
  animation: preloader-aurora 4.2s ease-in-out infinite alternate;
}

.preloader-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.05rem;
  justify-items: center;
  text-align: center;
}

.preloader-orbit {
  position: relative;
  width: min(220px, 62vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.preloader-ring,
.preloader-node,
.preloader-core,
.preloader-scan {
  position: absolute;
  border-radius: 50%;
}

.preloader-ring {
  inset: 0;
  border: 1px solid rgba(103, 232, 249, 0.18);
}

.ring-one {
  border-top-color: rgba(103, 232, 249, 0.95);
  border-right-color: rgba(103, 232, 249, 0.42);
  box-shadow: 0 0 38px rgba(14, 165, 233, 0.18);
  animation: preloader-spin 1.8s linear infinite;
}

.ring-two {
  inset: 18px;
  border-left-color: rgba(236, 72, 153, 0.85);
  border-bottom-color: rgba(103, 232, 249, 0.35);
  animation: preloader-spin-reverse 2.6s linear infinite;
}

.ring-three {
  inset: 42px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: preloader-spin 4.8s linear infinite;
}

.preloader-core {
  width: 86px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.45);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(145deg, rgba(14, 165, 233, 0.24), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 0 26px rgba(103, 232, 249, 0.16),
    0 0 42px rgba(14, 165, 233, 0.35);
  animation: preloader-core-breathe 1.7s ease-in-out infinite;
}

.core-grid {
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.42;
  animation: preloader-core-grid 1.2s linear infinite;
}

.core-pulse {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #baf6ff;
  box-shadow: 0 0 34px rgba(103, 232, 249, 0.95);
  animation: preloader-pulse 1s ease-in-out infinite;
}

.preloader-scan {
  width: 160px;
  height: 160px;
  border-radius: 34%;
  background: linear-gradient(90deg, transparent 0 45%, rgba(103, 232, 249, 0.8) 50%, transparent 55% 100%);
  mix-blend-mode: screen;
  opacity: 0.38;
  animation: preloader-scan 1.35s ease-in-out infinite;
}

.preloader-node {
  width: 11px;
  height: 11px;
  background: #67e8f9;
  box-shadow: 0 0 20px rgba(103, 232, 249, 0.9);
}

.node-one {
  top: 20px;
  left: 50%;
  animation: preloader-node-one 2.2s ease-in-out infinite;
}

.node-two {
  right: 20px;
  bottom: 48px;
  background: #fb7a55;
  box-shadow: 0 0 20px rgba(251, 122, 85, 0.85);
  animation: preloader-node-two 2.2s ease-in-out infinite 0.18s;
}

.node-three {
  left: 30px;
  bottom: 44px;
  background: #c4b5fd;
  box-shadow: 0 0 20px rgba(196, 181, 253, 0.85);
  animation: preloader-node-three 2.2s ease-in-out infinite 0.32s;
}

.preloader-copy {
  display: grid;
  gap: 0.25rem;
}

.preloader-copy span {
  color: var(--color-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.preloader-copy strong {
  font-size: 1.15rem;
  color: #fff;
}

.preloader-track {
  width: min(320px, 70vw);
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.45);
}

.preloader-track span {
  display: block;
  width: 52%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #67e8f9, #fb7a55, transparent);
  box-shadow: 0 0 20px rgba(103, 232, 249, 0.8);
  animation: preloader-sweep 1.3s ease-in-out infinite;
}

.preloader-status {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.preloader-status span {
  min-width: 56px;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  color: rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(103, 232, 249, 0.16);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: preloader-chip 1.5s ease-in-out infinite;
}

.preloader-status span:nth-child(2) {
  animation-delay: 0.18s;
}

.preloader-status span:nth-child(3) {
  animation-delay: 0.36s;
}

.preloader-sound {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  color: rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.preloader-sound:hover,
.preloader-sound:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.58);
  color: #fff;
  background: rgba(103, 232, 249, 0.09);
  outline: none;
}

.preloader-sound.is-playing {
  color: #baf6ff;
  border-color: rgba(103, 232, 249, 0.74);
  box-shadow: 0 0 28px rgba(14, 165, 233, 0.22);
}

.sound-bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 14px;
}

.sound-bars span {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: preloader-sound-bars 0.72s ease-in-out infinite;
}

.sound-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.sound-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.preloader-sound:not(.is-playing) .sound-bars span {
  animation-play-state: paused;
}

@keyframes preloader-sound-bars {
  0%, 100% { height: 5px; opacity: 0.62; }
  50% { height: 14px; opacity: 1; }
}

@keyframes preloader-grid-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(54px, 54px, 0); }
}

@keyframes preloader-aurora {
  0% { transform: rotate(0deg) scale(1); opacity: 0.35; }
  100% { transform: rotate(22deg) scale(1.1); opacity: 0.62; }
}

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

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

@keyframes preloader-core-breathe {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
}

@keyframes preloader-core-grid {
  to { background-position: 12px 12px; }
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(0.68); opacity: 0.68; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes preloader-scan {
  0% { transform: translateX(-22%) rotate(0deg); opacity: 0; }
  35%, 70% { opacity: 0.38; }
  100% { transform: translateX(22%) rotate(180deg); opacity: 0; }
}

@keyframes preloader-node-one {
  0%, 100% { transform: translate(-50%, 0) scale(0.72); opacity: 0.45; }
  50% { transform: translate(-50%, -8px) scale(1.28); opacity: 1; }
}

@keyframes preloader-node-two {
  0%, 100% { transform: translate(0, 0) scale(0.72); opacity: 0.45; }
  50% { transform: translate(8px, 6px) scale(1.28); opacity: 1; }
}

@keyframes preloader-node-three {
  0%, 100% { transform: translate(0, 0) scale(0.72); opacity: 0.45; }
  50% { transform: translate(-8px, 6px) scale(1.28); opacity: 1; }
}

@keyframes preloader-chip {
  0%, 100% {
    color: rgba(229, 231, 235, 0.58);
    border-color: rgba(103, 232, 249, 0.12);
  }
  50% {
    color: #fff;
    border-color: rgba(103, 232, 249, 0.46);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.16);
  }
}

@keyframes preloader-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

body.is-ready .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 1.75rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #fff 40%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-muted);
}

/* Background Aurora Glows */
.glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: float-glow 20s infinite alternate ease-in-out;
}

.glow-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(var(--color-primary-hsl)) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-duration: 25s;
}

.glow-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(var(--color-secondary-hsl)) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-duration: 30s;
}

.glow-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(var(--color-accent-hsl)) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation-duration: 18s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -40px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Canvas background overlay */
#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.45;
}

/* Glassmorphism Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo span {
  background: linear-gradient(135deg, hsl(var(--color-primary-hsl)), hsl(var(--color-accent-hsl)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-xl);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--color-primary-hsl)), hsl(var(--color-accent-hsl)));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger mobile menu */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(15, 15, 18, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 15px 40px -8px rgba(14, 165, 233, 0.15);
  transform: translateY(-4px);
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--color-primary-hsl)), hsl(var(--color-secondary-hsl)));
  color: #fff;
  box-shadow: 0 4px 20px -5px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -5px rgba(14, 165, 233, 0.6);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, hsl(var(--color-accent-hsl)), hsl(var(--color-secondary-hsl)));
  color: #fff;
  box-shadow: 0 4px 20px -5px rgba(236, 72, 153, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -5px rgba(236, 72, 153, 0.6);
  opacity: 0.95;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8.75rem 0 5rem;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14), 0 0 16px rgba(103, 232, 249, 0.64);
}

.hero h1 {
  font-size: clamp(3rem, 4vw, 4.65rem);
  line-height: 0.96;
  margin-bottom: var(--space-md);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 60%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  max-width: 56ch;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-lg);
}

.hero-trust-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.hero-trust-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Interactive Dashboard Mockup */
.hero-visual {
  position: relative;
  min-width: 0;
}

.command-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 26px;
  border: 1px solid rgba(103, 232, 249, 0.12);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 20, 28, 0.92), rgba(7, 10, 15, 0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

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

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }

.dashboard-title {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 500;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
}

.dashboard-chart-card {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.chart-title {
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 600;
}

.chart-metrics {
  display: flex;
  gap: var(--space-md);
}

.chart-metric {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.chart-metric span {
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 2px;
}

.chart-graphic {
  position: relative;
  width: 100%;
  height: 120px;
}

.chart-line {
  fill: none;
  stroke: url(#chart-gradient);
  stroke-width: 3;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-chart 3s forwards ease-out;
}

.chart-line-bg {
  fill: url(#chart-bg-gradient);
  opacity: 0.1;
  clip-path: url(#chart-clip);
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

.dashboard-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.stat-box {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-box-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

.stat-box-lbl {
  font-size: 0.6875rem;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Services Bento Grid Section */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.bento-item {
  grid-column: span 4;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(10, 12, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.bento-item-1,
.bento-item-4 {
  grid-column: span 8;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(103, 232, 249, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  overflow: hidden;
}

.bento-item:hover .service-icon {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.26);
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.14);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.service-link i {
  transition: transform 0.3s;
}

.bento-item:hover .service-link i {
  transform: translateX(4px);
}

/* A8Nexus Section */
.nexus-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.nexus-visual-wrap {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexus-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  z-index: 10;
  animation: pulse-orb 4s infinite alternate ease-in-out;
}

@keyframes pulse-orb {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); }
  100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(139, 92, 246, 0.4); }
}

.nexus-node {
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.nexus-node:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
  transform: scale(1.1);
}

.node-1 { top: 15%; left: 15%; }
.node-2 { top: 15%; right: 15%; }
.node-3 { bottom: 15%; left: 15%; }
.node-4 { bottom: 15%; right: 15%; }
.node-5 { top: 50%; left: 5%; transform: translateY(-50%); }
.node-6 { top: 50%; right: 5%; transform: translateY(-50%); }

.nexus-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nexus-svg-lines line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1.5;
  stroke-dasharray: 4;
}

.nexus-list {
  list-style: none;
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.nexus-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.nexus-list-item i {
  color: var(--color-accent);
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.why-card {
  padding: var(--space-xl);
  height: 100%;
}

.why-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Case Studies Section */
.case-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1px;
}

.case-tab {
  background: none;
  border: none;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.case-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.case-tab.active {
  color: #fff;
}

.case-tab.active::after {
  width: 100%;
}

.case-content-panel {
  display: none;
}

.case-content-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.case-info h3 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.case-meta {
  display: flex;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
}

.case-meta-item {
  display: flex;
  flex-direction: column;
}

.case-meta-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.case-meta-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.case-chart-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: var(--space-lg);
}

/* SVG Chart Animations */
.chart-bar {
  transform-origin: bottom;
  animation: grow-bar 1.5s ease-out forwards;
}

@keyframes grow-bar {
  0% { transform: scaleY(0); }
}

/* Social Proof Carousel */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.08);
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* Callouts & FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  color: var(--color-muted);
  font-size: 0.9375rem;
  padding-bottom: 0;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-question.active i {
  transform: rotate(45deg);
}

/* Contact Hub & Form Styling */
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.form-wrapper {
  padding: var(--space-2xl);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.form-desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Sticky CTAs & Float Widgets */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.widget-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  position: relative;
}

.widget-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  flex: none;
}

.widget-whatsapp {
  background-color: #25d366;
}

.widget-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.widget-calendar {
  background: linear-gradient(135deg, hsl(var(--color-primary-hsl)), hsl(var(--color-secondary-hsl)));
}

.widget-calendar svg {
  width: 1.2rem;
  height: 1.2rem;
}

.widget-calendar:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

/* native dialog modal styles */
dialog {
  border: none;
  margin: auto;
  border-radius: 16px;
  background: transparent;
  width: min(90vw, 560px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
}

dialog::backdrop {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: dialog-fade-in 0.3s forwards;
}

.modal-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@keyframes dialog-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cost Calculator Layout */
.calculator-card {
  padding: var(--space-2xl);
  margin-top: 1.25rem;
}

.calc-val-display {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.calc-slider-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.calc-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: background-color 0.25s;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.calc-slider-group input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--color-accent);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--space-lg);
  border-radius: 8px;
  text-align: center;
}

.calc-res-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.calc-res-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* Footer Section */
.footer {
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

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

.footer-brand p {
  margin: var(--space-md) 0 var(--space-lg) 0;
  line-height: 1.5;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--color-muted);
}

.social-link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Service / Product Landing Template Styling */
.inner-hero {
  position: relative;
  padding: 8rem 0 4rem 0;
  overflow: hidden;
  text-align: center;
}

.inner-hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.campaign-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
}

.campaign-specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.campaign-spec-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--space-md);
  border-radius: 8px;
}

.campaign-spec-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.campaign-spec-val {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Blog Template Styling */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #222;
}

.blog-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.blog-meta-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.blog-card-title:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-md);
}

.blog-card-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.blog-card-author-name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.blog-post-content p {
  margin-bottom: var(--space-lg);
}

.blog-post-content h2 {
  font-size: 1.75rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
}

.blog-post-content h3 {
  font-size: 1.375rem;
  margin: var(--space-lg) 0 var(--space-sm) 0;
}

.blog-post-content ul, .blog-post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.blog-post-content li {
  margin-bottom: var(--space-xs);
}

.author-bio-box {
  display: flex;
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: 12px;
  margin-top: var(--space-3xl);
  align-items: center;
}

.bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  background: #27272a;
}

.bio-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.bio-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Mobile Responsiveness Rules */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item-1, .bento-item-4 {
    grid-column: span 1;
  }
  .nexus-wrap {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-content-panel.active {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: var(--space-xl);
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 998;
  }
  .nav-links.active {
    right: 0;
  }
  .menu-btn {
    display: block;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .campaign-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Premium homepage refinement pass */
:root {
  --color-bg-hsl: 220 18% 4%;
  --color-surface-hsl: 220 14% 7%;
  --color-primary-hsl: 192 96% 47%;
  --color-secondary-hsl: 228 48% 54%;
  --color-accent-hsl: 14 95% 66%;
  --color-muted-hsl: 218 10% 69%;
  --color-border: rgba(230, 238, 247, 0.11);
  --shadow-premium: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-focus: 0 0 0 4px rgba(11, 197, 234, 0.16);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
}

body {
  color: rgba(250, 250, 250, 0.94);
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.62) 0%, rgba(6, 9, 14, 0) 28%),
    radial-gradient(900px 420px at 78% 12%, rgba(11, 197, 234, 0.12), transparent 62%),
    linear-gradient(180deg, #070a0f 0%, #090b10 42%, #06070a 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.glow-blob {
  display: none;
}

.container {
  max-width: 1240px;
}

.section {
  padding: 3.5rem 0;
}

.section-band {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012));
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.section-title-wrap {
  max-width: 760px;
}

.section-subtitle {
  color: hsl(var(--color-primary-hsl));
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.section-title {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-desc {
  color: rgba(229, 231, 235, 0.68);
  line-height: 1.72;
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  max-width: 1180px;
  min-height: 58px;
  padding: 0 var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .container {
  background: rgba(8, 11, 17, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.navbar.scrolled {
  background: transparent;
  border-bottom: none;
}

.logo span {
  background: none;
  color: #fff;
  -webkit-text-fill-color: currentColor;
}

.logo-dot {
  background: hsl(var(--color-primary-hsl));
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(11, 197, 234, 0.64);
}

.nav-links {
  gap: 1.4rem;
}

.nav-links a {
  color: rgba(229, 231, 235, 0.66);
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover {
  color: #fff;
}

.glass-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.076), rgba(255, 255, 255, 0.028)),
    rgba(9, 13, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 14px;
  box-shadow: var(--shadow-premium);
}

.glass-card:hover {
  border-color: rgba(11, 197, 234, 0.34);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(11, 197, 234, 0.08);
  transform: translateY(-3px);
}

.btn {
  min-height: 44px;
  border-radius: 999px;
  letter-spacing: 0;
  box-shadow: none;
}

.btn:focus-visible,
.form-input:focus-visible,
.faq-question:focus-visible,
.case-tab:focus-visible,
.widget-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn-primary {
  color: #031014;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #7ee7f7, #0bc5ea 52%, #8fd3ff);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 38px rgba(11, 197, 234, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 46px rgba(11, 197, 234, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-accent {
  color: #140905;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #ffbc8f, #fb7a55);
  box-shadow: 0 16px 38px rgba(251, 122, 85, 0.2);
}

/* ==========================================================================
   Hero Entrance — CSS keyframe animations (JS-independent, always visible)
   ========================================================================== */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes hero-slide-right {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Apply entrance animations — in sync with preloader 1.5s minimum display */
.badge-pulse {
  animation: hero-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.55s both;
}
.hero h1 {
  animation: hero-fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.65s both;
}
.hero-subtitle {
  animation: hero-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.8s both;
}
.hero-ctas {
  animation: hero-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.92s both;
}
.hero-trust {
  animation: hero-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.05s both;
}
.hero-visual .command-card {
  animation: hero-slide-right 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.7s both;
}

/* Reduce motion — skip animations */
@media (prefers-reduced-motion: reduce) {
  .badge-pulse,
  .hero h1,
  .hero-subtitle,
  .hero-ctas,
  .hero-trust,
  .hero-visual .command-card {
    animation: none;
  }
}

.hero {
  min-height: 100vh;
  padding: 9rem 0 5.5rem;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.96) 0%, rgba(7, 10, 15, 0.86) 34%, rgba(7, 10, 15, 0.38) 70%, rgba(7, 10, 15, 0.82) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, var(--color-bg));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.97) 0%, rgba(7, 10, 15, 0.84) 30%, rgba(7, 10, 15, 0.2) 68%, rgba(7, 10, 15, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.24) 0%, rgba(7, 10, 15, 0.94) 100%),
    image-set(
      url('/assets/hero-operations-command-1200.avif') type('image/avif'),
      url('/assets/hero-operations-command-1200.webp') type('image/webp'),
      url('/assets/hero-operations-command.png') type('image/png')
    ) center right / cover no-repeat;
  transform: translateZ(0);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 197, 234, 0.13), transparent 42%),
    radial-gradient(560px 260px at 72% 44%, rgba(251, 122, 85, 0.11), transparent 68%);
  mix-blend-mode: screen;
}

#network-canvas {
  z-index: 2;
  opacity: 0.22;
}

.hero .container {
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.72fr);
  gap: 4rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 650px;
}

.badge-pulse {
  background: rgba(11, 197, 234, 0.1);
  border-color: rgba(11, 197, 234, 0.24);
  color: #9beeff;
}

.pulse-dot {
  background-color: #5eead4;
}

.hero h1 {
  max-width: 680px;
  font-size: 4.4rem;
  line-height: 0.98;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
  max-width: 610px;
  color: rgba(229, 231, 235, 0.75);
  line-height: 1.78;
}

.hero-trust {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.hero-trust-grid {
  gap: 0.75rem;
}

.hero-trust-item {
  min-height: 82px;
  justify-content: center;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-trust-val {
  font-size: 1.14rem;
}

.hero-visual {
  justify-self: end;
  width: 100%;
}

.command-card {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  padding: 1.2rem;
  overflow: hidden;
  transform: translateY(24px);
}

.command-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(420px 180px at 50% 0%, rgba(11, 197, 234, 0.18), transparent 70%);
}

.command-card-topline,
.command-row,
.command-flow,
.command-hero-metric,
.command-stack {
  position: relative;
  z-index: 1;
}

.command-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(229, 231, 235, 0.68);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  color: #b8ffe4;
  background: rgba(34, 197, 94, 0.11);
  border: 1px solid rgba(74, 222, 128, 0.18);
  white-space: nowrap;
}

.status-pill i {
  font-size: 0.45rem;
}

.command-hero-metric {
  padding: 2.4rem 0 1.8rem;
}

.command-hero-metric span,
.command-hero-metric small {
  display: block;
  color: rgba(229, 231, 235, 0.62);
}

.command-hero-metric strong {
  display: block;
  margin: 0.12rem 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0;
}

.command-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  margin-bottom: 1.4rem;
}

.flow-node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 82px;
  height: 76px;
  border-radius: 12px;
  color: rgba(229, 231, 235, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.095);
}

.flow-node i {
  color: hsl(var(--color-primary-hsl));
}

.flow-node.active {
  color: #fff;
  border-color: rgba(11, 197, 234, 0.34);
  background: rgba(11, 197, 234, 0.11);
}

.flow-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 197, 234, 0.7), rgba(255, 255, 255, 0.14));
}

.command-stack {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.command-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(229, 231, 235, 0.68);
  font-size: 0.86rem;
}

.command-row strong {
  color: #fff;
}

.command-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.command-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79eaff, #0bc5ea);
}

.command-meter.accent span {
  background: linear-gradient(90deg, #ffd0a8, #fb7a55);
}

.bento-item,
.why-card,
.calculator-card,
.case-chart-wrap,
.testimonials-slider,
.lead-form-grid {
  border-radius: 14px;
}

.bento-item {
  min-height: 340px;
}

.bento-item::before,
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(11, 197, 234, 0.08), transparent 45%);
  transition: opacity 0.3s ease;
}

.bento-item,
.why-card {
  position: relative;
}

.bento-item:hover::before,
.why-card:hover::before {
  opacity: 1;
}

.service-icon,
.why-icon {
  color: hsl(var(--color-primary-hsl));
}

.service-icon {
  border-radius: 10px;
  background: rgba(11, 197, 234, 0.08);
  border-color: rgba(11, 197, 234, 0.14);
}

.bento-item:hover .service-icon {
  background: hsl(var(--color-primary-hsl));
  box-shadow: 0 16px 36px rgba(11, 197, 234, 0.22);
}

.service-desc,
.why-card p,
.faq-answer,
.footer,
.blog-card-excerpt {
  color: rgba(229, 231, 235, 0.66);
}

.service-tag {
  color: rgba(229, 231, 235, 0.72);
  background: rgba(255, 255, 255, 0.048);
  border-color: rgba(255, 255, 255, 0.08);
}

.nexus-orb {
  border-radius: 18px;
  background: rgba(11, 197, 234, 0.1);
  border-color: rgba(11, 197, 234, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  animation: none;
}

.nexus-node {
  border-radius: 12px;
}

.calc-results,
.campaign-spec-item,
.dashboard-chart-card,
.stat-box {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
}

.case-tabs {
  gap: 0.35rem;
  padding: 0.3rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.case-tab {
  border-radius: 999px;
}

.case-tab::after {
  display: none;
}

.case-tab.active {
  background: rgba(11, 197, 234, 0.13);
  color: #fff;
}

.testimonial-quote {
  font-size: 1.16rem;
}

.author-avatar {
  background: linear-gradient(135deg, #16303a, #0bc5ea);
}

.faq-grid {
  max-width: 900px;
}

.faq-question {
  border-radius: 10px;
}

.faq-question:hover {
  color: #9beeff;
}

.form-input {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-input:focus {
  box-shadow: var(--shadow-focus);
}

.footer {
  background: #05070a;
}

.widget-calendar {
  background: linear-gradient(135deg, #7ee7f7, #0bc5ea);
  color: #031014;
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

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

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-visual {
    justify-self: start;
    max-width: 560px;
  }

  .command-card {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    border-radius: 0;
  }

  .nav-links {
    background: rgba(6, 8, 12, 0.98);
  }

  .hero {
    padding: 7.6rem 0 4rem;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(7, 10, 15, 0.98) 0%, rgba(7, 10, 15, 0.9) 42%, rgba(7, 10, 15, 0.52) 100%),
      linear-gradient(180deg, rgba(7, 10, 15, 0.2) 0%, rgba(7, 10, 15, 0.96) 100%),
      image-set(
        url('/assets/hero-operations-command-760.avif') type('image/avif'),
        url('/assets/hero-operations-command-760.webp') type('image/webp'),
        url('/assets/hero-operations-command.png') type('image/png')
      ) 62% center / cover no-repeat;
    opacity: 0.54;
  }

  #network-canvas {
    display: none;
  }

  .hero h1 {
    font-size: 2.62rem;
    line-height: 1.04;
  }

  .hero-ctas,
  .case-meta {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust-grid,
  .calc-results,
  .form-row,
  .nexus-list {
    grid-template-columns: 1fr;
  }

  .command-card {
    transform: none;
  }

  .command-hero-metric strong {
    font-size: 3rem;
  }

  .command-flow {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .flow-node {
    width: 100%;
    height: 58px;
    flex-direction: row;
  }

  .flow-line {
    width: 1px;
    height: 20px;
    justify-self: center;
  }

  .case-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .case-tab {
    white-space: nowrap;
  }

  .floating-widgets {
    display: flex;
    right: 16px;
    bottom: 16px;
    gap: 0.55rem;
    z-index: 1200;
  }

  .widget-btn {
    width: 48px;
    height: 48px;
  }

  .lead-form-grid > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Final Homepage Experience Pass
   ========================================================================== */
body {
  min-width: 0;
}

body,
.navbar,
.hero,
.section,
.footer {
  max-width: 100vw;
}

/* content-visibility removed — was causing 820px empty space artifacts */

.nav-links > li:last-child .btn {
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: 999px;
}

.hero {
  background:
    radial-gradient(circle at 22% 18%, rgba(11, 197, 234, 0.16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(251, 122, 85, 0.11), transparent 24%),
    #05070a;
}

.hero-media {
  opacity: 0.62;
  filter: saturate(1.05) contrast(1.05);
}

.hero .container,
.section .container,
.footer .container {
  min-width: 0;
}

.hero-content,
.hero-visual,
.command-card,
.glass-card,
.bento-item {
  min-width: 0;
}

.hero-visual {
  width: 100%;
}

.command-card {
  max-width: 520px;
  margin-left: auto;
}

.command-flow {
  min-width: 0;
}

.flow-node {
  min-width: 0;
}

.flow-node span,
.command-row span,
.service-title,
.service-desc,
.footer-bottom,
.footer-links a {
  overflow-wrap: anywhere;
}

.bento-grid {
  align-items: stretch;
}

.bento-item {
  transform: translateZ(0);
}

.bento-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 22% 0%, rgba(103, 232, 249, 0.18), transparent 38%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-item:hover::before {
  opacity: 1;
}

.service-icon .fas::before,
.service-icon .far::before,
.service-icon .fab::before {
  width: 2.1em;
  min-width: 2.1em;
  height: 2.1em;
  border-radius: 0.7em;
  font-size: 0.5em;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.footer-brand {
  /* grid-column handled by grid-template-columns */
}

.footer-bottom > div {
  min-width: 0;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.84rem;
  }
}

/* Ensure form select always shows white text on dark bg */
select.form-input,
select.form-input option {
  color: #fff;
  background: #0f0f12;
}

select.form-input option:checked {
  background: rgba(11, 197, 234, 0.2);
}

@media (max-width: 980px) {
  .navbar {
    padding: 0.9rem 0;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .nav-links > li:last-child .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.8rem;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

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

  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4.1rem);
  }

  .hero-visual {
    max-width: 620px;
  }

  .command-card {
    margin-left: 0;
  }

  .bento-item,
  .bento-item-1,
  .bento-item-4 {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 1.15rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-media {
    opacity: 0.38;
    background-position: 62% top;
  }

  .badge-pulse {
    font-size: 0.68rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-ctas {
    display: grid;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
  }

  .hero-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-trust-item {
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item,
  .bento-item-1,
  .bento-item-4 {
    grid-column: auto;
    min-height: auto;
    padding: 1.1rem;
    border-radius: 18px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.28rem;
  }

  .service-desc {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .service-tags {
    gap: 0.45rem;
  }

  .service-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .floating-widgets {
    right: 14px;
    bottom: 14px;
    gap: 0.5rem;
  }

  .widget-btn {
    width: 42px;
    height: 42px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  }

  .widget-btn .fab::before,
  .widget-btn .far::before {
    width: 2em;
    min-width: 2em;
    height: 2em;
    font-size: 0.46em;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

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

  .footer-bottom {
    display: grid;
    gap: 1rem;
    font-size: 0.82rem;
  }

  .footer-bottom > div:last-child {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
}
