/* ==========================================================================
   GLOBAL PRIVACY POLICY & DATA GOVERNANCE STYLES (privacy.css)
   Enterprise Legal Standard for MARS TechSol
   Clean Light Theme for readability (#ffffff / #f8fafc) aligned with brand design principles:
     - Text-only uppercase eyebrows (#64748b, 12px, weight 800)
     - Standard 8px rounded rectangle buttons
     - Architectural 12px/14px cards and neutral badge backgrounds
     - Solid Yellow #FFC600 CTA Banner with #111827 dark button
   ========================================================================== */

/* --- Base Scoped Resets --- */
.privacy-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #334155;
  line-height: 1.7;
  background-color: #ffffff;
  overflow-x: hidden;
}

.privacy-page * {
  box-sizing: border-box;
}

.privacy-gold {
  color: #FFC600 !important;
}

/* 1200px Grid Container */
.privacy-container-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .privacy-container-1200 {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ==========================================================================
   HERO SECTION (Light slate surface #f8fafc with refined border)
   ========================================================================== */
.privacy-hero-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 48px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

/* Breadcrumbs (Hidden per design system) */
.privacy-breadcrumbs {
  display: none !important;
}

/* Category Eyebrow: Text-Only Uppercase */
.privacy-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 16px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.privacy-eyebrow-dash {
  display: none !important;
}

.privacy-hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 16px 0;
}

@media (min-width: 640px) {
  .privacy-hero-title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .privacy-hero-title {
    font-size: 48px;
  }
}

/* Metadata Badge */
.privacy-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.privacy-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFC600;
  display: inline-block;
}

.privacy-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  max-width: 860px;
  margin: 0 0 32px 0;
}

/* 4 Governance Standards Strip */
.privacy-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.privacy-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.privacy-badge-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.privacy-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.privacy-badge-text {
  display: flex;
  flex-direction: column;
}

.privacy-badge-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.privacy-badge-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   MAIN LEGAL DOCUMENT SECTION (12-Col Grid Layout)
   ========================================================================== */
.privacy-content-section {
  background-color: #ffffff;
  padding: 64px 0 96px 0;
}

.privacy-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .privacy-layout-grid {
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: flex-start;
  }
}

/* Left Column: Sticky Table of Contents Sidebar */
.privacy-sidebar {
  position: sticky;
  top: 104px;
}

.privacy-toc-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-toc-title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f172a;
  padding-bottom: 12px;
  margin: 0;
  border-bottom: 1px solid #e2e8f0;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.privacy-toc-link {
  color: #64748b;
  text-decoration: none;
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.privacy-toc-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.privacy-toc-link.active {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #FFC600;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.privacy-sidebar-dpa-note {
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}

.privacy-sidebar-dpa-note a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: underline;
}

.privacy-sidebar-dpa-note a:hover {
  color: #FFC600;
}

/* Right Column: Legal Document Articles Body */
.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Executive Preamble Notice Box */
.privacy-preamble-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #FFC600;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-preamble-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}

.privacy-preamble-desc {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

/* Individual Policy Articles */
.privacy-block {
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  scroll-margin-top: 104px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.privacy-section-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.privacy-section-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .privacy-section-title {
    font-size: 24px;
  }
}

.privacy-p {
  font-size: 15px;
  color: #334155;
  line-height: 1.72;
  margin: 0;
}

.privacy-p strong {
  color: #0f172a;
  font-weight: 700;
}

/* Lists */
.privacy-ul {
  padding-left: 20px;
  list-style-type: disc;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-li {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
}

.privacy-li strong {
  color: #0f172a;
}

/* 2-Column Data Grid Cards */
.privacy-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (min-width: 640px) {
  .privacy-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.privacy-card-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

.privacy-card-box strong {
  color: #0f172a;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

/* Category Data Tags */
.privacy-data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.privacy-data-tag {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Callout Box */
.privacy-callout {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #FFC600;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 8px 0;
}

.privacy-callout-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.privacy-callout-p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Fast Opt-Out Action Box & DPO Dark Card */
.privacy-optout-box,
.privacy-dpo-dark-card {
  background: #0b0c10;
  color: #ffffff;
  border-radius: 14px;
  padding: 28px 28px;
  margin-top: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 198, 0, 0.25);
}

.privacy-optout-heading {
  font-size: 20px;
  font-weight: 800;
  color: #FFC600;
  margin: 0;
}

.privacy-optout-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
}

.privacy-optout-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.privacy-optout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFC600;
  color: #0b0c10 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.privacy-optout-btn:hover {
  background-color: #ffd633;
  color: #0b0c10 !important;
  transform: translateY(-2px);
}

.privacy-optout-note {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

/* ======================================================================
   SECTION 3: BOTTOM CALL TO ACTION BANNER (Signature Solid Yellow #FFC600)
   ====================================================================== */
.privacy-cta-section {
  padding: 72px 0 96px 0;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.privacy-cta-inner {
  background-color: #FFC600;
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(255, 198, 0, 0.25);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .privacy-cta-inner {
    flex-direction: row;
    padding: 48px 56px;
  }
}

.privacy-cta-headline {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0 0 8px 0;
}

.privacy-cta-subtext {
  font-size: 15.5px;
  line-height: 1.6;
  color: #1f2937;
  max-width: 640px;
  margin: 0;
}

.privacy-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #111827 !important;
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.privacy-cta-btn:hover {
  background-color: #000000 !important;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.privacy-btn-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.privacy-cta-btn:hover .privacy-btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .privacy-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-sidebar {
    position: static;
  }

  .privacy-cta-inner {
    text-align: center;
    padding: 40px 32px;
  }

  .privacy-cta-headline,
  .privacy-cta-subtext {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .privacy-hero-section {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .privacy-badges-row {
    grid-template-columns: 1fr;
  }

  .privacy-content-section {
    padding: 40px 0 60px 0;
  }

  .privacy-preamble-box {
    padding: 20px 18px;
  }

  .privacy-optout-box,
  .privacy-dpo-dark-card {
    padding: 22px 18px;
  }

  .privacy-optout-btn {
    width: 100%;
    justify-content: center;
  }

  .privacy-cta-inner {
    padding: 32px 20px;
  }

  .privacy-cta-headline {
    font-size: 24px;
  }

  .privacy-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
