:root {
  color-scheme: dark;
  --ink: #eef6ff;
  --muted: #9fb1c3;
  --subtle: #6f8092;
  --line: rgba(215, 232, 255, 0.16);
  --panel: rgba(10, 24, 38, 0.78);
  --panel-strong: rgba(14, 34, 52, 0.92);
  --navy: #071827;
  --blue: #0f5f89;
  --cyan: #37b7d9;
  --amber: #f2a51f;
  --orange: #dc6b20;
  --green: #2ab98f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 165, 31, 0.14), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(55, 183, 217, 0.16), transparent 28rem),
    linear-gradient(135deg, #071827 0%, #0a1d2d 42%, #11151e 100%);
}

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

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 16, 26, 0.6);
}

nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #d8e7f6;
  font-size: 0.92rem;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(55, 183, 217, 0.16);
  outline: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 16, 26, 0.6);
}

.language-switcher button {
  min-width: 52px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: #d8e7f6;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.language-switcher button[aria-pressed="true"] {
  color: #081521;
  background: var(--amber);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  outline: none;
  background: rgba(55, 183, 217, 0.18);
}

.language-switcher button[aria-pressed="true"]:hover,
.language-switcher button[aria-pressed="true"]:focus-visible {
  background: #ffd36d;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 48px 0 82px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #d3e4f3;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #081521;
  background: linear-gradient(135deg, var(--amber), #ffd36d);
  box-shadow: 0 12px 34px rgba(242, 165, 31, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e7f3ff;
  background: rgba(255, 255, 255, 0.06);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-metrics dt {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.hero-visual {
  display: grid;
  justify-items: center;
}

.dashboard-preview {
  position: relative;
  width: min(560px, 92vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(1, 6, 12, 0.75);
  box-shadow: var(--shadow);
}

.dashboard-preview::after {
  position: absolute;
  right: -18px;
  bottom: 24%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(55, 183, 217, 0.24);
  border-radius: 50%;
  content: "";
}

.preview-topbar,
.panel-heading,
.kpi-row,
.sensor-panel li {
  display: flex;
  align-items: center;
}

.preview-topbar {
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #dfefff;
  font-weight: 800;
}

.preview-topbar strong {
  color: var(--green);
  font-size: 0.82rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.kpi-row div,
.chart-panel,
.sensor-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.82);
}

.kpi-row div {
  min-height: 92px;
  padding: 16px;
}

.kpi-row span,
.panel-heading small,
.sensor-panel em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.kpi-row strong {
  display: block;
  margin-top: 9px;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
}

.chart-panel {
  margin-bottom: 12px;
  padding: 16px;
}

.panel-heading {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 800;
}

.chart {
  width: 100%;
  min-height: 190px;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.chart-area {
  fill: rgba(55, 183, 217, 0.18);
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.primary-line {
  stroke: var(--cyan);
}

.secondary-line {
  stroke: var(--amber);
  stroke-width: 4;
}

.sensor-panel {
  padding: 16px;
}

.sensor-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sensor-panel li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.sensor-panel strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.online {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(42, 185, 143, 0.14);
}

.status.alert {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(242, 165, 31, 0.14);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.security-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-grid,
.feature-grid,
.flow-grid {
  display: grid;
  gap: 16px;
}

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

.intro-grid article,
.feature-card,
.flow-step,
.security,
.contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.intro-grid article {
  padding: 26px;
}

.intro-grid p,
.feature-card p,
.flow-step p,
.security-list {
  color: var(--muted);
  line-height: 1.6;
}

.feature-band {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.045);
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #071827;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-size: 0.84rem;
  font-weight: 900;
}

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

.flow-step {
  padding: 22px;
}

.flow-step strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #101923;
  background: var(--amber);
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 32px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(55, 183, 217, 0.16), transparent 55%),
    var(--panel-strong);
}

.security-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.contact {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-bottom: 42px;
  padding: 30px;
}

.contact img {
  width: 96px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
  }

  .language-switcher button {
    flex: 1;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .hero-copy {
    max-width: none;
  }

  .intro-grid,
  .feature-grid,
  .flow-grid,
  .security,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  h2 {
    font-size: 2rem;
  }

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

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .sensor-panel li {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .sensor-panel em {
    grid-column: 2;
  }

  .section {
    padding: 64px 0;
  }

  .feature-band {
    padding-right: 14px;
    padding-left: 14px;
  }

  .security,
  .contact {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
