:root {
  --ink: #0f171f;
  --bg: #18212b;
  --bg-2: #222c36;
  --surface: #26323e;
  --surface-2: #303d49;
  --line: rgba(139, 164, 186, 0.28);
  --line-strong: rgba(159, 190, 213, 0.44);
  --text: #d5e0e9;
  --muted: #aab9c6;
  --title: #f3f7fb;
  --green: #88b83c;
  --green-2: #bfdc6a;
  --orange: #de9633;
  --cyan: #70c7d3;
  --blue: #6f97c4;
  --soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 22px 54px rgba(3, 8, 14, 0.32);
  --max: 1180px;
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #252f3a 0%, #1a242e 48%, #121b24 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 10%, rgba(136, 184, 60, 0.06), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(112, 199, 211, 0.055), transparent 28%),
    linear-gradient(90deg, rgba(139, 164, 186, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(139, 164, 186, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

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

img {
  max-width: 100%;
}

.topbar {
  position: fixed;
  inset: 18px clamp(16px, 4vw, 42px) auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 29, 39, 0.9);
  box-shadow: 0 16px 38px rgba(3, 8, 14, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--title);
  font-weight: 900;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 10px 18px rgba(136, 184, 60, 0.18));
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #c7d4df;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  padding: 9px 2px;
  transition: color var(--ease), opacity var(--ease);
}

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

.nav-pill {
  padding: 10px 15px !important;
  border-radius: 8px;
  background: linear-gradient(100deg, var(--green), var(--green-2), var(--orange));
  color: #111820 !important;
  box-shadow: 0 10px 24px rgba(136, 184, 60, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #e8f0f7;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 126px clamp(18px, 5vw, 70px) 72px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(15, 23, 31, 0.98), rgba(35, 45, 55, 0.91)),
    url("./assets/logo-sgo.png") right 9% center / min(38vw, 520px) no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  width: min(100%, var(--max));
  min-height: calc(100vh - 198px);
  margin: 0 auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(136, 184, 60, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(18, 27, 36, 0.9));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 220, 106, 0.62), rgba(222, 150, 51, 0.5), transparent);
}

.hero-media {
  position: absolute;
  right: clamp(18px, 6vw, 96px);
  top: 18%;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  opacity: 0.1;
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 25%;
  width: 50%;
  filter: drop-shadow(0 28px 60px rgba(136, 184, 60, 0.18));
}

.orbit {
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(112, 199, 211, 0.32);
  border-radius: 50%;
}

.orbit-two {
  inset: 18%;
  border-color: rgba(136, 184, 60, 0.34);
}

.orbit-three {
  inset: 32%;
  border-color: rgba(222, 150, 51, 0.34);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 640px;
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  color: var(--title);
  font-size: clamp(1.9rem, 3.35vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--title);
  font-size: 1.1rem;
}

.hero-text {
  max-width: 500px;
  color: #c9d6e0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.58;
}

.hero-actions,
.acquire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 8px;
  font-weight: 950;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(100deg, var(--green), var(--green-2), var(--orange));
  color: #101820;
  box-shadow: 0 16px 34px rgba(136, 184, 60, 0.2);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: center;
  margin-bottom: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(47, 60, 72, 0.96), rgba(20, 31, 42, 0.98));
  box-shadow:
    0 26px 70px rgba(3, 8, 14, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.sgo-live {
  align-self: center;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--title);
  background: rgba(8, 15, 22, 0.24);
}

.live-header small {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(191, 220, 106, 0.22);
  border-radius: 999px;
  background: rgba(136, 184, 60, 0.08);
  color: var(--green-2);
  font-size: 0.74rem;
  font-weight: 800;
}

.live-header div {
  display: grid;
  gap: 2px;
}

.live-header em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
}

.panel-header span,
.panel-feed span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.panel-header > span {
  box-shadow: 0 0 0 5px rgba(136, 184, 60, 0.1), 0 0 18px rgba(136, 184, 60, 0.35);
}

