/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* #F2FFF6 */
    background-color: var(--bg-color); /* #08160F */
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    background: linear-gradient(180deg, var(--deep-green-color) 0%, var(--bg-color) 100%); /* Deep Green gradient for hero background */
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-main-color); /* #F2FFF6 */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for mobile adaptation */
    max-width: 100%; /* Ensure container takes full width for mobile adaptation */
    overflow: hidden; /* Prevent overflow for buttons */
    box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr__btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-gdpr__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--text-main-color); /* #F2FFF6 */
    border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-gdpr__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(46, 122, 78, 0.2); /* Slight background on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
}

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

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

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-main-color); /* #F2FFF6 */
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-gdpr__subsection-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--text-main-color); /* #F2FFF6 */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-gdpr__list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color); /* #11A84E */
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.page-gdpr__highlight {
    color: var(--gold-color); /* #F2C14E */
    font-weight: 600;
}

.page-gdpr__link {
    color: var(--secondary-color); /* #22C768 */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--glow-color); /* #57E38D */
}

.page-gdpr__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--card-bg-color); /* #11271B */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-gdpr__contact-info strong {
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-gdpr__btn-contact {
    margin-top: 30px;
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}
.page-gdpr__btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

/* Mobile Responsive Styles - @media (max-width: 768px) */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-gdpr__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

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

    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr__btn-contact,
    .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;
        font-size: 1em;
        padding: 12px 20px;
    }

    /* 其他内容模块 */
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-gdpr__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95em;
    }
}

/* Tablet Responsive Styles - @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__subsection-title {
        font-size: 1.5em;
    }
    .page-gdpr__hero-image {
        margin-bottom: 15px;
    }
    .page-gdpr__cta-buttons {
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr__btn-contact {
        padding: 12px 24px;
        font-size: 1em;
    }
}