.page-footer {
    position: relative;
    width: 100%;
    padding: 34px 16px 0;
    font-family: Author, sans-serif;
    font-weight: 375;
    color: #1e1e1e;
    background: linear-gradient(to bottom, rgba(241, 239, 252, 0), #f1effc 60px, #ffffff 200px);
}

.page-footer::before {
    content: '';
    position: absolute;
    top: -392px;
    left: 0;
    right: 0;
    height: min(1274px, calc(100% + 392px));
    clip-path: inset(392px 0 0);
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
                156deg,
                rgba(210, 190, 255, 0) 41.3%,
                rgba(134, 87, 243, 0.44) 52.2%,
                #bdceff 58.5%,
                rgba(254, 236, 179, 0.25) 65.7%,
                rgba(255, 255, 255, 0) 77%
            )
            left top / 50% 1274px no-repeat,
        linear-gradient(
                204deg,
                rgba(210, 190, 255, 0) 41.3%,
                rgba(134, 87, 243, 0.44) 52.2%,
                #bdceff 58.5%,
                rgba(254, 236, 179, 0.25) 65.7%,
                rgba(255, 255, 255, 0) 77%
            )
            right top / 50% 1274px no-repeat;
    -webkit-mask-image: linear-gradient(
        to right,
        #000 calc(50% - 635px),
        transparent calc(50% - 635px),
        transparent calc(50% + 635px),
        #000 calc(50% + 635px)
    );
    mask-image: linear-gradient(
        to right,
        #000 calc(50% - 635px),
        transparent calc(50% - 635px),
        transparent calc(50% + 635px),
        #000 calc(50% + 635px)
    );
}

.page-footer .page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1271px;
    margin: 0 auto;
    background: none;
}

.page-footer .footer-card {
    position: relative;
    min-height: 717px;
    padding: 70px 50px 104px;
}

.page-footer .footer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
}

.page-footer .footer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid #e9e4fa;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 40px rgba(134, 87, 243, 0.08);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
}

.page-footer .footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    min-height: 543px;
    margin: 0;
    width: 100%;
    max-width: none;
}

.page-footer .footer-info {
    display: flex;
    flex: 0 0 auto;
    max-width: none;
    width: auto;
}

.page-footer .footer-logo-link {
    display: block;
}

.page-footer .footer-logo-mark {
    display: block;
    width: 34px;
    height: 50px;
}

.page-footer .links-section {
    display: grid;
    flex: 0 1 977px;
    min-width: 0;
    min-height: 543px;
    grid-template-columns: repeat(3, minmax(0, 260px)) minmax(0, 1fr);
}

.page-footer .links-con {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    flex: none;
}

.page-footer .link-header {
    max-width: 100%;
    height: 24px;
    margin: 0 0 23px;
    white-space: nowrap;
    font-size: 22px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #1e1e1e;
}

.page-footer .links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.page-footer .links > li {
    display: flex;
    align-items: center;
    width: 200px;
    max-width: 100%;
    height: 18px;
    padding: 0;
    cursor: pointer;
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 375;
    line-height: 100%;
}

.page-footer .links > li > a {
    color: #1e1e1e;
    text-decoration: none;
}

.page-footer .links > li:hover {
    text-decoration: underline;
}

.page-footer .social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 24px;
}

.page-footer .social-links > a {
    display: flex;
    color: #c7c7c7;
    font-size: inherit;
    text-decoration: none;
}

.page-footer .social-links > a:hover {
    color: #999999;
    text-decoration: none;
}

.page-footer .social-links img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(0.78);
}

.page-footer .social-links > a:hover img {
    filter: brightness(0) invert(0.6);
}

.page-footer .language-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.page-footer .language-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    color: #8a8a8a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}

.page-footer .language-button:hover {
    background: none;
    text-decoration: underline;
}

.page-footer .language-button .font-8 {
    margin: 0 0 3px 2px;
    transition: transform 0.2s ease;
}

.page-footer .chevron {
    display: inline-block;
    width: 4px;
    height: 4px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.page-footer .language-dropdown.open .language-button .font-8 {
    transform: rotate(-135deg);
}

.page-footer .language-menu {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 0;
    min-width: 180px;
    margin: 0 0 4px;
    border: 1px solid #e8e8ec;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-footer .language-option {
    padding: 8px 12px;
    background: none;
    color: #1e1e1e;
    font-family: inherit;
    font-size: 12px;
    text-align: left;
}

.page-footer .language-option:hover {
    background: #f3efff;
    color: #1e1e1e;
}

.page-footer .footer-privacy-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 27px auto 0;
    padding: 0;
    border-top: none;
    font-size: 16px;
    color: #1e1e1e;
}

.page-footer .about,
.page-footer .privacy {
    font-size: 16px;
    font-weight: 375;
    line-height: 100%;
    letter-spacing: 0;
    color: #1e1e1e;
}

.page-footer .privacy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-footer .privacy > a {
    color: #1e1e1e;
    text-decoration: underline;
}

.page-footer .privacy > a:hover {
    text-decoration: none;
}

.page-footer .privacy > a,
.page-footer .privacy > span {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .page-footer .footer-container {
        flex-direction: column;
        gap: 32px;
        min-height: 0;
    }

    .page-footer .footer-card {
        min-height: 0;
        padding-bottom: 72px;
    }

    .page-footer .links-section {
        flex: none;
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 24px;
    }
}

@media (max-width: 900px) {
    .page-footer .footer-privacy-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-footer[dir="rtl"] .footer-privacy-container {
        align-items: flex-start;
    }
}

@media (max-width: 750px) {
    .page-footer .footer-card {
        padding: 40px 24px 56px;
    }

    .page-footer .links-section {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .page-footer .footer-container {
        flex-direction: column;
    }

    .page-footer .footer-privacy-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-footer .privacy {
        flex-wrap: wrap;
    }
}

.page-footer[dir="rtl"] .link-header,
.page-footer[dir="rtl"] .links,
.page-footer[dir="rtl"] .about {
    text-align: right;
}

.page-footer[dir="rtl"] .language-menu {
    left: auto;
    right: 0;
}

.page-footer[dir="rtl"] .language-button .font-8 {
    margin: 0 2px 3px 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > * {
    flex-shrink: 0;
}

body > .page-footer {
    flex: 1 0 auto;
}

body > .page-footer {
    display: flex;
    flex-direction: column;
}

.page-footer .page {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.page-footer .footer-card {
    flex: 1 0 auto;
}

.page-footer .footer-privacy-container {
    padding-bottom: 24px;
}

@media (min-width: 1101px) and (max-width: 1560px) {
    .page-footer .links-section {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 24px;
    }

    .page-footer .links-con,
    .page-footer .links {
        width: 100%;
    }
}

@media (min-width: 1561px) {
    .page-footer .links-section {
        grid-template-columns: repeat(3, minmax(0, 230px)) minmax(0, 1fr);
    }
}
