/* ==========================================================================
   ENVATX FOOTER V2 â€” modern 2026 restyle
   Pure additive: restyles existing .envatx-premium-footer / .epf-* markup.
   No HTML changes. Loaded after footer inline styles = wins cascade.
   ========================================================================== */

/* ---------- Foundation: richer dark surface + subtle texture ---------- */
.envatx-premium-footer {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(240, 5, 5, .10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(240, 5, 5, .07), transparent 55%),
    linear-gradient(180deg, #12141a 0%, #0d0f14 100%) !important;
  padding-top: 56px !important;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ---------- CTA banner: glass card with gradient border ---------- */
.epf-cta {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 20px !important;
  padding: 32px 36px !important;
  overflow: hidden;
}
.epf-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 90% 0%, rgba(240,5,5,.16), transparent 60%);
  pointer-events: none;
}
.epf-cta-text h3 {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
.epf-cta-btn {
  background: linear-gradient(135deg, #f00505, #c40404) !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  box-shadow: 0 8px 24px rgba(240, 5, 5, .30);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.epf-cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 32px rgba(240, 5, 5, .42) !important;
}
/* remove old shine animation on CTA (replaced with cleaner look) */
.epf-cta-btn::after { display: none; }

/* ---------- Trust strip: 4 glass tiles instead of flat row ---------- */
.epf-trust {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 0 40px !important;
  border: none !important;
}
.epf-trust-item {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  padding: 16px 14px !important;
  justify-content: center !important;
  transition: transform .25s ease, background .25s ease, border-color .25s ease !important;
}
.epf-trust-item:hover {
  transform: translateY(-3px) !important;
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(240,5,5,.35) !important;
}
.epf-trust-icon {
  width: 40px !important;
  height: 40px !important;
  background: rgba(240, 5, 5, .16) !important;
  color: #ff8087 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

/* ---------- Headings: red accent bar ---------- */
.epf-heading {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px !important;
}
.epf-heading::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f00505, #ff6b6b);
}

/* ---------- Link lists: cleaner spacing + arrow slide ---------- */
.epf-link-list li { margin-bottom: 4px !important; }
.epf-link-list a {
  padding: 7px 0 !important;
  font-size: 14px !important;
  color: #aeb9cc !important;
  border-radius: 8px;
}
.epf-link-list a i {
  color: #f00505 !important;
  opacity: .7;
}
.epf-link-list a:hover {
  color: #fff !important;
  padding-inline-start: 4px !important;
}

/* ---------- Contact cards: bordered mini-cards ---------- */
.epf-contact-card {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
  transition: border-color .25s ease, background .25s ease !important;
}
.epf-contact-card:hover {
  border-color: rgba(240,5,5,.40) !important;
  background: rgba(255,255,255,.06) !important;
}
.epf-contact-icon {
  width: 38px !important;
  height: 38px !important;
  background: rgba(240, 5, 5, .16) !important;
  color: #ff8087 !important;
  border-radius: 10px !important;
}

/* ---------- Social buttons: modern rounded squares ---------- */
.epf-social { gap: 10px !important; }
.epf-social-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.07) !important;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease !important;
}
.epf-social-btn:hover {
  transform: translateY(-4px) !important;
  background: linear-gradient(135deg, #f00505, #c40404) !important;
  box-shadow: 0 8px 20px rgba(240, 5, 5, .35) !important;
}

/* ---------- Newsletter: bigger, rounded, glow on focus ---------- */
.epf-newsletter-input {
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px !important;
  padding: 14px 120px 14px 18px !important;
  font-size: 14px !important;
  min-height: 50px;
}
.epf-newsletter-input:focus {
  border-color: #f00505 !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .15) !important;
}
.epf-newsletter-btn {
  top: 5px !important;
  bottom: 5px !important;
  right: 5px !important;
  padding: 0 22px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #f00505, #c40404) !important;
  font-weight: 700 !important;
  transition: filter .2s ease, transform .2s ease !important;
}
.epf-newsletter-btn:hover { filter: brightness(1.12); }

/* ---------- Visitor counter: modern glass stat card ---------- */
#envatx-visitor-counter .visitor-card {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 16px !important;
  padding: 18px 24px !important;
  backdrop-filter: blur(8px);
}
#envatx-visitor-counter .visitor-number {
  background: linear-gradient(120deg, #fff, #ff9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
#envatx-visitor-counter .live-dot {
  background: #4ade80 !important;
  box-shadow: 0 0 8px #4ade80 !important;
}

/* ---------- Copyright bar: divider + spacing ---------- */
.epf-copyright {
  border-top: 1px solid rgba(255,255,255,.08) !important;
  margin-top: 36px !important;
  padding: 22px 0 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}
.epf-copyright p { color: #8b96aa !important; font-size: 13px !important; }
.epf-policy-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 18px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.epf-policy-links a {
  font-size: 13px !important;
  color: #8b96aa !important;
  transition: color .2s ease !important;
}
.epf-policy-links a:hover { color: #fff !important; }

/* ---------- Footer slider cards (About/Contact/FAQ tiles above footer) ---------- */
.footer-slide-item {
  border-radius: 16px !important;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.footer-slide-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(22,24,29,.12) !important;
  border-color: rgba(240,5,5,.25) !important;
}
.footer-slide-item:hover .heading {
  color: var(--web-primary, #f00505) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .epf-cta { padding: 24px 20px !important; }
  .epf-cta-text h3 { font-size: 19px !important; }
  .epf-trust { grid-template-columns: repeat(2, 1fr) !important; }
  .epf-copyright { justify-content: center !important; text-align: center; }
}
@media (max-width: 480px) {
  .epf-trust { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .epf-trust-item { padding: 12px 10px !important; }
}
