:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f8f8;
}

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

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-gdpr h1 {
  font-size: 44px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-gdpr h2 {
  font-size: 36px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr h3 {
  font-size: 24px;
  font-weight: 600;
}

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

.page-gdpr__hero-section {
  padding: 80px 20px 60px;
  background-color: var(--primary-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
  margin-top: 20px;
  margin-bottom: 25px;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__cta-button--secondary:hover {
  background-color: #2c3444;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background-color: var(--bg-light);
}

.page-gdpr__dark-text {
  color: var(--text-dark);
}

.page-gdpr__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-gdpr__text-block + .page-gdpr__text-block {
  margin-top: -10px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--mt-40 {
  margin-top: 40px;
}

.page-gdpr__principles-section {
  padding: 60px 0;
}

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

.page-gdpr__principle-item, .page-gdpr__right-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-item:hover, .page-gdpr__right-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-gdpr__principle-item h3, .page-gdpr__right-item h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.page-gdpr__principle-description, .page-gdpr__right-description {
  font-size: 16px;
  color: var(--text-dark);
}

.page-gdpr__rights-section {
  padding: 60px 0;
}

.page-gdpr__grid--rights {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__security-section {
  padding: 60px 0;
}

.page-gdpr__faq-section {
  padding: 60px 0;
}

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

/* FAQ容器样式 */
.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 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.3s ease;
  padding: 0 20px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #2a303e; /* Slightly lighter dark background for answer */
  border-radius: 0 0 8px 8px;
}

/* 问题样式 */
.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid #3a4252;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-gdpr__faq-question:hover {
  background: #2a303e;
  border-color: #4a5262;
}

.page-gdpr__faq-question:active {
  background: #3a404e;
}

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

/* 切换图标 */
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 32px;
  height: 32px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-gdpr__contact-section {
  padding: 60px 0;
}

/* Global image responsive styles */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  .page-gdpr h1 {
    font-size: 32px;
  }

  .page-gdpr h2 {
    font-size: 28px;
  }

  .page-gdpr h3 {
    font-size: 20px;
  }

  .page-gdpr__hero-section {
    padding-top: 60px; /* Adjust for mobile, assuming body handles header offset */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

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

  .page-gdpr__cta-buttons {
    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;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-gdpr__content-section, .page-gdpr__principles-section, .page-gdpr__rights-section, .page-gdpr__security-section, .page-gdpr__faq-section, .page-gdpr__contact-section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__text-block {
    font-size: 15px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item, .page-gdpr__right-item {
    padding: 20px;
  }

  .page-gdpr__principle-item h3, .page-gdpr__right-item h3 {
    font-size: 18px;
  }

  .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: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* Force responsive for all images and containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section, .page-gdpr__card, .page-gdpr__container, .page-gdpr__hero-container,
  .page-gdpr__principles-section, .page-gdpr__rights-section, .page-gdpr__security-section, .page-gdpr__faq-section, .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}