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

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 1rem;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--text-main);
    padding: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    margin-top: 10px;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--glow-color-rgb, 87, 227, 141), 0.4);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 10px;
    margin-left: 15px;
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb, 17, 168, 78), 0.4);
}

.page-privacy-policy__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-privacy-policy__text-block {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__text-block a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: var(--glow-color);
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-privacy-policy__list-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__list-item h3 {
    color: var(--text-main);
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-privacy-policy__list-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-privacy-policy__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-title {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
}

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

.page-privacy-policy__highlight {
    color: var(--glow-color);
    font-weight: 600;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 50px;
    padding-bottom: 80px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    outline: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.15rem;
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker for details */
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--deep-green);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--secondary-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    color: var(--glow-color);
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid var(--divider-color);
    margin-top: -1px; /* Overlap border for cleaner look */
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

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

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

    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

    .page-privacy-policy__description {
        font-size: 1rem;
    }

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

    .page-privacy-policy__text-block {
        font-size: 0.95rem;
    }

    .page-privacy-policy__list-item h3 {
        font-size: 1.2rem;
    }

    .page-privacy-policy__list-item p {
        font-size: 0.9rem;
    }

    .page-privacy-policy__cards-grid {
        grid-template-columns: 1fr;
    }

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

    .page-privacy-policy__card-title {
        font-size: 1.25rem;
    }

    .page-privacy-policy__card p {
        font-size: 0.9rem;
    }

    /* Mobile image, video, button responsive styles */
    .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__hero-section,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0; /* Remove left margin for stacking */
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }

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