/* Tiptap-inspired Footer Styles */
:root {
    --footer-bg: #000000;
    /* Black background */
    --footer-text-main: #E5E7EB;
    /* Light gray text */
    --footer-text-sub: #9CA3AF;
    /* Gray text */
    --footer-text-header: #FFFFFF;
    /* White headers */
    --footer-link-hover: #3B82F6;
    /* blue-500 */
    --footer-border: #333333;
    /* Dark border */
}

.footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 80px 0 40px;
    margin-top: auto;
    /* Push to bottom if using flex-col body */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Section (CTA) */
.footer-top {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-headline {
    font-size: 32px;
    font-weight: 700;
    color: var(--footer-text-header);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-subhead {
    font-size: 18px;
    color: var(--footer-text-sub);
    margin-bottom: 32px;
}

.btn-footer {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-footer:hover {
    background-color: #1F2937;
    transform: translateY(-2px);
}

/* Middle Section (Links) */
.footer-middle {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-text-header);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    text-decoration: none;
    color: var(--footer-text-sub);
    font-size: 14px;
    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: var(--footer-link-hover);
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 14px;
    color: #9CA3AF;
    /* gray-400 */
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    text-decoration: none;
    color: var(--footer-text-sub);
    font-size: 14px;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--footer-text-sub);
    transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
    color: var(--footer-text-header);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-middle {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-headline {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer-middle {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Build Uflash Section - Netflix Style */
.build-uflash-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: 80px 24px;
    border-top: 8px solid #232323;
}

.build-uflash-container {
    max-width: 815px;
    margin: 0 auto;
    text-align: center;
}

.build-uflash-container h2 {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.build-uflash-subtitle {
    font-size: 19px;
    color: #d1d1d1;
    margin-bottom: 40px;
    line-height: 1.4;
}

.build-uflash-section .social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.build-uflash-section .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #2d2d2d;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.build-uflash-section .social-icons a:hover {
    background-color: #e50914;
    transform: scale(1.1);
}

.build-uflash-section .support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e50914;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.build-uflash-section .support-btn:hover {
    background-color: #f40612;
    transform: translateY(-2px);
}

.build-uflash-section .support-btn i {
    font-size: 22px;
}

/* Responsive for Build Uflash Section */
@media (max-width: 768px) {
    .build-uflash-section {
        padding: 60px 16px;
    }

    .build-uflash-subtitle {
        font-size: 16px;
    }

    .build-uflash-section .social-icons {
        gap: 16px;
    }

    .build-uflash-section .social-icons a {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .build-uflash-section .support-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}