.landing-footer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 3rem 1.5rem 2rem;
    color: #e5e7eb;
    direction: rtl;
}

.landing-footer,
.landing-footer * {
    box-sizing: border-box;
}

.landing-footer-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2.5rem;
    overflow: hidden;
    padding: 2.5rem 2.2rem;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 26px;
    background:
        radial-gradient(circle at top, rgba(15, 23, 42, .85), rgba(2, 6, 23, .98));
    box-shadow:
        0 26px 65px rgba(0, 0, 0, .42),
        0 0 40px rgba(109, 78, 153, .32);
}

.landing-footer-inner::before {
    position: absolute;
    inset: -50%;
    opacity: .55;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .22) 50%, transparent 100%);
    transform: translateX(-120%);
    mix-blend-mode: screen;
    pointer-events: none;
    content: "";
    animation: landingFooterShine 9s linear infinite;
}

@keyframes landingFooterShine {
    0% { transform: translateX(-120%); }
    50% { transform: translateX(0) translateY(-10px); }
    100% { transform: translateX(120%); }
}

.landing-footer-brand,
.landing-footer-columns,
.landing-footer-socials-wrapper,
.landing-footer-bottom {
    position: relative;
    z-index: 1;
}

.landing-footer-brand {
    min-width: 0;
}

.landing-footer-brand-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.35;
}

.landing-footer-brand-title span {
    color: var(--accent, #e8674f);
}

.landing-footer-brand-text {
    max-width: 430px;
    margin: .75rem 0 0;
    color: rgba(226, 232, 240, .72);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.8;
}

.landing-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.landing-footer-col-title {
    margin-bottom: .8rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 850;
}

.landing-footer-link,
.landing-footer-contact a {
    display: block;
    width: fit-content;
    margin-bottom: .35rem;
    color: rgba(226, 232, 240, .72) !important;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.7;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}

.landing-footer-link:hover,
.landing-footer-contact a:hover {
    color: var(--accent, #e8674f) !important;
    transform: translateX(-3px);
}

.landing-footer-contact {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.landing-footer-contact a {
    direction: ltr;
    unicode-bidi: embed;
}

.landing-footer-legal {
    max-width: 380px;
    min-width: 0;
    margin-top: 1.25rem;
}

.landing-footer-license-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: .75rem;
    overflow: hidden;
    margin-bottom: .55rem;
    padding: .72rem .78rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    color: #f8fafc !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 200, 66, .16), transparent 40%),
        rgba(255, 255, 255, .055);
    text-decoration: none !important;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.landing-footer-license-card::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .18), transparent);
    transform: translateX(-130%);
    pointer-events: none;
    content: "";
    transition: transform .65s ease;
}

a.landing-footer-license-card:hover {
    border-color: rgba(245, 200, 66, .36);
    color: #fff !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 200, 66, .22), transparent 42%),
        rgba(255, 255, 255, .09);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    transform: translateY(-2px);
}

.landing-footer-license-card:hover::before {
    transform: translateX(130%);
}

.landing-footer-license-card--static {
    cursor: default;
}

.landing-footer-license-card--static:hover {
    transform: none;
}

.landing-footer-license-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: .38rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.landing-footer-license-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.landing-footer-license-card strong,
.landing-footer-license-card small {
    display: block;
}

.landing-footer-license-card strong {
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.35;
}

.landing-footer-license-card small {
    margin-top: .15rem;
    color: rgba(226, 232, 240, .74);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}

.landing-footer-socials-wrapper {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.6rem;
    text-align: center;
}

.landing-footer-socials-label {
    color: rgba(226, 232, 240, .72);
    font-size: .9rem;
    font-weight: 750;
}

.landing-footer-socials {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.landing-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, .4);
    border-radius: 999px;
    color: #fff !important;
    background: rgba(15, 23, 42, .88);
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    line-height: 0;
    flex: 0 0 34px;
}

.landing-footer-socials a:hover {
    border-color: transparent;
    color: #fff !important;
    background: var(--accent, #e8674f);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transform: translateY(-1px);
}

.landing-footer-socials a.instagram {
    border-color: transparent;
    color: #fff !important;
    background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 15%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.landing-footer-socials a.whatsapp {
    border-color: rgba(255, 255, 255, .18);
    color: #fff !important;
    background: #25d366;
}

.landing-footer-socials a.tiktok {
    border-color: rgba(255, 255, 255, .14);
    color: #fff !important;
    background: linear-gradient(135deg, #101318 42%, #25f4ee 43%, #fe2c55 58%, #101318 59%);
}

.landing-footer-socials svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: inherit;
    filter: none;
}

.landing-footer-socials svg path {
    fill: currentColor;
}

.landing-footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: 1.8rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(148, 163, 184, .35);
    color: rgba(226, 232, 240, .64);
    font-size: .8rem;
    text-align: center;
}

.landing-footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem;
}

