/* GlorifyTC — shared footer styles */
.footer {
    padding: 4rem 2rem 2rem;
    background: #000;
    border-top: 1px solid var(--white-10, rgba(255,255,255,.1));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-section h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--white-50, rgba(255,255,255,.5));
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--white-50, rgba(255,255,255,.5));
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--cyan-400, #00f5ff);
    gap: 0.8rem;
}

.footer-bottom {
    max-width: 1300px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--white-10, rgba(255,255,255,.1));
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white-40, rgba(255,255,255,.4));
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: var(--white-40, rgba(255,255,255,.4));
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--cyan-400, #00f5ff);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--white-20, rgba(255,255,255,.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-60, rgba(255,255,255,.6));
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    border-color: var(--cyan-400, #00f5ff);
    color: var(--cyan-400, #00f5ff);
    background: rgba(0, 209, 255, 0.1);
}

/* ===== CANONICAL LOGO (shared, matches index.html) ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    background: linear-gradient(135deg, var(--cyan-500, #06b6d4), var(--cyan-600, #0891b2));
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.4rem;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.35);
    animation: glorifyGlow 3s ease-in-out infinite;
}

@keyframes glorifyGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 209, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 209, 255, 0.6); }
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--cyan-400, #00f5ff), var(--cyan-600, #0891b2), var(--cyan-400, #00f5ff));
    border-radius: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, var(--zinc-900, #18181b), #000);
    border-radius: 1.1rem;
    z-index: 0;
}

.logo-icon span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: glorifyPulse 2.5s ease-in-out infinite;
    background: linear-gradient(135deg, var(--white-90, rgba(255,255,255,.9)), var(--cyan-400, #00f5ff), var(--white-90, rgba(255,255,255,.9)));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes glorifyPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 5px rgba(0, 209, 255, 0.3); }
    50% { transform: scale(1.03); text-shadow: 0 0 15px rgba(0, 209, 255, 0.7); }
}

.logo-text {
    font-weight: 800;
    font-size: 1.65rem;
    background: linear-gradient(135deg, var(--white-90, rgba(255,255,255,.9)), var(--cyan-400, #00f5ff), var(--white-90, rgba(255,255,255,.9)));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glorifyShimmer 4s ease infinite;
    letter-spacing: -0.02em;
}

@keyframes glorifyShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo:hover .logo-icon {
    transform: scale(1.03);
    animation: none;
}

.logo:hover .logo-icon::before {
    opacity: 1;
    animation: glorifyRotate 2s linear infinite;
}

@keyframes glorifyRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer logo: slightly smaller */
.footer .logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.4rem;
}

.footer .logo-icon::before { border-radius: 12px; }
.footer .logo-icon::after { border-radius: 10px; }

.footer .logo-text {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}
