/* rgpd.css - Specific stylesheet for NØDE RGPD compliance page */

/* ==========================================
   1. HERO SECTION (50VH)
   ========================================== */
.rgpd-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.rgpd-hero .hero-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 35vw;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(106, 130, 216, 0.05) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.rgpd-hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb .separator {
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--accent-iris-1);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--text-primary);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.rgpd-hero .hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================
   2. TWO-COLUMN CONTENT LAYOUT (SIDEBAR + CARDS)
   ========================================== */
.rgpd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 4%;
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 4rem;
  position: relative;
}

/* Sticky Sidebar table of contents */
.rgpd-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rgpd-sidebar-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.rgpd-toc-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 1rem;
}

.rgpd-toc-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  cursor: pointer;
  text-align: left;
}

.rgpd-toc-link:hover {
  color: var(--accent-iris-1);
  padding-left: 4px;
}

.rgpd-toc-link.active {
  color: var(--accent-iris-1);
  font-weight: 500;
}

/* Main Content area */
.rgpd-content {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.rgpd-section-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(106, 130, 216, 0.02);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.rgpd-section-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.rgpd-section-card h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rgpd-section-card h2 span.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-iris-1);
}

.rgpd-section-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.rgpd-section-card p:last-child {
  margin-bottom: 0;
}

.rgpd-section-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.rgpd-section-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.rgpd-section-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-iris-1);
}

.dpo-box {
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dpo-info h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dpo-info p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.dpo-contact-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-iris-1);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.dpo-contact-btn:hover {
  border-color: var(--accent-iris-1);
  color: var(--text-primary);
  background-color: rgba(106, 130, 216, 0.02);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .rgpd-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .rgpd-sidebar {
    position: static;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 2rem;
  }

  .rgpd-toc-links {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    gap: 1.25rem;
  }

  .rgpd-toc-link {
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
  }

  .rgpd-toc-link:hover {
    padding-left: 16px;
  }
}

@media (max-width: 768px) {
  .rgpd-hero {
    height: auto;
    padding: 100px 0 60px 0;
  }

  .rgpd-section-card {
    padding: 32px 24px;
  }

  .dpo-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
