/* ============================================
   FOOTER.CSS — Compact matching design
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, #0a0a1a 0%, #0f0c29 100%);
    color: rgba(255,255,255,0.75);
    padding: 34px 0 16px;
    margin-top: 30px;
    border-top: 2px solid rgba(255, 210, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247,151,30,0.4), transparent);
}

/* ============================================
   GRID
   ============================================ */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 210, 0, 0.08);
    margin-bottom: 16px;
}

.footer-col {
    min-width: 0;
}

/* ============================================
   BRAND COLUMN
   ============================================ */
.footer-brand {
    max-width: 380px;
}

.footer-logo {
    color: white;
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.4px;
}

.footer-logo span {
    color: #ffd200;
}

.footer-logo-dot {
    color: #f7971e;
}

.footer-tagline {
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0 0 14px;
    color: rgba(255,255,255,0.6);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 7px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 210, 0, 0.08);
    border: 1px solid rgba(255, 210, 0, 0.15);
    border-radius: 9px;
    color: #ffd200;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 210, 0, 0.35);
    border-color: #ffd200;
}

/* ============================================
   HEADINGS
   ============================================ */
.footer-heading {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 10px;
    position: relative;
    padding-bottom: 6px;
    letter-spacing: 0.2px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #f7971e, #ffd200);
    border-radius: 2px;
}

/* ============================================
   LINKS
   ============================================ */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 6px;
}

.footer-list a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 12.5px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 1px 0;
}

.footer-list a i {
    font-size: 9px;
    color: rgba(247, 151, 30, 0.5);
    transition: all 0.25s ease;
    width: 11px;
}

.footer-list a:hover {
    color: #ffd200;
    transform: translateX(3px);
}

.footer-list a:hover i {
    color: #ffd200;
}

.footer-list a .fa-map-pin {
    font-size: 10px;
    color: #f7971e;
}

/* ============================================
   LEGAL + APP COLUMN (side by side)
   ============================================ */
.footer-legal-app {
    display: flex;
    gap: 20px;
}

.footer-legal,
.footer-app {
    flex: 1;
    min-width: 0;
}

/* ============================================
   MOBILE AUTH
   ============================================ */
.footer-auth-mobile {
    display: none;
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(255, 210, 0, 0.08);
    margin-bottom: 12px;
}

.footer-auth-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-auth-mobile ul li a {
    color: #ffd200;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(255, 210, 0, 0.1);
    border: 1px solid rgba(255, 210, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-auth-mobile ul li a:hover {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    border-color: #ffd200;
}

/* ============================================
   BOTTOM BAR
   ============================================ */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    font-size: 11.5px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-copy a {
    color: #f7971e;
    text-decoration: none;
    font-weight: 600;
}

.footer-copy a:hover {
    color: #ffd200;
}

.footer-made {
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-size: 11.5px;
}

/* ============================================
   FLOATING APP BUTTON
   ============================================ */
.soodi-float-app-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    right: auto;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 8px 25px rgba(247, 151, 30, 0.45),
        0 3px 10px rgba(10, 10, 26, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: soodiFloatPulse 3s ease-in-out infinite;
}

.soodi-float-app-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(247, 151, 30, 0.55),
        0 5px 15px rgba(10, 10, 26, 0.2);
}

.soodi-float-app-btn i { font-size: 17px; color: #0a0a1a; }
.soodi-float-app-btn span { white-space: nowrap; color: #0a0a1a; }

@keyframes soodiFloatPulse {
    0%, 85%, 100% {
        box-shadow: 0 8px 25px rgba(247, 151, 30, 0.45), 0 3px 10px rgba(10, 10, 26, 0.15);
    }
    90% {
        box-shadow: 0 8px 25px rgba(247, 151, 30, 0.45), 0 3px 10px rgba(10, 10, 26, 0.15), 0 0 0 12px rgba(247, 151, 30, 0.25);
    }
    95% {
        box-shadow: 0 8px 25px rgba(247, 151, 30, 0.45), 0 3px 10px rgba(10, 10, 26, 0.15), 0 0 0 20px rgba(247, 151, 30, 0);
    }
}

/* ============================================
   MODALS
   ============================================ */
.soodi-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 10, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: inherit;
}

.soodi-modal-overlay.active { display: flex; }

.soodi-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 34px 26px 26px;
    background: #fff;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(10, 10, 26, 0.35);
    animation: soodiModalIn 0.3s ease;
    max-height: 92vh;
    overflow-y: auto;
}

@keyframes soodiModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.soodi-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f5f2ee;
    color: #666;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.soodi-modal-close:hover { background: #f7971e; color: #fff; }

.soodi-modal-back {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 11px;
    border: none;
    border-radius: 18px;
    background: #fff4e8;
    color: #b85b00;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.soodi-modal-back:hover { background: #f7971e; color: #fff; }

.soodi-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(247, 151, 30, 0.35);
}

.soodi-modal h3 {
    margin: 0 0 6px;
    color: #0a0a1a;
    font-size: 20px;
    font-weight: 800;
}

.soodi-modal-sub {
    margin: 0 0 20px;
    color: #857d77;
    font-size: 13px;
}

.soodi-device-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.soodi-device {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.soodi-device.iphone { background: #0a0a1a; }

.soodi-device.android {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
}

.soodi-device:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 10, 26, 0.15);
}

.soodi-device-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 22px;
}

