/* PowerAreo Footer Styles */

.pa-footer {
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.18), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.28), transparent 60%),
              #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  padding-top: 2.5rem;
}

.pa-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 2.5rem;
}

.pa-footer__brand-block {
  max-width: 360px;
}

.pa-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.pa-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #5bffb8 0, #22c55e 30%, #0ea5e9 70%, #020617 100%);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2), 0 0 18px rgba(45, 212, 191, 0.7);
}

.pa-footer__logo-text {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.pa-footer__tagline {
  margin-top: 1rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #9ca3af;
}

.pa-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pa-footer__heading {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}

.pa-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pa-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: none;
  padding-block: 0.25rem;
}

.pa-footer__link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}

.pa-footer__link:hover,
.pa-footer__link:focus-visible {
  color: #e5e7eb;
}

.pa-footer__link:hover::before,
.pa-footer__link:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.pa-footer__link:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
}

.pa-footer__bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin-top: 0.5rem;
}

.pa-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem 1.2rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

/* Cookie banner */

.pa-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1200;
  pointer-events: none;
}

.pa-cookie__panel {
  max-width: 1200px;
  margin: 0.75rem auto 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.2), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.24s ease-out, opacity 0.24s ease-out;
  pointer-events: auto;
}

.pa-cookie--visible .pa-cookie__panel {
  transform: translateY(0);
  opacity: 1;
}

.pa-cookie--hidden .pa-cookie__panel {
  transform: translateY(120%);
  opacity: 0;
}

.pa-cookie__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.pa-cookie__title {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pa-cookie__text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #d1d5db;
}

.pa-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pa-cookie__btn {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.4rem 0.95rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  white-space: nowrap;
}

.pa-cookie__btn--primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  border-color: transparent;
}

.pa-cookie__btn--secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.pa-cookie__btn:hover {
  filter: brightness(1.05);
}

.pa-cookie__btn:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .pa-footer__inner {
    padding-inline: 1rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

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

  .pa-cookie__panel {
    margin-inline: 0.75rem;
  }

  .pa-cookie__content {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .pa-footer__links-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pa-cookie__content {
    flex-direction: column;
  }

  .pa-cookie__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .pa-cookie__btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pa-cookie__panel {
    transition: none !important;
  }
}
