:root {
  --bg: #05060a;
  --panel: #111219;
  --line: rgba(255, 255, 255, 0.065);
  --text: #f4f4f8;
  --muted: #a4a4af;
  --pink: #ff35b8;
  --violet: #7a4dff;
  --blue: #4568ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.page {
  width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 164px 0 155px;
  perspective: 1400px;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1560px, calc(100% - 48px));
  transform: translateX(-50%);
  z-index: 50;
  height: 88px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 28px;
  background: rgba(16, 17, 23, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  animation: fadeDown 0.55s ease both;
}

.brand {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 53, 184, 0.34));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover img {
  transform: scale(1.06) rotate(-3deg);
  filter: drop-shadow(0 0 18px rgba(122, 77, 255, 0.42));
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #11121b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  display: block;
  background: #f4f4f8;
  border-radius: 99px;
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle:hover {
  border-color: rgba(255, 53, 184, 0.5);
  box-shadow: 0 0 18px rgba(255, 53, 184, 0.08);
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(18px, 2vw, 38px);
  color: #e6e6ed;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
}

.nav a {
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(122, 77, 255, 0.32);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 15px;
}

.icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #747489;
  font-size: 25px;
  opacity: 0.58;
  transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.icon-link:hover {
  color: #f4f4f8;
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(122, 77, 255, 0.28));
}

.outline-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  background: #11121b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ededf4;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.outline-btn:hover,
.secondary-btn:hover {
  background: #151623;
  border-color: rgba(122, 77, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.outline-btn:hover {
  background: linear-gradient(90deg, rgba(255, 53, 184, 0.11), rgba(108, 85, 255, 0.08));
  border-color: rgba(255, 53, 184, 0.46);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 53, 184, 0.14), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.panel {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --panel-accent-rgb: 255, 53, 184;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  transform: rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition: transform 0.18s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      420px circle at var(--mouse-x) var(--mouse-y),
      rgba(var(--panel-accent-rgb), 0.13),
      rgba(var(--panel-accent-rgb), 0.06) 34%,
      transparent 64%
    );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 21px;
  background:
    radial-gradient(
      260px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.055),
      transparent 66%
    );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.panel:hover {
  border-color: rgba(var(--panel-accent-rgb), 0.26);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2), 0 0 38px rgba(var(--panel-accent-rgb), 0.11);
}

.panel:hover::before,
.panel:hover::after {
  opacity: 1;
}

.hero,
.config {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 590px;
  align-items: center;
  margin-top: 31px;
  padding: 66px 95px 55px;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}

.hero {
  --panel-accent-rgb: 69, 104, 255;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: #f1f1f6;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 500;
  text-transform: uppercase;
}

h1,
.config h2,
.delivery h2 {
  width: auto;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 56px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.config h2,
.delivery h2 {
  font-size: 58px;
}

.lead {
  max-width: 610px;
  margin: 30px 0 43px;
  color: var(--muted);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 400;
}

.primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  width: max-content;
  padding: 0 27px;
  background: linear-gradient(90deg, var(--pink), #6c55ff);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 53, 184, 0.12), 0 0 28px rgba(69, 104, 255, 0.09);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.primary-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.55));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
  transform: translateX(-100%);
  pointer-events: none;
}

.primary-btn::after {
  content: none;
}

.primary-btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.12);
  box-shadow: 0 0 38px rgba(255, 53, 184, 0.18), 0 0 36px rgba(69, 104, 255, 0.13);
}

