* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #2d3748;
  line-height: 1.7;
  font-size: 1.6rem; /* 16px */
}

/* Main Container */
.privacy-policy {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem; /* 40px 20px */
  gap: 3rem; /* 30px */
  min-height: 100vh; /* Ensures container is tall enough for sticky */
}

/* Sidebar Navigation */
.privacy-policy__sidebar {
  width: 25rem; /* 250px */
  position: sticky;
  top: 2rem; /* 20px */
  align-self: flex-start; /* Aligns to start of flex container */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.2rem; /* 12px */
  padding: 2rem; /* 20px */
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.1); /* 4px 20px */
  transition: transform 0.3s ease;
  max-height: calc(100vh - 4rem); /* Limits height to viewport minus padding */
  overflow-y: auto; /* Allows scrolling if content overflows */
}

.privacy-policy__sidebar:hover {
  transform: translateY(-0.5rem); /* -5px */
}

.privacy-policy__nav-title {
  font-size: 1.8rem; /* 18px */
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem; /* 15px */
}

.privacy-policy__nav-list {
  list-style: none;
}

.privacy-policy__nav-item {
  margin-bottom: 1rem; /* 10px */
}

.privacy-policy__nav-link {
  text-decoration: none;
  color: #4a5568;
  font-size: 1.5rem; /* 15px */
  display: block;
  padding: 0.8rem 1.2rem; /* 8px 12px */
  border-radius: 0.6rem; /* 6px */
  transition: all 0.3s ease;
}

.privacy-policy__nav-link:hover {
  background: #e2e8f0;
  color: #2b6cb0;
  transform: translateX(0.5rem); /* 5px */
}

/* Main Content */
.privacy-policy__content {
  flex: 1;
  background: #ffffff;
  border-radius: 1.2rem; /* 12px */
  padding: 4rem; /* 40px */
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.1); /* 4px 20px */
}

.privacy-policy__header {
  text-align: center;
  margin-bottom: 4rem; /* 40px */
}

.privacy-policy__title {
  font-size: 3.2rem; /* 32px */
  color: #1a202c;
  font-weight: 800;
  margin-bottom: 1rem; /* 10px */
  background: linear-gradient(to right, #2b6cb0, #805ad5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-policy__last-updated {
  font-size: 1.4rem; /* 14px */
  color: #718096;
  font-style: italic;
  text-align: center;
}

.privacy-policy__section {
  margin-bottom: 3rem; /* 30px */
  border-left: 0.4rem solid #e2e8f0; /* 4px */
  padding-left: 2rem; /* 20px */
  transition: border-color 0.3s ease;
}

.privacy-policy__section:hover {
  border-color: #2b6cb0;
}

.privacy-policy__section-title {
  font-size: 2.2rem; /* 22px */
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 1.5rem; /* 15px */
}

.privacy-policy__subsection {
  margin-left: 1.5rem; /* 15px */
  margin-bottom: 2rem; /* 20px */
}

.privacy-policy__subsection-title {
  font-size: 1.8rem; /* 18px */
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1rem; /* 10px */
}

.privacy-policy__text {
  font-size: 1.6rem; /* 16px */
  color: #4a5568;
  margin-bottom: 1.5rem; /* 15px */
}

.privacy-policy__text a {
  color: #2b6cb0;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.privacy-policy__text a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0.2rem; /* 2px */
  bottom: -0.2rem; /* -2px */
  left: 0;
  background: #2b6cb0;
  transition: width 0.3s ease;
}

.privacy-policy__text a:hover {
  color: #1a4971;
}

.privacy-policy__text a:hover::after {
  width: 100%;
}

.privacy-policy__list {
  list-style-type: decimal;
  margin-left: 2rem; /* 20px */
  margin-bottom: 1.5rem; /* 15px */
}

.privacy-policy__list-item {
  margin-bottom: 1rem; /* 10px */
}

.privacy-policy__sublist {
  list-style-type: disc;
  margin-left: 2rem; /* 20px */
  margin-top: 1rem; /* 10px */
}

/* Responsive Design */
@media (max-width: 900px) {
  .privacy-policy {
    flex-direction: column;
  }

  .privacy-policy__sidebar {
    width: 100%;
    position: static;
    margin-bottom: 2rem; /* 20px */
    max-height: none; /* Remove max-height on mobile */
  }

  .privacy-policy__content {
    padding: 2rem; /* 20px */
  }

  .privacy-policy__title {
    font-size: 2.8rem; /* 28px */
  }

  .privacy-policy__section-title {
    font-size: 2rem; /* 20px */
  }
}

@media (max-width: 600px) {
  .privacy-policy {
    padding: 2rem 1rem; /* 20px 10px */
  }

  .privacy-policy__title {
    font-size: 2.4rem; /* 24px */
  }

  .privacy-policy__section {
    padding-left: 1rem; /* 10px */
  }

  .privacy-policy__text {
    font-size: 1.4rem; /* 14px */
  }

  .privacy-policy__nav-link {
    font-size: 1.4rem; /* 14px */
    padding: 0.6rem 1rem; /* 6px 10px */
  }
}
