/* Branded footer styles - Fix full width issue */
.branded-footer {
  margin-top: 80px;
  padding: 0;
  position: relative;
  background: linear-gradient(135deg, #1a1e2b 0%, #0d1117 100%);
  overflow: hidden;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  position: relative;
  z-index: 10;
}

/* Footer Top Section with Logo and Features */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 40px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  position: relative;
  width: 70px;
  height: 70px;
}

.logo-circle {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 85, 255, 0.25);
  position: relative;
  z-index: 2;
}

.logo-number {
  font-size: 40px;
  font-weight: 700;
  color: white;
}

.logo-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 85, 255, 0.25);
}

.wave1 {
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  animation: ripple 3s infinite ease-out;
}

.wave2 {
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  animation: ripple 3s infinite ease-out 0.5s;
}

.wave3 {
  top: -28px;
  left: -28px;
  right: -28px;
  bottom: -28px;
  animation: ripple 3s infinite ease-out 1s;
}

@keyframes ripple {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.brand-name::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  margin-top: 4px;
  border-radius: 2px;
}

.brand-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.footer-features {
  display: flex;
  gap: 60px;
}

.feature-column {
  min-width: 160px;
}

.feature-column h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.feature-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-column li {
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.feature-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary-light);
  flex-shrink: 0;
}

/* Footer Divider */
.footer-divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.divider-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.divider-icon {
  padding: 0 20px;
}

.divider-icon svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.6);
  opacity: 0.6;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition-fast);
  position: relative;
}

.footer-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-link:hover:after {
  width: 100%;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 85, 255, 0.3);
}

.footer-bottom-content {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.made-with {
  font-style: italic;
}

.heart {
  color: #ff4d6d;
  display: inline-block;
  animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Decorative Background Elements */
.footer-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  opacity: 0.05;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -50px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 15%;
}

/* Responsive Adjustments - Improved for better layout on mobile */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-features {
    gap: 30px;
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-logo-container {
    justify-content: center;
  }
  
  .footer-brand {
    text-align: left;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 40px 20px 30px;
  }
  
  .footer-features {
    flex-direction: column;
    gap: 30px;
  }
  
  .feature-column {
    text-align: center;
    align-items: center;
  }
  
  .feature-column li {
    justify-content: center;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Light color mode support */
@media (prefers-color-scheme: light) {
  .branded-footer {
    background: linear-gradient(135deg, #f8f9fe 0%, #edf3ff 100%);
  }
}

/* Dark color mode support */
@media (prefers-color-scheme: dark) {
  .branded-footer {
    background: linear-gradient(135deg, #212936 0%, #1a1f2b 100%);
  }
  
  .brand-name {
    color: #f0f4f8;
  }
  
  .brand-tagline {
    color: #a2b2cb;
  }
  
  .feature-column h3 {
    color: #b7c9e2;
  }
  
  .feature-column li {
    color: #d2dee9;
  }
  
  .divider-line {
    background: linear-gradient(90deg, transparent, rgba(65, 90, 119, 0.3), transparent);
  }
  
  .copyright {
    color: #8096b0;
  }
}
