/* ==========================================
   ULTRA-MODERN FOOTER STYLES
   ========================================== */

/* Footer CSS Custom Properties - Minimalist */
:root {
  --footer-bg: #ffffff;
  --footer-bg-secondary: #fafafa;
  --footer-text: #000000;
  --footer-text-muted: rgba(0, 0, 0, 0.7);
  --footer-text-subtle: rgba(0, 0, 0, 0.5);
  --footer-border: rgba(0, 0, 0, 0.1);
  --footer-glass-bg: rgba(255, 255, 255, 0.9);
  --footer-glass-border: rgba(0, 0, 0, 0.05);
  --footer-accent: #02859F;
}

/* Modern Footer Container */
.modern-footer {
  position: relative;
  background: var(--footer-bg);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  overflow: hidden;
  border-top: 1px solid var(--footer-border);
}

/* Footer Background Effects */
.footer-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-gradient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  animation: footerMeshMove 25s ease-in-out infinite alternate;
}

@keyframes footerMeshMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-20px, -10px) rotate(1deg); }
}

.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.footer-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: footerParticleFloat 20s ease-in-out infinite;
  animation-delay: var(--delay);
}

.footer-particle:nth-child(1) {
  top: 20%;
  left: 20%;
}

.footer-particle:nth-child(2) {
  top: 60%;
  left: 70%;
}

.footer-particle:nth-child(3) {
  top: 40%;
  left: 40%;
}

@keyframes footerParticleFloat {
  0%, 100% { 
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-20px) scale(1.2);
    opacity: 0.6;
  }
}

/* Footer Main Content */
.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Footer Brand Section */
.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--footer-text);
  margin: 0 0 0.25rem 0;
  background: black;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-tagline {
  font-size: 0.875rem;
  color: var(--footer-text-muted);
  margin: 0;
  font-weight: 500;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--footer-text-muted);
  margin: 0 0 2rem 0;
  max-width: 400px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--footer-text-muted);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: #3b82f6;
  flex-shrink: 0;
}

/* Footer Navigation Grid */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--footer-text);
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: var(--footer-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
  position: relative;
}

.footer-nav-link:hover {
  color: #3b82f6;
  transform: translateX(4px);
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.footer-nav-link:hover::before {
  width: 4px;
}

/* Footer CTA Column */
.footer-cta-col {
  background: var(--footer-glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--footer-glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.footer-cta-wide {
  grid-column: span 1;
}

.footer-cta-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #02859F;
}

.footer-cta-description {
  color: var(--footer-text-muted);
  margin: 0 0 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-cta-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--footer-border);
}

.footer-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--footer-accent);
  line-height: 1;
}

.footer-stat-label {
  font-size: 0.75rem;
  color: var(--footer-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #02859F;
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-cta-btn svg {
  transition: transform 0.3s ease;
}

.footer-cta-btn:hover svg {
  transform: translateX(2px);
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copyright {
  color: var(--footer-text-muted);
  margin: 0;
  font-size: 0.875rem;
}

.footer-tagline {
  color: var(--footer-text-subtle);
  margin: 0;
  font-size: 0.75rem;
  font-style: italic;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--footer-glass-bg);
  border: 1px solid var(--footer-glass-border);
  border-radius: 0.75rem;
  color: var(--footer-text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 2rem;
  font-size: 0.75rem;
  color: #059669;
}

.footer-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.footer-status-text {
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .modern-footer {
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
  }
  
  .footer-main {
    gap: 2.5rem;
  }
  
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-cta-col {
    padding: 1.5rem;
  }
  
  .footer-cta-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-stat-item {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-bottom-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .modern-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-logo-wrapper {
    justify-content: space-around;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .footer-brand-name {
    font-size: 1.25rem;
  }
  
  .footer-social-links {
    gap: 0.75rem;
  }
  
  .footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .footer-bottom-right {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}