:root {
  --ink: #17212b;
  --slate: #314150;
  --muted: #6f7f8f;
  --line: #d8e2ea;
  --soft: #f3f8fb;
  --white: #ffffff;
  --blue: #57c3e8;
  --blue-dark: #1d8ab3;
  --green: #58bd8b;
  --amber: #f4b84d;
  --coral: #ef786c;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
}

body.lightbox-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 226, 234, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions,
.trust-strip,
.form-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--blue) 0 48%, transparent 49%),
    linear-gradient(45deg, var(--green) 0 45%, var(--ink) 46% 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45);
}

.site-nav {
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.header-action {
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700;
  color: var(--slate);
}

.site-nav a:hover,
.header-action {
  background: var(--soft);
}

.header-action {
  color: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 112px clamp(20px, 6vw, 72px) 78px;
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 43, 0.96), rgba(23, 33, 43, 0.72) 46%, rgba(23, 33, 43, 0.35));
}

.hero-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 230px 1fr;
  opacity: 0.9;
  transform: scale(1.04);
  transform-origin: right center;
}

.scene-sidebar {
  padding: 120px 30px;
  background: #233140;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.scene-sidebar span {
  display: block;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.scene-sidebar span:nth-child(2),
.scene-sidebar span:nth-child(4) {
  background: rgba(87, 195, 232, 0.26);
}

.scene-main {
  padding: 112px 44px 44px;
}

.scene-topbar,
.scene-metrics span,
.scene-board span,
.scene-route {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 14px 38px rgba(0,0,0,0.16);
}

.scene-topbar {
  height: 70px;
  border-radius: 8px;
  margin-bottom: 26px;
}

.scene-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.scene-metrics span {
  height: 130px;
  border-radius: 8px;
}

.scene-metrics span:nth-child(1) { border-top: 5px solid var(--blue); }
.scene-metrics span:nth-child(2) { border-top: 5px solid var(--green); }
.scene-metrics span:nth-child(3) { border-top: 5px solid var(--amber); }
.scene-metrics span:nth-child(4) { border-top: 5px solid var(--coral); }

.scene-board {
  display: grid;
  gap: 12px;
}

.scene-board span {
  height: 48px;
  border-radius: 6px;
}

.scene-route {
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: 250px;
  height: 150px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
}

.scene-route i {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(87,195,232,0.16);
}

.scene-route i:nth-child(1) { left: 34px; top: 92px; }
.scene-route i:nth-child(2) { left: 104px; top: 44px; background: var(--amber); }
.scene-route i:nth-child(3) { right: 38px; top: 76px; background: var(--green); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

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

.hero h1,
.section-heading h2,
.product-copy h2,
.contact-content h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 820px;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 28px;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.primary-button,
.secondary-button,
.plan-button,
.header-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button,
.plan-button {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #07131c;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.primary-button:hover,
.plan-button:hover {
  background: #72d2f0;
}

.secondary-button {
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 8px;
  padding: 11px 18px;
  color: var(--white);
  font-weight: 800;
}

.trust-strip {
  position: relative;
  z-index: 3;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px clamp(20px, 5vw, 60px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--slate);
  font-weight: 700;
  border: 1px solid var(--line);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px clamp(18px, 4vw, 36px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.product-copy h2,
.contact-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-lead,
.product-copy p,
.contact-content p,
.feature-card p,
.faq-list p,
.steps-list span,
.price-note {
  color: var(--muted);
  line-height: 1.62;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: end;
}

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

.feature-card,
.price-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.feature-card h3,
.price-card h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  position: relative;
}

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

.route-icon::before {
  inset: 13px 9px;
  border-top: 3px solid var(--blue-dark);
  border-right: 3px solid var(--blue-dark);
  transform: skewX(-20deg);
}

.quote-icon::before {
  width: 20px;
  height: 24px;
  left: 11px;
  top: 8px;
  border: 2px solid var(--amber);
}

.invoice-icon::before {
  left: 10px;
  right: 10px;
  top: 12px;
  height: 4px;
  background: var(--blue-dark);
  box-shadow: 0 8px 0 var(--blue-dark), 0 16px 0 var(--blue-dark);
}

.customer-icon::before {
  width: 13px;
  height: 13px;
  left: 14px;
  top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.customer-icon::after {
  width: 24px;
  height: 11px;
  left: 8px;
  bottom: 8px;
  border-radius: 12px 12px 4px 4px;
  background: rgba(88,189,139,0.32);
}

.fleet-icon::before {
  left: 8px;
  top: 14px;
  width: 25px;
  height: 12px;
  border: 2px solid var(--coral);
  border-radius: 4px;
}

.fleet-icon::after {
  left: 11px;
  bottom: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 15px 0 0 var(--coral);
}

.stats-icon::before {
  left: 9px;
  bottom: 9px;
  width: 5px;
  height: 14px;
  background: var(--blue-dark);
  box-shadow: 10px -8px 0 var(--green), 20px -3px 0 var(--amber);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--slate);
}

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

.product-preview {
  min-height: 420px;
  display: grid;
  align-items: center;
}

.preview-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.screenshot-window {
  transform: rotate(1deg);
  cursor: zoom-in;
}

.preview-bar {
  height: 38px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 14px;
  background: var(--ink);
}

.preview-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-bar span:nth-child(2) { background: var(--amber); }
.preview-bar span:nth-child(3) { background: var(--green); }

.preview-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 310px;
}

.preview-body aside {
  padding: 18px;
  background: #243340;
}

.preview-body aside b {
  display: block;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
}

.preview-body section {
  padding: 20px;
  background: var(--soft);
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.preview-kpis i,
.preview-table span {
  display: block;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.preview-kpis i {
  height: 82px;
}

.preview-kpis i:nth-child(1) { border-top: 4px solid var(--blue); }
.preview-kpis i:nth-child(2) { border-top: 4px solid var(--green); }
.preview-kpis i:nth-child(3) { border-top: 4px solid var(--amber); }

.preview-table {
  display: grid;
  gap: 10px;
}

.preview-table span {
  height: 34px;
}

.product-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshots-section {
  max-width: 1220px;
  padding-top: 24px;
}

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

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.1);
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.screenshot-grid figure:hover,
.screenshot-grid figure:focus-visible,
.screenshot-window:hover,
.screenshot-window:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.screenshot-window:hover,
.screenshot-window:focus-visible {
  transform: rotate(1deg) translateY(-2px);
}

.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--soft);
}

.screenshot-grid figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-weight: 800;
}

.image-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 19, 28, 0.82);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  width: min(1180px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}

