.privacy-policy-area,
.cookie-policy-area,
.legal-policy-area {
    padding: 110px 0 90px;
    background: #f7f7fd;
}

.privacy-policy-shell,
.cookie-policy-shell,
.legal-policy-shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 54px 58px 44px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(76, 30, 81, 0.1);
}

.privacy-policy-intro,
.cookie-policy-intro,
.legal-policy-intro {
    padding-bottom: 32px;
    margin-bottom: 38px;
    border-bottom: 1px solid #edf0f6;
}

.privacy-policy-eyebrow,
.cookie-policy-eyebrow,
.legal-policy-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #f067ff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.privacy-policy-intro h2,
.privacy-policy-section h2,
.cookie-policy-intro h2,
.cookie-policy-section h2,
.legal-policy-intro h2,
.legal-policy-section h2 {
    color: #4c1e51;
    font-weight: 700;
}

.privacy-policy-intro h2,
.cookie-policy-intro h2,
.legal-policy-intro h2 {
    margin-bottom: 16px;
    font-size: 36px;
}

.privacy-policy-updated,
.cookie-policy-date,
.legal-policy-updated {
    margin-bottom: 22px;
    color: #5f6472;
    font-weight: 700;
}

.cookie-policy-date {
    margin-bottom: 8px;
}

.privacy-policy-section,
.cookie-policy-section,
.legal-policy-section {
    padding: 34px 0;
    border-bottom: 1px solid #edf0f6;
}

.privacy-policy-section:last-child,
.cookie-policy-section:last-child,
.legal-policy-section:last-child {
    border-bottom: 0;
}

.privacy-policy-section h2,
.cookie-policy-section h2,
.legal-policy-section h2 {
    margin-bottom: 18px;
    font-size: 25px;
    line-height: 1.35;
}

.privacy-policy-section h3,
.cookie-policy-section h3,
.legal-policy-section h3 {
    margin: 24px 0 12px;
    color: #4c1e51;
    font-size: 19px;
    font-weight: 700;
}

.privacy-policy-section p,
.privacy-policy-section li,
.cookie-policy-section p,
.cookie-policy-section li,
.legal-policy-section p,
.legal-policy-section li {
    color: #646d77;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-policy-section ul,
.privacy-policy-section ol,
.cookie-policy-section ul,
.legal-policy-section ul,
.legal-policy-section ol {
    margin: 12px 0 18px 22px;
    padding: 0;
}

.privacy-policy-section li,
.cookie-policy-section li,
.legal-policy-section li {
    margin-bottom: 10px;
    list-style: disc;
}

.privacy-policy-section ol li,
.legal-policy-section ol li {
    list-style: decimal;
}

.privacy-policy-section a,
.cookie-policy-section a,
.legal-policy-section a {
    color: #f067ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-policy-section a:hover,
.cookie-policy-section a:hover,
.legal-policy-section a:hover {
    color: #4c1e51;
}

.privacy-policy-table,
.cookie-policy-table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    color: #646d77;
    font-size: 15px;
    line-height: 1.7;
}

.privacy-policy-table th,
.privacy-policy-table td,
.cookie-policy-table th,
.cookie-policy-table td {
    padding: 16px;
    border: 1px solid #edf0f6;
    vertical-align: top;
}

.privacy-policy-table th,
.cookie-policy-table th {
    color: #4c1e51;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    background: #fbf8ff;
}

.privacy-policy-note,
.cookie-policy-note,
.legal-policy-note {
    padding: 22px 24px;
    margin: 24px 0;
    border-left: 4px solid #f067ff;
    background: #fbf8ff;
}

.privacy-policy-note p:last-child,
.cookie-policy-note p:last-child,
.legal-policy-note p:last-child {
    margin-bottom: 0;
}

.cookie-policy-category {
    padding: 20px 22px;
    margin-bottom: 16px;
    border: 1px solid #edf0f6;
    border-radius: 8px;
    background: #fff;
}

.cookie-policy-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.cookie-policy-category h3 {
    margin: 0;
}

.cookie-policy-category p:last-child {
    margin-bottom: 0;
}

.cookie-policy-status {
    color: #f067ff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.cookie-policy-preference-button {
    display: inline-block;
    margin: 6px 0 18px;
    padding: 15px 28px;
    border: 1px solid #f067ff;
    border-radius: 30px;
    color: #f067ff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #fff;
    cursor: pointer;
}

.cookie-policy-preference-button:hover {
    color: #fff;
    background: #f067ff;
}

.cookie-preferences-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(45, 10, 49, 0.58);
}

