/* ==========================================================================
   ELECTRA MARKETS - FOOTER STYLES (PURE WHITE BACKGROUND & STRUCTURED CARDS)
   ========================================================================== */

#footer-placeholder {
  background: #ffffff !important;
  width: 100%;
}

.fl-footer {
  background: #ffffff !important;
  color: #334155;
  font-family: 'Mulish', sans-serif;
  border-top: 1px solid #e2e8f0;
  padding-top: 50px;
  padding-bottom: 30px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.fl-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   1. TOP NAVIGATION GRID
   -------------------------------------------------------------------------- */
.fl-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f1f5f9;
}

.fl-brand-col {
  padding-right: 20px;
}

.fl-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}

.fl-logo img {
  height: 40px;
  width: auto;
}

.fl-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 380px;
}

.fl-social-links {
  display: flex;
  gap: 10px;
}

.fl-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.fl-social-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
}

/* Columns */
.fl-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.fl-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

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

.fl-links-list li a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.fl-links-list li a:hover {
  color: #2563eb;
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   2. STRUCTURED ADDRESS & CONTACT CARDS SECTION
   -------------------------------------------------------------------------- */
.fl-address-section {
  padding: 40px 0;
  border-bottom: 1px solid #f1f5f9;
}

.fl-address-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fl-address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fl-address-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fl-address-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.fl-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}

.fl-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fl-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2563eb;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.fl-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.fl-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fl-card-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fl-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.fl-item-val {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.4;
}

.fl-item-val.fl-highlight {
  font-weight: 700;
  color: #0f172a;
  font-family: monospace;
  font-size: 0.95rem;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.fl-item-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.fl-item-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. RISK WARNING & REGULATORY
   -------------------------------------------------------------------------- */
.fl-risk-warning {
  margin: 30px 0 20px 0;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.fl-risk-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d97706;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.fl-risk-warning p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 10px;
}

.fl-risk-warning p:last-child {
  margin-bottom: 0;
}

.fl-risk-warning strong {
  color: #475569;
}

/* --------------------------------------------------------------------------
   4. BOTTOM COPYRIGHT BAR
   -------------------------------------------------------------------------- */
.fl-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}

.fl-copyright strong {
  color: #0f172a;
}

.fl-bottom-tagline {
  display: flex;
  gap: 20px;
}

.fl-bottom-tagline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.fl-bottom-tagline i {
  color: #2563eb;
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUT
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .fl-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .fl-address-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fl-top-grid {
    grid-template-columns: 1fr;
  }
  
  .fl-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .fl-bottom-tagline {
    flex-direction: column;
    gap: 6px;
  }
}