:root {
  --bg: #101827;
  --bg-soft: #172235;
  --panel: #ffffff;
  --panel-soft: #f3f6fa;
  --text: #0f172a;
  --muted: #5f6f86;
  --line: #dde5f0;
  --primary: #b9852f;
  --primary-dark: #8f6320;
  --accent: #0f766e;
  --green: #059669;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, .15);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.brand,
.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: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: .92rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background: rgba(185, 133, 47, .08);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.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: 76px 5vw 56px;
  color: #fff;
  background: var(--bg);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero-logo {
  width: clamp(72px, 8vw, 108px);
  height: auto;
  margin-bottom: 18px;
  border-radius: 16px;
  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: 840px;
  font-size: clamp(2.55rem, 4.9vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #f4e7d3;
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.58;
  font-weight: 650;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(185, 133, 47, .22);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(143, 99, 32, .24);
}

.btn.secondary {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, .35);
  background: rgba(255, 255, 255, .04);
}

.btn.secondary:hover {
  border-color: rgba(226, 232, 240, .62);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.contact .btn.secondary {
  color: var(--primary);
  border-color: rgba(185, 133, 47, .35);
  background: #fff;
}

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

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 8px;
  background: rgba(15, 23, 42, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.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: 12px;
  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: 86px 5vw;
}

.section-tight {
  padding-top: 70px;
}

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

.section-heading h2,
.feature-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3.05rem);
  line-height: 1.12;
  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: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.value-grid article:hover,
.module-card:hover,
.differentials article:hover,
.steps article:hover,
.faq-grid article:hover,
.pillar-grid article:hover,
.page-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 133, 47, .42);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.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: 30px;
  color: var(--primary);
  font-weight: 950;
}

a.module-card {
  color: inherit;
  text-decoration: none;
}

a.module-card:hover {
  border-color: rgba(185, 133, 47, .55);
  transform: translateY(-2px);
}

.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: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.screenshot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 133, 47, .34);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
}

.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 img.contain-shot {
  object-fit: contain;
  padding: 10px;
}

.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 a {
  color: inherit;
  text-decoration: none;
}

.check-list a:hover {
  color: var(--primary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--primary);
  font-weight: 950;
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary-dark);
}

.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: #f4e7d3;
  border: 1px solid rgba(212, 162, 83, .34);
  border-radius: 8px;
  background: rgba(15, 23, 42, .48);
  font-weight: 900;
}

.faq-section {
  background: #fff;
}

.faq-grid,
.pillar-grid,
.page-links {
  display: grid;
  gap: 14px;
}

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

.faq-grid article,
.pillar-grid article,
.page-links a {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.faq-grid h3,
.pillar-grid h2,
.pillar-grid h3 {
  margin: 0 0 10px;
  font-weight: 950;
}

.faq-grid p,
.pillar-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 46px;
  align-items: center;
  min-height: 520px;
  padding: 76px 5vw;
  color: #fff;
  background: var(--bg);
}

.subpage-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.subpage-hero p {
  max-width: 740px;
  color: #f4e7d3;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
  font-weight: 650;
}

.subpage-card {
  padding: 28px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .75);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.subpage-card h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.subpage-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

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

.flow-band {
  color: #fff;
  background: var(--bg);
}

.flow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.flow-list span {
  padding: 10px 14px;
  color: #f8fafc;
  border: 1px solid rgba(226, 232, 240, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .075);
  font-weight: 900;
}

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

.compact-links {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
}

.compact-links a {
  padding: 14px;
  font-size: .9rem;
  text-align: center;
}

.page-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 950;
}

.page-links a:hover {
  color: var(--primary);
}

.module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.module-nav a {
  padding: 10px 13px;
  color: #f8fafc;
  border: 1px solid rgba(226, 232, 240, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .075);
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

.module-nav a:hover {
  border-color: rgba(212, 162, 83, .62);
  color: #f2d8aa;
}

.showcase-split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: 38px;
  align-items: center;
}

.showcase-copy {
  min-width: 0;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.14;
}

.showcase-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 650;
}

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

.showcase-list li {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.screen-frame {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111827;
  box-shadow: var(--shadow);
}

.screen-frame .window-bar {
  padding-top: 2px;
}

.screen-frame img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.section-muted {
  background: var(--panel-soft);
}

.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: 38px;
  color: #fff;
  background: var(--bg);
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .16);
}

.contact p {
  color: #cbd5e1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 5vw;
  color: #64748b;
  background: #fff;
  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,
  .subpage-hero,
  .feature-band,
  .showcase-split,
  .section-heading.split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4.8rem);
  }

  .differentials,
  .pillar-grid,
  .page-links,
  .compact-links,
  .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 {
    display: none;
    width: 100%;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    gap: 10px;
    order: 4;
  }

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

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-metrics,
  .value-grid,
  .module-grid,
  .differentials,
  .faq-grid,
  .pillar-grid,
  .page-links,
  .compact-links,
  .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;
  }
}
