/* ==========================================================================
   FOOTER PREMIUM — Ecomers Luna
   Inspired by Hostinger × Stripe clean footer aesthetic
   All selectors scoped to .footer-premium
   ========================================================================== */

/* ── Wrapper ── */
.footer-premium {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    120% 120% at 20% 15%,
    #2F1C6A 0%,
    #1A0A2E 18%,
    #2D1B69 42%,
    #3B2A8A 62%,
    #4A2BC1 78%,
    #673DE6 100%
  );
}

/* Glow blob */
.footer-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(52px);
  -webkit-filter: blur(52px);
  pointer-events: none;
}

/* Subtle grid */
.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.04;
  pointer-events: none;
}

/* Inner container */
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 28px;
  position: relative;
  z-index: 1;
}

/* ── TOP grid: brand (wider) + 3 cols ── */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px 32px;
  align-items: start;
}

/* ── Brand ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  color: #673DE6;
  font-size: 13px;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 300px;
  margin: 0 0 6px;
}

.footer-sublabel {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  margin: 0 0 16px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.footer-social-icon:hover {
  background: #fff;
  color: #1877F2;
  border-color: #fff;
  transform: scale(1.08);
}

.footer-social-icon--yt:hover {
  background: #FF0000;
  color: #fff;
  border-color: #FF0000;
}

/* Trust badge */
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 6px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-trust-badge strong {
  color: #fff;
  font-weight: 700;
}

.footer-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1FAA59;
  box-shadow: 0 0 0 4px rgba(31, 170, 89, 0.20);
  flex-shrink: 0;
  animation: footerDotPulse 2.4s ease-in-out infinite;
}

@keyframes footerDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 170, 89, 0.20); }
  50%       { box-shadow: 0 0 0 6px rgba(31, 170, 89, 0.08); }
}

.footer-trust-sep {
  color: rgba(255, 255, 255, 0.30);
  font-size: 10px;
}

.footer-trust-stars {
  color: #FFC107;
  font-size: 11px;
  letter-spacing: 1px;
}

/* ── Link columns ── */
.footer-col-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  padding: 0;
  line-height: 1;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links li a {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
  line-height: 1.4;
}

.footer-col-links li a:hover {
  color: #fff;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
}

/* Payment badges */
.footer-pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.fpb {
  background: #fff;
  color: #12121F;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 5px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.fpb--upi { color: #673DE6; }
.fpb--pp  { color: #003087; }
.fpb--gpay { background: #12121F; color: #fff; border-color: rgba(255,255,255,0.18); }

.footer-secure-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.60);
  margin-left: 4px;
}

.footer-secure-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1FAA59;
  flex-shrink: 0;
}

/* Copyright */
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  text-align: right;
}

.footer-copy-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 3px;
}

.footer-heart {
  color: #FF6B9D;
}

.footer-copy-br { display: none; }

.footer-copy-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.48);
}

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Medium tablets: 2+2 grid */
@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Small tablets / large phones */
@media (max-width: 640px) {
  .footer-inner {
    padding: 36px 16px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-copy-br {
    display: block;
  }

  .footer-col-links li a {
    font-size: 13px;
  }

  .footer-pay-badges {
    gap: 5px;
  }

  .fpb {
    font-size: 10px;
    padding: 5px 8px;
  }

  .footer-secure-label {
    display: none;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-glow {
    width: 100%;
  }
}
