:root{
  --a11y-ink: #140f2d;
  --a11y-pink: #ff4fd8;
  --a11y-lilac: #9b7bff;
  --a11y-bg: #0b0a12;
}

body{
  background: radial-gradient(1200px 600px at 10% 10%, rgba(155,123,255,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(255,79,216,.18), transparent 55%),
              #0b0a12;
  color: #f3f2ff;
}

a { 
    color: #f3f2ff; 
}

a:hover { 
    color: #ffffff; 
    text-decoration: underline;
}

.btn:hover {
    text-decoration: underline
}

.card-glow{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  border-radius: 18px;
}

.btn-primary{
  border: none;
  background: linear-gradient(135deg, var(--a11y-lilac), var(--a11y-pink));
}

.form-control{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.form-control::placeholder{ color: rgba(255,255,255,0.65); }
.form-control:focus{
  border-color: rgba(255,79,216,0.5);
  box-shadow: 0 0 0 .2rem rgba(255,79,216,.15);
}

.consent-banner{
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  background: rgba(20, 16, 33, 0.92);
  color: #fff;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.consent-banner .consent-link{ color: #fff; text-decoration: underline; }
.consent-banner .btn-outline-light{ border-color: rgba(255,255,255,0.5); }





.footer-link{ color: inherit; text-decoration: none; }
.footer-link:hover, .footer-link:focus{ text-decoration: underline; }


/* ---- Sticky footer layout (must be paired with base.php change below) ---- */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* ---- Footer: glass / blur alignment with header ---- */
.site-footer--glass {
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.92);
}

.footer-nav {
  row-gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.75rem;
}

.footer-link--icon:hover,
.footer-link--icon:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none; /* keep it clean; the hover bg is enough */
}

.footer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.95;
}

.site-footer {
  background: rgba(0,0,0,.35);
  background: rgba(255,255,255,0.04)!important;
  backdrop-filter: blur(10px);
}

.site-footer .text-muted,
.site-footer .small {
  color: rgba(255,255,255,.70) !important;
}

.site-footer .footer-link {
  color: rgba(255,255,255,.80);
  text-decoration: none;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
  color: #fff;
  text-decoration: underline;
}

.site-footer a[href^="mailto:"] {
  color: #fff;
  font-weight: 600;
}


.site-header{
  background: rgba(255,255,255,0.04)!important;
  backdrop-filter: blur(10px);
}

.brand-name{ letter-spacing: 0.2px; }

.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--a11y-lilac), var(--a11y-pink));
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.nav-link{
  color: rgba(255,255,255,0.85);
}
.nav-link:hover,
.nav-link:focus{
  color: #fff;
  text-decoration: underline;
}

.nav-link[aria-current="page"]{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.navbar-toggler{
  border-color: rgba(255,255,255,0.25);
}
.navbar-toggler:focus{
  box-shadow: 0 0 0 .2rem rgba(255,79,216,.18);
}

.skip-link{
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  color: #000;
  text-decoration: none;
  z-index: 10000;

  /* Hidden by default, shown on focus */
  transform: translateY(-200%);
  transition: transform .15s ease;
}

.skip-link:focus{
  transform: translateY(0);
  outline: 3px solid rgba(255,79,216,.35);
  outline-offset: 2px;
}



/* Hero spacing */
.hero {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

/* Panel/card styling */
.panel {
  /* border: 1px solid rgba(255,255,255,.18); */
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

/* Kill “empty height” unless content needs it */
.panel--compact {
  min-height: 0;
}

/* Make the form controls match the theme and stay readable */
.scan-form .form-control {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

.scan-form .form-control::placeholder {
  color: rgba(255,255,255,.55);
}

.scan-form .form-control:focus {
  background: rgba(255,255,255,.10);
  border-color: rgba(203, 94, 255, .8);
  box-shadow: 0 0 0 .25rem rgba(203, 94, 255, .25);
}

/* Button match */
.scan-form .btn-primary {
  border-color: rgba(255,255,255,.18);
}

/* Mobile: stack nicely */
@media (max-width: 576px) {
  .scan-form .input-group {
    flex-direction: column;
    gap: .75rem;
  }
  .scan-form .input-group > .form-control,
  .scan-form .input-group > .btn {
    width: 100%;
    border-radius: 12px !important;
  }
}

/* Consent banner */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner{
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.cookie-banner__card{
  width: min(920px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(15, 12, 20, .92);
  color: #fff;
  padding: 1.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.cookie-banner__card .text-muted { color: rgba(255,255,255,.7) !important; }
.cookie-banner__card a.btn-link { color: rgba(255,255,255,.85) !important; }
.cookie-banner__card a.btn-link:hover { color: #fff !important; }

@media (min-width: 992px){
  .cookie-banner{
    align-items: flex-end;
    padding: 2rem;
  }
  .cookie-banner__card{
    padding: 1.5rem;
  }
}

/* Sticky top nav */
.site-header--sticky{
  position: sticky;
  top: 0;
  z-index: 1030; /* above page content, below modal/backdrop */
  backdrop-filter: blur(10px);
  background: rgba(10, 8, 16, 0.85); /* tweak to match your theme */
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Ensure content doesn't sit under it if you have anchor links */
:root{
  scroll-padding-top: 84px; /* adjust if your header height differs */
}

/* Optional: subtle shadow when sticky (always on for simplicity) */
.site-header--sticky{
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Respect reduced motion if you later add transitions */
@media (prefers-reduced-motion: reduce){
  .site-header--sticky{
    scroll-behavior: auto;
  }
}
