:root {
  --ink: #17201d;
  --muted: #5a6661;
  --line: #dbe4df;
  --panel: #ffffff;
  --soft: #edf5f2;
  --teal: #009c95;
  --teal-dark: #006b66;
  --amber: #f0a830;
  --green: #2eb872;
  --red: #d95757;
  --charcoal: #101716;
  --shadow: 0 20px 60px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f7faf8;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(23, 32, 29, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 18, 17, 0.94) 0%, rgba(12, 18, 17, 0.74) 40%, rgba(12, 18, 17, 0.12) 82%),
    linear-gradient(0deg, rgba(12, 18, 17, 0.64) 0%, rgba(12, 18, 17, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 72px;
}

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

.hero .eyebrow {
  color: #85eee7;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #07100f;
  background: var(--amber);
}

.button.whatsapp-button {
  width: 100%;
  color: #ffffff;
  background: #128c7e;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics-band div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(20px, 4vw, 48px);
  background: #ffffff;
}

.metrics-band strong {
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.metrics-band span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.product-section,
.insights,
.contact {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.product-copy p,
.insights-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.06);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: var(--soft);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.feature-icon.status::before {
  inset: 10px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.feature-icon.alert::before {
  left: 13px;
  top: 8px;
  border-right: 8px solid transparent;
  border-bottom: 24px solid var(--amber);
  border-left: 8px solid transparent;
}

.feature-icon.wave::before {
  left: 9px;
  right: 9px;
  top: 20px;
  height: 12px;
  border-top: 3px solid var(--teal);
  border-radius: 50%;
}

.feature-icon.fuel::before {
  left: 12px;
  top: 10px;
  width: 18px;
  height: 24px;
  border: 3px solid var(--teal);
  border-radius: 4px;
}

.feature-icon.battery::before {
  left: 8px;
  top: 14px;
  width: 24px;
  height: 15px;
  border: 3px solid var(--green);
  border-radius: 3px;
}

.feature-icon.battery::after {
  right: 5px;
  top: 18px;
  width: 4px;
  height: 7px;
  background: var(--green);
}

.feature-icon.service::before {
  left: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--teal);
  transform: rotate(45deg);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  background: var(--charcoal);
  color: #ffffff;
}

.monitor-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.panel-top,
.event-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-label {
  color: #85eee7;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-top h2 {
  margin: 6px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.health-pill {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 10px 12px;
  color: #07100f;
  background: var(--green);
  font-weight: 800;
}

.readout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.readout {
  min-height: 86px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.readout span,
.event-list time {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.readout strong {
  display: block;
  margin-top: 8px;
  font-size: 1.5rem;
}

.chart {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.chart span {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #6ff3eb, var(--teal));
  transform-origin: bottom;
  animation: barRise 900ms ease both;
}

.event-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.event-list div {
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.green {
  background: var(--green);
}

.dot.amber {
  background: var(--amber);
}

.dot.red {
  background: var(--red);
}

.product-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  transform: rotate(-45deg);
}

.architecture {
  background: #ffffff;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: stretch;
}

.flow-node {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.flow-node.highlight {
  color: #ffffff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.flow-node span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--amber);
  font-weight: 800;
}

.flow-node p {
  color: var(--muted);
  line-height: 1.6;
}

.flow-node.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.flow-connector {
  position: relative;
}

.flow-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--line);
}

.flow-connector::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 7px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line);
  border-right: 2px solid var(--line);
  transform: rotate(45deg);
}

.insights {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) 1.12fr;
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  background: var(--soft);
}

.analysis-list {
  display: grid;
  gap: 12px;
}

.analysis-list article {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 32, 29, 0.06);
}

.analysis-list span {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  background: #ffffff;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--charcoal);
  box-shadow: var(--shadow);
}

.contact-channel {
  color: #85eee7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-number {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.contact-card p {
  max-width: 420px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card .button {
  margin-top: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
}

.site-footer strong {
  color: #ffffff;
}

@keyframes barRise {
  from {
    transform: scaleY(0.2);
    opacity: 0.25;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .metrics-band,
  .feature-grid,
  .product-section,
  .insights,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-connector {
    display: none;
  }

  .product-section,
  .insights,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand-text {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(12, 18, 17, 0.94), rgba(12, 18, 17, 0.48));
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .metrics-band,
  .feature-grid,
  .readout-grid {
    grid-template-columns: 1fr;
  }

  .metrics-band div {
    min-height: 110px;
  }

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