/* style/privacy-policy.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg-color: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-privacy-policy {
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color); /* Body background handled by shared.css, this is for main content area if needed */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles padding-top, this is for decorative top space */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text contrast, not color change */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up slightly over the image for better visual flow */
    background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--gold-color);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-privacy-policy__subtitle {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--divider-color);
    background-color: var(--background-color);
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-privacy-policy__content-block {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-secondary-color);
}

.page-privacy-policy__content-subtitle {
    font-size: 1.8em;
    color: var(--text-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__content-block p,
.page-privacy-policy__content-block li {
    font-size: 1.05em;
    margin-bottom: 10px;
    color: var(--text-secondary-color);
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-privacy-policy__list-item strong {
    color: var(--text-main-color);
}

.page-privacy-policy__image-wrapper {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__image-wrapper--left {
    float: left;
    width: 45%;
    margin-right: 5%;
    margin-bottom: 20px;
}

.page-privacy-policy__image-wrapper--right {
    float: right;
    width: 45%;
    margin-left: 5%;
    margin-bottom: 20px;
}

.page-privacy-policy__image-wrapper--center {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__data-collection .page-privacy-policy__content-block,
.page-privacy-policy__data-security .page-privacy-policy__content-block {
    overflow: hidden; /* Clear floats */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* Text always white for dark buttons */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__faq-section {
    background-color: var(--deep-green-color);
    padding-bottom: 80px;
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main-color);
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-item summary:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: '−';
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    border-top: 1px solid var(--divider-color);
    color: var(--text-secondary-color);
    font-size: 1.05em;
}

/* Clear floats for sections with images */
.page-privacy-policy__info-collection .page-privacy-policy__container::after,
.page-privacy-policy__data-security .page-privacy-policy__container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__content-subtitle {
        font-size: 1.5em;
    }

    .page-privacy-policy__image-wrapper--left,
    .page-privacy-policy__image-wrapper--right {
        width: 100%;
        float: none;
        margin: 20px auto;
        text-align: center;
    }
    
    .page-privacy-policy__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 30px;
    }

    .page-privacy-policy__hero-content {
        margin-top: -80px;
        padding: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-privacy-policy__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section {
        padding: 40px 15px;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-privacy-policy__content-subtitle {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__content-block {
        padding: 20px;
    }

    .page-privacy-policy__list {
        padding-left: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px;
    }

    .page-privacy-policy__image-wrapper {
        margin: 20px 0;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-privacy-policy__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-privacy-policy__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-content {
        margin-top: -60px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }

    .page-privacy-policy__content-subtitle {
        font-size: 1.2em;
    }
}