/* =============================================================================
   GLOBAL FOOTER COMPONENT (footer.css)
   ============================================================================= */

:root {
    --footer-bg: #000000;
    --footer-heading: #ffffff;
    --footer-text: #8f96a3;
    --footer-text-hover: #ffffff;
    --footer-copyright: #ffffff;
    --footer-border: #1a2232;
}

/* =========================
   FOOTER WRAPPER
   ========================= */
.footer-shell {
    max-width: auto;
    margin: 0px 0px 0px 0px;
    background: var(--footer-bg);
    border-radius: 48px 48px 0 0;
    overflow: hidden;
}

.footer {
    width: 100%;
    padding: 50px 270px 56px;
    position: relative;
}

/* =========================
   TOP BAR
   ========================= */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 54px;
}

.footer-aws-btn {
    background: #dedede;
    color: #2d2d2d;
    border: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 26px;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s ease;
    letter-spacing: .1px;
}

.footer-aws-btn:hover {
    background: #f2f2f2;
}

.footer-language-btn {
    height: 42px;
    min-width: 138px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .85);
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.footer-language-btn svg {
    width: 16px;
    height: 16px;
}

/* =========================
   GRID
   ========================= */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 70px;
}

.footer-column h3 {
    color: var(--footer-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin: 0 0 18px 0;
    padding: 0;
}

.footer-column a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.25;
    transition: .2s ease;
}

.footer-column a:hover {
    color: var(--footer-text-hover);
}

/* =========================
   BACK TO TOP
   ========================= */
.footer-back-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 56px;
    cursor: pointer;
}

.footer-back-top svg {
    width: 14px;
    height: 14px;
}

/* =========================
   BOTTOM
   ========================= */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.footer-left-bottom {
    flex: 1;
}

.footer-equal-text {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px 0;
    padding: 0;
    max-width: 860px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0 0 14px 0;
    padding: 0;
}

.footer-bottom-links a {
    text-decoration: none;
    color: #8c92a0;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-copyright {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* =========================
   SOCIALS
   ========================= */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
}

.footer-social {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: .95;
    transition: .2s;
    cursor: pointer;
    text-decoration: none;
}

.footer-social:hover {
    transform: translateY(-3px);
    opacity: 1;
    color: #ffffff;
}

/* =========================
   RESPONSIVE
   ========================= */
@media(max-width:1400px) {
    .footer {
        padding: 50px 120px;
    }
}

@media(max-width:1100px) {
    .footer {
        padding: 40px 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width:700px) {
    .footer-shell {
        border-radius: 28px 28px 0 0;
    }

    .footer {
        padding: 35px 24px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 18px;
    }

    .footer-socials {
        padding-bottom: 0;
    }
}

/* =============================================================================
   SCROLL TO TOP BUTTON (GLOBAL)
   ============================================================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(228, 31, 38, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(228, 31, 38, 0.4);
    color: var(--primary-red);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(228, 31, 38, 0.3);
}

/* =============================================================================
   APP DOWNLOAD BUTTONS
   ============================================================================= */
.download-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.store-btn {
    width: 200px;
    height: 58px;
    background: #000;
    color: #fff;
    border: 1.5px solid #4a4a4a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #888;
}

.store-btn-apple-icon {
    font-size: 32px;
    margin-right: 12px;
    line-height: 1;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-btn-small {
    font-size: 9px;
    letter-spacing: 0.3px;
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 1px;
    line-height: 1;
}

.store-btn-big {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
}

.google-play img {
    width: 28px;
    margin-right: 12px;
    height: auto;
    display: block;
}

/* Responsive App Store buttons */
@media (max-width: 768px) {
    .download-buttons {
        justify-content: center;
        width: 100%;
        gap: 12px;
    }
    .store-btn {
        width: calc(50% - 6px);
        max-width: 220px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    .store-btn {
        width: 100%;
        max-width: 240px;
    }
}