.container-home {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
}

.privacy-page {
    background: transparent;
    min-height: auto;
    padding: 0.75rem 0 2.5rem;
    position: relative;
    z-index: 1;
}

.privacy-container {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.08);
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.privacy-page .page-header {
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.28);
    position: relative;
    overflow: hidden;
}

.privacy-page .page-header::before {
    content: '';
    position: absolute;
    top: -45%;
    right: -8%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.privacy-page .page-header::after {
    content: '';
    position: absolute;
    bottom: -55%;
    left: -5%;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.privacy-page .page-header h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.privacy-page .page-header p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 52rem;
}

.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-section {
    background: linear-gradient(180deg, #fafbff 0%, #f4f6fb 100%);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-left: 4px solid #667eea;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.content-section:hover {
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.1);
}

.content-section h5 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.content-section p {
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 0;
}

.content-section p + p {
    margin-top: 0.75rem;
}

.content-section ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #4a5568;
    line-height: 1.65;
}

.content-section li + li {
    margin-top: 0.45rem;
}

.content-section strong {
    color: #374151;
}

.privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.privacy-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.55rem 1rem;
}

.privacy-status {
    margin-top: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.08);
    color: #4a5568;
    font-size: 0.9rem;
}

.privacy-related {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(102, 126, 234, 0.14);
}

.privacy-related__title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.85rem;
}

.privacy-related__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.privacy-related__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(102, 126, 234, 0.28);
    background: #fff;
    color: #4c5fd7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.privacy-related__link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.45);
    color: #3f51c8;
    transform: translateY(-1px);
}

.privacy-related__link.is-active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    pointer-events: none;
}

.privacy-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: #5b6b8c;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.privacy-back-home:hover {
    color: #667eea;
}

html[data-bs-theme="dark"] .privacy-container {
    background: #1e2430;
    border-color: rgba(131, 152, 255, 0.16);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .content-section {
    background: linear-gradient(180deg, #252d3d 0%, #212938 100%);
    border-color: rgba(131, 152, 255, 0.16);
    border-left-color: #8b9ef5;
}

html[data-bs-theme="dark"] .content-section h5 {
    color: #e8edff;
}

html[data-bs-theme="dark"] .content-section p,
html[data-bs-theme="dark"] .content-section ul,
html[data-bs-theme="dark"] .content-section strong {
    color: #c5d0ea;
}

html[data-bs-theme="dark"] .privacy-related__title {
    color: #e2e8ff;
}

html[data-bs-theme="dark"] .privacy-related__link {
    background: #252d3d;
    border-color: rgba(131, 152, 255, 0.24);
    color: #a8b8ff;
}

html[data-bs-theme="dark"] .privacy-related__link:hover {
    background: rgba(131, 152, 255, 0.14);
    color: #c5d4ff;
}

html[data-bs-theme="dark"] .privacy-status {
    background: rgba(131, 152, 255, 0.12);
    color: #c5d0ea;
}

html[data-bs-theme="dark"] .privacy-back-home {
    color: #aab8de;
}

html[data-bs-theme="dark"] .privacy-back-home:hover {
    color: #c5d4ff;
}

@media (min-width: 768px) {
    .privacy-container {
        padding: 2rem 2.25rem;
    }

    .content-section {
        padding: 1.35rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .privacy-page {
        padding: 0.75rem 0 1.5rem;
    }

    .privacy-container {
        padding: 1rem;
        border-radius: 18px;
    }

    .privacy-page .page-header {
        padding: 1.15rem 1.2rem;
        border-radius: 14px;
    }

    .privacy-related__link {
        width: 100%;
        justify-content: center;
    }
}
