/* =====================================================
   HISTIQ FOOTER — histiq/footer.css
   Scoped to .footer.histiq-footer
   ===================================================== */

.footer.histiq-footer {
  background:  #12121a;
  font-family: 'Inter', system-ui, sans-serif;
  color:       #e8e8f0;
}

/* ══════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════ */
.footer.histiq-footer .hq-footer-cta {
  position:   relative;
  padding:    100px 24px 96px;
  text-align: center;
  overflow:   hidden;
  background: #0d0a18;
  border-bottom: 1px solid rgba(124, 90, 240, 0.2);
}

/* Purple radial glow behind CTA */
.footer.histiq-footer .hq-footer-cta::before {
  content:       '';
  position:      absolute;
  inset:         0;
  background:    radial-gradient(ellipse 70% 60% at 50% 50%,
                   rgba(124, 90, 240, 0.18) 0%,
                   transparent 70%);
  pointer-events: none;
}

/* Subtle top border glow */
.footer.histiq-footer .hq-footer-cta::after {
  content:    '';
  position:   absolute;
  top:        0;
  left:       50%;
  transform:  translateX(-50%);
  width:      320px;
  height:     1px;
  background: linear-gradient(90deg,
                transparent 0%,
                rgba(124, 90, 240, 0.7) 50%,
                transparent 100%);
}

.footer.histiq-footer .hq-footer-cta h2 {
  position:    relative;
  font-size:   clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color:       #e8e8f0;
  margin:      0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.footer.histiq-footer .hq-footer-cta p {
  position:   relative;
  font-size:  1.05rem;
  color:      #8888a8;
  margin:     0 0 36px;
  line-height: 1.6;
}

/* ── CTA Button — !important to override Astra resets ── */
.footer.histiq-footer .hq-footer-cta .hq-cta-btn,
.footer.histiq-footer .hq-footer-cta .hq-cta-btn:visited {
  position:        relative;
  display:         inline-flex !important;
  align-items:     center;
  justify-content: center;
  padding:         16px 40px !important;
  background:      #7c5af0 !important;
  color:           #ffffff !important;
  font-family:     'Inter', system-ui, sans-serif !important;
  font-size:       17px !important;
  font-weight:     700 !important;
  line-height:     1 !important;
  border-radius:   10px !important;
  border:          none !important;
  text-decoration: none !important;
  box-shadow:      0 0 0 1px rgba(124, 90, 240, 0.4),
                   0 8px 32px rgba(124, 90, 240, 0.35) !important;
  transition:      background 0.18s ease,
                   transform  0.18s ease,
                   box-shadow 0.18s ease !important;
  cursor:          pointer;
}

.footer.histiq-footer .hq-footer-cta .hq-cta-btn:hover {
  background:  #9b7ff4 !important;
  color:       #ffffff !important;
  transform:   translateY(-2px) !important;
  box-shadow:  0 0 0 1px rgba(155, 127, 244, 0.5),
               0 12px 40px rgba(124, 90, 240, 0.5) !important;
}

/* Under-button note */
.footer.histiq-footer .hq-footer-cta .hq-cta-note {
  position:   relative;
  display:    block;
  margin-top: 14px;
  font-size:  13px;
  color:      #5a5a78;
}

/* ══════════════════════════════════════════════
   MAIN FOOTER BODY
   ══════════════════════════════════════════════ */
.footer.histiq-footer .hq-footer-main {
  max-width: 1100px;
  margin:    0 auto;
  padding:   64px 24px 40px;
}

.footer.histiq-footer .hq-footer-top {
  display:         flex;
  align-items:     flex-start;
  justify-content: space-between;
  gap:             56px;
  flex-wrap:       wrap;
  padding-bottom:  48px;
  border-bottom:   1px solid rgba(255, 255, 255, 0.07);
}

/* ── Brand column ── */
.footer.histiq-footer .hq-footer-brand {
  flex:      0 0 auto;
  max-width: 260px;
}

.footer.histiq-footer .hq-footer-logo {
  display:         inline-block;
  font-size:       26px !important;
  font-weight:     800 !important;
  letter-spacing:  -0.6px;
  text-decoration: none !important;
  margin-bottom:   12px;
  /* Gradient text */
  background:      linear-gradient(135deg, #ffffff 0%, #9b7ff4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer.histiq-footer .hq-footer-tagline {
  font-size:   14px;
  color:       #5a5a78;
  line-height: 1.65;
  margin:      0 0 20px;
}

/* Privacy badge under tagline */
.footer.histiq-footer .hq-footer-privacy-badge {
  display:      inline-flex;
  align-items:  center;
  gap:          6px;
  font-size:    12px;
  font-weight:  500;
  color:        #7c5af0;
  background:   rgba(124, 90, 240, 0.1);
  border:       1px solid rgba(124, 90, 240, 0.25);
  border-radius: 20px;
  padding:      4px 12px;
}

/* ── Link columns ── */
.footer.histiq-footer .hq-footer-links {
  display:  flex;
  gap:      56px;
  flex-wrap: wrap;
}

.footer.histiq-footer .hq-footer-col h4 {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color:          #7c5af0;        /* accent — was muted */
  margin:         0 0 18px;
}

.footer.histiq-footer .hq-footer-col ul {
  list-style: none;
  margin:     0;
  padding:    0;
  display:    flex;
  flex-direction: column;
  gap:        12px;
}

.footer.histiq-footer .hq-footer-col ul a,
.footer.histiq-footer .hq-footer-col ul a:visited {
  font-size:       14px;
  color:           #8888a8 !important;
  text-decoration: none !important;
  transition:      color 0.15s ease;
}
.footer.histiq-footer .hq-footer-col ul a:hover {
  color: #e8e8f0 !important;
}

/* ── Bottom bar ── */
.footer.histiq-footer .hq-footer-bottom {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             12px;
  padding-top:     28px;
  font-size:       13px;
  color:           #3e3e5e;
}

.footer.histiq-footer .hq-footer-bottom a,
.footer.histiq-footer .hq-footer-bottom a:visited {
  color:           #3e3e5e !important;
  text-decoration: none !important;
  transition:      color 0.15s ease;
}
.footer.histiq-footer .hq-footer-bottom a:hover {
  color: #8888a8 !important;
}

/* Paddle badge */
.footer.histiq-footer .hq-paddle-badge {
  display:     inline-flex;
  align-items: center;
  gap:         7px;
  font-size:   13px;
  color:       #3e3e5e;
  padding:     6px 14px;
  background:  rgba(255,255,255,0.03);
  border:      1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}
.footer.histiq-footer .hq-paddle-badge svg {
  width:  14px;
  height: 14px;
  flex-shrink: 0;
  fill: #3e3e5e;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer.histiq-footer .hq-footer-cta {
    padding: 72px 24px 68px;
  }
  .footer.histiq-footer .hq-footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer.histiq-footer .hq-footer-brand {
    max-width: 100%;
  }
  .footer.histiq-footer .hq-footer-links {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer.histiq-footer .hq-footer-cta h2 {
    font-size: 1.6rem;
  }
  .footer.histiq-footer .hq-footer-cta .hq-cta-btn,
  .footer.histiq-footer .hq-footer-cta .hq-cta-btn:visited {
    width:      100%;
    max-width:  320px;
    padding:    15px 24px !important;
  }
  .footer.histiq-footer .hq-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
