/* ========================================
   FOOTER - SITE FOOTER STYLES
   This file contains all footer-related styles including:
   - Footer layout and structure
   - Footer brand and logo
   - Footer navigation links
   - Social media links
   - Newsletter subscription form
   - Footer bottom copyright section
   - Status indicators
   ======================================== */

/* ==================== FOOTER STYLES ==================== */

.footer {
  background: linear-gradient(
    135deg,
    #0f0f23 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f3460 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(120, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    );
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1 1 100%;
  max-width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-text {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
  color: white;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
  margin-bottom: 60px;
}

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

.footer-heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: white;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

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

.footer-menu li {
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  overflow: hidden;
}

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

.footer-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.launch-desc {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-bottom: 15px;
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #34495e;
  border-radius: 15px;
  background: transparent;
  color: white;
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: #95a5a6;
}

.newsletter-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.newsletter-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.newsletter-btn:hover::before {
  left: 100%;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.footer-demo {
  text-align: center;
  padding: 15px 25px;
  background-color: #1a1a2e;
  border-radius: 12px;
  margin: 20px 0;
}

.demo-note {
  color: #f39c12;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-copyright {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot-ready {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 2s infinite;
}

.status-text {
  color: #95a5a6;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==================== RESPONSIVE FOOTER ==================== */

@media (max-width: 968px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    padding: 0 30px;
  }

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

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-logo-text {
    font-size: 1.8rem;
  }

  .footer-description {
    font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
  color: white;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
    margin: 0 auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-copyright {
    font-size: 0.9rem;
    opacity: 1;
  }

  .footer-status {
    display: flex;
  }

  .status-text {
    font-size: 0.8rem;
  }
}
