/* style/gdpr.css */

/* Variables for colors based on the provided scheme */
:root {
    --page-gdpr-primary: #2F6BFF;
    --page-gdpr-secondary: #6FA3FF;
    --page-gdpr-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --page-gdpr-card-bg: #FFFFFF;
    --page-gdpr-background: #F4F7FB;
    --page-gdpr-text-main: #1F2D3D;
    --page-gdpr-text-black: #000000;
    --page-gdpr-border: #D6E2FF;
    --page-gdpr-glow: #A5C4FF;
}

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
    padding-bottom: 40px;
    background-color: var(--page-gdpr-primary);
    color: #ffffff;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--page-gdpr-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.page-gdpr__section:first-of-type {
    margin-top: -20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.page-gdpr__section:last-of-type {
    margin-bottom: 0;
}

.page-gdpr__what-is-gdpr {
    background-color: var(--page-gdpr-background);
}

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--page-gdpr-text-black);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--page-gdpr-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
    text-align: justify;
}

.page-gdpr__text-block a {
    color: var(--page-gdpr-primary);
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Feature Grid */
.page-gdpr__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__feature-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid var(--page-gdpr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-gdpr__feature-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--page-gdpr-primary);
    margin-bottom: 15px;
}

.page-gdpr__feature-description {
    font-size: 1em;
    color: var(--page-gdpr-text-main);
}

/* Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-gdpr__rights-list .page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 5px solid var(--page-gdpr-primary);
    transition: transform 0.2s ease;
}

.page-gdpr__rights-list .page-gdpr__list-item:hover {
    transform: translateX(5px);
}

.page-gdpr__rights-list .page-gdpr__list-title {
    font-size: 1.3em;
    color: var(--page-gdpr-text-black);
    margin-bottom: 10px;
}

.page-gdpr__rights-list .page-gdpr__list-description {
    font-size: 0.95em;
    color: var(--page-gdpr-text-main);
}

/* Security Features */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__security-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left;
    border-right: 3px solid var(--page-gdpr-secondary);
}

.page-gdpr__security-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--page-gdpr-primary);
    margin-bottom: 15px;
}

.page-gdpr__security-description {
    font-size: 1em;
    color: var(--page-gdpr-text-main);
}

/* Data Types List (Similar to Rights List) */
.page-gdpr__data-types-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-gdpr__data-types-list .page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-bottom: 5px solid var(--page-gdpr-secondary);
    transition: transform 0.2s ease;
}

.page-gdpr__data-types-list .page-gdpr__list-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__data-types-list .page-gdpr__list-title {
    font-size: 1.3em;
    color: var(--page-gdpr-text-black);
    margin-bottom: 10px;
}

.page-gdpr__data-types-list .page-gdpr__list-description {
    font-size: 0.95em;
    color: var(--page-gdpr-text-main);
}

/* FAQ Section */
.page-gdpr__faq {
    background-color: var(--page-gdpr-background);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-gdpr-text-black);
    cursor: pointer;
    outline: none;
    list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-gdpr-primary);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--page-gdpr-text-main);
    border-top: 1px solid var(--page-gdpr-border);
}

/* Contact CTA */
.page-gdpr__contact-cta {
    text-align: center;
    background-color: var(--page-gdpr-primary);
    color: #ffffff;
    padding: 80px 0;
}

.page-gdpr__contact-cta .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__contact-cta .page-gdpr__section-title::after {
    background: #ffffff;
}

.page-gdpr__contact-cta .page-gdpr__text-block {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__contact-cta .page-gdpr__text-block a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: var(--page-gdpr-primary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.page-gdpr__btn-secondary:hover {
    background: var(--page-gdpr-secondary);
    color: #ffffff;
    border-color: var(--page-gdpr-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Global image styling for content area */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section {
        padding: 50px 0;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

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

    .page-gdpr__feature-grid,
    .page-gdpr__rights-list,
    .page-gdpr__security-features,
    .page-gdpr__data-types-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-gdpr__faq-item summary {
        font-size: 1.05em;
        padding: 18px 20px;
    }
}


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

    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image {
        margin-bottom: 15px;
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

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

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    /* General Section Styles for mobile */
    .page-gdpr__section {
        padding: 40px 0;
        margin-bottom: 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__feature-item,
    .page-gdpr__security-item,
    .page-gdpr__faq-item,
    .page-gdpr__list-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
    
    /* Feature Grid, Rights List, Security Features, Data Types List */
    .page-gdpr__feature-grid,
    .page-gdpr__rights-list,
    .page-gdpr__security-features,
    .page-gdpr__data-types-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-gdpr__feature-item,
    .page-gdpr__security-item,
    .page-gdpr__rights-list .page-gdpr__list-item,
    .page-gdpr__data-types-list .page-gdpr__list-item {
        padding: 20px;
    }

    .page-gdpr__feature-title,
    .page-gdpr__security-title,
    .page-gdpr__rights-list .page-gdpr__list-title,
    .page-gdpr__data-types-list .page-gdpr__list-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    /* FAQ Section for mobile */
    .page-gdpr__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr 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;
        padding-right: 15px;
        margin-top: 15px;
    }
    
    /* 按钮容器移动端适配 */
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 10px;
    }
    
    /* Ensure no horizontal scroll from content */
    .page-gdpr {
        overflow-x: hidden;
    }

    /* 其他内容模块 - Contact CTA */
    .page-gdpr__contact-cta {
        padding: 50px 15px;
    }
    .page-gdpr__contact-cta .page-gdpr__text-block {
        font-size: 0.95em;
    }
}