/* ==========================================================================
   Pogomon Legal Pages Design System (Privacy Policy & Terms of Service)
   Author: Deyvid Jaguaribe de Lira
   Palette inspired by Pogomon Attributes (PWR, SPD, GRD, ARC, HRT)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-body: #090c13;
  --bg-card: rgba(17, 24, 39, 0.78);
  --bg-card-hover: rgba(24, 34, 53, 0.88);
  --bg-card-solid: #111827;
  --bg-badge: rgba(255, 255, 255, 0.06);
  --bg-code: rgba(15, 23, 42, 0.8);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(169, 116, 255, 0.35);

  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090c13;

  /* Pogomon Core Colors */
  --pogomon-pwr: #FF5A5F;
  --pogomon-spd: #FFD23F;
  --pogomon-grd: #3FA7FF;
  --pogomon-arc: #A974FF;
  --pogomon-hrt: #FF7EB6;

  --primary: #A974FF;
  --primary-hover: #c09bff;
  --primary-glow: rgba(169, 116, 255, 0.22);
  --secondary: #3FA7FF;
  --success: #34d399;
  --warning: #FFD23F;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-glass);
  --shadow-glow: 0 0 35px var(--primary-glow);

  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.ambient-glow-1 {
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--pogomon-arc) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 40%;
  left: -15%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--pogomon-grd) 0%, transparent 70%);
}

.ambient-glow-3 {
  bottom: 0%;
  right: 10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--pogomon-pwr) 0%, transparent 70%);
  opacity: 0.18;
}

/* Reading Progress Bar */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pogomon-pwr), var(--pogomon-spd), var(--pogomon-arc), var(--pogomon-grd));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Navigation Bar */
.legal-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 12, 19, 0.82);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity var(--transition-fast);
}

.brand-wrapper:hover {
  opacity: 0.9;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--pogomon-arc), var(--pogomon-grd));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(169, 116, 255, 0.35);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-badge);
  border-color: var(--border-glass);
}

