/* style/privacy-policy.css */

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

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--fv99-text-main); /* Default text color for the page, as body background is dark */
    background-color: var(--fv99-background); /* Page background, consistent with shared.css if --background-color is similar */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--fv99-deep-green); /* A darker green for the hero section background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-bottom: 30px; /* Space between text and image */
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for responsive H1 */
    font-weight: 700;
    color: var(--fv99-gold); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
    font-size: 1.15rem;
    color: var(--fv99-text-secondary);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: block;
    filter: none; /* No CSS filter on images */
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--fv99-background); /* Ensure consistent background */
}

.page-privacy-policy__dark-section {
    background-color: var(--fv99-background); /* Explicitly set dark background */
    color: var(--fv99-text-main); /* Light text for dark background */
}

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

.page-privacy-policy__section-title {
    font-size: 2.2rem;
    color: var(--fv99-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--fv99-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__section-title--light {
    color: var(--fv99-text-main); /* For sections with dark background */
}

.page-privacy-policy__sub-title {
    font-size: 1.6rem;
    color: var(--fv99-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--fv99-text-main);
}

.page-privacy-policy__paragraph--light {
    color: var(--fv99-text-main); /* Ensure light text on dark background */
}

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

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--fv99-text-secondary);
}

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

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px; /* Recommended size */
    height: auto;
    margin: 25px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: none; /* No CSS filter on images */
}

.page-privacy-policy__link {
    color: var(--fv99-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--fv99-glow);
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box; /* Button responsiveness */
    white-space: normal; /* Button responsiveness */
    word-wrap: break-word; /* Button responsiveness */
}

.page-privacy-policy__btn-primary {
    background: var(--fv99-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--fv99-secondary);
    border: 2px solid var(--fv99-secondary);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--fv99-secondary);
    color: var(--fv99-background); /* Dark background for hover */
    transform: translateY(-2px);
}

.page-privacy-policy__last-updated {
    text-align: right;
    font-size: 0.9rem;
    color: var(--fv99-text-secondary);
    margin-top: 40px;
}

.page-privacy-policy__cta-section {
    padding: 60px 20px;
    background-color: var(--fv99-card-bg); /* Use card background for CTA */
    text-align: center;
    margin-top: 40px;
}

.page-privacy-policy__cta-section .page-privacy-policy__container {
    padding: 40px;
    border-radius: 10px;
    background-color: var(--fv99-deep-green); /* A distinct dark green for the inner CTA */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-privacy-policy__intro-text {
        font-size: 1rem;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8rem;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-privacy-policy__hero-content {
        margin-bottom: 20px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-privacy-policy__intro-text {
        font-size: 0.95rem;
    }
    .page-privacy-policy__content-area {
        padding: 25px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6rem;
        margin-top: 30px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2rem;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Containers for images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-section .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Buttons 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; /* Ensure padding inside button */
        padding-right: 15px;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Ensure padding for button group */
        padding-right: 15px;
        overflow: hidden !important;
    }
}