.footer {
  background: var(--bg);
  position: relative;
  z-index: 10;
  padding: 80px 0 0 0;
}

/* CTA Section */
.footer-cta {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-title {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--primary);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

.decrypt-text {
  font-family: var(--font-mono);
  min-width: 100px;
  display: inline-block;
  text-align: center;
}

/* Main Footer */
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  gap: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo-img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 200px;
  flex: 1;
  justify-content:end;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column a {
  font-family: var(--font-main);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--primary);
}

/* Bottom Footer */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.divider {
  color: rgba(255, 255, 255, 0.2);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--primary);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* Brand Text Section - Sticky Green Background */
.footer-brand-wrapper {
  position: relative;
  height: 30px;
}

.footer-brand {
  position: sticky;
  top: 0;
  height: 300px;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.glitch-word {
  display: flex;
  font-family: var(--font-main);
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 800;
  color: var(--bg);
  line-height: 1;
  user-select: none;
  gap: 8px;
}

.letter-wrap {
  position: relative;
  display: inline-block;
  cursor: default;
}

.letter-wrap .slices {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.letter-wrap:hover .base-letter {
  opacity: 0;
}

.letter-wrap:hover .slices {
  opacity: 1;
}

.base-letter {
  display: block;
}


/* Responsive */
@media (max-width: 1024px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 40px;
  }
  
  .footer-main {
    flex-direction: column;
    gap: 40px;
    padding: 40px;
  }
  
  .footer-links {
    justify-content: flex-start;
    gap: 60px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    padding: 24px 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 40px;
  }
  
  .footer-cta {
    padding: 0 24px;
    margin-bottom: 40px;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  
  .footer-main {
    padding: 32px 24px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-column h4 {
    font-size: 0.75rem;
  }
  
  .footer-column a {
    font-size: 0.875rem;
  }
  
  .footer-bottom {
    padding: 20px 24px;
    gap: 16px;
  }
  
  .footer-brand-wrapper {
    height: 200px;
  }
  
  .footer-brand {
    height: 200px;
  }
  
  .glitch-word {
    font-size: clamp(2.5rem, 12vw, 5rem);
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .footer-cta {
    padding: 0 16px;
  }
  
  .cta-title {
    font-size: 1.25rem;
  }
  
  .footer-main {
    padding: 24px 16px;
  }
  
  .footer-logo-img {
    width: 40px;
  }
  
  .footer-bottom {
    padding: 16px;
  }
  
  .footer-info {
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-brand-wrapper {
    height: 150px;
  }
  
  .footer-brand {
    height: 150px;
  }
  
  .glitch-word {
    font-size: clamp(3rem, 15vw, 5rem);
    gap: 3px;
  }
}
