*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  --bg: #05060a;
  --bg-deep: #02040a;
  --navy: #07111f;
  --panel: rgba(7, 17, 31, 0.66);
  --panel-strong: rgba(8, 14, 26, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(87, 142, 255, 0.28);
  --text: #f5f7fa;
  --muted: #9ba7b7;
  --quiet: #687589;
  --blue: #2f6bff;
  --blue-soft: rgba(47, 107, 255, 0.18);
  --cyan: #00c8ff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --font: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 107, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 24%, rgba(0, 200, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #05060a 0%, #040913 38%, #05060a 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 86% 58% at 50% 16%, black 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.05), rgba(5, 6, 10, 0.92) 88%);
}

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

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

button {
  font: inherit;
}

body.is-lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: white;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(5, 6, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(47, 107, 255, 0.32));
}

.brand span {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

main {
  padding-top: 68px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(66px, 8vw, 118px) clamp(20px, 5vw, 56px) clamp(70px, 8vw, 110px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 58% 48%, rgba(7, 17, 31, 0.82), transparent 44rem);
}

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

.ambient-one {
  width: min(52vw, 660px);
  height: min(52vw, 660px);
  right: 3%;
  top: 13%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.22), transparent 68%);
}

.ambient-two {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  left: -14%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.08), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.4vw, 82px);
  font-weight: 740;
}

.hero-text {
  max-width: 620px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.72;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 36px;
  padding: 0 24px;
  border: 1px solid rgba(47, 107, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.22), rgba(47, 107, 255, 0.11));
  color: white;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 16px 48px rgba(47, 107, 255, 0.18);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.catalog-link:hover {
  border-color: rgba(0, 200, 255, 0.62);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.3), rgba(47, 107, 255, 0.14));
  box-shadow: 0 22px 64px rgba(47, 107, 255, 0.28);
}

.hero-showcase {
  position: relative;
  min-height: clamp(540px, 54vw, 690px);
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 9% 4% 8% 8%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.72), rgba(5, 6, 10, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
}

.hero-product {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.68);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

.hero-product::after,
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(1, 5, 12, 0.38));
}

.image-trigger {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.image-trigger:focus-visible {
  outline: 2px solid rgba(0, 200, 255, 0.85);
  outline-offset: 3px;
}

.hero-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease;
}

.hero-showcase:hover .hero-product img {
  filter: saturate(1.08) brightness(1.05);
}

.hero-product-large {
  left: 4%;
  top: 6%;
  width: 54%;
  height: 62%;
}

.hero-product-tall {
  right: 1%;
  top: 0;
  width: 36%;
  height: 48%;
}

.hero-product-small {
  left: 17%;
  bottom: 1%;
  width: 30%;
  height: 32%;
}

.hero-product-wide {
  right: 7%;
  bottom: 8%;
  width: 46%;
  height: 38%;
}

.catalog-section,
.categories-section,
.quality-section,
.process-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 126px) clamp(20px, 5vw, 56px);
}

.quality-section {
  padding-top: 0;
  padding-bottom: clamp(36px, 5vw, 70px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: none;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.catalog-heading .section-heading {
  margin-bottom: 0;
}

.section-heading h2,
.quality-panel h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 720;
}

.section-heading p:not(.eyebrow),
.quality-panel p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.catalog-controls {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
}

.catalog-arrow,
.lightbox-nav {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(14, 28, 48, 0.86), rgba(5, 6, 10, 0.72)),
    rgba(7, 17, 31, 0.68);
  color: white;
  cursor: pointer;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.catalog-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.catalog-arrow span,
.lightbox-nav span {
  transform: translateY(-1px);
  font-size: 30px;
  line-height: 1;
}

.catalog-arrow:hover,
.catalog-arrow:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: rgba(0, 200, 255, 0.66);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.24), transparent 75%),
    rgba(7, 17, 31, 0.88);
  box-shadow: 0 20px 58px rgba(47, 107, 255, 0.18);
  outline: none;
}

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

.product-rail {
  --card-width: clamp(272px, 25vw, 336px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-width);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 107, 255, 0.55) rgba(255, 255, 255, 0.06);
}

.product-rail::-webkit-scrollbar {
  height: 8px;
}

