/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--background);
    color: var(--text-main);
}

.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;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-privacy-policy__section {
    padding: 60px 20px;
    background-color: var(--background);
    color: var(--text-main);
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-privacy-policy__heading {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    font-size: 1em;
    color: var(--text-secondary);
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-privacy-policy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-privacy-policy__card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
}

.page-privacy-policy__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-privacy-policy__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

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

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__contact-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.page-privacy-policy__contact-item a {
    color: var(--glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-item a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.page-privacy-policy__faq-section {
    padding-bottom: 80px;
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__faq-item {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary native marker */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* Hide default Chrome/Safari marker */
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(var(--card-bg-rgb), 0.8);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

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

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--background);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom-color: transparent;
}

.page-privacy-policy__cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-privacy-policy__cta-content {
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

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

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

    .page-privacy-policy__cta-button,
    .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: 12px 20px;
        font-size: 1em;
    }

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

    .page-privacy-policy__content-area {
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__heading {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-privacy-policy__paragraph {
        font-size: 0.95em;
    }

    .page-privacy-policy__image {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-privacy-policy__card {
        padding: 20px;
    }

    .page-privacy-policy__card-title {
        font-size: 1.2em;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Mobile specific for containers to prevent overflow */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__dark-section,
    .page-privacy-policy__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-privacy-policy__hero-content,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__cta-content {
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__cta-content .page-privacy-policy__cta-button {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

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

/* Ensure contrast for elements with default background */
.page-privacy-policy__content-area a {
    color: var(--glow);
}

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

.page-privacy-policy__list-item a {
    color: var(--glow);
}

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