.footer {
    position: relative;
    overflow: hidden;
    padding: 72px 0 28px;
    background:
        radial-gradient(circle at top left, rgba(214, 92, 255, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(79, 124, 255, 0.10), transparent 32%),
        linear-gradient(180deg, #05070f 0%, #03050b 50%, #020307 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 18%),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.015) 0,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 90px
        );
    pointer-events: none;
}

.footer-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.8;
}

.footer-glow-1 {
    width: 260px;
    height: 260px;
    top: -60px;
    left: 6%;
    background: rgba(214, 92, 255, 0.18);
}

.footer-glow-2 {
    width: 240px;
    height: 240px;
    right: 8%;
    bottom: -90px;
    background: rgba(63, 115, 255, 0.14);
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.footer-brand h3 {
    margin: 0 0 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.footer-school {
    margin: 0 0 12px;
    font-size: 1rem;
    color: rgba(255,255,255,0.84);
}

.footer-description {
    max-width: 360px;
    margin: 0 0 16px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.68);
}

.footer-tagline {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(214, 92, 255, 0.25);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: #d65cff;
    font-size: 0.83rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(214, 92, 255, 0.08);
}

.footer-links,
.footer-details,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4,
.footer-details h4,
.footer-contact h4 {
    margin: 0 0 10px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
}

.footer p,
.footer a {
    margin: 0;
    text-decoration: none;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links a,
.footer-contact a {
    width: fit-content;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d65cff;
    transform: translateX(4px);
}

.footer-details p strong {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 46px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p,
.footer-bottom-line {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
}

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-description,
    .footer-contact,
    .footer-details {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
    }
}