.cookie-preferences-modal.is-open {
    display: flex;
}

.cookie-preferences-dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 34px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(45, 10, 49, 0.22);
}

.cookie-preferences-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.cookie-preferences-header h2 {
    margin-bottom: 8px;
    color: #4c1e51;
    font-size: 26px;
    font-weight: 700;
}

.cookie-preferences-close {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #edf0f6;
    border-radius: 50%;
    color: #4c1e51;
    font-size: 24px;
    line-height: 38px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.cookie-preference-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 0;
    border-top: 1px solid #edf0f6;
}

.cookie-preference-option h3 {
    margin: 0 0 8px;
    color: #4c1e51;
    font-size: 18px;
    font-weight: 700;
}

.cookie-preference-option p {
    margin-bottom: 0;
}

.cookie-switch {
    position: relative;
    flex: 0 0 auto;
    width: 58px;
    height: 32px;
    margin-top: 4px;
}

.cookie-switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.cookie-switch span {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: #d8dbe6;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-switch span::before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    content: "";
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.cookie-switch input:checked + span {
    background: #f067ff;
}

.cookie-switch input:checked + span::before {
    transform: translateX(26px);
}

.cookie-switch input:disabled + span {
    cursor: not-allowed;
    opacity: 0.8;
}

.cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #edf0f6;
}

.cookie-preferences-action {
    padding: 13px 24px;
    border: 1px solid #f067ff;
    border-radius: 30px;
    color: #f067ff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #fff;
    cursor: pointer;
}

.cookie-preferences-action.primary {
    color: #fff;
    background: #f067ff;
}

.cookie-preferences-status {
    display: none;
    margin-top: 18px;
    color: #4c1e51;
    font-weight: 700;
}

.cookie-preferences-status.is-visible {
    display: block;
}

.about-service-grid,
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.about-service-card,
.about-stat {
    padding: 22px 24px;
    border: 1px solid #edf0f6;
    border-radius: 8px;
    background: #fff;
}

.about-service-card h3 {
    margin-top: 0;
}

.about-service-card p:last-child,
.about-stat p:last-child {
    margin-bottom: 0;
}

.about-stat span {
    display: block;
    margin-bottom: 8px;
    color: #4c1e51;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .privacy-policy-area,
    .cookie-policy-area,
    .legal-policy-area {
        padding: 70px 0 55px;
    }

    .privacy-policy-shell,
    .cookie-policy-shell,
    .legal-policy-shell {
        padding: 34px 22px 26px;
    }

    .privacy-policy-intro h2,
    .cookie-policy-intro h2,
    .legal-policy-intro h2 {
        font-size: 28px;
    }

    .privacy-policy-section h2,
    .cookie-policy-section h2,
    .legal-policy-section h2 {
        font-size: 22px;
    }

    .privacy-policy-table,
    .cookie-policy-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .cookie-policy-category-header,
    .cookie-preferences-header,
    .cookie-preference-option {
        display: block;
    }

    .cookie-policy-status,
    .cookie-switch {
        display: inline-block;
        margin-top: 12px;
    }

    .cookie-preferences-dialog {
        padding: 26px 22px;
    }

    .about-service-grid,
    .about-stat-grid {
        grid-template-columns: 1fr;
    }
}