.primary-btn .btn-text {
  font-size: 13px;
  line-height: 1;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.primary-btn .btn-arrow {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-btn.is-loading-line .btn-arrow {
  width: 0;
  opacity: 0;
  transform: translateX(8px);
}

.primary-btn.is-loading-line::before {
  animation: buttonLineLoad 0.85s ease both;
}

.facts {
  display: flex;
  gap: 25px;
  margin-top: 77px;
}

.facts div {
  min-width: 75px;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.facts strong,
.facts span {
  display: block;
  font-size: 11px;
  line-height: 1.05;
}

.facts strong {
  color: #f5f5fb;
  font-weight: 700;
}

.facts span {
  margin-top: 3px;
  color: #9b9ba7;
}

.image-skeleton {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
}

.image-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 60% 45%, rgba(69, 104, 255, 0.15), transparent 45%),
    #0d0e15;
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: skeleton 1.15s linear infinite;
}

.image-skeleton.is-loaded {
  overflow: visible;
}

.image-skeleton.is-loaded::before {
  opacity: 0;
  animation-play-state: paused;
  transition: opacity 0.25s ease;
}

.pc-image {
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-skeleton.is-loaded .pc-image {
  opacity: 1;
  transform: scale(1);
}

.hero-visual {
  justify-self: end;
  width: min(520px, 100%);
  min-height: 356px;
}

.hero-image {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 0 38px rgba(69, 104, 255, 0.22));
}

.section-title {
  margin: 61px 0 48px;
  text-align: center;
  animation: fadeUp 0.7s ease both;
}

.section-title h2 {
  margin: 0;
  color: #f3f3f8;
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.section-title p {
  margin: 13px 0 0;
  color: #a7a7b2;
  font-size: 21px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.card {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr);
  align-items: center;
  gap: 42px;
  padding: 58px 72px;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}

.card:nth-child(2) {
  animation-delay: 0.08s;
}

.card:first-child {
  --panel-accent-rgb: 125, 125, 145;
}

.card:nth-child(2) {
  --panel-accent-rgb: 69, 104, 255;
}

.card-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(290px, 100%);
  min-height: 198px;
  transform: translateZ(18px);
}

.card-image {
  width: min(290px, 100%);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(69, 104, 255, 0.1));
}

.work-image {
  filter: grayscale(0.35) brightness(0.82) drop-shadow(16px 18px 35px rgba(0, 0, 0, 0.5));
}

.card-copy h3 {
  margin: 0 0 10px;
  color: #f7f7fb;
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
}

.card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  transform: translateZ(26px);
}

.card-copy p {
  max-width: 270px;
  margin: 0;
  color: #a8a8b3;
  font-size: 19px;
  line-height: 1.16;
}

.card .secondary-btn {
  position: relative;
  z-index: 1;
  min-width: 195px;
  margin-top: 28px;
  transform: translateZ(32px);
}

.config {
  grid-template-columns: 1fr 590px;
  min-height: 624px;
  margin-top: 32px;
  --panel-accent-rgb: 255, 53, 184;
}

.config-visual {
  justify-self: end;
  width: min(520px, 100%);
  min-height: 356px;
}

.config-image {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 53, 184, 0.22));
}

.delivery {
  margin-top: 32px;
  padding: 52px;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
  --panel-accent-rgb: 122, 77, 255;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.delivery-grid article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.delivery-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 0 24px rgba(122, 77, 255, 0.16);
}

.delivery-grid h3 {
  margin: 0 0 10px;
  color: #f7f7fb;
  font-size: 22px;
  line-height: 1.1;
}

.delivery-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

