:root {
  --blue: #1234ff;
  --blue-dark: #071568;
  --ink: #0b1020;
  --muted: #5b6475;
  --line: #dfe5ef;
  --soft: #f3f6fb;
  --white: #ffffff;
  --steel: #7f8ca3;
  --success: #1a7f64;
  --shadow: 0 18px 45px rgba(11, 16, 32, 0.12);
  --shadow-hover: 0 24px 58px rgba(11, 16, 32, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a,
button,
input,
textarea,
select,
.product-card,
.blog-card,
.value-card,
.spec-card,
.contact-card,
.stat-card,
.side-panel,
.metric,
.tag,
.category,
.feature-band,
.split-media img,
.feature-media img,
.article-body > img.hero-image,
.footer-grid a {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 239, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 118px;
  height: auto;
}

.brand span {
  color: var(--blue-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button,
.button-secondary,
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 750;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(18, 52, 255, 0.28);
}

.button:hover {
  background: #001de0;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18, 52, 255, 0.34);
}

.button-secondary {
  color: var(--blue);
  border-color: rgba(18, 52, 255, 0.22);
  background: rgba(18, 52, 255, 0.06);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 52, 255, 0.24);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 620px;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 25, 0.9), rgba(6, 10, 25, 0.58) 48%, rgba(6, 10, 25, 0.18)),
    linear-gradient(0deg, rgba(6, 10, 25, 0.88), rgba(6, 10, 25, 0.05) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 38px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #1234ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.dark .eyebrow {
  color: #dbe3ff;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.metrics-strip {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.metric:hover {
  background: rgba(18, 52, 255, 0.045);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.section {
  padding: 92px 0;
}

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

.section.dark {
  color: var(--white);
  background: #080d1e;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head.center {
  display: block;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center p {
  margin: 16px auto 0;
}

.section-head.offset {
  align-items: start;
  padding-left: min(7vw, 84px);
  border-left: 4px solid var(--blue);
}

.section-head.reverse-align {
  flex-direction: row-reverse;
  align-items: center;
  text-align: right;
}

.section-head.reverse-align p {
  margin-left: auto;
}

.section-head h2,
.split-copy h2,
.feature-copy h2,
.article-body h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
}

.dark .section-head h2,
.dark .split-copy h2,
.dark .feature-copy h2,
.dark .section-head p,
.dark p {
  color: var(--white);
}

.dark .value-card,
.dark .spec-card,
.dark .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .value-card h3,
.dark .spec-card h3,
.dark .stat-card h3 {
  color: var(--white);
}

.dark .value-card p,
.dark .spec-card p,
.dark .stat-card p {
  color: rgba(255, 255, 255, 0.78);
}

.dark .value-card:hover,
.dark .spec-card:hover,
.dark .stat-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.product-grid,
.blog-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.product-card,
.blog-card,
.value-card,
.spec-card,
.contact-card,
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card:hover,
.blog-card:hover,
.value-card:hover,
.spec-card:hover,
.contact-card:hover,
.stat-card:hover {
  border-color: rgba(18, 52, 255, 0.38);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card {
  display: grid;
  grid-template-rows: 224px 1fr;
}

.product-card img,
.blog-card img {
  width: 100%;
  height: 224px;
  object-fit: cover;
}

.product-card:hover img,
.blog-card:hover img {
  filter: saturate(1.08) contrast(1.04);
}

.product-card-body,
.blog-card-body,
.value-card,
.spec-card,
.contact-card,
.stat-card {
  padding: 24px;
}

.product-card-body {
  display: grid;
  grid-template-rows: minmax(76px, auto) minmax(78px, auto) minmax(34px, auto) auto;
  align-content: start;
}

.product-card h2,
.product-card h3,
.blog-card h2,
.blog-card h3,
.value-card h3,
.spec-card h3,
.contact-card h3,
.stat-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.product-card p,
.blog-card p,
.value-card p,
.spec-card p,
.contact-card p,
.stat-card p {
  font-size: 15px;
}

.product-card .card-link {
  align-self: start;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

.card-link:hover {
  color: #001de0;
  transform: translateX(3px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.tag,
.category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 52, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.tag:hover,
.category:hover {
  color: var(--white);
  background: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-media {
  position: relative;
}

.split-media img,
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-media img:hover,
.feature-media img:hover,
.article-body > img.hero-image:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.split-copy p,
.feature-copy p {
  margin-top: 18px;
  font-size: 17px;
}

.check-list,
.plain-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid rgba(223, 229, 239, 0.85);
  color: #2b3445;
  font-weight: 650;
}

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

.check-list li:hover,
.plain-list li:hover {
  color: var(--blue-dark);
  border-color: rgba(18, 52, 255, 0.26);
}

.dark .check-list li:hover,
.dark .plain-list li:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.dark .check-list li,
.dark .plain-list li {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(18, 52, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.feature-band:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.process-grid,
.spec-grid,
.contact-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.spec-grid.two,
.contact-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.stat-card h3 {
  margin-top: 12px;
}

.page-hero {
  position: relative;
  padding: 122px 0 76px;
  color: var(--white);
  background: #081026;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 31, 0.92), rgba(7, 13, 31, 0.55));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 710px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #293346;
  font-weight: 750;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body > img.hero-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 34px;
}

.article-body h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 32px;
}

.article-body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 23px;
}

.article-body p {
  margin: 0 0 18px;
  font-size: 17px;
}

.article-body ul {
  margin: 14px 0 24px;
  padding-left: 22px;
  color: var(--muted);
}

.article-body li {
  margin-bottom: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  border: 1px solid var(--line);
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table tr {
  transition: background-color 180ms ease;
}

.spec-table tr:hover {
  background: rgba(18, 52, 255, 0.045);
}

.spec-table th {
  width: 38%;
  color: var(--ink);
  background: var(--soft);
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(11, 16, 32, 0.08);
}

.side-panel:hover {
  border-color: rgba(18, 52, 255, 0.36);
  box-shadow: var(--shadow-hover);
}

.side-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.side-panel p {
  margin-bottom: 18px;
  font-size: 15px;
}

.side-panel dl {
  margin: 0 0 22px;
}

.side-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.side-panel dd {
  margin: 4px 0 14px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #293346;
  font-size: 13px;
  font-weight: 800;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cad3e3;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: rgba(18, 52, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 52, 255, 0.12);
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  padding: 58px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #050914;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid img {
  width: 126px;
  margin-bottom: 14px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: 570px;
  }

  .metrics-strip,
  .product-grid,
  .product-grid.four,
  .blog-grid,
  .value-grid,
  .process-grid,
  .spec-grid,
  .spec-grid.two,
  .contact-grid,
  .contact-grid.two,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split.reverse,
  .feature-band,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 104px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    padding: 54px 0 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .metrics-strip,
  .product-grid,
  .product-grid.four,
  .blog-grid,
  .value-grid,
  .process-grid,
  .spec-grid,
  .spec-grid.two,
  .contact-grid,
  .contact-grid.two,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .metric:last-child {
    border-bottom: 0;
  }

  .feature-band {
    padding: 24px;
  }

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

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