/* ============================================================
   DL Footer — Sovereign Noir for Footer (v1.3.0)
   ============================================================
   Dark navy canvas footer with luminous azure accents.
   Matches the recent landing-page brand system — all-blue palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

.dlfooter,
.dlfooter *,
.dlfooter *::before,
.dlfooter *::after {
  box-sizing: border-box;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dlfooter {
  position: relative;
  background:
    radial-gradient(1400px 800px at 100% 0%, rgba(30,95,232,.28), transparent 60%),
    radial-gradient(1100px 700px at 0% 100%, rgba(96,165,250,.18), transparent 65%),
    radial-gradient(900px 600px at 50% 50%, rgba(99,102,241,.18), transparent 70%),
    linear-gradient(180deg, #0A1633 0%, #0F2552 55%, #19376D 100%);
  color: #CBD5E1;
  padding: 64px 0 0;
  font-size: 15px;
  line-height: 1.6;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle paper grain for expensive-paper feel */
.dlfooter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.025) 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.02) 1px, transparent 2px);
  background-size: 32px 32px, 48px 48px;
  pointer-events: none;
  opacity: .55;
  z-index: 0;
}

.dlfooter > * { position: relative; z-index: 1; }

/* ============ Inner container — 4 columns ============ */
.dlfooter__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
}

@media (max-width: 1100px) {
  .dlfooter__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
  .dlfooter__col--contact {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 32px;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .dlfooter__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding: 0 24px 36px;
  }
  .dlfooter__col--about { grid-column: 1 / -1; }
  .dlfooter__col--contact { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .dlfooter__inner {
    grid-template-columns: 1fr;
    padding: 0 20px 32px;
    gap: 32px;
  }
  .dlfooter__col--contact {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
  }
}

/* ============ Typography ============ */
.dlfooter__heading {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 18px;
}
.dlfooter__heading--invisible {
  visibility: hidden;
}

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

/* ============ Column 1: About ============ */
.dlfooter__tagline {
  color: #93C5FD;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.dlfooter__para {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 20px;
}
/* ============ CTA pair: Learn More (primary) + Contact Us (ghost) ============
   Both engineered for the dark navy footer:
   - Learn More: bright white pill → smooth fill to brand-blue gradient on hover
   - Contact Us: outlined ghost pill → fills with azure on hover
   Strong contrast, generous hover lift, no orange/gold tones. */
.dlfooter__about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* PRIMARY — Learn More */
.dlfooter__btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #FFFFFF;
  color: #0A1633;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.50) inset,
    0 6px 18px rgba(0,0,0,.25);
  transition: color .35s ease, transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.dlfooter__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1E5FE8 0%, #2563EB 50%, #3B82F6 100%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.dlfooter__btn:hover {
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.20) inset,
    0 12px 28px rgba(30,95,232,.50);
}
.dlfooter__btn:hover::after { opacity: 1; }
.dlfooter__btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.dlfooter__btn:hover .dlfooter__btn-arrow { transform: translateX(4px); }
.dlfooter__btn-arrow svg { width: 14px; height: 14px; }

/* SECONDARY — Contact Us */
.dlfooter__contact-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(96,165,250,.08);
  color: #93C5FD;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1.5px solid rgba(147,197,253,.32);
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .25s cubic-bezier(.4,0,.2,1), box-shadow .28s ease;
}
.dlfooter__contact-link:hover {
  background: rgba(96,165,250,.20);
  border-color: rgba(147,197,253,.70);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,95,232,.32);
}

/* ============ Columns 2/3: link lists ============ */
.dlfooter__linklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dlfooter__linklist a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color .2s ease, padding .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dlfooter__linklist a::before {
  content: "›";
  color: #93C5FD;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
  font-weight: 700;
}
.dlfooter__linklist a:hover {
  color: #FFFFFF;
}
.dlfooter__linklist a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============ Column 4: Contact details ============ */
.dlfooter__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dlfooter__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #CBD5E1;
  font-size: 0.92rem;
}
.dlfooter__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30,95,232,.18);
  border: 1px solid rgba(96,165,250,.30);
  color: #93C5FD;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dlfooter__ic svg { width: 14px; height: 14px; }
.dlfooter__contact-list li:hover .dlfooter__ic {
  background: rgba(96,165,250,.28);
  color: #FFFFFF;
  border-color: rgba(96,165,250,.55);
}
.dlfooter__ic-text {
  color: #CBD5E1;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
  flex: 1;
  padding-top: 6px;
  transition: color .2s ease;
}
a.dlfooter__ic-text:hover { color: #FFFFFF; }

/* ============ Social row ============ */
.dlfooter__social-label {
  display: block;
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.dlfooter__social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dlfooter__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #CBD5E1;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dlfooter__social-link svg { width: 16px; height: 16px; }
.dlfooter__social-link:hover {
  background: rgba(96,165,250,.18);
  border-color: rgba(96,165,250,.55);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ============ MIDDLE: Compliance row ============ */
.dlfooter__compliance {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.dlfooter__compliance::before,
.dlfooter__compliance::after {
  content: "";
  position: absolute;
  left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(96,165,250,.30) 35%,
    rgba(96,165,250,.30) 65%,
    transparent 100%);
}
.dlfooter__compliance::before { top: -1px; }
.dlfooter__compliance::after  { bottom: -1px; }
.dlfooter__compliance-label {
  color: #93C5FD;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
}
.dlfooter__compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.dlfooter__compliance-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 48px;
  padding: 0 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.dlfooter__compliance-chip:hover {
  border-color: rgba(96,165,250,.55);
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
}
.dlfooter__compliance-chip img {
  max-height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .dlfooter__compliance {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
  }
}

/* ============ BOTTOM bar: copyright + legal links ============ */
.dlfooter__bottom {
  background: rgba(0,0,0,.20);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.dlfooter__bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dlfooter__copyright {
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 500;
}
.dlfooter__legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dlfooter__legal li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dlfooter__legal a {
  color: #93C5FD;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color .2s ease;
}
.dlfooter__legal a:hover {
  color: #FFFFFF;
}
.dlfooter__legal-sep {
  color: rgba(255,255,255,.20);
  font-weight: 300;
}

@media (max-width: 600px) {
  .dlfooter__bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
}
