/* ============================================
   FOOTER CSS - OncologyAI
   Contains: Footer, Back to Top
   ============================================ */

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-canvas);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__brand-logo .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-hero);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__brand-logo .logo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.footer__brand-logo .title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.footer__brand-logo .subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.footer__brand-desc {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-normal);
}

/* .footer__social a:hover {
  background: var(--oncology-blue);
  border-color: var(--oncology-blue);
  color: var(--white);
  transform: translateY(-3px);
} */

.footer__social a svg {
  width: 20px;
  height: 20px;
}

.footer__column-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 14px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all var(--transition-normal);
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__links a svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: all var(--transition-normal);
}

.footer__links a:hover svg {
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content:center;
  align-items: center;
  padding-top: 40px;
}

.footer__copyright {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 32px;
}

.footer__legal a {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: color var(--transition-normal);
}

.footer__legal a:hover {
  color: var(--white);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oncology-blue);
  border: none;
  border-radius: 50%;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(59,130,246,0.4);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2563EB;
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}