.landing-footer-credit a {
    color: var(--accent, #e8674f) !important;
    direction: ltr;
    unicode-bidi: embed;
    text-decoration: none !important;
}

.landing-footer-credit a:hover {
    text-decoration: underline !important;
}

body.light-mode .landing-footer {
    color: #4b4158;
}

body.light-mode .landing-footer-inner {
    border-color: rgba(109, 78, 153, .16);
    background:
        radial-gradient(circle at 12% 8%, rgba(109, 78, 153, .12), transparent 36%),
        radial-gradient(circle at 88% 18%, rgba(232, 103, 79, .09), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #fbf8ff 52%, #fff8f6 100%);
    box-shadow:
        0 24px 60px rgba(63, 42, 88, .12),
        inset 0 1px 0 rgba(255, 255, 255, .96);
}

body.light-mode .landing-footer-inner::before {
    opacity: .3;
    background: linear-gradient(120deg, transparent 0%, rgba(109, 78, 153, .12) 50%, transparent 100%);
    mix-blend-mode: normal;
}

body.light-mode .landing-footer-brand-title,
body.light-mode .landing-footer-col-title {
    color: #30233f;
}

body.light-mode .landing-footer-brand-text,
body.light-mode .landing-footer-socials-label {
    color: #665a72;
}

body.light-mode .landing-footer-link,
body.light-mode .landing-footer-contact a {
    color: #5b4f68 !important;
}

body.light-mode .landing-footer-link:hover,
body.light-mode .landing-footer-contact a:hover {
    color: #6d4e99 !important;
}

body.light-mode .landing-footer-license-card {
    border-color: rgba(109, 78, 153, .16);
    color: #30233f !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 200, 66, .13), transparent 42%),
        rgba(255, 255, 255, .82);
    box-shadow: 0 10px 28px rgba(63, 42, 88, .08);
}

body.light-mode a.landing-footer-license-card:hover {
    border-color: rgba(109, 78, 153, .32);
    color: #30233f !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 200, 66, .2), transparent 44%),
        #ffffff;
    box-shadow: 0 16px 36px rgba(63, 42, 88, .13);
}

body.light-mode .landing-footer-license-icon {
    border: 1px solid rgba(109, 78, 153, .12);
    box-shadow: 0 8px 20px rgba(63, 42, 88, .1);
}

body.light-mode .landing-footer-license-card strong {
    color: #30233f;
}

body.light-mode .landing-footer-license-card small {
    color: #6b6076;
}

body.light-mode .landing-footer-socials a {
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(63, 42, 88, .16);
}

body.light-mode .landing-footer-socials a.whatsapp {
    border-color: rgba(20, 150, 82, .24) !important;
    background: #20bd5f !important;
}

body.light-mode .landing-footer-socials a.instagram {
    border-color: transparent !important;
    background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 14%, #fd5949 44%, #d6249f 62%, #285aeb 92%) !important;
}

body.light-mode .landing-footer-socials a.tiktok {
    border-color: rgba(16, 19, 24, .2) !important;
    background: linear-gradient(135deg, #101318 42%, #25f4ee 43%, #fe2c55 58%, #101318 59%) !important;
}

body.light-mode .landing-footer-socials a:hover {
    color: #fff !important;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 26px rgba(63, 42, 88, .22);
}

body.light-mode .landing-footer-socials a:focus-visible {
    outline: 3px solid rgba(109, 78, 153, .32);
    outline-offset: 3px;
}

body.light-mode .landing-footer-bottom {
    border-top-color: rgba(109, 78, 153, .16);
    color: #6b6076;
}

body.light-mode .landing-footer-credit a {
    color: #6d4e99 !important;
}

@media (max-width: 980px) {
    .landing-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .landing-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-footer-legal {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .landing-footer {
        margin-top: 2rem;
        padding: 2rem 1rem max(1.25rem, env(safe-area-inset-bottom));
    }

    .landing-footer-inner {
        gap: 1.8rem;
        padding: 1.75rem 1.25rem;
        border-radius: 22px;
    }

    .landing-footer-inner::before {
        animation: none;
    }

    .landing-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .landing-footer-columns > div:last-child {
        grid-column: 1 / -1;
    }

    .landing-footer-legal {
        max-width: none;
    }

    .landing-footer-license-card {
        padding: .68rem;
        border-radius: 16px;
    }

    .landing-footer-socials-wrapper {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-footer-inner::before {
        animation: none !important;
    }

    .landing-footer a {
        transition: none !important;
    }
}
