/* ==========================================================================
   INTELLIXAPI ULTRA-PREMIUM FOOTER - BLUE BLACK THEME
   ========================================================================== */

.ix-footer-section {
  position: relative;
  width: 100%;
  padding: 80px 0 50px 0;
  background: linear-gradient(180deg, #0b1329 0%, #050813 100%) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #94a3b8 !important;
  overflow: hidden;
  box-sizing: border-box;
  border-top: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* Background Lighting & Subtle Grids */
.ix-footer-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

.ix-footer-orb-1 {
  position: absolute;
  top: 10%;
  left: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.ix-footer-orb-2 {
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.ix-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   NEWSLETTER GLASS CARD (BLUE-BLACK THEME)
   ========================================================================== */
.ix-footer-newsletter-card {
  position: relative;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-sizing: border-box;
}

.ix-fn-info {
  max-width: 520px;
}

.ix-fn-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.ix-fn-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 0;
}

.ix-fn-form-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  position: relative;
}

.ix-fn-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  background: #0f172a;
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #f8fafc;
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.ix-fn-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.ix-fn-btn {
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ix-fn-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

.ix-fn-toast {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   GLOBAL STATS STRIP (BLUE-BLACK THEME)
   ========================================================================== */
.ix-footer-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.ix-fstat-card {
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.ix-fstat-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
}

.ix-fstat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #60a5fa;
  line-height: 1.1;
}

.ix-fstat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}

/* ==========================================================================
   MAIN RESPONSIVE FOOTER GRID (BLUE-BLACK THEME)
   ========================================================================== */
.ix-footer-main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 20px;
}

.ix-fcol {
  display: flex;
  flex-direction: column;
}

/* Column 1: Brand & Contacts */
.ix-flogo-box {
  width: 140px;
  margin-bottom: 14px;
}

.ix-flogo-box img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.ix-fdesc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta Partner Badge */
.ix-fmeta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 20px;
  width: fit-content;
}

.ix-fmeta-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

/* Glass Contact Cards */
.ix-fcontact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ix-fcontact-card {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s ease;
}

.ix-fcontact-card:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.2);
}

.ix-fc-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ix-fc-icon {
  font-size: 14px;
}

.ix-fc-text {
  display: flex;
  flex-direction: column;
}

.ix-fc-label {
  font-size: 10px;
  font-weight: 800;
  color: #60a5fa;
  text-transform: uppercase;
}

.ix-fc-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
}

.ix-fc-copy-badge {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 8px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ix-fcontact-card:hover .ix-fc-copy-badge {
  opacity: 1;
}

/* Columns 2-5: Nav Lists */
.ix-fcol-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ix-fnav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ix-fnav-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ix-fnav-item a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.ix-fnav-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  font-size: 10px;
}

.ix-fnav-item a:hover .ix-fnav-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Toast Copy Notification Popup */
.ix-copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  border: 1px solid #38bdf8;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 99999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.ix-copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .ix-footer-main-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ix-fcol:first-child {
    grid-column: span 3;
    max-width: 600px;
    margin-bottom: 20px;
  }

  .ix-footer-stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .ix-footer-section {
    padding: 50px 0 30px 0;
  }

  .ix-footer-newsletter-card {
    flex-direction: column;
    padding: 24px 18px;
    text-align: center;
  }

  .ix-fn-form-box {
    flex-direction: column;
    width: 100%;
  }

  .ix-fn-btn {
    width: 100%;
  }

  .ix-footer-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ix-fcol:first-child {
    grid-column: span 1;
  }

  .ix-footer-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
