/* ==========================================================================
   SmartVet Africa - Privacy Policy Page Styles (Pan-African Edition)
   Brand Colors: Primary Emerald #157E3D, Dark Forest #0d5c2e, Accent Gold #E5A823,
   Background Dark Slate #0f172a, Text #1e293b / #0f172a
   ========================================================================== */

:root {
  --pp-primary: #157E3D;
  --pp-primary-dark: #0d5c2e;
  --pp-primary-light: #e8f5ed;
  --pp-primary-glow: rgba(21, 126, 61, 0.16);
  --pp-accent: #E5A823;
  --pp-accent-light: #fef8eb;
  --pp-blue: #0284c7;
  --pp-blue-light: #f0f9ff;
  --pp-purple: #7c3aed;
  --pp-purple-light: #f5f3ff;
  --pp-bg: #f8fafc;
  --pp-card-bg: #ffffff;
  --pp-text: #1e293b;
  --pp-text-muted: #64748b;
  --pp-text-light: #94a3b8;
  --pp-border: #e2e8f0;
  --pp-border-light: #f1f5f9;
  --pp-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --pp-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --pp-shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.09);
  --pp-radius-sm: 8px;
  --pp-radius-md: 14px;
  --pp-radius-lg: 20px;
  --pp-radius-full: 9999px;
  --pp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark Mode Overrides */
.dark, :root.dark {
  --pp-bg: #090e17;
  --pp-card-bg: #0f172a;
  --pp-text: #f1f5f9;
  --pp-text-muted: #94a3b8;
  --pp-text-light: #64748b;
  --pp-border: #1e293b;
  --pp-border-light: #152136;
  --pp-primary-light: rgba(21, 126, 61, 0.2);
  --pp-accent-light: rgba(229, 168, 35, 0.15);
  --pp-blue-light: rgba(2, 132, 199, 0.15);
  --pp-purple-light: rgba(124, 58, 237, 0.15);
  --pp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --pp-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --pp-shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #157E3D, #3daa6a, #E5A823);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Page Wrapper */
.privacy-page {
  font-family: var(--pp-font);
  background: var(--pp-bg);
  color: var(--pp-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Hero Header */
.privacy-hero {
  background: linear-gradient(145deg, #07170c 0%, #0c3319 45%, #0f172a 100%);
  color: #ffffff;
  padding: 5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(21, 126, 61, 0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 168, 35, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.privacy-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.privacy-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-breadcrumbs a:hover {
  color: #7cd9a6;
}

.privacy-breadcrumbs .separator {
  opacity: 0.4;
  font-size: 0.75rem;
}

.privacy-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.785rem;
  font-weight: 600;
  border-radius: var(--pp-radius-full);
  letter-spacing: 0.02em;
}

.privacy-badge--primary {
  background: rgba(21, 126, 61, 0.4);
  color: #93f5be;
  border: 1px solid rgba(147, 245, 190, 0.3);
}

.privacy-badge--pan-african {
  background: rgba(2, 132, 199, 0.3);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.privacy-badge--law {
  background: rgba(229, 168, 35, 0.22);
  color: #f7d58a;
  border: 1px solid rgba(229, 168, 35, 0.38);
}

.privacy-badge--tech {
  background: rgba(124, 58, 237, 0.28);
  color: #ddd6fe;
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.privacy-hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-hero p.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 820px;
  line-height: 1.68;
  margin: 0 0 1.75rem;
}

.privacy-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.35rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.865rem;
  color: rgba(255, 255, 255, 0.72);
}

.privacy-updated-date,
.privacy-version-tag,
.privacy-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-updated-date i,
.privacy-version-tag i,
.privacy-read-time i {
  color: #7cd9a6;
}

.privacy-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.btn-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--pp-radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-action:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Trust Pillars Strip */
.privacy-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.trust-pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pp-radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.trust-pillar-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.trust-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--pp-radius-sm);
  background: rgba(21, 126, 61, 0.45);
  color: #93f5be;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid rgba(147, 245, 190, 0.25);
}

.trust-pillar-body h5 {
  margin: 0 0 0.3rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-pillar-body p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* Main Layout Grid */
.privacy-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

/* Sticky Table of Contents Sidebar */
.privacy-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.privacy-sidebar::-webkit-scrollbar {
  width: 4px;
}
.privacy-sidebar::-webkit-scrollbar-thumb {
  background: var(--pp-border);
  border-radius: 4px;
}

.toc-card {
  background: var(--pp-card-bg);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.5rem;
  box-shadow: var(--pp-shadow-sm);
}

.toc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pp-border);
}

.toc-card-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pp-text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Live TOC Filter Search Box */
.toc-filter-box {
  position: relative;
  margin-bottom: 1rem;
}

.toc-filter-box input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.2rem;
  font-size: 0.825rem;
  font-family: inherit;
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-border-light);
  color: var(--pp-text);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.toc-filter-box input:focus {
  outline: none;
  border-color: var(--pp-primary);
  background: var(--pp-card-bg);
  box-shadow: 0 0 0 3px var(--pp-primary-glow);
}

.toc-filter-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--pp-text-light);
  pointer-events: none;
}

