:root {
  --bg: #07110c;
  --bg-soft: #09160f;
  --panel: #0d1a13;
  --panel-2: #132419;
  --text: #f5f7f5;
  --muted: #a8b7ad;
  --line: rgba(255,255,255,.09);
  --line-green: rgba(86,229,143,.18);
  --green: #20c765;
  --green-2: #56e58f;
  --green-dark: #0b7a39;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --shadow-soft: 0 16px 42px rgba(0,0,0,.20);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 13% 8%, rgba(32,199,101,.12), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(86,229,143,.06), transparent 24%),
    linear-gradient(180deg, #06100b 0%, #07110c 46%, #08130d 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5,15,10,.83);
  border-top: 3px solid var(--green-dark);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 850;
  letter-spacing: -.025em;
  font-size: 17px;
}
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 6px 18px rgba(32,199,101,.18)); }
.brand span { display: block; }
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 650;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: 26px; color: #dce5df; font-weight: 650; font-size: 14px; }
.nav-links a:not(.btn) { position: relative; padding: 9px 0; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--green-2);
  transition: right .2s ease;
}
.nav-links a:not(.btn):hover { color: white; }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; color: white; font-size: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #23cf6c, #10a953);
  color: #031008;
  box-shadow: 0 12px 28px rgba(32,199,101,.19);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(32,199,101,.29); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.035); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(86,229,143,.45); background: rgba(32,199,101,.07); }

.hero {
  position: relative;
  padding: 88px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,199,101,.10), transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { color: var(--green-2); text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .17em; }
h1 {
  margin: 15px 0 22px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: .99;
  letter-spacing: -.052em;
  max-width: 760px;
}
h1 .accent { color: var(--green-2); text-shadow: 0 0 36px rgba(86,229,143,.10); }
.hero p { color: var(--muted); font-size: 18px; max-width: 690px; }
.hero-actions { margin-top: 31px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { margin-top: 31px; display: flex; gap: 22px; flex-wrap: wrap; color: #d5dfd8; font-size: 13px; }
.hero-points span::before { content: "✓"; color: var(--green-2); font-weight: 900; margin-right: 8px; }

.hero-card {
  position: relative;
  border: 1px solid rgba(86,229,143,.15);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(32,199,101,.10), rgba(255,255,255,.018)),
    rgba(7,19,12,.76);
  padding: 29px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86,229,143,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,229,143,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 95%);
  pointer-events: none;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(86,229,143,.08);
  border-radius: 22px;
  pointer-events: none;
}
.system-map { position: relative; min-height: 430px; z-index: 1; }
.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(86,229,143,.26), transparent);
  transform-origin: center;
  opacity: .8;
}
.system-map::before { width: 75%; height: 1px; transform: translate(-50%, -50%) rotate(31deg); }
.system-map::after { width: 75%; height: 1px; transform: translate(-50%, -50%) rotate(-31deg); }
.map-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 144px;
  height: 144px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, #43df82, #0f8d47 70%);
  color: #031108;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 950;
  box-shadow: 0 0 0 15px rgba(32,199,101,.08), 0 0 0 32px rgba(32,199,101,.035), 0 18px 48px rgba(0,0,0,.26);
  z-index: 3;
}
.map-node {
  position: absolute;
  width: 154px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(5,15,10,.93);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.map-node::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 12px rgba(86,229,143,.55);
  display: block;
  margin-bottom: 10px;
}
.map-node strong { display: block; font-size: 14px; }
.map-node small { color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }
.node-a { left: 0; top: 34px; }
.node-b { right: 0; top: 62px; }
.node-c { left: 18px; bottom: 38px; }
.node-d { right: 8px; bottom: 22px; }

.section { position: relative; padding: 92px 0; }
#services { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.025), rgba(255,255,255,.012)); border-bottom: 1px solid rgba(255,255,255,.04); }
#remote { background: radial-gradient(circle at 14% 45%, rgba(32,199,101,.07), transparent 29%); }
#about { border-top: 1px solid rgba(255,255,255,.04); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section h2 { margin: 9px 0 15px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.04em; }
.section-head p, .section-copy { color: var(--muted); font-size: 17px; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  background: linear-gradient(180deg, rgba(255,255,255,.044), rgba(255,255,255,.016));
  min-height: 306px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -45px;
  top: -45px;
  border-radius: 50%;
  background: rgba(32,199,101,.06);
  transition: transform .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(86,229,143,.31); background: rgba(32,199,101,.052); box-shadow: var(--shadow-soft); }
.card:hover::after { transform: scale(1.35); background: rgba(32,199,101,.09); }
.card-icon {
  width: 49px;
  height: 49px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(32,199,101,.12);
  border: 1px solid rgba(86,229,143,.12);
  color: var(--green-2);
  font-size: 18px;
  font-weight: 900;
}
.card h3 { font-size: 22px; line-height: 1.15; margin: 23px 0 12px; }
.card p { color: var(--muted); margin: 0; }
.card-link { display: inline-block; margin-top: 21px; color: var(--green-2); font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,.025), rgba(255,255,255,.008)), var(--panel);
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
}
.panel.highlight {
  border-color: rgba(86,229,143,.17);
  background: linear-gradient(145deg, rgba(32,199,101,.15), rgba(13,26,19,.92));
}
.kicker { color: var(--green-2); font-weight: 850; }
.feature-list { display: grid; gap: 13px; margin-top: 25px; }
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e7eee9;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.feature:last-child { border-bottom: 0; }
.feature::before { content: "✓"; color: var(--green-2); font-weight: 900; line-height: 1.6; }

.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.download-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,.024);
  transition: border-color .2s ease, background .2s ease;
}
.download-card:hover { border-color: rgba(86,229,143,.20); background: rgba(32,199,101,.035); }
.download-card h3 { margin: 17px 0 8px; }
.download-card p { color: var(--muted); min-height: 52px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #cdd8d1; font-size: 12px; font-weight: 800; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }

.cta { padding: 82px 0 104px; }
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(86,229,143,.22);
  border-radius: 30px;
  padding: 46px;
  background: linear-gradient(135deg, rgba(32,199,101,.17), rgba(8,18,12,.96));
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(86,229,143,.08);
  pointer-events: none;
}
.cta-box h2 { margin: 0 0 10px; font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -.04em; }
.cta-box p { margin: 0; color: var(--muted); max-width: 720px; }
.cta-box .btn { position: relative; z-index: 1; flex: 0 0 auto; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); background: rgba(0,0,0,.08); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--green-2); }

.reveal { opacity: 0; transform: translateY(18px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 72px; }
  .hero-card { max-width: 700px; width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 26px, 1220px); }
  .nav { min-height: 72px; }
  .brand img { width: 40px; height: 40px; }
  .brand { font-size: 15px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 13px;
    right: 13px;
    top: 72px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7,17,12,.985);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  h1 { font-size: clamp(44px, 14vw, 58px); }
  .hero { padding: 56px 0 66px; }
  .hero-grid { gap: 48px; }
  .system-map { min-height: 360px; }
  .map-node { width: 128px; padding: 12px; }
  .map-core { width: 120px; height: 120px; font-size: 12px; }
  .card-grid, .downloads { grid-template-columns: 1fr; }
  .card { min-height: unset; }
  .panel { padding: 28px; }
  .cta-box { padding: 31px; flex-direction: column; align-items: flex-start; }
  .section { padding: 68px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
