/* Premium footer */

.footer-premium {
    padding: 3.5rem 0 0;
    background: #000000;
    overflow: hidden;
}

.footer-premium::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-premium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    .footer-premium-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.15fr);
        gap: 2rem;
        align-items: start;
    }
}

.footer-premium-col {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-premium-col.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-premium-col:nth-child(1) { transition-delay: 0s; }
.footer-premium-col:nth-child(2) { transition-delay: 0.06s; }
.footer-premium-col:nth-child(3) { transition-delay: 0.12s; }
.footer-premium-col:nth-child(4) { transition-delay: 0.18s; }

.footer-premium .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.48);
    max-width: 20rem;
    margin-top: 0.75rem;
}

.footer-premium .footer-links h4,
.footer-premium .footer-contact h4,
.footer-social-heading {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.1rem;
}

.footer-premium .footer-links ul,
.footer-premium .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-premium .footer-links ul li a,
.footer-premium .footer-contact ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition:
        color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-premium .footer-links ul li a::before,
.footer-premium .footer-contact ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.footer-premium .footer-links ul li a:hover::before,
.footer-premium .footer-contact ul li a:hover::before {
    width: 100%;
}

/* Social connect column */
.footer-social-col {
    min-width: 0;
}

.footer-social-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-social-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-col.is-visible .footer-social-item {
    opacity: 1;
    transform: translateY(0);
}

.footer-social-item:nth-child(1) { transition-delay: 0.22s; }
.footer-social-item:nth-child(2) { transition-delay: 0.3s; }
.footer-social-item:nth-child(3) { transition-delay: 0.38s; }

.footer-social-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.footer-social-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.footer-social-item:hover::before {
    opacity: 1;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-item:hover .footer-social-icon {
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.footer-social-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.footer-social-platform {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-handle {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-item:hover .footer-social-platform {
    color: rgba(255, 255, 255, 0.55);
}

.footer-social-item:hover .footer-social-handle {
    color: #ffffff;
}

.footer-social-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.25);
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-item:hover .footer-social-arrow {
    transform: translate(3px, -3px);
    color: rgba(255, 255, 255, 0.75);
}

.footer-premium-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.35rem 0 1.65rem;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.footer-premium-bottom.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .footer-premium-bottom {
        flex-direction: row;
        justify-content: center;
    }
}

.footer-premium-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
    .footer-premium-col,
    .footer-social-item,
    .footer-premium-bottom {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .footer-social-item:hover,
    .footer-social-item:hover .footer-social-icon,
    .footer-social-item:hover .footer-social-arrow,
    .footer-premium .footer-links ul li a:hover,
    .footer-premium .footer-contact ul li a:hover {
        transform: none;
    }
}
