/* Footer Styles - X.ai Inspired */
.footer {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.98) 0%, 
        rgba(26, 26, 26, 0.95) 50%, 
        rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(15, 76, 117, 0.5) 25%, 
        rgba(237, 120, 69, 0.8) 50%, 
        rgba(15, 76, 117, 0.5) 75%, 
        transparent 100%);
    animation: borderGlow 8s infinite ease-in-out;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

/* Background Effects */
.footer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 15s infinite ease-in-out;
}

.gradient-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0F4C75 0%, transparent 70%);
    top: -150px;
    left: 10%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ED7845 0%, transparent 70%);
    top: -200px;
    right: 15%;
    animation-delay: 5s;
}

.gradient-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #0F4C75 0%, transparent 70%);
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-logo .logo-domain {
    font-size: 2rem;
    font-weight: 800;
    color: #ED7845;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 280px;
    margin: 0;
}

.footer-cta {
    margin-top: 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #ED7845 0%, #0F4C75 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(237, 120, 69, 0.4);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translate(2px, -2px);
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.nav-column h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-column ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.nav-column ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #F95CA4;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-column ul li a:hover {
    color: #ffffff;
    padding-left: 12px;
}

.nav-column ul li a:hover::before {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-bottom-left p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link:nth-child(1):hover {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.social-link:nth-child(2):hover {
    border-color: #333;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
}

.social-link:nth-child(3):hover {
    border-color: #0077B5;
    color: #0077B5;
}

.social-link:nth-child(4):hover {
    border-color: #5865F2;
    color: #5865F2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gradient-orb {
        display: none;
    }
}
