.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css #222 */
}

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

.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for titles */
}

.page-gdpr__text-light {
  color: #f0f0f0;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background: linear-gradient(135deg, #1A1A1A, #222222);
  color: #ffffff;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #FFD700;
  color: #1A1A1A;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background: #0d0d0d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Text Styles */
.page-gdpr p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 15px;
  text-align: left;
}

.page-gdpr li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-gdpr__link {
  color: #FFD700;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #e6c200;
}

.page-gdpr__link--light {
  color: #FFD700;
}

/* Section Backgrounds */
.page-gdpr__dark-bg {
  background-color: #1A1A1A;
}

/* Commitment Section */
.page-gdpr__commitment-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* Rights Section */
.page-gdpr__rights-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-gdpr__rights-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-gdpr__card--light {
  background: rgba(255, 255, 255, 0.1); /* Lighter card for better contrast on dark section */
  color: #ffffff;
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-gdpr__card p {
  font-size: 15px;
  color: #f0f0f0;
  text-align: center;
}

/* Protection Section */
.page-gdpr__protection-section {
  background-color: #222222;
  padding: 80px 0;
}

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

.page-gdpr__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-gdpr__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-gdpr__feature-item p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Data Usage Section */
.page-gdpr__data-usage-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-gdpr__data-usage-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__data-usage-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-gdpr__data-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-gdpr__data-usage-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-gdpr__data-usage-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-gdpr__data-usage-item p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Cookie Section */
.page-gdpr__cookie-section {
  background-color: #222222;
  padding: 80px 0;
  text-align: left;
}

.page-gdpr__cookie-section .page-gdpr__section-title {
  text-align: center;
}

.page-gdpr__cookie-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.page-gdpr__list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

/* Contact Section */
.page-gdpr__contact-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-gdpr__contact-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__contact-info {
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: left;
}

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

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__contact-list li::before {
  content: '▶';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-gdpr__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #222222;
  padding: 80px 0;
}

.page-gdpr__faq-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

/* FAQ容器样式 */
.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* FAQ默认状态 - 答案隐藏 */
.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-gdpr__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* 问题标题样式 */
.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: #FFD700;
}

/* 切换图标 */
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Plus to X effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__description {
    font-size: 16px;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-gdpr__grid-container, .page-gdpr__feature-grid, .page-gdpr__data-usage-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-gdpr__card, .page-gdpr__feature-item, .page-gdpr__data-usage-item {
    padding: 25px;
  }
  .page-gdpr p, .page-gdpr li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-gdpr__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 8px 0;
  }
  .page-gdpr__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr p, .page-gdpr li {
    font-size: 14px;
  }
  .page-gdpr__card-title, .page-gdpr__feature-title, .page-gdpr__data-usage-title {
    font-size: 20px;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image specific styles */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
}