/**
 * Marketing site footer — shared by index.php and Snap landing page.
 * Uses index-clean tokens (--bg1, --stroke, --muted, …) with dark fallbacks.
 */
.index-footer {
  border-top: 1px solid var(--stroke, rgba(255, 255, 255, 0.08));
  background: var(--bg1, #12121a);
  padding: 48px 24px 32px;
}

.index-footer-container {
  max-width: 1600px;
  margin: 0 auto;
}

.index-footer-content {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.index-footer-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-strong, rgba(255, 255, 255, 0.45));
  margin: 0 0 16px;
}

.index-footer-section p {
  font-size: 14px;
  color: var(--muted, rgba(255, 255, 255, 0.6));
  line-height: 1.5;
  margin: 0 0 16px;
}

.index-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-footer-section ul li {
  margin-bottom: 8px;
}

.index-footer-section ul li a {
  font-size: 14px;
  color: var(--muted, rgba(255, 255, 255, 0.6));
  text-decoration: none;
}

.index-footer-section ul li a:hover {
  color: var(--text, rgba(255, 255, 255, 0.97));
}

.index-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text, rgba(255, 255, 255, 0.97));
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.index-footer-logo span {
  background: linear-gradient(135deg, var(--text-primary, rgba(255, 255, 255, 0.97)) 0%, rgba(0, 212, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-footer-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.index-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.index-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted, rgba(255, 255, 255, 0.6));
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.index-footer-social a:hover {
  color: var(--text, rgba(255, 255, 255, 0.97));
  background: rgba(255, 255, 255, 0.1);
}

.index-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--stroke, rgba(255, 255, 255, 0.08));
  text-align: center;
}

.index-footer-bottom p {
  font-size: 11px;
  color: var(--muted-strong, rgba(255, 255, 255, 0.45));
  margin: 0 0 8px;
}

.index-footer-bottom .index-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 12px;
}

.index-footer-bottom .index-footer-links a {
  font-size: 11px;
  color: var(--muted, rgba(255, 255, 255, 0.6));
  text-decoration: none;
}

.index-footer-bottom .index-footer-links a:hover {
  color: var(--text, rgba(255, 255, 255, 0.97));
}

@media (max-width: 768px) {
  .index-footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .index-footer-logo {
    justify-content: center;
  }

  .index-footer-social {
    justify-content: center;
  }
}
