/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background-color: var(--color-bg-secondary-dark);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--spacing-24);
    position: relative;
    z-index: 2;
}

/* Footer Background Watermark */
.footer-bg-watermark {
    position: absolute;
    /* Position at the top to cover all three sections */
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    /* Subtle watermark */
    pointer-events: none;
    /* Fit behind footer-top, newsletter and platform sections */
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: scale-down;
    object-position: center top;
}

/* Responsive adjustments for the watermark */
@media screen and (max-width: 991.98px) {
    .footer-bg-watermark {
        width: 110%;
        opacity: 0.12;
    }
}

@media screen and (max-width: 767.98px) {
    .footer-bg-watermark {
        width: 120%;
        opacity: 0.1;
    }
}

/* ========================================
   FOOTER TOP SECTION
   ======================================== */

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-60) 0 var(--spacing-48);
    gap: var(--spacing-40);
}

/* Brand Section */
.footer-brand {
    flex-shrink: 0;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-tagline {
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    margin-top: var(--spacing-16);
}

/* Footer Links Columns */
.footer-links-wrapper {
    display: flex;
    gap: var(--spacing-80);
}

.footer-column {
    min-width: 140px;
}

.footer-column-title {
    color: var(--color-brand-green-primary);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    margin-bottom: var(--spacing-20);
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
}

.footer-links li a {
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-brand-green-primary);
}

/* Social Links */
.footer-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-social {
    display: flex;
    gap: var(--spacing-12);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ========================================
   FOOTER NEWSLETTER SECTION
   ======================================== */

.footer-newsletter-section {
    padding: var(--spacing-40) 0;
    text-align: center;
}

.newsletter-title {
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    margin-bottom: var(--spacing-20);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-12);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: var(--spacing-14) var(--spacing-20);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--br-8);
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-brand-green-primary);
}

.newsletter-form .btn-subscribe {
    padding: var(--spacing-14) var(--spacing-24);
    background: var(--color-brand-green-primary);
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-600);
    border: none;
    border-radius: var(--br-8);
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.newsletter-form .btn-subscribe:hover {
    background: var(--color-brand-green-dark);
    color: var(--color-text-white);
}

/* ========================================
   FOOTER PLATFORM SECTION
   ======================================== */

.footer-platform-section {
    padding: var(--spacing-40) 0;
    text-align: center;
}

.platform-title {
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    margin-bottom: var(--spacing-24);
}

.platform-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--spacing-16);
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-10);
    padding: var(--spacing-16) var(--spacing-24);
    min-height: 70px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    color: var(--color-text-white);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-500);
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.platform-btn:hover {
    border-color: var(--color-brand-green-primary);
    background: rgba(0, 211, 47, 0.1);
}

.platform-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.platform-btn .btn-text {
    white-space: nowrap;
}

.platform-btn.store-btn img {
    width: 28px;
    height: 28px;
}

/* ========================================
   FOOTER DISCLAIMER SECTION
   ======================================== */

.footer-disclaimer {
    padding: var(--spacing-32) 0;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-400);
    line-height: 1.7;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer-text strong {
    color: var(--color-text-white);
    font-weight: var(--fw-500);
}

/* ========================================
   FOOTER BOTTOM SECTION
   ======================================== */

.footer-bottom {
    padding: var(--spacing-24) 0;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-family-body);
    font-size: var(--fs-14);
    font-weight: var(--fw-400);
    margin: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media screen and (max-width: 991.98px) {
    .footer-top {
        flex-wrap: wrap;
        gap: var(--spacing-32);
    }

    .footer-brand {
        width: 100%;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .footer-tagline {
        text-align: center;
    }

    .footer-links-wrapper {
        width: 100%;
        justify-content: center;
        gap: var(--spacing-48);
    }

    .footer-social-wrapper {
        width: 100%;
        align-items: center;
    }

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

@media screen and (max-width: 767.98px) {
    .footer-top {
        padding: var(--spacing-40) 0 var(--spacing-32);
    }

    .footer-links-wrapper {
        flex-wrap: wrap;
        gap: var(--spacing-32);
    }

    .footer-column {
        min-width: calc(50% - var(--spacing-16));
        /* text-align: center; */
    }

    /* .footer-links {
        align-items: center;
    } */

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .newsletter-form .btn-subscribe {
        width: 100%;
    }

    .platform-buttons {
        gap: var(--spacing-12);
        flex-wrap: nowrap;
    }

    .platform-btn {
        width: 60px;
        height: 60px;
        min-height: 60px;
        padding: 0;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .platform-btn .btn-text {
        display: none;
    }

    .platform-btn img {
        width: 24px;
        height: 24px;
    }

    .platform-btn.store-btn img {
        width: 24px;
        height: 24px;
    }

    /* Bigger social icons on mobile */
    .footer-social {
        gap: var(--spacing-16);
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-social a img {
        width: 40px;
        height: 40px;
    }

    .disclaimer-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 575.98px) {
    .footer-column {
        min-width: 100%;
    }

    .footer-links li a {
        padding: 12px 0px !important;
    }

    .platform-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        gap: var(--spacing-10);
    }

    .platform-btn {
        width: 50px;
        height: 50px;
        min-height: 50px;
        flex-shrink: 0;
    }

    .platform-btn img {
        width: 20px;
        height: 20px;
    }

    .platform-btn.store-btn img {
        width: 20px;
        height: 20px;
    }

    /* Social icons on smallest screens */
    .footer-social a {
        width: 40px;
        height: 40px;
        padding: var(--spacing-8) !important;
    }

    .footer-social a img {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        gap: 4px !important;
    }

    .footer-column-title {
        font-size: var(--fs-18) !important;
        margin-bottom: var(--spacing-8) !important;
    }
}
