/* Footer Styles */
.footer {
  background: var(--color-white);
  padding: 100px 120px 40px 120px;
  color: var(--color-dark);
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Top Section */
.footer-top {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer Middle Section - Three Columns */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.footer-column-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.footer-link {
  color: #323232;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-social-link {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-dark);
  transition: all 0.3s ease;
  position: relative;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.8px;
  background: linear-gradient(45deg, #D123FF 14.6%, #00D1FF 85.4%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.footer-social-link::after {
  content: '';
  position: absolute;
  inset: 1.8px;
  border-radius: 50%;
  background: linear-gradient(143.94deg, rgba(255, 255, 255, 0.56) 14.74%, rgba(196, 196, 196, 0) 134.34%);
  z-index: 0;
}

.footer-social-link:hover {
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

/* Footer Disclaimer */
.footer-disclaimer {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.footer-disclaimer-text {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  line-height: 1.7;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-link {
  font-size: 1rem;
  font-weight: 400;
  color: #323232;
  text-decoration: underline;
  line-height: 100%;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #D123FF;
}

.footer-separator {
  color: #ccc;
  font-size: 0.875rem;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 60px 20px 30px;
  }

  .footer-top {
    margin-bottom: 40px;
  }

  .footer-logo {
    height: 50px;
    margin-bottom: 16px;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .footer-middle {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-column {
    text-align: left;
  }

  .footer-column-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .footer-column-text {
    font-size: 0.9rem;
  }

  .footer-social {
    gap: 20px;
    margin-bottom: 40px;
  }

  .footer-social-link {
    width: 70px;
    height: 70px;
  }

  .footer-social-link svg {
    width: 28px;
    height: 28px;
  }

  .footer-disclaimer {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }

  .footer-disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 8px;
  }

  .footer-legal-link {
    font-size: 1rem;
    line-height: 100%;
    letter-spacing: 0.01em;
  }

  .footer-separator {
    font-size: 0.8rem;
  }
}

@media (max-width: 540px) {
  .footer-legal-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    max-width: 100%;
  }

  .footer-legal-link {
    white-space: nowrap;
    font-size: 0.75rem;
  }

  .footer-legal-link:nth-of-type(1) {
    flex: 0 0 auto;
  }

  .footer-separator:nth-of-type(1) {
    flex: 0 0 auto;
    font-size: 0.75rem;
  }

  .footer-legal-link:nth-of-type(2) {
    flex: 0 0 auto;
  }

  .footer-separator:nth-of-type(2) {
    flex: 0 0 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
  }

  .footer-legal-link:nth-of-type(3),
  .footer-legal-link:nth-of-type(4) {
    flex: 0 0 auto;
  }

  .footer-separator:nth-of-type(3) {
    flex: 0 0 auto;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 50px 16px 25px;
  }

  .footer-top {
    margin-bottom: 35px;
  }

  .footer-logo {
    height: 45px;
    margin-bottom: 14px;
  }

  .footer-tagline {
    font-size: 0.95rem;
  }

  .footer-middle {
    gap: 35px;
    margin-bottom: 35px;
  }

  .footer-column-title {
    font-size: 1rem;
  }

  .footer-column-text {
    font-size: 0.875rem;
  }

  .footer-social {
    gap: 16px;
    margin-bottom: 35px;
  }

  .footer-social-link {
    width: 60px;
    height: 60px;
  }

  .footer-social-link svg {
    width: 24px;
    height: 24px;
  }

  .footer-disclaimer {
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

  .footer-disclaimer-text {
    font-size: 0.75rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer {
    padding: 80px 60px 35px;
  }

  .footer-middle {
    gap: 50px;
  }

  .footer-social {
    gap: 22px;
  }
}

@media (min-width: 1441px) {
  .footer {
    padding: 100px 120px 40px;
  }

  .footer-logo {
    height: 70px;
    margin-bottom: 24px;
  }

  .footer-tagline {
    font-size: 1.25rem;
  }

  .footer-middle {
    gap: 80px;
    margin-bottom: 60px;
  }

  .footer-column-title {
    font-size: 1.25rem;
  }

  .footer-column-text {
    font-size: 1rem;
  }

  .footer-social {
    gap: 28px;
    margin-bottom: 60px;
  }

  .footer-social-link {
    width: 90px;
    height: 90px;
  }

  .footer-social-link svg {
    width: 36px;
    height: 36px;
  }

  .footer-disclaimer {
    margin-bottom: 50px;
    padding-bottom: 50px;
  }

  .footer-disclaimer-text {
    font-size: 0.95rem;
  }

  .footer-copyright,
  .footer-legal-link {
    font-size: 0.95rem;
  }
}