.toc-filter-clear {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--pp-text-light);
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.toc-filter-clear:hover {
  color: var(--pp-text);
}

.toc-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toc-nav li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--pp-radius-sm);
  font-size: 0.84rem;
  color: var(--pp-text-muted);
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.toc-nav li a .toc-num {
  font-weight: 700;
  color: var(--pp-text-light);
  font-size: 0.75rem;
  min-width: 18px;
}

.toc-nav li a:hover {
  background: var(--pp-border-light);
  color: var(--pp-primary);
}

.toc-nav li a.active {
  background: var(--pp-primary-light);
  color: var(--pp-primary);
  font-weight: 600;
  border-left-color: var(--pp-primary);
}

.toc-nav li a.active .toc-num {
  color: var(--pp-primary);
}

/* Quick Contact Card inside sidebar */
.sidebar-contact-card {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(21, 126, 61, 0.08) 0%, rgba(229, 168, 35, 0.08) 100%);
  border: 1px solid rgba(21, 126, 61, 0.18);
  border-radius: var(--pp-radius-md);
  padding: 1.25rem;
}

.sidebar-contact-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--pp-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-contact-card p {
  font-size: 0.8rem;
  color: var(--pp-text-muted);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.sidebar-contact-card a.btn-contact-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-primary);
  color: #fff;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

.sidebar-contact-card a.btn-contact-quick:hover {
  background: var(--pp-primary-dark);
}

.sidebar-contact-card a.btn-contact-quick--secondary {
  background: var(--pp-border-light);
  color: var(--pp-text);
  border: 1px solid var(--pp-border);
  margin-bottom: 0;
}

.sidebar-contact-card a.btn-contact-quick--secondary:hover {
  background: var(--pp-border);
  color: var(--pp-text);
}

/* Content Container */
.privacy-content {
  background: var(--pp-card-bg);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: var(--pp-shadow-md);
}

/* Preamble / Introduction Box */
.privacy-intro-box {
  background: linear-gradient(135deg, rgba(21, 126, 61, 0.05) 0%, rgba(15, 23, 42, 0.02) 100%);
  border-left: 4px solid var(--pp-primary);
  border-radius: var(--pp-radius-sm);
  padding: 1.85rem 2rem;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--pp-text);
}

.privacy-intro-box strong {
  color: var(--pp-primary);
}

.privacy-intro-agreement {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pp-border);
  font-weight: 600;
  color: var(--pp-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

/* Policy Sections */
.policy-section {
  scroll-margin-top: 110px;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--pp-border-light);
}

.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.section-anchor {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--pp-primary);
  letter-spacing: -0.01em;
}

.policy-section h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--pp-text);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.btn-copy-section {
  background: transparent;
  border: none;
  color: var(--pp-text-light);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--pp-radius-sm);
  transition: all 0.2s ease;
  margin-left: 0.25rem;
  opacity: 0.6;
}

.btn-copy-section:hover {
  opacity: 1;
  color: var(--pp-primary);
  background: var(--pp-primary-light);
}

