/* ==== FONTLAR (lokal .ttf) ==== */
@font-face {
  font-family: "ProLinkDisplay";
  src: url("../fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

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

/* ==== RESETE YAXIN BAZA ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "ProLinkText", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #18163a 0, #050712 42%, #02030a 100%);
  color: #f5f5ff;
  min-height: 100vh;
}

/* Horizontal scroll-un qarşısını almaq üçün */
body,
html {
  overflow-x: hidden;
}

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

/* ==== RƏNGLƏR & VARİABLAR ==== */
:root {
  --pe-bg: #050712;
  --pe-bg-soft: #0b0e24;
  --pe-bg-softer: #171a35;
  --pe-accent: #ff4fd8;
  --pe-accent-soft: rgba(255, 79, 216, 0.22);
  --pe-accent-alt: #16e6ff;
  --pe-text: #f7f7ff;
  --pe-text-soft: #a3a5cf;
  --pe-border-soft: rgba(255, 255, 255, 0.08);
  --pe-radius-lg: 26px;
  --pe-radius-md: 18px;
  --pe-radius-pill: 999px;
  --pe-shadow-soft: 0 24px 80px rgba(2, 10, 30, 0.85);
  --pe-shadow-neon: 0 0 40px rgba(255, 79, 216, 0.6);
}

/* ==== UTİLİTİ ==== */
.pe-body {
  background-color: var(--pe-bg);
  color: var(--pe-text);
}

.pe-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 24px 96px;
}

.pe-main-title {
  font-family: "ProLinkDisplay", system-ui, sans-serif;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 32px;
  text-align: center;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #d2ddff 25%,
    #ffb4f2 55%,
    #82f4ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Skip link */
.pe-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 8px 16px;
  background: #ffffff;
  color: #000019;
  border-radius: 0 0 8px 0;
  z-index: 200;
  text-decoration: none;
  font-size: 14px;
}

.pe-skip-link:focus-visible {
  left: 0;
}

/* ==== BUTTONLAR ==== */
.pe-btn {
  border-radius: var(--pe-radius-pill);
  padding: 11px 22px;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.18s ease;
  font-family: "ProLinkText", system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pe-btn--primary {
  background: radial-gradient(
    circle at top left,
    #ff4fd8 0,
    #ff7df0 22%,
    #16e6ff 100%
  );
  color: #050712;
  box-shadow: var(--pe-shadow-neon);
}

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

.pe-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.pe-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.pe-btn--ghost {
  background: rgba(12, 15, 46, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--pe-text-soft);
}

.pe-btn--ghost:hover {
  background: rgba(23, 26, 73, 0.95);
  border-color: rgba(255, 255, 255, 0.26);
}

/* Tag-lar */
.pe-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--pe-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.2;
  color: var(--pe-text-soft);
  background: radial-gradient(
    circle at top left,
    rgba(255, 79, 216, 0.16),
    rgba(4, 208, 255, 0.08) 40%,
    rgba(4, 5, 26, 0.8) 100%
  );
  backdrop-filter: blur(10px);
}

/* ==== HEDDER ==== */
.pe-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  backdrop-filter: blur(26px);
  background: linear-gradient(
      90deg,
      rgba(255, 79, 216, 0.09),
      transparent 35%,
      rgba(22, 230, 255, 0.1)
    ),
    rgba(1, 3, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pe-header-glow {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(22, 230, 255, 0.15), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.pe-header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Logo */
.pe-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pe-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 0, #ffbce9 0, #ff4fd8 40%, #7b00ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "ProLinkDisplay", system-ui, sans-serif;
  font-size: 18px;
  color: #050515;
  box-shadow: 0 0 24px rgba(255, 79, 216, 0.8);
}

.pe-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.pe-logo-main {
  font-family: "ProLinkDisplay", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pe-logo-sub {
  font-size: 11px;
  color: var(--pe-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Naviqasiya */
.pe-nav {
  margin-left: auto;
}

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

.pe-nav-link {
  position: relative;
  font-size: 13px;
  color: var(--pe-text-soft);
  text-decoration: none;
  padding: 6px 0;
}

.pe-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8, #16e6ff);
  box-shadow: 0 0 10px rgba(255, 79, 216, 0.7);
  transition: width 0.22s ease;
}

.pe-nav-link:hover::after {
  width: 100%;
}

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

.pe-nav-link--active::after {
  width: 100%;
}

/* Burger */
.pe-burger {
  display: none;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(1, 3, 22, 0.9);
  padding: 6px 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.pe-burger-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8, #16e6ff);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Burger aktiv halda */
.pe-burger.pe-burger--active .pe-burger-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.pe-burger.pe-burger--active .pe-burger-line:nth-child(2) {
  opacity: 0;
}

.pe-burger.pe-burger--active .pe-burger-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobil menyu */
.pe-mobile-nav {
  position: fixed;
  inset: 62px 14px auto 14px;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(255, 79, 216, 0.22),
    rgba(4, 8, 38, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--pe-shadow-soft);
  transform: translateY(-24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pe-mobile-nav--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pe-mobile-nav-list {
  list-style: none;
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pe-mobile-link {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  background: rgba(10, 10, 30, 0.7);
}

.pe-mobile-link:hover {
  background: rgba(34, 37, 90, 0.98);
}

/* Body scroll lock mobil menyu üçün */
.pe-lock-scroll {
  overflow: hidden;
}

/* ==== REVEAL ANİMASİYASI ==== */
.pe-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

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

/* ==== FUTER ==== */
.pe-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #151633 0, #050712 55%);
  position: relative;
}

.pe-footer-glow {
  position: absolute;
  inset-inline: 0;
  top: -2px;
  height: 2px;
  background: linear-gradient(90deg, #ff4fd8, #16e6ff);
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.7);
}

.pe-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 18px;
}

.pe-footer-brand {
  max-width: 520px;
  margin-bottom: 26px;
}

.pe-footer-title {
  margin: 0 0 10px;
  font-family: "ProLinkDisplay", system-ui, sans-serif;
  font-size: 20px;
}

.pe-footer-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--pe-text-soft);
}

.pe-footer-text--muted {
  font-size: 13px;
  opacity: 0.9;
}

.pe-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pe-footer-column {
  font-size: 13px;
  color: var(--pe-text-soft);
}

.pe-footer-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  color: #ffffff;
}

.pe-footer-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 13px;
}

.pe-footer-link:hover {
  text-decoration: underline;
}

.pe-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pe-footer-list li {
  margin-bottom: 4px;
}

.pe-footer-meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--pe-text-soft);
}

