:root {
  --bg: #05070b;
  --bg-2: #080d15;
  --ink: #f8fafc;
  --muted: #a8b2c1;
  --soft: #d8dee9;
  --panel: rgba(13, 20, 32, 0.82);
  --panel-strong: rgba(16, 26, 42, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --green: #77c34f;
  --green-2: #b6f36b;
  --blue: #5cc8ff;
  --gold: #ffd166;
  --radius: 24px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 84% -8%, rgba(119, 195, 79, 0.18), transparent 28%),
    radial-gradient(circle at 10% 7%, rgba(92, 200, 255, 0.11), transparent 26%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 46%, #05070b);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
a { color: var(--green-2); text-decoration: none; }
a:hover { color: #fff; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pulse {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(119, 195, 79, 0.14), 0 0 32px rgba(119, 195, 79, 0.75);
}

.navbar {
  background: rgba(5, 7, 11, 0.62) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  transition: background 260ms ease, box-shadow 260ms ease;
}
.navbar.is-scrolled { background: rgba(5, 7, 11, 0.88) !important; box-shadow: var(--shadow-soft); }
.navbar-brand { letter-spacing: 0.075em; gap: 0.5rem; }
.navbar { padding-top: 0.3rem; padding-bottom: 0.3rem; }
.brand-mark-img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-link { color: #e7edf6 !important; font-weight: 760; position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.25rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: transform 220ms ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--green-2) !important; }

.btn-main, .btn-outline-premium {
  border-radius: 999px;
  padding: 0.92rem 1.35rem;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  position: relative;
  overflow: hidden;
}
.btn-main {
  border: 0;
  color: #071006 !important;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  box-shadow: 0 16px 44px rgba(119, 195, 79, 0.28);
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 24px 64px rgba(119, 195, 79, 0.36); }
.btn-outline-premium { border: 1px solid var(--line-strong); color: #fff !important; background: rgba(255,255,255,0.035); }
.btn-outline-premium:hover { transform: translateY(-2px); border-color: rgba(182, 243, 107, 0.72); background: rgba(119, 195, 79, 0.08); }

.section { padding: 8rem 0; }
.section-tight { padding: 5.75rem 0; }
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5.25rem;
  background:
    radial-gradient(circle at 84% -8%, rgba(119, 195, 79, 0.18), transparent 28%),
    radial-gradient(circle at 10% 7%, rgba(92, 200, 255, 0.11), transparent 26%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 46%, #05070b);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-frame {
  position: relative;
  width: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 80px rgba(119, 195, 79, 0.08);
  overflow: hidden;
  animation: scaleIn 1.2s var(--ease-out);
}
.device-frame::before {
  content: "";
  display: block;
  height: 42px;
  background:
    radial-gradient(circle at 20px 21px, #ff6b6b 0 5px, transparent 6px),
    radial-gradient(circle at 42px 21px, #ffd166 0 5px, transparent 6px),
    radial-gradient(circle at 64px 21px, #77c34f 0 5px, transparent 6px),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: rgba(5, 7, 11, 0.85);
}
.hero-image {
  min-height: 620px;
  border-radius: 34px;
  animation: scaleIn 1.2s var(--ease-out);
  background: rgba(5, 7, 11, 0.85);
}
.display-title { font-size: clamp(3rem, 7vw, 7rem); font-weight: 950; letter-spacing: -0.075em; line-height: 0.9; }
.section-title { font-size: clamp(2.2rem, 4.7vw, 4.6rem); font-weight: 950; letter-spacing: -0.06em; line-height: 0.98; }
.lead-xl { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.42rem); line-height: 1.72; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(7, 11, 18, 0.9));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.glass { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: var(--shadow); }
.metric { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.metric strong { display: block; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.06em; }
.metrics-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.metric-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.metric-value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  color: var(--green-2);
  line-height: 1;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.35rem;
}
.reveal { opacity: 1; transform: none; transition: opacity 820ms var(--ease-out), transform 820ms var(--ease-out); }
.js-ready .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }

.ops-map { position: relative; min-height: 610px; transform: translate3d(0, var(--parallax, 0), 0); }
.ops-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 28px 70px rgba(0,0,0,.44)); }
.flow { stroke-dasharray: 12 16; animation: dash 9s linear infinite; }
.node-dot { filter: drop-shadow(0 0 18px rgba(182,243,107,.78)); animation: nodePulse 3.2s ease-in-out infinite; }
.ops-card { position: absolute; min-width: 150px; padding: 1rem; border: 1px solid rgba(182, 243, 107, 0.34); border-radius: 18px; background: rgba(8, 13, 22, 0.84); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }
.ops-card strong { display: block; font-weight: 900; font-size: 0.95rem; color: #fff; }
.ops-card small { display: block; margin-top: 0.15rem; color: var(--muted); font-weight: 600; }
.o1 { left: 2%; top: 22%; } .o2 { left: 39%; top: 8%; } .o3 { right: 2%; top: 31%; } .o4 { left: 18%; bottom: 13%; } .o5 { right: 22%; bottom: 8%; }

.outcome-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.outcome-card { min-height: 245px; padding: 1.6rem; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.outcome-card:hover { transform: translateY(-5px); border-color: rgba(182,243,107,.5); box-shadow: var(--shadow); }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.process-line { position: relative; padding-left: 2.2rem; }
.process-line::before { content: ""; position: absolute; left: .65rem; top: .35rem; bottom: .35rem; width: 2px; background: linear-gradient(var(--green), var(--blue), transparent); }
.step { position: relative; padding: 0 0 2.75rem 2rem; }
.step::before { content: ""; position: absolute; left: -0.02rem; top: 0.1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--bg); border: 3px solid var(--green); box-shadow: 0 0 12px rgba(119, 195, 79, 0.44); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare .bad { border-color: rgba(255, 107, 107, 0.28); }
.compare .good { border-color: rgba(182, 243, 107, 0.44); }
.form-control, .form-select { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.14) !important; color: #fff !important; border-radius: 14px; padding: .88rem 1rem; font-weight: 500; }
.form-control::placeholder { color: #7f8a9b; }
.form-control:focus, .form-select:focus { border-color: rgba(182,243,107,.64) !important; box-shadow: 0 0 0 .25rem rgba(119,195,79,.13); background: rgba(255,255,255,.08) !important; }
.footer-premium { padding: 5rem 0 2rem; border-top: 1px solid var(--line); background: radial-gradient(circle at 18% 0%, rgba(119,195,79,.12), transparent 28%), #040608; }
.footer-premium h6 { color: #fff; font-weight: 900; }
.footer-premium a { display: block; margin: .45rem 0; color: var(--muted); transition: color 220ms ease; }
.footer-premium a:hover { color: var(--green-2); }

@keyframes dash { to { stroke-dashoffset: -220; } }
@keyframes nodePulse { 50% { opacity: .55; transform: scale(.96); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 6rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ops-map { min-height: 520px; }
  .outcome-grid, .compare { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-4, .span-6 { grid-column: auto; }
  .device-frame img { max-height: 420px; }
  .hero-image { min-height: 520px; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .hero { padding: 5rem 0 2.5rem; }
  .ops-map { display: none; }
  .display-title { font-size: 3.15rem; }
  .device-frame img { max-height: 360px; }
  .hero-image { min-height: 420px; }
  .metrics-banner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .section-tight { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 0 2rem; }
  .hero-grid { gap: 1.5rem; }
  .display-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .lead-xl { font-size: 1rem; }
  .btn-main, .btn-outline-premium { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
  .device-frame img { max-height: 280px; }
  .industry-image, .service-media { height: 160px; }
  .outcome-card { min-height: auto; }
  .container { padding-left: 1rem; padding-right: 1rem; }
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.image-frame img,
.industry-image img,
.browser-frame img,
.cta-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-frame::after,
.industry-image::after,
.cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42));
}
.industry-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 1.15rem;
  border: 1px solid var(--line);
}
.browser-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: #071019;
  box-shadow: var(--shadow);
}
.browser-frame::before {
  content: "";
  display: block;
  height: 42px;
  background:
    radial-gradient(circle at 20px 21px, #ff6b6b 0 5px, transparent 6px),
    radial-gradient(circle at 42px 21px, #ffd166 0 5px, transparent 6px),
    radial-gradient(circle at 64px 21px, #77c34f 0 5px, transparent 6px),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.browser-frame img { height: 430px; }
.service-media { height: 260px; margin-bottom: 1.25rem; }
.cta-image {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 420px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-image img { position: absolute; inset: 0; z-index: 0; }
.cta-image::after { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.56)); }
.cta-image > .container,
.cta-image > .cta-content { position: relative; z-index: 2; }
@media (max-width: 991px) {
  .browser-frame img { height: 320px; }
}
@media (max-width: 768px) {
  .industry-image, .service-media { height: 190px; }
}

/* Accessibility & Polish */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green);
  color: #000;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  z-index: 10000;
  transition: top 220ms ease;
}
.skip-to-content:focus {
  top: 1rem;
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
*:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 8px;
}
.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.35);
}
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.35);
  outline: none;
}

/* Smooth page load */
