/* ===== Tuân Thủ GDPR Page Styles ===== */

.page-gdpr {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
  max-width: 100%;
  overflow-x: hidden;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px 0;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 16px;
}

.page-gdpr__hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 860px;
  width: 100%;
  padding-bottom: 32px;
}

.page-gdpr__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-main, #F3F8FF);
  margin: 0 0 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-description {
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 720px;
}

.page-gdpr__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --- Buttons --- */
.page-gdpr__btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 32px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn:hover {
  opacity: 0.9;
}

.page-gdpr__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 1px solid var(--border, #244D84);
}

.page-gdpr__btn--secondary {
  background: transparent;
  color: var(--text-main, #F3F8FF);
  border: 1px solid var(--border, #244D84);
}

.page-gdpr__btn--secondary:hover {
  background: rgba(79, 168, 255, 0.1);
}

/* --- Badges / Logo Grid --- */
.page-gdpr__badges-section {
  padding: 40px 16px;
  border-top: 1px solid var(--divider, #1B3357);
}

.page-gdpr__badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  text-align: center;
}

.page-gdpr__badge-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: var(--card-bg, #10233F);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid var(--border, #244D84);
}

.page-gdpr__badge-text {
  color: var(--text-main, #F3F8FF);
  font-weight: 500;
}

.page-gdpr__badge-item:nth-child(5) {
  grid-column: 2;
}

.page-gdpr__badge-item:nth-child(6) {
  grid-column: 3;
}

/* --- Principles Section --- */
.page-gdpr__principles-section {
  padding: 48px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--divider, #1B3357);
}

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

.page-gdpr__section-title {
  text-align: center;
  color: var(--text-main, #F3F8FF);
  font-weight: 700;
  margin: 0 0 40px;
}

.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.page-gdpr__principle-card {
  background: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s ease;
}

.page-gdpr__principle-card:hover {
  box-shadow: 0 8px 24px rgba(79, 168, 255, 0.15);
}

.page-gdpr__principle-title {
  color: var(--gold, #F2C14E);
  font-size: 1.2rem;
  margin: 0 0 12px;
  font-weight: 600;
}

.page-gdpr__principle-text {
  color: var(--text-main, #F3F8FF);
  line-height: 1.7;
  margin: 0;
}

/* --- Rights Section --- */
.page-gdpr__rights-section {
  padding: 48px 16px;
  border-top: 1px solid var(--divider, #1B3357);
}

.page-gdpr__intro-text {
  text-align: center;
  color: var(--text-secondary, #AFC4E8);
  max-width: 720px;
  margin: 0 auto 40px;
}

.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.page-gdpr__right-card {
  background: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 16px;
  padding: 24px;
}

.page-gdpr__right-title {
  color: var(--gold, #F2C14E);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-gdpr__right-text {
  color: var(--text-main, #F3F8FF);
  line-height: 1.6;
  margin: 0;
}

/* --- Guide Section --- */
.page-gdpr__guide-section {
  padding: 48px 16px;
  border-top: 1px solid var(--divider, #1B3357);
}

.page-gdpr__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__guide-title {
  text-align: center;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 32px;
  font-weight: 700;
}

.page-gdpr__guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-gdpr__guide-item {
  background: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 12px;
  padding: 0 16px;
}

.page-gdpr__guide-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  color: var(--text-main, #F3F8FF);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-gdpr__guide-summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__guide-summary span[data-faq-toggle] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(79, 168, 255, 0.15);
  color: var(--glow, #4FA8FF);
  font-weight: 700;
  flex-shrink: 0;
}

.page-gdpr__guide-item[open] .page-gdpr__guide-summary span[data-faq-toggle] {
  background: rgba(242, 193, 78, 0.15);
  color: var(--gold, #F2C14E);
}

.page-gdpr__guide-answer {
  padding: 0 0 16px 34px;
  color: var(--text-main, #F3F8FF);
  line-height: 1.6;
}

.page-gdpr__guide-answer a {
  color: var(--glow, #4FA8FF);
  text-decoration: underline;
}

/* --- Contact Section --- */
.page-gdpr__contact-section {
  padding: 48px 16px;
  border-top: 1px solid var(--divider, #1B3357);
}

.page-gdpr__contact-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 20px;
  padding: 48px 32px;
}

.page-gdpr__contact-title {
  color: var(--gold, #F2C14E);
  margin: 0 0 12px;
  font-weight: 700;
}

.page-gdpr__contact-text {
  color: var(--text-main, #F3F8FF);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ===== Responsive Styles ===== */

@media (max-width: 1024px) {
  .page-gdpr__badges-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 8px 12px 0;
  }

  .page-gdpr__hero-img {
    aspect-ratio: 2 / 1;
  }

  .page-gdpr__hero-content {
    padding-bottom: 24px;
  }

  .page-gdpr__hero-title {
    font-size: 1.6rem;
  }

  .page-gdpr__hero-description {
    font-size: 0.95rem;
  }

  .page-gdpr__badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-gdpr__badge-item:nth-child(5),
  .page-gdpr__badge-item:nth-child(6) {
    grid-column: auto;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__btn {
    width: 100%;
    max-width: 100%;
  }

  .page-gdpr__hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-gdpr__guide-answer {
    padding-left: 10px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__contact-box {
    padding: 32px 20px;
  }
}