:root {
  --bg: #05070a;
  --panel: #0c1118;
  --panel-strong: #121923;
  --ink: #f6f7f9;
  --muted: #a8b0bb;
  --line: #33404f;
  --primary: #00d9ff;
  --accent: #d4af37;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 13px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.main-nav,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a,
.ghost-button,
.primary-button,
.catalog-toolbar button,
.product-card a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: rgba(12, 17, 24, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-button {
  border-color: var(--primary);
  background: var(--primary);
  color: #001219;
}

.ghost-button:hover,
.main-nav a:hover,
.catalog-toolbar button:hover,
.catalog-toolbar button.active,
.product-card a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 90px 7vw;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.4) 62%, rgba(5, 7, 10, 0.76)),
    linear-gradient(0deg, rgba(5, 7, 10, 0.98), transparent 52%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-content p:not(.eyebrow),
.section-head > p,
.showroom p {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  border: 1px solid var(--line);
  background: rgba(12, 17, 24, 0.9);
  padding: 16px;
}

.hero-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-strip a {
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.platform-strip a:last-child {
  border-right: 0;
}

.platform-strip strong {
  color: var(--primary);
  font-size: 12px;
}

.platform-strip span {
  font-size: 18px;
  font-weight: 900;
}

.section-head,
.split-section,
.showroom {
  padding: 80px 7vw 34px;
}

.section-head.compact {
  padding-bottom: 20px;
}

.section-head h2,
.split-section h2,
.showroom h2 {
  max-width: 840px;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.catalog-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 7vw 18px;
}

.offers-band {
  border-top: 1px solid var(--line);
  background: #070a0f;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 7vw 80px;
}

.offer-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.offer-media {
  min-height: 190px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card > div:last-child {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
}

.offer-card span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.offer-card h3 {
  font-size: 22px;
}

.offer-card p {
  color: var(--muted);
  line-height: 1.5;
}

.offer-card strong {
  color: var(--accent);
}

.offer-card a {
  width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-toolbar button {
  background: #070b10;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 7vw 90px;
}

.product-card,
.empty-state {
  min-width: 0;
  display: grid;
  grid-template-rows: 220px 1fr auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

.product-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-body span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-body h3 {
  font-size: 19px;
}

.product-body p {
  color: var(--muted);
  font-size: 13px;
}

.product-body strong {
  color: var(--accent);
  font-size: 13px;
}

.product-card a {
  border-width: 1px 0 0;
}

.empty-state {
  grid-column: 1 / -1;
  grid-template-rows: auto;
  padding: 22px;
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  background: #070a0f;
}

.workflow-list {
  display: grid;
  gap: 10px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
}

.workflow-list strong {
  color: var(--primary);
}

.workflow-list span {
  color: var(--muted);
  line-height: 1.5;
}

.showroom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  background: var(--panel-strong);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 7vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .platform-strip,
  .offers-grid,
  .product-grid,
  .split-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions a {
    flex: 1;
  }

  .hero {
    min-height: 720px;
    padding: 150px 18px 28px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .platform-strip,
  .offers-grid,
  .product-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .section-head,
  .split-section,
  .showroom {
    padding: 58px 18px 28px;
  }

  .catalog-toolbar,
  .offers-grid,
  .product-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .showroom {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
