/* =========================
   FOOTER
========================= */

.site-footer {
  position: relative;
  padding: 62px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(3,7,19,.22), rgba(3,7,19,.86));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand p {
  color: var(--muted);
}

.social-row,
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-row a,
.payment-row span {
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(9,18,37,.78);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.social-row a:hover {
  color: #fff;
  border-color: rgba(124,60,255,.42);
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
}

.site-footer h3 ~ a {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-footer h3 ~ a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 14px 40px rgba(124,60,255,.34);
  font-weight: 950;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1120px) {
  .main-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .stats-panel,
  .feature-grid,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    padding: 22px;
    border-radius: 20px;
    background: rgba(5, 12, 28, .97);
    border: 1px solid rgba(160,130,255,.2);
    box-shadow: 0 22px 70px rgba(0,0,0,.38);
  }

  .main-nav.open {
    display: grid;
    gap: 18px;
  }

  .main-nav a.active::after {
    bottom: -7px;
  }

  .mobile-toggle {
    display: grid;
    gap: 4px;
  }

  .hero-section {
    padding-top: 58px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 10vw, 70px);
  }

  .custom-banner {
    grid-template-columns: 1fr;
  }

  .custom-content {
    padding: 42px 28px;
  }

  .custom-image {
    min-height: 260px;
  }

  .bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .brand span {
    display: none;
  }

  .language-select {
    min-width: 60px;
  }

  .header-square {
    width: 42px;
    height: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 390px;
  }

  .ring-one {
    width: 300px;
    height: 300px;
  }

  .ring-two {
    width: 390px;
    height: 390px;
  }

  .ring-three {
    width: 480px;
    height: 480px;
  }

  .cityline {
    height: 150px;
    bottom: 30px;
  }

  .stats-panel,
  .feature-grid,
  .category-grid,
  .process-line,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    top: auto;
    right: 24px;
    left: 24px;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .category-card {
    min-height: 150px;
  }

  .monitor-one {
    left: 28px;
    width: 220px;
  }

  .monitor-two {
    left: 145px;
    width: 170px;
  }

  .keyboard {
    left: 45px;
    width: 240px;
  }

  .bottom-cta {
    padding: 30px 24px;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}