.showcase-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.92fr);
  gap: 12px;
  padding: 12px;
}

.camera-tile,
.device-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(112, 199, 211, 0.07), transparent 44%),
    rgba(16, 26, 36, 0.62);
}

.camera-tile {
  min-height: 322px;
  padding: 12px;
}

.camera-screen {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 190px;
  margin-bottom: 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(139, 164, 186, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(112, 199, 211, 0.12), transparent 38%),
    linear-gradient(160deg, #101923, #263441);
}

.camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101923;
}

.camera-screen.has-video::before,
.camera-screen.has-video::after,
.camera-screen.has-video > span,
.camera-screen.has-video > strong {
  display: none;
}

.camera-screen::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 220, 106, 0.16);
  border-radius: 6px;
}

.camera-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 199, 211, 0.36), transparent);
}

.camera-screen span {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(136, 184, 60, 0.46);
  z-index: 3;
}

.camera-screen strong {
  position: relative;
  z-index: 3;
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(8, 15, 22, 0.64);
  color: #ffffff;
  font-size: 0.9rem;
}

.camera-tile small,
.device-tile small {
  display: block;
  color: var(--green-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.camera-tile h3,
.device-tile h3 {
  margin: 9px 0 6px;
  color: #ffffff;
  font-size: 1.34rem;
}

.camera-tile p,
.device-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.camera-tile a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-2);
  font-weight: 900;
}

.device-stack {
  display: grid;
  gap: 10px;
}

.device-tile {
  position: relative;
  min-height: 100px;
  padding: 14px;
  overflow: hidden;
}

.sensor-tile::after,
.automation-tile::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--orange));
  opacity: 0.56;
}

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

.meter-row span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green-2));
}

.switch-visual {
  position: absolute;
  right: 14px;
  top: 16px;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(139, 164, 186, 0.24);
}

.switch-visual span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #cbd6df;
  transition: transform var(--ease), background var(--ease);
}

.switch-visual.is-on {
  background: rgba(136, 184, 60, 0.22);
  border-color: rgba(191, 220, 106, 0.42);
}

.switch-visual.is-on span {
  transform: translateX(19px);
  background: var(--green-2);
}

.signal-chart,
.live-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 112px;
  margin: 0 12px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(to top, rgba(112, 199, 211, 0.07) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(16, 26, 36, 0.52);
}

.signal-chart span,
.live-chart span {
  flex: 1;
  min-width: 13px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--green), var(--orange));
  box-shadow: 0 0 14px rgba(112, 199, 211, 0.12);
}

.live-chart {
  height: 96px;
}

.panel-feed {
  display: grid;
  gap: 7px;
  padding: 0 12px 12px;
}

.panel-feed p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #c4d2dd;
  font-size: 0.86rem;
  min-height: 28px;
  padding: 4px 0;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 36px), var(--max));
  max-width: var(--max);
  margin: -28px auto 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(3, 8, 14, 0.24);
}

.trust-strip div {
  min-height: 100px;
  padding: 18px 20px;
  background:
    linear-gradient(145deg, rgba(112, 199, 211, 0.045), transparent 52%),
    linear-gradient(145deg, #2d3945, #222d38);
  border: 1px solid var(--line);
}

.trust-strip small {
  display: block;
  margin-bottom: 12px;
  color: var(--green-2);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #ffffff;
  font-size: 1.14rem;
}

.trust-strip strong.is-number {
  color: var(--green-2);
  font-size: 1.55rem;
  line-height: 1;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(68px, 8vw, 104px) clamp(18px, 5vw, 70px);
}

.section-copy,
.system-board,
.solution-grid,
.market-list,
.acquire-card {
  max-width: var(--max);
  margin-inline: auto;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 34px;
}

.section-copy.centered {
  display: block;
  max-width: 880px;
  text-align: center;
}

.section-copy h2 {
  max-width: 820px;
}

.section-copy p:not(.eyebrow) {
  grid-column: 2;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.system {
  background: linear-gradient(180deg, #1b2530, #202b35);
}

.system-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.system-board article,
.solution-grid article,
.market-list article,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(112, 199, 211, 0.035), transparent 46%),
    linear-gradient(145deg, #2d3945, #222d38);
  box-shadow: 0 14px 30px rgba(3, 8, 14, 0.14);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.system-board article:hover,
.solution-grid article:hover,
.market-list article:hover,
.steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 190, 213, 0.42);
  box-shadow: 0 18px 38px rgba(3, 8, 14, 0.2);
}

.system-board article {
  min-height: 220px;
  padding: 22px;
}

.system-board span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green-2);
  font-weight: 950;
}