@keyframes skeleton {
  from {
    background-position: 220% 0, center, center;
  }

  to {
    background-position: -220% 0, center, center;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    filter: blur(4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes buttonLineLoad {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  12% {
    opacity: 1;
  }

  82% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
@media (max-width: 1180px) {
  .page {
    width: min(920px, calc(100% - 32px));
    padding-top: 154px;
  }

  .topbar {
    width: min(920px, calc(100% - 32px));
    grid-template-columns: 70px 1fr;
    height: auto;
    gap: 18px;
    padding: 18px;
  }

  .nav {
    justify-self: end;
    gap: 24px;
    font-size: 16px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-end;
  }

  .hero,
  .config {
    grid-template-columns: 1fr;
    padding: 50px;
  }

  .hero-visual,
  .config-visual {
    justify-self: center;
    margin-top: 30px;
  }

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

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

  .card {
    grid-template-columns: minmax(220px, 0.8fr) minmax(250px, 1fr);
    gap: 34px;
    padding: 48px;
  }
}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 32px);
    max-width: none;
    padding-top: 112px;
    padding-bottom: 80px;
    perspective: none;
  }

  .topbar {
    width: calc(100% - 32px);
    border-radius: 16px;
    top: 12px;
    display: block;
    min-height: 74px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px;
  }

  .panel {
    transform: none;
    transform-style: flat;
  }

  .panel:hover {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  }

  .brand {
    width: 46px;
    height: 46px;
  }

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

  .nav-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .topbar.is-nav-open .nav-toggle span:nth-child(1) {
    transform: translate(-50%, 7px) rotate(45deg);
    background: #ff35b8;
  }

  .topbar.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-nav-open .nav-toggle span:nth-child(3) {
    transform: translate(-50%, -7px) rotate(-45deg);
    background: #ff35b8;
  }

  .nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    font-size: 15px;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 10px;
  }

  .topbar.is-nav-open .nav {
    max-height: 236px;
    padding-top: 18px;
    opacity: 1;
  }

  .header-actions {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
  }

  .topbar.is-nav-open .header-actions {
    max-height: 128px;
    padding-top: 10px;
    opacity: 1;
  }

  .icon-link {
    flex: 1 1 calc(33.333% - 7px);
    width: auto;
    height: 44px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 10px;
  }

  .outline-btn {
    flex: 1;
    min-width: 210px;
  }

  .header-actions .outline-btn {
    flex: 0 0 100%;
  }

  .hero,
  .config,
  .card,
  .delivery {
    width: 100%;
    min-height: 0;
    padding: 28px;
    border-radius: 18px;
  }

  .hero,
  .config {
    margin-top: 20px;
    align-items: start;
  }

  .hero-copy,
  .card-copy {
    min-width: 0;
  }

  .eyebrow {
    font-size: 21px;
    line-height: 1.12;
  }

  h1,
  .config h2,
  .delivery h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .lead {
    margin: 20px 0 28px;
    font-size: 20px;
    line-height: 1.22;
  }

  .primary-btn,
  .outline-btn {
    width: 100%;
    min-width: 0;
  }

  .facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .facts div {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  .facts strong,
  .facts span {
    font-size: 12px;
    line-height: 1.25;
  }

  .section-title {
    margin: 42px 0 28px;
  }

  .section-title h2 {
    font-size: 29px;
  }

  .section-title p {
    font-size: 16px;
  }

  .cards {
    gap: 18px;
  }

  .card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }

  .card-visual {
    justify-self: center;
    width: min(260px, 100%);
    min-height: 0;
    aspect-ratio: 1 / 1.14;
    transform: none;
  }

  .card-image {
    width: min(240px, 100%);
  }

  .card-copy {
    align-items: stretch;
    width: 100%;
    transform: none;
  }

  .card-copy h3 {
    font-size: 32px;
    line-height: 1.08;
  }

  .card-copy p {
    max-width: none;
    font-size: 17px;
  }

  .card .secondary-btn {
    width: 100%;
    min-width: 0;
    margin-top: 22px;
    transform: none;
  }

  .hero-visual,
  .config-visual {
    width: min(310px, 100%);
    min-height: 0;
    aspect-ratio: 1 / 0.86;
    margin-top: 26px;
  }

  .hero-image,
  .config-image {
    width: 100%;
    max-height: 292px;
    object-fit: contain;
  }

  .delivery-grid {
    gap: 12px;
    margin-top: 24px;
  }

  .delivery-grid article {
    padding: 18px;
  }

  .delivery-grid h3 {
    font-size: 20px;
  }

  .delivery-grid p {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .page {
    width: calc(100% - 20px);
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .topbar {
    width: calc(100% - 20px);
    top: 8px;
    padding: 12px;
    max-height: calc(100vh - 16px);
  }

  .nav-toggle {
    top: 12px;
    right: 12px;
  }

  .hero,
  .config,
  .card,
  .delivery {
    padding: 20px;
    border-radius: 16px;
  }

  .eyebrow {
    font-size: 17px;
  }

  h1,
  .config h2,
  .delivery h2 {
    font-size: 30px;
  }

  .lead {
    margin: 16px 0 22px;
    font-size: 17px;
  }

  .primary-btn,
  .outline-btn,
  .secondary-btn {
    min-height: 46px;
    padding: 0 16px;
  }

  .facts {
    margin-top: 24px;
  }

  .section-title {
    margin: 32px 0 20px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 14px;
  }

  .card-copy h3 {
    font-size: 27px;
  }

  .card-copy p {
    font-size: 15px;
  }

  .hero-visual,
  .config-visual {
    width: min(260px, 100%);
    margin-top: 20px;
  }

  .card-visual {
    width: min(220px, 100%);
  }

  .delivery-grid article {
    padding: 16px;
  }
}
