/* Premium Footer Styling - Warm Graphite & Cyber Blue Theme */
.footer,
.footer-premium,
footer {
  background: #ffffff !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0 !important;
  position: relative;
  overflow: hidden;
  color: #475569;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.footer::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Newsletter Section */
.footer-newsletter {
  border-bottom: 1px solid #e2e8f0;
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f7f5f1 0%, #ffffff 100%);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 1.6rem;
  color: #14161a;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.newsletter-text p {
  color: #64748b;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #14161a;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  border-color: #00d2ff;
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
}

/* Footer Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding: 4.5rem 0 3.5rem 0;
}

.footer-logo {
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  margin-left: -12px;
  transform: translateX(-4px);
}

.footer-logo .logo-img {
  height: 66px;
  width: auto;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
  max-width: 320px;
  color: #64748b;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: #00d2ff;
  color: #080d1a;
  transform: translateY(-3px);
  border-color: #00d2ff;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.footer-links h4 {
  font-size: 1.1rem;
  color: #14161a;
  margin-bottom: 1.4rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #00d2ff;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #64748b;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: #0070f3;
}

.footer-links a:hover i {
  color: #0070f3;
  transform: translateX(3px);
}

.footer-contact-minimal {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-minimal li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
}

.footer-contact-minimal i {
  color: #00d2ff;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 1.8rem 0;
  font-size: 0.85rem;
  background: #f7f5f1;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748b;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: #64748b;
}

.legal-links a:hover {
  color: #0070f3;
}

/* Pre-Footer Impact Stats Section */
.pre-footer-stats {
  background: #080d1a !important;
  padding: 4.5rem 0;
  position: relative;
  z-index: 2;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  align-items: center;
}

.stats-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats-counter-number {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #70e2ff 0%, #00d2ff 50%, #0070f3 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #00d2ff !important;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: var(--font-brand, 'Outfit', 'Inter', sans-serif);
}

.stats-counter-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem 0;
  }
  .pre-footer-stats {
    padding: 3.5rem 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .stats-counter-number {
    font-size: 2.8rem;
  }
  .stats-counter-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .footer-newsletter {
    padding: 2.5rem 0;
  }
  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .newsletter-form {
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem 0;
  }
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-about {
    max-width: 100%;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a {
    justify-content: center;
  }
  .footer-contact-minimal li {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  .newsletter-form input {
    width: 100%;
    padding: 0.85rem 1rem;
  }
  .newsletter-form button {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
  }
  .pre-footer-stats {
    padding: 2.8rem 0;
  }
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1rem;
    padding: 0 1rem;
  }
  .stats-counter-number {
    font-size: 2.2rem;
  }
  .stats-counter-label {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 0.75rem;
    padding: 0 0.5rem;
  }
  .stats-counter-number {
    font-size: 1.8rem;
  }
  .stats-counter-label {
    font-size: 0.72rem;
  }
  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Corporate Graphite & Cyber Blue Newsletter Button */
.newsletter-form button,
.footer-newsletter button {
  background: #14161A !important;
  color: #00d2ff !important;
  border: 1px solid #2A2F3D !important;
  border-radius: 8px !important;
  padding: 0.85rem 1.6rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

.newsletter-form button:hover,
.footer-newsletter button:hover {
  background: #00d2ff !important;
  border-color: #00d2ff !important;
  color: #080d1a !important;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}