.policy-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pp-text);
  margin: 1.85rem 0 0.85rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.policy-section p {
  color: var(--pp-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.policy-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.policy-section li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0;
  color: var(--pp-text);
  line-height: 1.7;
}

.policy-section li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pp-primary);
  box-shadow: 0 0 0 2px var(--pp-primary-light);
}

.policy-section li strong {
  display: inline;
  color: var(--pp-text);
  font-weight: 700;
  margin-right: 0.3rem;
}

/* Info Highlight Card in Section 1 */
.info-highlight-card {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-primary-light);
  color: var(--pp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-highlight-body h4 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pp-text);
}

.info-highlight-body p {
  margin: 0 0 0.45rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--pp-text-muted);
}

.info-highlight-body p strong {
  color: var(--pp-text);
}

.info-highlight-body a {
  color: var(--pp-primary);
  text-decoration: none;
  font-weight: 600;
}

.info-highlight-body a:hover {
  text-decoration: underline;
}

/* Interactive Feature Callout Grid */
.feature-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.feature-callout {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-callout:hover {
  border-color: var(--pp-primary);
  transform: translateY(-2px);
  box-shadow: var(--pp-shadow-sm);
}

.feature-callout__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-primary-light);
  color: var(--pp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.feature-callout h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--pp-text);
}

.feature-callout p {
  font-size: 0.9rem;
  color: var(--pp-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Specific Highlight: Closed-loop wallet badge */
.badge-highlight-callout {
  background: linear-gradient(135deg, rgba(21, 126, 61, 0.08) 0%, rgba(21, 126, 61, 0.02) 100%);
  border: 1px solid rgba(21, 126, 61, 0.25);
  border-radius: var(--pp-radius-md);
  padding: 1.35rem 1.65rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.badge-highlight-callout i {
  color: var(--pp-primary);
  font-size: 1.45rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.badge-highlight-callout-text h5 {
  font-size: 0.985rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--pp-primary-dark);
}

.dark .badge-highlight-callout-text h5 {
  color: #7cd9a6;
}

.badge-highlight-callout-text p {
  margin: 0;
  font-size: 0.915rem;
  color: var(--pp-text);
  line-height: 1.65;
}

/* Use Cases Grid in Section 4 */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.use-case-item {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.use-case-item i {
  font-size: 1.25rem;
  color: var(--pp-primary);
  background: var(--pp-primary-light);
  width: 38px;
  height: 38px;
  border-radius: var(--pp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.use-case-item h5 {
  margin: 0 0 0.35rem;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--pp-text);
}

.use-case-item p {
  margin: 0;
  font-size: 0.885rem;
  color: var(--pp-text-muted);
  line-height: 1.55;
}

/* Security Features Grid in Section 7 */
.security-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.security-feature {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.security-feature i {
  font-size: 1.25rem;
  color: var(--pp-blue);
  background: var(--pp-blue-light);
  width: 38px;
  height: 38px;
  border-radius: var(--pp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.security-feature h5 {
  margin: 0 0 0.35rem;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--pp-text);
}

.security-feature p {
  margin: 0;
  font-size: 0.885rem;
  color: var(--pp-text-muted);
  line-height: 1.55;
}

/* Retention Table in Section 8 */
.retention-table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--pp-radius-md);
  border: 1px solid var(--pp-border);
}

.retention-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.retention-table th {
  background: var(--pp-border-light);
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  color: var(--pp-text);
  border-bottom: 2px solid var(--pp-border);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.retention-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--pp-border-light);
  color: var(--pp-text);
  line-height: 1.6;
}

.retention-table tr:last-child td {
  border-bottom: none;
}

.retention-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--pp-radius-full);
  background: var(--pp-primary-light);
  color: var(--pp-primary);
  white-space: nowrap;
}

/* Rights Checklist Grid in Section 9 */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0;
}

.right-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.25rem;
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.right-card:hover {
  border-color: var(--pp-primary);
  transform: translateY(-2px);
}

.right-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pp-primary-light);
  color: var(--pp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.right-card__content h4 {
  font-size: 0.975rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--pp-text);
}

