/* Footer */

.layout-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(23, 23, 23, 0.98) 100%);
  border-top: 1px solid var(--sys-border-color);
  margin-top: auto;
  padding: 4rem 0 0;
  position: relative;
  width: 100%;
}

.layout-footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sys-background-glow) 50%, transparent);
}

.layout-footer-container {
  width: min(var(--content-width), 95%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.layout-footer-main {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.layout-footer-brand-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.layout-footer-logo {
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  border-radius: 50%;
}

.layout-footer-brand-text h1 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  background: var(--sys-gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  margin: 0;
}

.layout-footer-brand-text p {
  color: var(--sys-text-color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.layout-footer-description {
  color: var(--sys-text-color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.layout-footer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: clamp(1.5rem, 2vw, 2.5rem);
  padding: clamp(1.5rem, 2vw, 2rem);
  background: var(--sys-background-accent);
  border-radius: var(--radius-xl);
  border: 1px solid var(--sys-border-color);
  position: relative;
  border-radius: var(--radius-md);
}

.layout-footer-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--sys-background-glow), transparent 70%);
  border-radius: inherit;
  pointer-events: none;
}

.layout-footer-stat {
  text-align: center;
  flex: 1;
  position: relative;
}

.layout-footer-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--sys-background-glow) 50%, transparent);
}

.layout-footer-stat-value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  background: var(--sys-gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.layout-footer-stat-label {
  color: var(--sys-text-color-muted);
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.layout-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.layout-footer-group {
  display: flex;
  flex-direction: column;
}

.layout-footer-group h3 {
  color: var(--sys-text-color-primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.layout-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.layout-footer-nav a {
  color: var(--sys-text-color-muted);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.layout-footer-nav a:hover {
  color: var(--sys-color-pastel-blue);
  transform: translateX(4px);
}

.layout-footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--sys-border-color);
}

.layout-footer-bottom .layout-footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.layout-footer-copyright {
  color: var(--sys-text-color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.layout-footer-social-links {
  display: flex;
  gap: 1rem;
  margin-right: 10px;
}

.layout-footer-social-link {
  color: var(--sys-text-color-muted);
  transition: all 0.2s ease;
}

.layout-footer-social-link:hover {
  color: var(--sys-color-pastel-blue);
  transform: translateY(-2px);
}

/* Media Queries */

@media (max-width: 1024px) {
  .layout-footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .layout-footer-stat:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .layout-footer {
    padding: 3rem 0 0;
  }
}

@media (max-width: 768px) {
  .layout-footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .layout-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .layout-footer-nav {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .layout-footer-bottom .layout-footer-container {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .layout-footer-social-links {
    width: 100%;
    justify-content: center;
  }
}

