﻿/* =========================================
   MINDIESM — Footer (LIGHT THEME)
   ========================================= */

.site-footer {
  position: relative;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: var(--sp-6);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-pale), transparent);
}

/* Ambient blobs */
.footer-blob-1 {
  position: absolute;
  width: 400px; height: 400px;
  top: -100px; right: 5%;
  background: radial-gradient(circle, rgba(123,156,226,0.15) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.footer-blob-2 {
  position: absolute;
  width: 300px; height: 300px;
  bottom: 0; left: 5%;
  background: radial-gradient(circle, rgba(149,176,236,0.12) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

/* === FOOTER GRID === */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

/* === BRAND COL === */
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  max-width: 290px;
}

.footer-social { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-xs);
}

.social-link:hover {
  background: var(--accent-violet-mist);
  border-color: var(--border-accent);
  color: var(--accent-violet);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* === FOOTER COLUMN === */
.footer-col { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer-col-title {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-link::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border-medium);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.footer-link:hover { color: var(--text-primary); }
.footer-link:hover::before { background: var(--accent-violet); }

/* === APP STORE BUTTONS === */
.footer-store-btns { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.65rem 1rem;
  border-radius: var(--r-lg);
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.footer-store-btn:hover {
  background: var(--bg-white);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.footer-store-btn svg { width: 22px; height: 22px; fill: var(--text-secondary); flex-shrink: 0; }

.footer-store-text { display: flex; flex-direction: column; }
.footer-store-text .line1 { font-size: 0.65rem; color: var(--text-muted); letter-spacing: var(--ls-wide); }
.footer-store-text .line2 { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }

/* === FOOTER BOTTOM === */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-5);
  flex-wrap: wrap;
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--text-subtle);
}
.footer-copyright span { color: var(--accent-violet); font-weight: var(--fw-medium); }

.footer-legal { display: flex; gap: var(--sp-6); }

.footer-legal-link {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  transition: color 0.25s ease;
}
.footer-legal-link:hover { color: var(--text-tertiary); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: var(--sp-4); }
}