.nav-link.btn-cta {
  background: rgba(169, 116, 255, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(169, 116, 255, 0.3);
}

.nav-link.btn-cta:hover {
  background: rgba(169, 116, 255, 0.22);
  color: #fff;
  box-shadow: 0 0 15px rgba(169, 116, 255, 0.35);
}

/* Page Layout */
.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  position: relative;
  z-index: 10;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

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

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

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Hero Header */
.hero-header {
  background: linear-gradient(135deg, rgba(26, 33, 53, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 2.5rem;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pogomon-pwr), var(--pogomon-spd), var(--pogomon-arc), var(--pogomon-grd), var(--pogomon-hrt));
}

.hero-pill-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.pill-game {
  background: rgba(169, 116, 255, 0.15);
  color: #e9d5ff;
  border: 1px solid rgba(169, 116, 255, 0.35);
}

.pill-status {
  background: rgba(52, 211, 153, 0.15);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.pill-platform {
  background: rgba(63, 167, 255, 0.12);
  color: #bae6fd;
  border: 1px solid rgba(63, 167, 255, 0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border-glass-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.action-btn.primary {
  background: linear-gradient(135deg, #9333ea, #6366f1);
  border: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.35);
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, #a855f7, #4f46e5);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
}

/* Quick Summary Cards (Visual Highlights) */
.quick-highlights {
  margin-bottom: 3rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pogomon-arc);
  margin-bottom: 1rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.highlight-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.icon-offline {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.icon-privacy {
  background: rgba(169, 116, 255, 0.15);
  color: #c084fc;
  border: 1px solid rgba(169, 116, 255, 0.3);
}

.icon-noads {
  background: rgba(255, 90, 95, 0.15);
  color: #ff767a;
  border: 1px solid rgba(255, 90, 95, 0.3);
}

.icon-telemetry {
  background: rgba(63, 167, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(63, 167, 255, 0.3);
}

.icon-save {
  background: rgba(255, 210, 63, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(255, 210, 63, 0.3);
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Two-column Main Content */
.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sticky Sidebar Table of Contents */
.legal-sidebar {
  position: sticky;
  top: 5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.825rem;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.toc-link:hover {
  color: var(--text-main);
  background: var(--bg-badge);
}

.toc-link.active {
  color: #fff;
  background: rgba(169, 116, 255, 0.12);
  border-left-color: var(--pogomon-arc);
  font-weight: 600;
}

.toc-num {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.75rem;
  min-width: 1.3rem;
}

.toc-link.active .toc-num {
  color: var(--pogomon-arc);
}

.sidebar-contact-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.825rem;
}

.sidebar-contact-box p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sidebar-contact-link {
  color: var(--primary-hover);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar-contact-link:hover {
  text-decoration: underline;
}

/* Legal Content Body */
.legal-content {
  min-width: 0;
}

.legal-section {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 6rem;
  transition: border-color var(--transition-fast);
}

.legal-section:hover {
  border-color: var(--border-glass-strong);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.section-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pogomon-arc);
  background: rgba(169, 116, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(169, 116, 255, 0.3);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0;
}

.legal-section p {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

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

.legal-section strong {
  color: #ffffff;
  font-weight: 600;
}

.legal-section ul, .legal-section ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.legal-section li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.legal-section li strong {
  color: #fff;
}

/* Callout Alert Boxes */
.callout {
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  border-left: 4px solid;
  font-size: 0.92rem;
  line-height: 1.7;
}

.callout-info {
  background: rgba(63, 167, 255, 0.08);
  border-color: var(--pogomon-grd);
  color: #bfdbfe;
}

.callout-info strong {
  color: #93c5fd;
}

.callout-success {
  background: rgba(52, 211, 153, 0.08);
  border-color: var(--success);
  color: #a7f3d0;
}

.callout-success strong {
  color: #6ee7b7;
}

.callout-warning {
  background: rgba(255, 210, 63, 0.08);
  border-color: var(--pogomon-spd);
  color: #fde68a;
}

.callout-warning strong {
  color: #fef08a;
}

/* Comparison / Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

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

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-glass-strong);
  white-space: nowrap;
}

.legal-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-glass);
  color: #cbd5e1;
  vertical-align: top;
}

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

.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-no {
  background: rgba(255, 90, 95, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(255, 90, 95, 0.3);
}

.badge-yes {
  background: rgba(52, 211, 153, 0.15);
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge-cond {
  background: rgba(63, 167, 255, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(63, 167, 255, 0.3);
}

/* Contact Card */
.contact-card {
  background: linear-gradient(135deg, rgba(169, 116, 255, 0.08) 0%, rgba(63, 167, 255, 0.05) 100%);
  border: 1px solid rgba(169, 116, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.contact-card-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pogomon-arc);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(169, 116, 255, 0.35);
}

.contact-button:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(169, 116, 255, 0.5);
  transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-strong);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(169, 116, 255, 0.4);
}

/* Footer */
.legal-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(9, 12, 19, 0.95);
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 10;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0.75rem 1rem;
  }

  .page-container {
    padding: 1.5rem 1rem 3.5rem;
  }

  .hero-header {
    padding: 2rem 1.5rem;
  }

  .hero-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .action-btn {
    width: 100%;
    justify-content: center;
  }

  .legal-section {
    padding: 1.5rem 1.25rem;
  }

  .section-header h2 {
    font-size: 1.25rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

/* Print Optimization */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }

  .ambient-glow,
  .legal-navbar,
  .hero-actions,
  .back-to-top,
  .legal-sidebar,
  .breadcrumb-nav,
  #readingProgress,
  .legal-footer {
    display: none !important;
  }

  .page-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .hero-header {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 1.5rem 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
  }

  .hero-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
  }

  .legal-layout {
    display: block !important;
  }

  .legal-section {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    page-break-inside: avoid;
  }

  .legal-section p, .legal-section li {
    color: #334155 !important;
  }

  .callout {
    border-left: 3px solid #64748b !important;
    background: #f8fafc !important;
    color: #1e293b !important;
  }

  .legal-table {
    border: 1px solid #cbd5e1 !important;
  }

  .legal-table th, .legal-table td {
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
  }
}
