/* style/privacy-policy.css */

/* Variables for consistent styling */
:root {
    --phdream-primary: #F2C14E; /* Main color */
    --phdream-secondary: #FFD36B; /* Auxiliary color */
    --phdream-background: #0A0A0A; /* Page background */
    --phdream-card-bg: #111111; /* Card background */
    --phdream-text-main: #FFF6D6; /* Main text color */
    --phdream-border: #3A2A12; /* Border color */
    --phdream-glow: #FFD36B; /* Glow color */
    --phdream-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    color: var(--phdream-text-main); /* Light text for dark background */
    background-color: var(--phdream-background);
    line-height: 1.6;
    padding-bottom: 60px; /* Space above footer */
}

/* Fixed Header Spacing - handled by shared.css on body */
/* .page-privacy-policy__hero-section should have small top padding */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 10px 20px 60px;
    text-align: center;
    overflow: hidden;
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--phdream-secondary);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__introduction {
    font-size: 1.1em;
    color: var(--phdream-text-main);
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.2); /* Soft glow */
}

.page-privacy-policy__section {
    padding: 40px 0;
    border-bottom: 1px solid var(--phdream-border);
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--phdream-primary);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

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

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

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

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

.page-privacy-policy__list-item strong {
    color: var(--phdream-secondary);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Links within content */
.page-privacy-policy a {
    color: var(--phdream-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--phdream-primary);
    text-decoration: none;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--phdream-card-bg);
    padding: 60px 0;
    border-radius: 10px;
    margin-top: 40px;
    border: 1px solid var(--phdream-border);
}

.page-privacy-policy__faq-title {
    color: var(--phdream-primary);
    margin-bottom: 40px;
    text-align: center;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1a1a1a;
    color: var(--phdream-text-main);
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #2a2a2a;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    color: var(--phdream-text-main);
    font-size: 1.1em;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #222222;
    color: var(--phdream-text-main);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 0.95em;
}

/* CTA Buttons */
.page-privacy-policy__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-privacy-policy__btn-primary {
    background: var(--phdream-btn-gradient);
    color: var(--phdream-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--phdream-secondary);
    color: var(--phdream-background);
    transform: translateY(-3px);
}

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

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

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

    .page-privacy-policy__introduction {
        font-size: 1em;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
        margin-top: 25px;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    /* Images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-privacy-policy__container,
    .page-privacy-policy__section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons */
    .page-privacy-policy__cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }
}