.soodi-device.android .soodi-device-icon {
    background: rgba(10, 10, 26, 0.1);
}

.soodi-device-text { flex: 1; text-align: left; }

.soodi-device-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

.soodi-device-text span {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

.soodi-device-arrow { font-size: 12px; opacity: 0.6; }

.soodi-steps { text-align: left; margin-bottom: 20px; }

.soodi-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
    margin-bottom: 8px;
    background: #fff8f1;
    border: 1px solid #f4dfc8;
    border-radius: 12px;
}

.soodi-step:last-child { margin-bottom: 0; }

.soodi-step-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    font-size: 12px;
    font-weight: 900;
}

.soodi-step strong {
    display: block;
    color: #0a0a1a;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 2px;
}

.soodi-step small {
    color: #857d77;
    font-size: 11px;
    line-height: 1.5;
}

.soodi-step small i { color: #f7971e; }

.soodi-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0a0a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(247, 151, 30, 0.35);
    transition: all 0.2s ease;
}

.soodi-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247, 151, 30, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 20px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .footer-legal-app {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 22px 0 12px;
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding-bottom: 14px;
        margin-bottom: 12px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .footer-social { justify-content: center; }

    .footer-legal-app {
        grid-column: 1 / -1;
        gap: 16px;
    }

    .footer-logo { font-size: 17px; }
    .footer-tagline { font-size: 11.5px; }
    .footer-heading { font-size: 12px; margin-bottom: 8px; }
    .footer-list a { font-size: 11.5px; }
    .footer-list li { margin-bottom: 5px; }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .footer-auth-mobile { display: block; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
        font-size: 10.5px;
    }

    .soodi-float-app-btn {
        left: 14px;
        right: auto;
        bottom: 14px;
    }
}

@media (max-width: 480px) {
    .site-footer { padding: 18px 0 10px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 12px;
    }

    .footer-brand { text-align: center; }
    .footer-social { justify-content: center; }
    .footer-heading { text-align: center; }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-list { text-align: center; }
    .footer-list a { justify-content: center; }

    .footer-legal-app {
        flex-direction: column;
        gap: 14px;
    }

    .footer-logo { font-size: 16px; }
    .footer-tagline { font-size: 11px; }

    .soodi-float-app-btn {
        left: 14px;
        right: auto;
        bottom: 14px;
        width: 52px;
        min-width: 52px;
        height: 52px;
        min-height: 52px;
        padding: 0;
        border-radius: 50%;
    }
    .soodi-float-app-btn span { display: none; }
    .soodi-float-app-btn i { font-size: 20px; }

    .soodi-modal { padding: 30px 20px 22px; border-radius: 20px; }
    .soodi-modal h3 { font-size: 18px; }
    .soodi-modal-icon { width: 64px; height: 64px; font-size: 28px; }
}

@media (max-width: 360px) {
    .soodi-float-app-btn {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        left: 12px;
        right: auto;
        bottom: 12px;
    }
    .soodi-float-app-btn i { font-size: 18px; }
}