/* GDPR Page Styles - BEM validated */
.page-gdpr {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #F4F7FB;
 }

/* Container */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

/* Hero Section - image block first */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #E8F0FF 0%, #F4F7FB 100%);
  padding-top: 10px;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(47, 107, 255, 0.15);
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__main-title {
  color: #1F2D3D;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 850px;
}

.page-gdpr__hero-description {
  color: #1F2D3D;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* Intro Section */
.page-gdpr__intro-section {
  padding: 20px 16px;
}

.page-gdpr__intro-card {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.08);
}

.page-gdpr__intro-text {
  color: #1F2D3D;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 12px 0;
}

.page-gdpr__intro-text:last-child {
  margin-bottom: 0;
}

.page-gdpr__intro-text a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  word-break: break-word;
}

.page-gdpr__intro-text a:hover {
  color: #6FA3FF;
  border-bottom: 1px solid #6FA3FF;
}

/* Regular Section */
.page-gdpr__section {
  padding: 24px 16px;
}

.page-gdpr__section--highlight {
  background-color: #F4F7FB;
}

.page-gdpr__section-title {
  color: #1F2D3D;
  font-size: 1.8rem;
  font-weight: 700;
  border-left: 4px solid #2F6BFF;
  padding-left: 16px;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.page-gdpr__section-content {
  color: #1F2D3D;
  font-size: 1rem;
  line-height: 1.8;
}

.page-gdpr__section-content p {
  margin: 0 0 16px 0;
}

.page-gdpr__sub-title {
  color: #1F2D3D;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 24px 0 12px 0;
  line-height: 1.4;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
}

.page-gdpr__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #1F2D3D;
}

.page-gdpr__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #2F6BFF;
  font-weight: 700;
}

.page-gdpr__info-box {
  background: #E8F0FF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-gdpr__info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.page-gdpr__info-box span:last-child {
  color: #1F2D3D;
  line-height: 1.6;
}

/* Rights Cards */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
  width: 100%;
}

.page-gdpr__right-card {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-gdpr__right-card:hover {
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.15);
}

.page-gdpr__card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 12px;
}

.page-gdpr__right-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-gdpr__right-card a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-gdpr__highlight-text {
  background: #E8F0FF;
  padding: 16px;
  border-radius: 10px;
  font-weight: 500;
  border-left: 4px solid #2F6BFF;
}

.page-gdpr__highlight-text a {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 700;
}

/* Security Section */
.page-gdpr__security-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
  background: #FFFFFF;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #D6E2FF;
  width: 100%;
}

.page-gdpr__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.12);
}

.page-gdpr__security-text .page-gdpr__list {
  margin-top: 12px;
}

/* CTA box inside content */
.page-gdpr__cta-box {
  background: linear-gradient(135deg, #E8F0FF, #FFFFFF);
  border: 2px solid #2F6BFF;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}

.page-gdpr__cta-text {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #2F6BFF, #1a4fd0);
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.45);
  text-decoration: none;
}

/* FAQ */
.page-gdpr__faq-section {
  padding: 32px 16px;
  background: #F4F7FB;
}

.page-gdpr__faq-title {
  text-align: center;
  font-size: 2rem;
  color: #1F2D3D;
  margin-bottom: 32px;
}

.page-gdpr__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.05);
}

.page-gdpr__faq-question {
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1F2D3D;
  list-style: none;
  transition: background 0.2s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #f0f6ff;
}

.page-gdpr__faq-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background: #D6E2FF;
  border-radius: 50%;
  color: #2F6BFF;
  font-weight: 700;
  font-size: 1.25rem;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 24px 20px;
  color: #555;
  line-height: 1.6;
  border-top: 1px solid #E8F0FF;
  padding-top: 16px;
}

.page-gdpr__faq-answer a {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 600;
}

/* Bottom CTA */
.page-gdpr__bottom-cta {
  padding: 24px 16px;
}

.page-gdpr__bottom-cta-card {
  background: linear-gradient(135deg, #2F6BFF, #6FA3FF);
  padding: 40px 40px;
  text-align: center;
  border-radius: 24px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(47, 107, 255, 0.4);
}

.page-gdpr__bottom-cta-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.page-gdpr__bottom-cta-text {
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.page-gdpr__link-inline {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-gdpr__btn--register {
  background: #ffffff;
  color: #2F6BFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn--register:hover {
  background: #f0f6ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-gdpr__btn--promo {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}

.page-gdpr__btn--promo:hover {
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration:none;
}

/* Section Link styling */
.page-gdpr__section-content a {
  color: #2F6BFF;
  text-decoration: underline;
}

/* Navigation links inside content should be accessible */
.page-gdpr__section-content a:hover {
  color: #6FA3FF;
}

/* Media 1024px */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 1.6rem;
  }
  .page-gdpr__security-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .page-gdpr__section-image {
    max-width: 100%;
    margin: 0 auto;
  }
  .page-gdpr__bottom-cta-card {
    padding: 32px 20px;
  }
}

/* Media 768px - mandatory rules */
@media (max-width: 768px) {
  /* Generic image constraints */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-gdpr {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-gdpr__container {
    padding: 0 12px !important;
    width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__hero-section {
    padding-top: 8px;
  }
  .page-gdpr__hero-image {
    border-radius: 16px;
  }
  .page-gdpr__hero-content {
    padding: 16px 12px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    line-height: 1.2;
  }
  .page-gdpr__section {
    padding: 20px 8px;
  }
  .page-gdpr__section--highlight {
    padding-left: 8px;
    padding-right: 8px;
  }
  .page-gdpr__section-title {
    font-size: 1.3rem;
    padding-left: 10px;
  }
  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-gdpr__card-title {
    font-size: 1.1rem;
  }
  .page-gdpr__security-wrapper {
    padding: 16px 12px;
  }
  .page-gdpr__faq-section {
    padding: 24px 8px 12px;
  }
  .page-gdpr__faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .page-gdpr__faq-answer {
    padding: 12px 16px 16px;
  }
  .page-gdpr__bottom-cta-card {
    padding: 24px 16px;
  }
  .page-gdpr__bottom-cta-title {
    font-size: 1.1rem;
  }
  .page-gdpr__bottom-cta-text {
    font-size: 0.9rem;
  }
  .page-gdpr__cta-box {
    padding: 24px 16px;
  }
}

/* Buttons in mobile view need proper wrap and full width consideration */
@media (max-width: 480px) {
  .page-gdpr__button-group {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: auto;
    min-width: 100%;
  }
}