/* Footer God-Tier (Adham Dannaway & Dark Tech Inspiration) */
.footer-advanced {
  background-color: #03030a; /* Ultra dark */
  color: var(--color-text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  font-family: var(--font-family-sans);
}

/* 1. Marquee Infinito */
.footer-marquee {
  width: 100vw;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
  display: flex;
  overflow: hidden;
  background: rgba(99, 102, 241, 0.03); /* Subtle indigo tint */
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-track span {
  font-family: var(--font-family-mono);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  text-transform: uppercase;
  padding-right: 2rem;
  letter-spacing: 0.02em;
}

.marquee-track span:hover {
  -webkit-text-stroke: 1px var(--color-primary-light);
  color: rgba(99, 102, 241, 0.1);
  cursor: default;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 2. Grid Asimétrico Principal */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* Columnas Individuales */
.footer-col h3 {
  font-family: var(--font-family-mono);
  color: var(--color-text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary-light);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

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

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Brand Column (Logo & Time) */
.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.local-time-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family-mono);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981; /* Success Green */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-slogan {
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 300px;
}

/* Copiar Email Buton */
.btn-copy-email {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family-mono);
  font-size: 0.9rem;
}

.btn-copy-email:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-primary);
}

.btn-copy-email.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
}

/* Footer Bottom (Back to top) */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.back-to-top:hover {
  background: white;
  color: black;
  transform: translateY(-5px);
}