/* ========== FONTLAR ========== */

@font-face {
  font-family: "GP-Manrope";
  src: url("../fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GP-Manrope";
  src: url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GP-Manrope";
  src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GP-Russo";
  src: url("../fonts/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========== ROOT VARIABLƏR ========== */

:root {
  --gp-bg: #050714;
  --gp-bg-elevated: #0b0f23;
  --gp-bg-soft: #0f1430;
  --gp-bg-header: rgba(5, 7, 20, 0.9);

  --gp-accent-pink: #ff4fb2;
  --gp-accent-cyan: #35e1ff;
  --gp-accent-yellow: #ffd86b;
  --gp-accent-red: #ff6b6b;

  --gp-text-main: #f5f7ff;
  --gp-text-muted: #9aa0c6;
  --gp-text-soft: #6c7399;

  --gp-border-subtle: rgba(255, 255, 255, 0.09);

  --gp-radius-lg: 24px;
  --gp-radius-md: 16px;
  --gp-radius-pill: 999px;

  --gp-shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.85);

  --gp-header-height: 80px;

  --gp-transition-fast: 0.18s ease-out;
  --gp-transition-med: 0.28s ease-out;
}

/* ========== RESET ========== */

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "GP-Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--gp-bg);
  color: var(--gp-text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

/* ========== SCROLLBAR ========== */

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #020313;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--gp-accent-pink),
    var(--gp-accent-cyan)
  );
  border-radius: 4px;
}

/* ========== LAYOUT ========== */

.gp-body {
  background: radial-gradient(circle at top, #151b40 0, #050714 55%);
  color: var(--gp-text-main);
}

.gp-container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* HEADER */

.gp-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  height: var(--gp-header-height);
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at top left, rgba(255, 79, 178, 0.18), transparent 40%),
    radial-gradient(circle at top right, rgba(53, 225, 255, 0.16), transparent 45%),
    var(--gp-bg-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gp-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 20px;
}

/* LOGO */

.gp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gp-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 0, #ffffff, #ff4fb2);
  color: #050714;
  font-family: "GP-Russo", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(255, 79, 178, 0.8);
}

.gp-logo-mark--small {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.gp-logo-text {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* NAV DESKTOP */

.gp-nav {
  display: flex;
}

.gp-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-nav-link {
  position: relative;
  font-size: 14px;
  color: var(--gp-text-muted);
  padding-block: 8px;
  transition: color var(--gp-transition-fast);
}

.gp-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gp-accent-pink),
    var(--gp-accent-cyan)
  );
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--gp-transition-med);
}

.gp-nav-link:hover {
  color: #ffffff;
}

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

.gp-nav-link--active {
  color: #ffffff;
}

/* HEADER CTA */

.gp-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gp-header-phone {
  font-size: 14px;
  color: var(--gp-accent-cyan);
  border-radius: var(--gp-radius-pill);
  padding: 6px 14px;
  background: rgba(5, 12, 44, 0.85);
  border: 1px solid rgba(53, 225, 255, 0.35);
  box-shadow: 0 0 18px rgba(53, 225, 255, 0.5);
  transition: transform var(--gp-transition-fast),
    box-shadow var(--gp-transition-fast),
    background var(--gp-transition-fast);
}

.gp-header-phone:hover {
  transform: translateY(-1px);
  background: rgba(9, 24, 70, 0.98);
  box-shadow: 0 0 22px rgba(53, 225, 255, 0.8);
}

/* BURGER */

.gp-burger {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(154, 160, 198, 0.45);
  border-radius: 999px;
  padding: 4px 10px 5px;
  cursor: pointer;
  color: var(--gp-text-main);
}

.gp-burger-line {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gp-accent-pink),
    var(--gp-accent-cyan)
  );
  transition: transform var(--gp-transition-med),
    opacity var(--gp-transition-med),
    translate var(--gp-transition-med);
}

.gp-burger-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* BURGER ACTIVE STATE */

.gp-header--nav-open .gp-burger-line--top {
  transform: rotate(37deg);
  translate: 0 3px;
}

.gp-header--nav-open .gp-burger-line--bottom {
  transform: rotate(-37deg);
  translate: 0 -3px;
}

.gp-header--nav-open .gp-burger-label {
  opacity: 0.1;
}

/* MOBILE NAV */

.gp-mobile-nav {
  position: fixed;
  inset-inline: 12px;
  top: calc(var(--gp-header-height) + 10px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 0 0, #161c44, #050714);
  box-shadow: var(--gp-shadow-soft);
  padding: 14px;
  transform-origin: top;
  transform: scaleY(0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gp-transition-med),
    transform var(--gp-transition-med);
}

.gp-header--nav-open .gp-mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: scaleY(1);
}

.gp-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gp-mobile-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--gp-text-muted);
  transition: background var(--gp-transition-fast),
    color var(--gp-transition-fast);
}

