/* ============================================================
   CS GROWTH LAB — FOOTER PREMIUM CSS v2.0
   Glass background, newsletter, social icons
   ============================================================ */

/* Footer base */
.site-footer,
#colophon,
.ast-above-footer,
.ast-below-footer,
.ast-footer-widgets,
.footer-widget-area,
.ast-footer-custom-text-area {
  background: rgba(255,255,255,0) !important;
  background-color: transparent !important;
}

.site-footer,
#colophon {
  position: relative;
  background-color: var(--csgl-off-black, #0c0c0e) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  overflow: hidden;
}

/* Footer ambient glow at top */
.site-footer::before,
#colophon::before {
  content: '' !important;
  position: absolute !important;
  top: -100px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 700px !important;
  height: 300px !important;
  background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 65%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Footer widgets section */
.ast-footer-widget-area {
  padding: 80px 0 48px !important;
  position: relative;
  z-index: 1;
}

/* Footer widget headings */
.footer-widget-area h2,
.footer-widget-area h3,
.footer-widget-area h4,
.footer-widget-area h5,
.footer-widget-area .widget-title,
.ast-footer-widget-area .widget-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.40) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

/* Footer links */
.footer-widget-area a,
.ast-footer-widget-area a {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: inline-block;
  margin-bottom: 8px;
}
.footer-widget-area a:hover,
.ast-footer-widget-area a:hover {
  color: #fff !important;
}

/* Footer text/paragraphs */
.footer-widget-area p,
.ast-footer-widget-area p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.40) !important;
  line-height: 1.70 !important;
}

/* Footer bottom bar */
.ast-footer-copyright,
.ast-footer-info-section,
.ast-copyright-footer,
[data-section="section-footer-builder"] .ast-footer-copyright {
  padding: 20px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  position: relative;
  z-index: 1;
}

.ast-footer-copyright p,
.ast-footer-copyright,
.ast-footer-copyright a {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.30) !important;
}
.ast-footer-copyright a:hover {
  color: rgba(255,255,255,0.60) !important;
}

/* Footer custom HTML builder elements */
.ast-builder-html-element {
  color: rgba(255,255,255,0.40) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
}
.ast-builder-html-element a {
  color: rgba(255,255,255,0.55) !important;
  transition: color 0.2s ease !important;
}
.ast-builder-html-element a:hover {
  color: #fff !important;
}

/* Divider between footer sections */
.csgl-footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  margin: 40px 0;
}

/* Footer newsletter */
.csgl-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.csgl-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #fff !important;
  outline: none !important;
}
.csgl-newsletter-input:focus {
  border-color: rgba(59,130,246,0.40) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.08) !important;
}
.csgl-newsletter-input::placeholder {
  color: rgba(255,255,255,0.25) !important;
}
.csgl-newsletter-btn {
  padding: 10px 18px;
  background: var(--csgl-blue, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.csgl-newsletter-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* Social icons in footer */
.csgl-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.csgl-footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: all 0.25s ease;
}
.csgl-footer-social-link:hover {
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.25);
  color: var(--csgl-blue-light, #60a5fa);
  transform: translateY(-2px);
}
.csgl-footer-social-link svg {
  width: 15px;
  height: 15px;
}

/* Astra footer builder dark override */
[data-section^="section-fb"] {
  background: transparent !important;
}

/* Fix footer text in Astra header builder */
.ast-footer-info-section .ast-text-widget-area {
  color: rgba(255,255,255,0.40) !important;
  font-family: 'Inter', sans-serif !important;
}
