/* Footer v6 only. Scoped so it can be dropped into the existing home page. */

.footer-v6 {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #030303;
    color: #f5f5f7;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    margin-top: 2rem;
    padding-top: 36px;
}
.footer-v6 * { box-sizing: border-box; }
.footer-v6 a { color: #9e9e9e; text-decoration: none; font-size: 0.8rem; }
.footer-v6 a:hover { color: #f5f5f7; }
.footer-v6 .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer-v6 .brand { color: #f5f5f7; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

.footer-v6 .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 6px;
    background: #ffffff;
    color: #030303;
    border: 1px solid #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}
.footer-v6 .btn:hover { color: #030303; background: #f0f0f0; }
.footer-v6 .btn.ghost {
    background: transparent;
    color: #f5f5f7;
    border-color: rgba(255, 255, 255, 0.12);
    font-weight: 500;
    padding: 12px 24px;
}
.footer-v6 .btn.ghost:hover { color: #f5f5f7; border-color: rgba(255, 255, 255, 0.22); background: transparent; }

.footer-v6 .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 40px;
    background: #0a0a0a;
}
.footer-v6 .card h3 { color: #f5f5f7; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.footer-v6 .card p { color: #8e8e93; font-size: 0.9rem; margin: 0; }
.footer-v6 .actions { display: flex; gap: 10px; flex: 0 0 auto; }

.footer-v6 .top { display: grid; grid-template-columns: 1fr 2fr; gap: 52px; padding-bottom: 34px; }
.footer-v6 .big {
    margin: 14px 0 0;
    max-width: 250px;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(#ffffff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-v6 .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 44px; }
.footer-v6 .group-title { color: #6b6b6b; font-size: 0.8rem; font-weight: 500; margin: 0 0 10px; }
.footer-v6 .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    color: #f5f5f7;
}
.footer-v6 .row:hover { color: #9e9eff; }
.footer-v6 .row span:last-child { color: #6b6b6b; font-size: 0.8rem; }

.footer-v6 .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #6b6b6b;
    font-size: 0.8rem;
}
.footer-v6 .bottom nav { display: flex; gap: 16px; }
.footer-v6 .bottom a { color: #9e9e9e; font-size: 0.8rem; }

.footer-v6 .locale { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.footer-v6 .locale a { padding: 3px 9px; font-size: 0.72rem; color: #9e9e9e; }
.footer-v6 .locale a.on { background: #0a0a0a; color: #f5f5f7; }

@media (max-width: 980px) {
    .footer-v6 .card { flex-direction: column; align-items: flex-start; }
    .footer-v6 .actions { display: flex; width: 100%; }
    .footer-v6 .actions .btn { flex: 1; }
    .footer-v6 .top { grid-template-columns: 1fr; }
    .footer-v6 .bottom { flex-wrap: wrap; justify-content: center; text-align: center; }
}

/* Short variant for signed-in app pages */
.footer-v6.footer-app { margin-top: 0; padding: 16px 0; }
.footer-v6.footer-app .app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-v6.footer-app .brand { font-size: 0.9rem; }
.footer-v6.footer-app .app-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-v6.footer-app .app-links a { color: #9e9e9e; font-size: 0.78rem; }
.footer-v6.footer-app .app-links a:hover { color: #f5f5f7; }
.footer-v6.footer-app .app-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #6b6b6b;
    font-size: 0.75rem;
}
@media (max-width: 800px) {
    .footer-v6.footer-app .app-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}