:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Main text color for dark background */
    background-color: var(--page-bg); /* Body background handled by shared.css, this is for main content sections */
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space before footer */
}

/* Header offset handled by body in shared.css, no need to add here */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-content-wrapper {
    position: relative;
    z-index: 2; /* Ensure text is above image if any overlap */
    text-align: center;
    max-width: 900px;
    margin-bottom: 30px; /* Space between text and image */
    color: var(--text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow */
}

.page-privacy-policy__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Ensure image doesn't get too wide on very large screens */
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.3);
    margin-top: 30px; /* Space from content above */
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--page-bg); /* Ensure content area uses the defined background */
    color: var(--text-main);
}

.page-privacy-policy__container {
    max-width: 100%; /* Ensure it adapts to content-area's max-width */
    margin: 0 auto;
    padding: 0;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-main);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--glow-color);
    padding-left: 15px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--gold-color);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1rem;
}

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

.page-privacy-policy a {
    color: var(--glow-color); /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--gold-color);
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.2);
}

.page-privacy-policy__cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    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: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

/* FAQ styles - using details/summary */
.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
    flex-grow: 1;
    padding-right: 10px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-privacy-policy__faq-answer {
    padding-top: 15px;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-privacy-policy__hero-description {
        font-size: 0.95rem;
    }

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer {
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__cta-wrapper { /* Added cta-wrapper for consistency */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to buttons for better touch targets */
        padding-right: 15px;
    }

    .page-privacy-policy__cta-wrapper {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
}