/* ========================================
   Modern Footer Styles
   Tüm Sayfalarla Uyumlu Modern Tasarım
   ======================================== */

/* Override old footer styles */
.footer-modern {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    background: linear-gradient(to top, #0f172a, #1e293b) !important;
    background-color: #0f172a !important;
    background-image: linear-gradient(to top, #0f172a, #1e293b) !important;
    color: white !important;
    padding: 4rem 0 2rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    border-top: 1px solid rgba(148, 163, 184, 0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure no gap between main content and footer */
main + .footer-modern,
.main-content + .footer-modern {
    margin-top: 0 !important;
}

/* Ensure body background continues to footer */
body:has(.footer-modern) {
    background: linear-gradient(to bottom, #0f172a, #1e293b) !important;
    background-color: #0f172a !important;
    background-attachment: fixed !important;
}

/* Remove any margin/padding from main-content before footer */
.main-content:has(+ .footer-modern) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Override old footer section styles */
.footer-modern .footer-section,
.footer-modern .footer-content,
.footer-modern .footer-bottom {
    all: unset;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer-modern p,
.footer-modern span,
.footer-modern a,
.footer-modern li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.footer-modern h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-modern i,
.footer-modern .fas,
.footer-modern .far,
.footer-modern .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Footer Content */
.footer-content-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Footer Section */
.footer-section-modern {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.footer-section-modern:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.footer-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-section-header i {
    font-size: 1.5rem;
    color: #8b5cf6;
}

.footer-section-modern h3 {
    font-size: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer IP */
.footer-ip-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-ip-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.footer-ip-value {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.footer-ip-value:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    transform: translateX(4px);
}

.footer-ip-value i:first-child {
    color: #8b5cf6;
}

.footer-ip-value i:last-child {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer Links */
.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-modern li {
    margin: 0;
    padding: 0;
}

.footer-links-modern li::before {
    display: none;
}

.footer-links-modern a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-modern a:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    transform: translateX(8px);
}

.footer-links-modern a i {
    color: #8b5cf6;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Footer Store Button */
.footer-store-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    margin-top: 1rem;
}

.footer-store-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #9d6ff7 0%, #f472b6 100%);
}

.footer-store-btn-modern i {
    font-size: 1.25rem;
}

/* Footer Bottom */
.footer-bottom-modern {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: none !important;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    flex-direction: column;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
}

.footer-copyright i {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer Social */
.footer-social-modern {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.footer-social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.footer-social-link i {
    color: #8b5cf6;
}

.footer-social-link:hover i {
    color: #a78bfa;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }

    .footer-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section-modern {
        padding: 1.5rem;
    }

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

    .footer-copyright {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-section-modern {
        padding: 1.25rem;
    }

    .footer-section-modern h3 {
        font-size: 1.125rem;
    }

    .footer-ip-value {
        font-size: 1rem;
    }

    .footer-store-btn-modern {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

