/* =========================================
   GLIFRO FOOTER V6 - KOYU PREMIUM TASARIM
   Site ile bütünlük sağlayan koyu gradient arka plan,
   kırmızı glow CTA kutusu, ve modern link yapısı.
   ========================================= */

/* Ana Kapsayıcı - Koyu Gradient */
.footer-wrapper {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    padding: 6rem 5% 3rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* 1. KATMAN: Arkadaki Kristal Şekiller (Koyu tonlara uyarlandı) */
.glass-shape-1, .glass-shape-2, .glass-shape-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.glass-shape-1 {
    width: 800px; height: 400px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
    top: -100px; left: -200px;
    transform: rotate(-25deg);
}

.glass-shape-2 {
    width: 600px; height: 600px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.04));
    bottom: -150px; right: -150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.glass-shape-3 {
    width: 500px; height: 200px;
    background: rgba(239, 68, 68, 0.04);
    top: 40%; left: 50%;
    transform: translateX(-50%);
}

/* 2. KATMAN: Hafif Noise Dokusu */
.ice-texture {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none; z-index: 1;
}

/* =========================================
   KOYU CAM CTA KUTUSU (Kırmızı Glow Efektli)
   ========================================= */
.footer-cta-container {
    position: relative; width: 100%; max-width: 1050px; margin-bottom: 5rem; z-index: 10;
    perspective: 1000px;
}

.footer-cta {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%);

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    padding: 5rem 4rem; text-align: center;

    box-shadow:
        0 0 80px -20px rgba(239, 68, 68, 0.15),
        0 40px 80px -20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.02);

    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
    overflow: hidden;
}

.footer-cta::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-25deg); animation: iceGlare 8s infinite 2s; pointer-events: none;
}
@keyframes iceGlare { 0% { left: -150%; } 20%, 100% { left: 150%; } }

.footer-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 100px -20px rgba(239, 68, 68, 0.25), 0 50px 100px -20px rgba(0, 0, 0, 0.4), inset 0 0 50px rgba(255, 255, 255, 0.03);
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
    color: #f1f5f9;
    margin-bottom: 1.2rem; letter-spacing: -1px; position: relative; z-index: 2;
}
.footer-cta p {
    font-size: 1.1rem; color: #94a3b8;
    margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
    line-height: 1.7; position: relative; z-index: 2;
}

/* CTA Butonu - Kırmızı Gradient */
.cta-btn-massive {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    padding: 1.1rem 3rem; border-radius: 50px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none; position: relative; z-index: 2;
    box-shadow: 0 15px 40px -8px rgba(239, 68, 68, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cta-btn-massive:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 25px 50px -10px rgba(239, 68, 68, 0.5);
}

/* =========================================
   FOOTER LİNK İSKELETİ (Koyu Tema Uyumlu)
   ========================================= */
.footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem; width: 100%; max-width: 1200px; margin-bottom: 4rem;
    position: relative; z-index: 10;
}

.footer-brand .footer-logo {
    height: 38px;
    filter: brightness(0) invert(1); /* Koyu zemin üzerinde beyaz logo */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.footer-brand .footer-logo:hover { transform: scale(1.05) rotate(-2deg); }
.footer-brand p { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; max-width: 320px; }

.footer-col h4 {
    color: #f1f5f9; font-size: 1rem; font-weight: 700;
    margin-bottom: 1.5rem; letter-spacing: 0.5px; text-transform: uppercase;
    font-size: 0.8rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 1rem; }

.footer-link {
    color: #94a3b8; text-decoration: none; font-size: 0.95rem; font-weight: 500;
    position: relative; padding-bottom: 3px; display: inline-block;
    transition: color 0.3s;
}
.footer-link::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: #ef4444;
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-link:hover { color: #f1f5f9; }
.footer-link:hover::after { width: 100%; }

/* Pasif (disabled) linkler */
.footer-link.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* =========================================
   ALT BİLGİ BARI
   ========================================= */
.footer-bottom {
    width: 100%; max-width: 1200px; padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 10;
}
.footer-copy { color: #64748b; font-size: 0.9rem; font-weight: 500; }

.network-status {
    display: flex; align-items: center; gap: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.5rem 1.2rem; border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s; cursor: default;
}
.network-status:hover { transform: translateY(-2px); }

.radar-box { position: relative; width: 12px; height: 12px; display: flex; align-items: center; justify-content: center; }
.radar-core { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; z-index: 2; }
.radar-wave { position: absolute; width: 24px; height: 24px; border: 2px solid #10b981; border-radius: 50%; animation: radarPing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; z-index: 1; }
@keyframes radarPing { 0% { transform: scale(0.1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.network-text { font-size: 0.8rem; color: #64748b; font-weight: 600; }
.network-text strong { color: #10b981; font-weight: 800; }

/* =========================================
   MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 992px) {
    .footer-wrapper { padding: 4rem 5% 2rem; margin-top: 3rem; }
    .footer-cta { padding: 3.5rem 1.5rem; }
    .footer-cta h2 { font-size: 1.8rem; }
    .footer-cta p { font-size: 1rem; }
    .cta-btn-massive { padding: 1rem 2rem; font-size: 1rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-brand .footer-logo { filter: brightness(0) invert(1); }
    .footer-link::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}