:root {
  color-scheme: light;
  --navy: #071527;
  --navy-2: #0b2742;
  --blue: #0a3d82;
  --blue-bright: #176bd5;
  --red: #d7262e;
  --orange: #f07a24;
  --ink: #142235;
  --muted: #5b6b7d;
  --line: #dce5ee;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(7, 21, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 2%, rgba(23, 107, 213, 0.12), transparent 32rem),
    linear-gradient(180deg, #f7fafe 0%, #ffffff 24%, #f4f7fa 100%);
  color: var(--ink);
  font-family: Bahnschrift, "Aptos Display", "Segoe UI", sans-serif;
  line-height: 1.55;
}

html[lang="vi-VN"] body,
html[lang="pl-PL"] body {
  font-family: "Segoe UI", "Aptos", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(10, 61, 130, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 130, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 4px solid var(--red);
  background: rgba(7, 21, 39, 0.96);
  box-shadow: 0 10px 34px rgba(7, 21, 39, 0.18);
  color: #fff;
  backdrop-filter: blur(16px);
}

.site-header__inner,
.section,
.hero,
.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0.035em;
}

.brand small {
  margin-top: 2px;
  color: #9fb4c9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  color: #ffbd7a;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.015em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: var(--red);
  box-shadow: 0 12px 28px rgba(215, 38, 46, 0.22);
  color: #fff;
}

.button--secondary {
  border-color: #cddae6;
  background: #fff;
  color: var(--navy);
}

.button--dark {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-shell {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 21, 39, 0.98), rgba(10, 61, 130, 0.92)),
    repeating-linear-gradient(118deg, transparent 0 80px, rgba(255, 255, 255, 0.06) 80px 82px);
  color: #fff;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: 64px;
  align-items: center;
  padding-block: 76px;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__line {
  width: 210px;
  height: 8px;
  margin: 28px 0;
  background: var(--orange);
}

.hero__lead {
  max-width: 680px;
  margin: 0;
  color: #c7d6e5;
  font-size: 19px;
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero__chips span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe7f2;
  font-size: 11px;
  font-weight: 800;
}

.hero__visual {
  position: relative;
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero__visual::before {
  inset: -18px 20px 18px -18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
}

.hero__visual::after {
  right: -20px;
  bottom: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--red);
  filter: blur(1px);
  opacity: 0.82;
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin-inline: auto;
  border-radius: 20px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.hero__evidence {
  position: absolute;
  right: -4px;
  bottom: 30px;
  z-index: 2;
  width: min(310px, 75%);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(7, 21, 39, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  color: #dbe7f2;
  font-size: 12px;
}

.section {
  padding-block: 76px;
}

.section--compact {
  padding-block: 46px;
}

.section--dark {
  width: 100%;
  max-width: none;
  background: var(--navy);
  color: #fff;
}

.section--dark > .section__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section__head h2,
.application-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.section__head p,
.application-copy p,
.download-copy p {
  margin: 0;
  color: var(--muted);
}

.section--dark .section__head p,
.section--dark .download-copy p {
  color: #adc0d2;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.search-panel input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}

.search-panel button {
  min-width: 140px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.quick-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quick-models button {
  border: 1px solid #cbd8e4;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.results-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.application-grid > img {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.application-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.application-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.application-list strong:first-child {
  color: var(--red);
  font-size: 13px;
}

.application-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

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

.tool-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(7, 21, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 62px rgba(7, 21, 39, 0.14);
}

.tool-card[hidden] {
  display: none;
}

.tool-card__media {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: linear-gradient(145deg, #edf3f8, #fff);
  cursor: zoom-in;
}

.tool-card__media img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.tool-card:hover .tool-card__media img {
  transform: scale(1.018);
}

.tool-card__page {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(7, 21, 39, 0.86);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.tool-card__body {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.tool-card__type {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.16;
}

.tool-card__models {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}

.tool-card__models button {
  border: 1px solid #c9d7e4;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f7fafc;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.tool-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-card__quote {
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.tool-card__quote:hover {
  color: var(--red);
}

.empty-state {
  border: 1px dashed #9fb4c9;
  border-radius: 16px;
  padding: 30px;
  background: #fff;
  text-align: center;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 52px;
  align-items: center;
}

.download-panel__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.download-panel__facts span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px;
  color: #dbe7f2;
  font-size: 12px;
  font-weight: 800;
}

.download-cover {
  position: relative;
  max-width: 420px;
  justify-self: end;
}

.download-cover img {
  border-radius: 16px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

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

.order-steps article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 21, 39, 0.06);
}

.order-steps strong {
  display: block;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.order-steps h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.order-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.reference-notice {
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  padding: 18px 20px;
  background: #fff7ef;
  color: #6c4d31;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid #19344e;
  background: #06111f;
  color: #fff;
}

.site-footer__inner {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  margin: 5px 0 0;
  color: #9fb4c9;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-weight: 800;
}

.site-footer a {
  text-decoration: none;
}

.mobile-cta {
  display: none;
}

.catalog-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.catalog-dialog::backdrop {
  background: rgba(4, 12, 23, 0.78);
  backdrop-filter: blur(8px);
}

.catalog-dialog__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  background: #fff;
}

.catalog-dialog__head strong {
  font-size: 15px;
}

.catalog-dialog__head button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.catalog-dialog img {
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-nav a:not(.button) {
    display: none;
  }

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

  .hero__visual {
    width: min(640px, 100%);
    margin-inline: auto;
  }

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

  .application-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-cover {
    width: min(420px, 100%);
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .section,
  .hero,
  .site-footer__inner,
  .section--dark > .section__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    white-space: nowrap;
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .site-nav .button {
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 11px;
  }

  .hero {
    min-height: 0;
    gap: 46px;
    padding-block: 48px 60px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__evidence {
    right: 8px;
    bottom: 16px;
  }

  .section {
    padding-block: 54px;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section__head h2,
  .application-copy h2,
  .download-copy h2 {
    font-size: 36px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel button {
    min-height: 48px;
  }

  .tool-grid,
  .order-steps,
  .download-panel__facts {
    grid-template-columns: 1fr;
  }

  .tool-card__media,
  .tool-card__media img {
    height: 470px;
  }

  .site-footer__inner {
    min-height: 210px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .mobile-cta {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 40;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--red);
    box-shadow: 0 16px 44px rgba(7, 21, 39, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
  }

  body {
    padding-bottom: 72px;
  }
}