.system-board span,
.steps span {
  font-variant-numeric: tabular-nums;
}

.system-board p,
.solution-grid p,
.market-list p,
.steps p,
.acquire-card p {
  color: var(--muted);
  line-height: 1.58;
}

.solutions {
  color: #dce8ec;
  background:
    linear-gradient(120deg, rgba(15, 23, 31, 0.96), rgba(35, 45, 55, 0.9)),
    url("./assets/logo-sgo.png") left -140px center / 420px no-repeat;
  border-block: 1px solid var(--line);
}

.solutions h2,
.solutions h3 {
  color: #ffffff;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.solution-grid article {
  min-height: 182px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  box-shadow: none;
}

.solution-feature {
  grid-row: span 2;
  min-height: 360px !important;
  background:
    linear-gradient(135deg, rgba(112, 199, 211, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.07) !important;
}

.solution-feature small {
  color: var(--green-2);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.solution-feature h3 {
  margin-top: 28px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.markets {
  background: linear-gradient(180deg, #202b35, #1b2530);
}

.market-list {
  display: grid;
  gap: 10px;
}

.market-list article {
  display: grid;
  grid-template-columns: minmax(200px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 17px 20px;
  background:
    linear-gradient(90deg, rgba(136, 184, 60, 0.06), transparent 32%),
    linear-gradient(145deg, #2d3945, #222d38);
}

.market-list span {
  color: #ffffff;
  font-weight: 950;
}

.market-list p {
  margin: 0;
}

.acquire {
  background: linear-gradient(180deg, #1b2530, #121b24);
}

.acquire-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 46px);
  padding: clamp(28px, 5vw, 50px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(112, 199, 211, 0.08), rgba(136, 184, 60, 0.1), rgba(222, 150, 51, 0.08)),
    linear-gradient(145deg, #2d3945, #1d2833);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.steps span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: #111820;
  font-weight: 950;
}

.steps strong {
  color: #ffffff;
}

.steps p {
  margin: 4px 0 0;
}

.acquire-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.acquire-actions .button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px);
  background: #0f171f;
  color: #c7d4df;
}

.footer a {
  color: var(--green-2);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .hero-shell,
  .acquire-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
    margin-bottom: 0;
  }

  .trust-strip,
  .system-board,
  .solution-grid,
  .showcase-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-feature {
    grid-row: auto;
    grid-column: span 2;
    min-height: 280px !important;
  }

  .section-copy {
    grid-template-columns: 1fr;
  }

  .section-copy p:not(.eyebrow) {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(19, 29, 39, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 54px;
  }

  .hero-shell {
    min-height: auto;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-media {
    display: none;
  }

  .trust-strip,
  .system-board,
  .solution-grid,
  .market-list article,
  .showcase-dashboard {
    grid-template-columns: 1fr;
  }

  .camera-tile {
    min-height: auto;
  }

  .solution-feature {
    grid-column: auto;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .topbar {
    inset-inline: 12px;
  }

  .hero,
  .section {
    padding-inline: 14px;
  }

  .hero-actions,
  .acquire-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
