:root {
  --bg: #0f172a;
  --bg-soft: #162034;
  --panel: #ffffff;
  --panel-soft: #f4f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --line: #d8e0ec;
  --primary: #b9852f;
  --primary-dark: #8f6320;
  --green: #059669;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #f8fafc;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.header-login,
.btn {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 950;
  font-size: 1.08rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: .92rem;
  font-weight: 800;
}

.site-nav a:hover,
.header-login:hover {
  color: var(--primary);
}

.header-login {
  padding: 10px 14px;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, .35);
  border-radius: 8px;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .9fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 70px 5vw 50px;
  color: #fff;
  background: var(--bg);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero-logo {
  width: clamp(78px, 10vw, 122px);
  height: auto;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(37, 99, 235, .28);
}

.eyebrow {
  margin: 0 0 12px;
  color: #d4a253;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .94;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #f4e7d3;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.58;
  font-weight: 650;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
}

.btn.primary {
  color: #fff;
  background: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.secondary {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, .35);
}

.contact .btn.secondary {
  color: var(--primary);
  border-color: rgba(37, 99, 235, .35);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 8px;
  background: rgba(15, 23, 42, .62);
}

.hero-metrics dt {
  font-size: 1.1rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: #f2d8aa;
  font-size: .86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 14px;
  background: #111827;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
}

.system-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .28);
  background: #0b1220;
}

.shot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.shot-button img,
img.system-shot,
.screenshot-card img {
  cursor: zoom-in;
  transition: transform .18s ease, filter .18s ease;
}

.shot-button:hover img,
img.system-shot:hover,
.screenshot-card img:hover {
  filter: brightness(1.04);
}

.hero-shot {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 9px 10px 13px;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 460px;
  overflow: hidden;
  border-radius: 10px;
  background: #0b1220;
}

.preview-sidebar {
  background: #070d19;
  border-right: 1px solid rgba(148, 163, 184, .18);
}

.preview-main {
  padding: 18px;
}

.preview-line {
  height: 18px;
  border-radius: 99px;
  background: var(--primary);
}

.preview-line.wide {
  width: 64%;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.preview-cards div,
.chart-block,
.table-block,
.image-slot {
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  background: #111c31;
}

.preview-cards div {
  height: 74px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 12px;
  margin-top: 16px;
}

.chart-block {
  min-height: 150px;
  background:
    linear-gradient(180deg, transparent 24%, rgba(148, 163, 184, .12) 25%, transparent 26%),
    linear-gradient(90deg, #b9852f 20%, #0f766e 20% 44%, #d4a253 44% 62%, #334155 62%);
}

.table-block {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
}

.table-block span {
  height: 10px;
  border-radius: 99px;
  background: #334155;
}

.image-slot {
  display: grid;
  place-items: center;
  min-height: 118px;
  margin-top: 16px;
  color: #f2d8aa;
  border-style: dashed;
  font-weight: 900;
}

.image-slot.large {
  min-height: 380px;
  margin-top: 0;
  color: #8f6320;
  background: #eef4ff;
}

.section {
  padding: 82px 5vw;
}

.section-tight {
  padding-top: 70px;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 30px;
}

.section-heading h2,
.feature-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 650;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 40px;
  align-items: end;
  max-width: none;
}

.value-grid,
.module-grid,
.differentials,
.steps {
  display: grid;
  gap: 14px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article,
.module-card,
.differentials article,
.steps article {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.value-grid h3,
.module-card h3,
.differentials h3,
.steps h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 950;
}

.value-grid p,
.module-card p,
.differentials p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--primary);
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
  background: var(--panel-soft);
}

.feature-visual {
  min-width: 0;
}

.feature-shot {
  box-shadow: var(--shadow);
}

.gallery-section {
  background: #fff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.screenshot-card.large {
  grid-column: span 2;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  background: #0f172a;
  border-bottom: 1px solid var(--line);
}

.screenshot-card div {
  padding: 18px;
}

.screenshot-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 950;
}

.screenshot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.differentials {
  grid-template-columns: repeat(4, 1fr);
}

.section-dark {
  color: #fff;
  background: var(--bg);
}

.section-dark .section-heading p:not(.eyebrow) {
  color: #cbd5e1;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span {
  padding: 10px 14px;
  color: #dbeafe;
  border: 1px solid rgba(147, 197, 253, .34);
  border-radius: 8px;
  background: rgba(15, 23, 42, .48);
  font-weight: 900;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin: 32px 5vw 70px;
  padding: 34px;
  color: #fff;
  background: var(--bg);
  border-radius: 12px;
}

.contact p {
  color: #cbd5e1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 5vw;
  color: #64748b;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 24px;
}

.image-lightbox.open {
  display: grid;
  place-items: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, .82);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1320px);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .2);
  border-radius: 12px;
  background: #0f172a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .48);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #fff;
  border-bottom: 1px solid rgba(226, 232, 240, .16);
}

.lightbox-close {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(226, 232, 240, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 60px);
  object-fit: contain;
  background: #0b1220;
}

@media (max-width: 1080px) {
  .hero,
  .feature-band,
  .section-heading.split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .differentials,
  .module-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 5vw;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav,
  .header-login {
    display: none;
    width: 100%;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    gap: 10px;
    order: 4;
  }

  .site-header.nav-open .header-login {
    display: inline-flex;
    order: 5;
    width: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 5.2rem);
  }

  .hero-metrics,
  .value-grid,
  .module-grid,
  .differentials,
  .steps,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card.large {
    grid-column: span 1;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-grid,
  .preview-cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 5vw;
  }

  .contact {
    margin-bottom: 42px;
    padding: 26px;
  }

  .site-footer {
    display: grid;
  }

  .image-lightbox {
    padding: 10px;
  }
}
