/* Footer Styles - Shared across all pages */

/* ============================================
   FOOTER - Page Footer
   ============================================ */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

[data-theme="light"] .footer {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon {
  font-size: 2rem;
  line-height: 1;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

[data-theme="light"] .footer-logo-text {
  color: var(--text-primary);
}

.footer-description {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .footer-description {
  color: var(--text-secondary);
}

.footer-title {
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1;
}

[data-theme="light"] .footer-title {
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: white;
  transform: translateX(4px);
}

[data-theme="light"] .footer-link {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-link:hover {
  color: var(--text-primary);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

[data-theme="light"] .footer-divider {
  border-top: 1px solid var(--border-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .footer-bottom {
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.85rem;
}

.footer-bottom-link:hover {
  color: white;
}

[data-theme="light"] .footer-bottom-link {
  color: var(--text-muted);
}

[data-theme="light"] .footer-bottom-link:hover {
  color: var(--text-primary);
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .footer {
    padding: 4rem 2rem 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
  
  .footer-links {
    gap: 0.8rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .footer {
    padding: 2rem 0.75rem 1rem;
  }
  
  .footer-container {
    gap: 1.5rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }
  
  .footer-title {
    font-size: 0.9rem;
  }
  
  .footer-link {
    font-size: 0.85rem;
  }
}
