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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--bg-color);
}

.page-gdpr__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--divider);
}

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

.page-gdpr__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--glow);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-gdpr__text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-gdpr__text-block p {
  flex: 1;
  min-width: 300px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.page-gdpr__text-block strong {
  color: var(--text-main);
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  flex: 1;
  min-width: 300px;
}

.page-gdpr__list--ordered {
  list-style-type: decimal;
  padding-left: 25px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 10px;
  position: relative;
  color: var(--text-secondary);
}

.page-gdpr__list-item::before {
  content: '✓';
  color: var(--glow);
  position: absolute;
  left: -15px;
  font-weight: bold;
  display: none; /* Hide for ordered list */
}

.page-gdpr__list:not(.page-gdpr__list--ordered) .page-gdpr__list-item::before {
  display: block; /* Show for unordered list */
}

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

.page-gdpr__image--right {
  order: 2;
}

.page-gdpr__image--left {
  order: 1;
}

.page-gdpr__text-block p, .page-gdpr__text-block ul, .page-gdpr__text-block ol {
  flex-basis: calc(50% - 20px);
}

.page-gdpr__text-block .page-gdpr__image {
  flex-basis: calc(50% - 20px);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.page-gdpr__contact-link {
  color: var(--glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: var(--deep-green);
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-gdpr__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-gdpr__cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
  .page-gdpr__text-block .page-gdpr__image {
    max-width: 100%;
    order: initial;
  }
  .page-gdpr__text-block p, .page-gdpr__text-block ul, .page-gdpr__text-block ol {
    flex-basis: 100%;
  }
  .page-gdpr__image--right {
    order: initial;
  }
  .page-gdpr__image--left {
    order: initial;
  }
}

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

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

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__text-block p, .page-gdpr__text-block ul, .page-gdpr__text-block ol {
    flex-basis: 100%;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    order: initial !important;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.2rem;
  }

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

  .page-gdpr__cta-section {
    padding: 50px 15px;
  }

  .page-gdpr__cta-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-gdpr__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-gdpr__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
  }

  .page-gdpr__btn-secondary {
    margin-left: 0;
  }

  /* Ensure all containers and elements handle overflow */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__cta-section,
  .page-gdpr__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__list-item {
    padding-left: 0;
  }
  .page-gdpr__list-item::before {
    left: -20px;
  }
  .page-gdpr__list--ordered {
    padding-left: 20px;
  }
}