/* ORQVION site footer — ox marketing */

.site-footer {
  --footer-bg: #06060a;
  --footer-bg-2: #0b0b12;
  --footer-line: rgba(255, 255, 255, 0.08);
  --footer-muted: #9494a3;
  --footer-ink: #f3f3f7;
  --footer-cyan: #4dd4ff;
  --footer-violet: #8b7bff;
  --footer-display: "Outfit", "DM Sans", ui-sans-serif, system-ui, sans-serif;

  position: relative;
  margin-top: 0;
  padding: clamp(2.75rem, 5vw, 3.75rem) 0 0;
  border-top: 1px solid var(--footer-line);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 123, 255, 0.06), transparent 55%),
    linear-gradient(180deg, var(--footer-bg-2), var(--footer-bg));
  color: var(--footer-muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(77, 212, 255, 0.35) 25%,
    rgba(139, 123, 255, 0.4) 50%,
    rgba(77, 212, 255, 0.35) 75%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  align-items: start;
}

.footer-col {
  min-width: 0;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-brand {
  max-width: 22rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
}

.footer-brand .brand-logo {
  height: 32px;
  width: auto;
}

.footer-tagline {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--footer-muted);
}

.footer-address {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #6f6f7c;
}

.footer-social-label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f6f7c;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--footer-line);
  font-size: 0.78rem;
  font-weight: 560;
  color: var(--footer-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.footer-social a:hover {
  border-color: rgba(139, 123, 255, 0.35);
  color: var(--footer-ink);
  background: rgba(139, 123, 255, 0.08);
}

.footer-grid h4 {
  margin: 0 0 0.85rem;
  font-family: var(--footer-display);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-violet);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-grid a:not(.footer-social a) {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-grid a:not(.footer-social a):hover {
  color: var(--footer-cyan);
}

.footer-grid .link-button {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--footer-muted);
  text-align: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-grid .link-button:hover {
  color: var(--footer-cyan);
}

.footer-grid .cookie-reset {
  margin: 0.15rem 0 0;
}

.footer-bottom {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1.15rem 0 clamp(1.35rem, 3vw, 1.75rem);
  border-top: 1px solid var(--footer-line);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.footer-bottom-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #6f6f7c;
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
}

.footer-bottom-meta a {
  color: var(--footer-muted);
  text-decoration: none;
}

.footer-bottom-meta a:hover {
  color: var(--footer-cyan);
}

.footer-bottom-meta span {
  color: #5a5a66;
}

/* Ox pages — align with page tokens when loaded */
:is(.page-home, .page-features, .page-product, .page-pricing, .page-enterprise, .page-security, .page-help, .page-docs, .page-about, .page-portal, .page-download, .page-legal, .page-changelog, .page-support, .page-contact) .site-footer {
  border-top-color: var(--ox-line, var(--footer-line));
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 123, 255, 0.06), transparent 55%),
    var(--ox-bg-2, var(--footer-bg-2));
}

.page-portal-dashboard .site-footer {
  border-top-color: var(--ox-line, var(--footer-line));
  background: var(--ox-bg-2, var(--footer-bg-2));
}