.product-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.product-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.7), rgba(0, 200, 255, 0.54));
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(12, 24, 42, 0.74), rgba(5, 6, 10, 0.94)),
    var(--panel);
  cursor: zoom-in;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease, transform 240ms ease;
}

.product-card::before,
.category-card::before,
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.58), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.product-card:hover,
.category-card:hover,
.process-step:hover {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(12, 24, 42, 0.86), rgba(5, 6, 10, 0.94));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card:hover::before,
.category-card:hover::before,
.process-step:hover::before {
  opacity: 1;
}

.product-media {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(47, 107, 255, 0.24), transparent 46%),
    radial-gradient(circle at 52% 72%, rgba(0, 200, 255, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(3, 8, 16, 0.98), rgba(10, 22, 38, 0.76));
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.58;
}

.product-media::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(1, 5, 12, 0.46)),
    radial-gradient(ellipse at 50% 88%, rgba(0, 0, 0, 0.42), transparent 46%);
}

.product-media .image-trigger {
  display: grid;
  place-items: center;
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 94%;
  height: 94%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.52));
  transform: scale(0.98);
  transition: transform 320ms ease, filter 320ms ease;
}

.product-card:hover .product-media img {
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, 0.58)) saturate(1.08) brightness(1.06);
  transform: scale(1.025);
}

.product-body {
  min-height: 112px;
  padding: 20px 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(3, 8, 16, 0.34);
}

.category {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-body h3,
.category-card h3,
.process-step h3 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 680;
}

.category-card p,
.process-step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.quality-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 12% 20%, rgba(47, 107, 255, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(9, 20, 36, 0.82), rgba(5, 6, 10, 0.94));
  box-shadow: var(--shadow);
}

.quality-panel::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.62), transparent);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.category-card {
  position: relative;
  min-height: 220px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.74), rgba(5, 6, 10, 0.92));
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47, 107, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(circle at 70% 30%, rgba(0, 200, 255, 0.32), transparent 34%),
    rgba(47, 107, 255, 0.08);
  box-shadow: 0 0 34px rgba(47, 107, 255, 0.16);
}

.icon-shell svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #d9e6ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(47, 107, 255, 0.42));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 20, 36, 0.78), rgba(5, 6, 10, 0.86));
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.process-step span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px) 54px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(47, 107, 255, 0.24));
}

.site-footer p {
  color: var(--text);
  font-weight: 650;
}

.site-footer span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
  background:
    radial-gradient(circle at 50% 36%, rgba(47, 107, 255, 0.2), transparent 34rem),
    rgba(2, 4, 10, 0.92);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.72);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.62);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 58px;
  border-radius: var(--radius);
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(14px, 3vw, 34px);
}

.lightbox-next {
  right: clamp(14px, 3vw, 34px);
}

.lightbox-close {
  position: fixed;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.76);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(0, 200, 255, 0.66);
  outline: none;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-showcase {
    min-height: 620px;
  }

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

  .product-rail {
    --card-width: min(44vw, 340px);
  }

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

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

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  main {
    padding-top: 102px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-showcase {
    min-height: 540px;
  }

  .hero-product-large {
    left: 0;
    top: 4%;
    width: 66%;
    height: 48%;
  }

  .hero-product-tall {
    right: 0;
    top: 12%;
    width: 42%;
    height: 44%;
  }

  .hero-product-small {
    left: 3%;
    bottom: 7%;
    width: 42%;
    height: 33%;
  }

  .hero-product-wide {
    right: 0;
    bottom: 2%;
    width: 58%;
    height: 34%;
  }

  .category-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-controls {
    align-self: flex-end;
  }

  .product-rail {
    --card-width: min(86vw, 370px);
    gap: 14px;
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .category-card,
  .process-step {
    min-height: auto;
  }

  .product-media {
    min-height: 360px;
  }

  .lightbox {
    padding: 70px 14px 76px;
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: 78vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }
}

@media (max-width: 430px) {
  .nav-links a {
    white-space: nowrap;
  }

  .hero-showcase {
    min-height: 480px;
  }

  .product-body {
    padding: 18px;
  }

  .category-card,
  .process-step {
    padding: 22px;
  }

  .product-card {
    min-height: 492px;
  }

  .product-media {
    min-height: 350px;
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
