:root {
  --navy: #0a2238;
  --blue: #176fc1;
  --cyan: #58abe8;
  --ink: #132d43;
  --muted: #667d8f;
  --line: #d8e4ec;
  --bg: #f3f6f8;
  --orange: #f5a623;
}
* {
  box-sizing: border-box;
}
a,
a:hover,
a:focus,
a:visited {
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
.notice {
  height: 36px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #03111f;
  color: #b8cad9;
  font-size: 12px;
}
.notice nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.notice a,
.notice button {
  color: #b8cad9;
  text-decoration: none;
  border: 0;
  background: none;
}
.notice button:hover,
.notice a:hover {
  color: #fff;
}
header {
  height: 88px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(105deg, #0a2238, #0d3150);
  color: #fff;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  font-style: normal;
}
.logo span {
  display: grid;
}
.logo small {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #8eb3d1;
}
.delivery,
.account {
  display: grid;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  white-space: nowrap;
}
.delivery small,
.account small {
  color: #8eb3d1;
}
.search {
  flex: 1;
  height: 50px;
  display: flex;
  overflow: hidden;
  border: 3px solid var(--orange);
  border-radius: 10px;
  background: #fff;
}
.search select {
  width: 105px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 10px;
  background: #f4f7f9;
  color: #4c6173;
}
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 16px;
  outline: 0;
}
.search button {
  width: 92px;
  border: 0;
  background: var(--orange);
  font-weight: 900;
}
.cart {
  height: 44px;
  border: 1px solid #63829b;
  border-radius: 9px;
  background: #0c3152;
  color: #fff;
  font-weight: 800;
}
.cart em {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #172535;
  font-style: normal;
}
.categories {
  height: 50px;
  padding: 0 max(0px, calc((100vw - 1500px) / 2));
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 15px #0b31520a;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.categories::-webkit-scrollbar { display: none; }
.categories a {
  color: #274258;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.categories .all {
  align-self: stretch;
  padding: 0 24px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.categories > .all,
.categories > a,
.categories > button:not(.all) {
  flex: 0 0 auto;
  min-width: max-content;
  height: 100%;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.categories > .all { min-width: 174px; }
@media (max-width: 1500px) {
  .categories { padding-inline: 12px; }
  .categories > .all,
  .categories > a,
  .categories > button:not(.all) { padding-inline: 13px; font-size: 13px; }
  .categories > .all { min-width: 150px; }
}
.hero {
  min-height: 520px;
  padding: 72px max(24px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  background:
    radial-gradient(circle at 80% 30%, #2c8dd738, transparent 30%),
    linear-gradient(120deg, #081c2f, #0e3a5c);
  color: #fff;
  overflow: hidden;
}
.hero-copy > p:first-child,
.section .title p,
.procure > div > p {
  color: #69beff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.hero h1 {
  margin: 13px 0 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero h1 span {
  color: #69beff;
}
.lead {
  max-width: 700px;
  color: #b8cada;
  font-size: 17px;
  line-height: 1.8;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}
.primary {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px #0877ff3d;
}
.cart-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border: 2px solid var(--blue);
  border-radius: 7px;
  color: var(--blue);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.cart-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.dialog .cart-modal-actions .primary {
  width: auto;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  cursor: pointer;
}
.secondary {
  margin-left: 10px;
  border: 1px solid #7e9bb3;
  background: transparent;
  color: #fff;
}
.hero ul {
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: #a9c0d2;
  font-size: 13px;
}
.hero-art {
  position: relative;
  height: 390px;
}
.rack {
  position: absolute;
  inset: 30px 70px 20px 80px;
  padding: 34px;
  border: 1px solid #7bc7ff4d;
  border-radius: 26px;
  background: linear-gradient(145deg, #102e49, #051525);
  box-shadow: 0 40px 90px #0006;
  transform: perspective(800px) rotateY(-8deg);
}
.rack span {
  display: block;
  height: 48px;
  margin-bottom: 17px;
  border: 1px solid #69c3ff55;
  border-radius: 8px;
  background: linear-gradient(90deg, #0e4d7b, #102c46);
}
.rack span:after {
  content: "••••";
  display: block;
  padding: 11px 18px;
  color: #57c1ff;
  letter-spacing: 8px;
}
.float {
  position: absolute;
  padding: 17px 20px;
  border: 1px solid #ffffff2e;
  border-radius: 13px;
  background: #ffffff14;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px #0004;
}
.float b,
.float small {
  display: block;
}
.float small {
  margin-top: 5px;
  color: #9ebad0;
}
.f1 {
  left: 10px;
  top: 40px;
}
.f2 {
  right: 10px;
  bottom: 40px;
}
.benefits {
  max-width: 1440px;
  margin: -34px auto 0;
  padding: 0 24px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.benefits article {
  min-height: 116px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}
.benefits i {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}
.benefits b,
.benefits span {
  display: block;
  margin-left: 42px;
}
.benefits b {
  margin-top: -18px;
}
.benefits span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 24px;
}
.title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.title h2,
.procure h2 {
  margin: 7px 0 0;
  font-size: 36px;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  color: #5c7285;
}
.filters button.active {
  background: var(--ink);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: 0.2s;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px #0d365318;
}
.product-art {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f7fafc, #eaf1f6);
}
.device {
  width: 150px;
  height: 84px;
  padding: 14px;
  border-radius: 9px;
  background: linear-gradient(145deg, #183d5a, #071a2d);
  box-shadow: 0 20px 30px #08223d33;
}
.device:before,
.device:after {
  content: "";
  display: block;
  height: 8px;
  margin: 6px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    90deg,
    #54baff 0 5px,
    transparent 5px 11px
  );
}
.device:after {
  background: #ff9f1a;
  width: 18px;
}
.product-body {
  padding: 19px;
}
.tag {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.product h3 {
  height: 48px;
  margin: 9px 0;
  font-size: 17px;
}
.product p {
  height: 38px;
  color: var(--muted);
  font-size: 13px;
}
.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.price b {
  font-size: 21px;
  color: #e35d18;
}
.price button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #e8f3ff;
  color: var(--blue);
  font-size: 20px;
}
.procure {
  padding: 80px max(24px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  background: #071d32;
  color: #fff;
}
.procure > div > p:not(:first-child) {
  color: #aac0d1;
  line-height: 1.8;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.steps article {
  padding: 24px;
  border: 1px solid #ffffff21;
  border-radius: 12px;
  background: #ffffff08;
}
.steps span {
  color: #56b9ff;
  font-weight: 900;
}
.steps b,
.steps small {
  display: block;
  margin-top: 8px;
}
.steps small {
  color: #9eb7ca;
}
footer {
  padding: 50px max(24px, calc((100vw - 1440px) / 2));
  background: #03111f;
  color: #8fa8ba;
}
footer .logo {
  color: #fff;
}
footer div:not(.logo) {
  display: flex;
  gap: 22px;
  margin: 25px 0;
}
footer a {
  color: #9db3c4;
  text-decoration: none;
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #03111fbd;
  backdrop-filter: blur(7px);
}
.dialog {
  position: relative;
  width: min(620px, 95vw);
  max-height: 90vh;
  overflow: auto;
  padding: 38px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px #0008;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
}
.dialog h2 {
  margin-top: 0;
}
.dialog label {
  display: grid;
  gap: 7px;
  margin: 15px 0;
  font-weight: 700;
}
.dialog input,
.dialog textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dialog textarea {
  min-height: 110px;
}
.dialog .primary {
  width: 100%;
}
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1050px) {
  header {
    gap: 10px;
  }
  .delivery,
  .account {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .notice span {
    display: none;
  }
  header {
    height: auto;
    padding: 15px;
    flex-wrap: wrap;
  }
  .logo {
    font-size: 18px;
  }
  .search {
    order: 3;
    flex-basis: 100%;
  }
  .search select {
    display: none;
  }
  .categories {
    overflow: auto;
    padding: 0 15px;
    gap: 20px;
  }
  .categories > .all,
  .categories > a,
  .categories > button:not(.all) {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
  }
  .categories a {
    white-space: nowrap;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 54px 20px;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero ul {
    flex-wrap: wrap;
  }
  .benefits {
    grid-template-columns: 1fr 1fr;
    padding: 0 14px;
  }
  .section {
    padding: 65px 14px;
  }
  .title {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .filters {
    width: 100%;
    overflow: auto;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-art {
    height: 140px;
  }
  .product-body {
    padding: 14px;
  }
  .procure {
    grid-template-columns: 1fr;
    padding: 65px 20px;
    gap: 35px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .dialog {
    padding: 30px 20px;
  }
}
@media (max-width: 460px) {
  .product-grid,
  .benefits,
  .steps {
    grid-template-columns: 1fr;
  }
  .cart {
    margin-left: auto;
  }
  .product-art {
    height: 180px;
  }
  .notice {
    padding: 0 14px;
  }
}