.lightbox-panel img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 58px);
  object-fit: contain;
  background: var(--soft);
}

.lightbox-caption {
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  color: var(--white);
  background: rgba(23,33,43,0.82);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--blue-dark);
  outline: none;
}

.pricing-section {
  max-width: 1220px;
}

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

.price-card {
  padding: 24px;
}

.price-card.highlighted {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.plan-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.price {
  margin: 18px 0 4px;
  font-size: 2rem;
  font-weight: 900;
}

.price-card ul {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--slate);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps-list li {
  min-height: 180px;
  padding: 22px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
  border-radius: 8px;
}

.steps-list strong,
.steps-list span {
  display: block;
}

.steps-list strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.legal-section {
  max-width: 1220px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.legal-card.wide {
  grid-column: 1 / -1;
}

.legal-card h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.legal-card p {
  margin: 0 0 16px;
  color: var(--slate);
  line-height: 1.62;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-section {
  padding: 84px clamp(18px, 5vw, 60px);
  background: var(--ink);
  color: var(--white);
}

.contact-content {
  max-width: 980px;
  margin: 0 auto;
}

.contact-content p {
  max-width: 680px;
  color: rgba(255,255,255,0.74);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--slate);
  font-weight: 800;
}

.footer-links a:hover {
  background: var(--soft);
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-scene {
    grid-template-columns: 90px 1fr;
  }

  .scene-metrics,
  .feature-grid,
  .pricing-grid,
  .product-section,
  .intro-section,
  .legal-grid,
  .screenshot-grid,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .legal-card.wide {
    grid-column: auto;
  }

  .scene-route {
    display: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.15;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 96px 18px 52px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-body aside {
    display: none;
  }

  .screenshot-window {
    transform: none;
  }

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