/* ============================================================
   P23 Footer v1.0
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

.p23ft-footer {
    position: relative;
    width: 100%;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}

/* ── GLOW TOP ── */
.p23ft-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    filter: blur(4px);
    pointer-events: none;
}

/* ── INNER ── */
.p23ft-inner {
    position: relative;
    z-index: 1;
    padding: 80px 80px 48px;
    max-width: 100%;
}

/* ── GRID ── */
.p23ft-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── BRAND ── */
.p23ft-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p23ft-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
}

.p23ft-logo-img {
    width: 120px;
    height: auto;
    display: block;
}

.p23ft-tagline {
    font-size: 12px;
    font-family: 'Space Mono', monospace;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin: 0;
    text-transform: uppercase;
}

/* ── COLUMNS ── */
.p23ft-col { display: flex; flex-direction: column; gap: 16px; }

.p23ft-col-label {
    font-size: 9.5px;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 400;
}

.p23ft-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p23ft-link {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    letter-spacing: 0.01em;
}

.p23ft-link:hover {
    color: #fff;
    transform: translateX(3px);
}

/* ── SOCIAL ── */
.p23ft-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p23ft-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.p23ft-social-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.p23ft-social-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

/* ── BOTTOM ── */
.p23ft-bottom {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p23ft-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.p23ft-copyright {
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
    margin: 0;
}

/* ── AMBIENT GLOW ── */
.p23ft-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(230,100,30,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.p23ft-animate {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(4px);
    transition:
        opacity 0.7s ease var(--delay, 0s),
        transform 0.7s ease var(--delay, 0s),
        filter 0.7s ease var(--delay, 0s);
}

.p23ft-animate.p23ft-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1100px) {
    .p23ft-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px 32px;
    }
    .p23ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .p23ft-inner { padding: 56px 32px 40px; }
    .p23ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }
    .p23ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .p23ft-inner  { padding: 48px 24px 36px; }
    .p23ft-grid   { grid-template-columns: 1fr; gap: 32px; }
    .p23ft-brand  { grid-column: auto; }
    .p23ft-logo-text { font-size: 24px; }
}
