:root {
  --bg: #030712;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --muted: #94a3b8;
  --text: #e5e7eb;
  --brand: #38bdf8;
  --brand-2: #8b5cf6;
  --brand-3: #22c55e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(56, 189, 248, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(139, 92, 246, 0.22), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(34, 197, 94, 0.08), transparent 28rem),
    #030712;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 70%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent, rgba(3, 7, 18, 0.65));
  z-index: -1;
}

img, svg, iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6 60%, #22c55e);
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.25);
  color: white;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-link {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.96);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 14px 0;
  color: #dbeafe;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.btn-primary,
.btn-secondary,
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: white;
  box-shadow: 0 18px 55px rgba(14, 165, 233, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.45);
}

.btn-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-green:hover {
  transform: translateY(-2px);
}

.page-main {
  padding-top: 76px;
}

.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 70px auto auto 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-10%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gradient-title {
  background: linear-gradient(110deg, #f8fafc, #bfdbfe 35%, #c4b5fd 68%, #86efac);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 900;
  margin: 22px 0 24px;
}

.page-title {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin: 22px 0 20px;
}

.lead {
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  max-width: 720px;
}

.section {
  padding: 78px 0;
}

.section-tight {
  padding: 54px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0 0 14px;
}

.section-copy {
  color: #94a3b8;
  line-height: 1.75;
  font-size: 16px;
}

.glass-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(2, 6, 23, 0.72));
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.card-hover {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.38);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.8));
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
  color: #67e8f9;
}

.tech-orb {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.tech-orb::before {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.22), transparent 18%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 42px, rgba(148, 163, 184, 0.1) 43px 44px),
    conic-gradient(from 180deg, rgba(56,189,248,0.1), rgba(139,92,246,0.22), rgba(34,197,94,0.12), rgba(56,189,248,0.1));
  filter: drop-shadow(0 0 50px rgba(56,189,248,0.18));
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 24px #38bdf8;
}

.node.n1 { top: 20%; left: 30%; }
.node.n2 { top: 35%; right: 20%; background: #c4b5fd; box-shadow: 0 0 24px #8b5cf6; }
.node.n3 { bottom: 25%; left: 22%; background: #86efac; box-shadow: 0 0 24px #22c55e; }
.node.n4 { bottom: 18%; right: 30%; }

.stat-pill {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 22px;
  padding: 18px;
}

.service-list li,
.clean-list li {
  display: flex;
  gap: 10px;
  color: #cbd5e1;
  line-height: 1.7;
}

.service-list li::before,
.clean-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  margin-top: 10px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.form-field {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.68);
  color: white;
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field:focus {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.58);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(14, 165, 233, 0.16);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(14px);
}

.modal-backdrop.open {
  display: flex;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.3);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
  padding: 46px 0;
}

.footer-link {
  color: #94a3b8;
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.footer-link:hover {
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .btn-primary,
  .btn-secondary,
  .btn-green,
  .card-hover,
  .whatsapp-float {
    transition: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .hero {
    padding: 70px 0 48px;
  }
  .tech-orb {
    min-height: 360px;
  }
}

@media (min-width: 901px) {
  .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .container-wide {
    width: min(100% - 24px, 1180px);
  }
  .header-inner {
    min-height: 68px;
  }
  .page-main {
    padding-top: 68px;
  }
  .hero-title {
    letter-spacing: -0.055em;
  }
  .section {
    padding: 54px 0;
  }
  .glass-card {
    border-radius: 22px;
  }
  .btn-primary,
  .btn-secondary,
  .btn-green {
    width: 100%;
  }
}