.pe-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
  padding: 12px 24px 18px;
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--pe-text-soft);
}

.pe-footer-mini {
  opacity: 0.9;
}

/* ==== ADAPTİV (MEDIA QUERIES) ==== */

/* 1100px və aşağı — naviqasiya bir az sıx */
@media (max-width: 1100px) {
  .pe-main {
    padding-inline: 18px;
  }

  .pe-nav-list {
    gap: 14px;
  }
}

/* 900px və aşağı — burger menyu aktiv */
@media (max-width: 900px) {
  .pe-header-inner {
    padding-inline: 16px;
  }

  .pe-nav {
    display: none;
  }

  .pe-header-cta {
    margin-left: auto;
  }

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

  .pe-main {
    padding-top: 130px;
  }

  .pe-main-title {
    font-size: 34px;
  }

  .pe-footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* 720px və aşağı — bloklar daha vertikal */
@media (max-width: 720px) {
  .pe-main {
    padding-top: 120px;
    padding-inline: 16px;
  }

  .pe-footer-inner {
    padding-inline: 16px;
  }

  .pe-footer-grid {
    grid-template-columns: 1fr;
  }

  .pe-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 16px;
  }
}

/* 520px və aşağı — mətn və başlıqlar kiçilir */
@media (max-width: 520px) {
  .pe-main-title {
    font-size: 28px;
  }

  .pe-header-inner {
    padding-inline: 12px;
  }

  .pe-footer-title {
    font-size: 18px;
  }
}

/* 380px və aşağı — daha sıx layout */
@media (max-width: 380px) {
  .pe-main {
    padding-inline: 12px;
  }

  .pe-footer-inner {
    padding-inline: 12px;
  }

  .pe-footer-bottom {
    padding-inline: 12px;
  }
}
/* Ссылки в списке "Sürətli linklər" */
.pe-footer-list a {
  display: inline-block;
  font-size: 13px;
  color: #f5f5ff;              /* тот же цвет, что и у контактов */
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.pe-footer-list a:visited {
  color: #f5f5ff;              /* убираем фиолетовый visited */
}

.pe-footer-list a:hover,
.pe-footer-list a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