.right-card__content p {
  font-size: 0.865rem;
  color: var(--pp-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Rights Action Card in Section 9 */
.rights-action-card {
  background: linear-gradient(135deg, rgba(21, 126, 61, 0.08) 0%, rgba(2, 132, 199, 0.06) 100%);
  border: 1px solid rgba(21, 126, 61, 0.22);
  border-radius: var(--pp-radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.rights-action-card i {
  font-size: 1.35rem;
  color: var(--pp-primary);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--pp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--pp-shadow-sm);
}

.rights-action-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pp-text);
}

.rights-action-card p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--pp-text);
}

.rights-action-card a {
  color: var(--pp-primary);
  font-weight: 700;
  text-decoration: none;
}

.rights-action-card a:hover {
  text-decoration: underline;
}

/* Cookie Types Grid in Section 11 */
.cookie-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.cookie-type-card {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.45rem;
}

.cookie-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--pp-radius-full);
  margin-bottom: 0.85rem;
}

.cookie-tag--essential {
  background: var(--pp-primary-light);
  color: var(--pp-primary);
}

.cookie-tag--pref {
  background: var(--pp-purple-light);
  color: var(--pp-purple);
}

.cookie-tag--perf {
  background: var(--pp-blue-light);
  color: var(--pp-blue);
}

.cookie-type-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--pp-text);
}

.cookie-type-card p {
  font-size: 0.885rem;
  color: var(--pp-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Contact Cards in Section 13 */
.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-detail-card {
  background: var(--pp-border-light);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.contact-detail-card:hover {
  border-color: var(--pp-primary);
  background: var(--pp-card-bg);
  transform: translateY(-2px);
  box-shadow: var(--pp-shadow-sm);
}

.contact-detail-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--pp-radius-md);
  background: var(--pp-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
}

.contact-detail-card h4 {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pp-text-muted);
  margin: 0 0 0.45rem;
}

.contact-detail-card .contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pp-text);
  margin: 0 0 0.35rem;
  word-break: break-word;
}

.contact-detail-card a.contact-val {
  text-decoration: none;
  color: var(--pp-primary);
  transition: color 0.2s ease;
}

.contact-detail-card a.contact-val:hover {
  color: var(--pp-primary-dark);
  text-decoration: underline;
}

.contact-detail-card .contact-sub {
  font-size: 0.8rem;
  color: var(--pp-text-muted);
  line-height: 1.4;
}

/* Floating Bottom-Right Privacy Badge on Landing Page */
.floating-privacy-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--pp-radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-privacy-pill i {
  color: #7cd9a6;
  font-size: 0.9rem;
}

.floating-privacy-pill:hover {
  background: #157E3D;
  border-color: #3daa6a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 126, 61, 0.35);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .privacy-sidebar {
    position: static;
    max-height: none;
    order: 2;
  }
  .privacy-content {
    order: 1;
    padding: 2.5rem 2rem;
  }
  .privacy-hero-actions {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 3.75rem 1.25rem 3rem;
  }
  .privacy-hero h1 {
    font-size: 2.15rem;
  }
  .privacy-trust-strip {
    grid-template-columns: 1fr;
  }
  .privacy-content {
    padding: 1.85rem 1.35rem;
    border-radius: var(--pp-radius-md);
  }
  .policy-section h2 {
    font-size: 1.35rem;
  }
  .section-anchor {
    font-size: 1.35rem;
  }
  .privacy-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .floating-privacy-pill {
    bottom: 16px;
    right: 16px;
    padding: 0.5rem 0.85rem;
    font-size: 0.775rem;
  }
}

/* Print Stylesheet */
@media print {
  #reading-progress-bar,
  .privacy-hero-actions,
  .privacy-sidebar,
  .floating-privacy-pill,
  .site-footer,
  .privacy-trust-strip,
  .btn-copy-section,
  header,
  nav {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .privacy-hero {
    background: none !important;
    color: #000 !important;
    padding: 1rem 0 !important;
    border: none !important;
  }
  .privacy-hero h1 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 1.8rem !important;
  }
  .privacy-hero p.hero-subtitle {
    color: #333 !important;
  }
  .privacy-content {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .policy-section {
    page-break-inside: avoid;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
}