.gp-mobile-nav-link--active {
  color: #ffffff;
  background: rgba(255, 79, 178, 0.12);
}

.gp-mobile-nav-link--accent {
  color: var(--gp-accent-cyan);
  background: rgba(53, 225, 255, 0.08);
}

/* MAIN LAYOUT */

.gp-main {
  padding-top: calc(var(--gp-header-height) + 24px);
}

/* FOOTER */

.gp-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at bottom, #151936, #050714 60%);
}

.gp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-block: 32px 18px;
}

.gp-footer-brand {
  flex: 1 1 260px;
  max-width: 420px;
}

.gp-footer-text {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--gp-text-soft);
  line-height: 1.6;
}

.gp-footer-columns {
  display: flex;
  flex: 2 1 320px;
  gap: 36px;
}

.gp-footer-col {
  min-width: 160px;
}

.gp-footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gp-text-muted);
}

.gp-footer-link {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--gp-text-main);
  opacity: 0.86;
  transition: opacity var(--gp-transition-fast),
    transform var(--gp-transition-fast);
}

.gp-footer-link:hover {
  opacity: 1;
  transform: translateX(1px);
}

.gp-footer-note {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 12px;
  color: var(--gp-text-soft);
}

.gp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 10px 16px;
}

.gp-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gp-footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--gp-text-soft);
}

/* BUTTONS */

.gp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--gp-radius-pill);
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--gp-transition-fast),
    box-shadow var(--gp-transition-fast),
    background var(--gp-transition-fast),
    color var(--gp-transition-fast);
}

.gp-btn--primary {
  background: linear-gradient(
    120deg,
    var(--gp-accent-pink),
    var(--gp-accent-cyan)
  );
  color: #050714;
  box-shadow: 0 0 24px rgba(255, 79, 178, 0.8);
}

.gp-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 79, 178, 1);
}

.gp-btn--ghost {
  background: rgba(8, 13, 47, 0.9);
  color: var(--gp-text-main);
  border: 1px solid rgba(154, 160, 198, 0.45);
}

.gp-btn--ghost:hover {
  background: rgba(18, 26, 76, 1);
  transform: translateY(-1px);
}

.gp-btn--lg {
  padding-inline: 22px;
  padding-block: 11px;
}

.gp-btn--sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* SECTIONS */

.gp-section {
  position: relative;
  padding-block: 56px;
}

.gp-section--dark {
  background: radial-gradient(circle at top right, #1a2149, #050714 60%);
}

/* IMAGE GENERIC RULE (<= 350px) */

.gp-img {
  border-radius: 18px;
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* REVEAL ANIMATIONS */

.gp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gp-reveal--slow {
  transition-duration: 0.9s;
}

.gp-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* FLOATING ITEMS */

.gp-float-item {
  animation: gp-float 5.5s ease-in-out infinite;
}

@keyframes gp-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* STATUS DOT */

.gp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 6px;
}

.gp-status-dot--online {
  background: radial-gradient(circle, #8dff9b, #32d357);
  box-shadow: 0 0 10px rgba(50, 211, 87, 0.9);
}

/* ========== RESPONSIVE ========== */

/* TABLET ≤ 1024px */

@media (max-width: 1024px) {
  .gp-header-inner {
    padding-inline: 16px;
  }

  .gp-footer-inner {
    flex-direction: column;
  }

  .gp-footer-columns {
    width: 100%;
    justify-content: space-between;
  }
}

/* TABLET / LARGE MOBILE ≤ 768px */

@media (max-width: 768px) {
  .gp-nav {
    display: none;
  }

  .gp-header-cta {
    display: none;
  }

  .gp-burger {
    display: inline-flex;
  }

  .gp-footer-columns {
    flex-direction: column;
    gap: 18px;
  }

  .gp-footer {
    margin-top: 52px;
  }

  .gp-main {
    padding-top: calc(var(--gp-header-height) + 18px);
  }
}

/* SMALL MOBILE ≤ 480px */

@media (max-width: 480px) {
  .gp-header-inner {
    gap: 14px;
  }

  .gp-logo-text {
    font-size: 16px;
  }

  .gp-footer-inner {
    padding-block: 26px 12px;
  }

  .gp-container {
    padding-inline: 16px;
  }
}
html {
  height: 100%;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden; /* режем горизонтальный скролл на корне */
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "GP-Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--gp-bg);
  color: var(--gp-text-main);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden; /* и здесь на всякий случай */
}
/* FOOTER LEGAL LINKS */

.gp-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--gp-text-muted);
  margin-top: 8px;
}

.gp-footer-legal-link {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.gp-footer-legal-link:hover,
.gp-footer-legal-link:focus-visible {
  opacity: 1;
  color: var(--gp-accent-cyan);
}

.gp-footer-legal-sep {
  opacity: 0.5;
}

/* чтобы на мобилке не ломалось */
@media (max-width: 480px) {
  .gp-footer-legal {
    font-size: 11px;
  }
}
