/* privacy-policy.css */
.privacy-policy {
  background-color: #0d0d0d;
  color: #e6e6e6;
  padding: 4rem 2rem;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  margin-top: 4.5rem;
}

.privacy-policy h2::before {
  content: "";
  display: block;
  height: 5rem; 
  margin-top: -5rem; 
  visibility: hidden;
}

.policy-layout {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.policy-container {
  flex: 3;
  a {
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  text-decoration: underline;
}

}


.policy-sidebar {
  flex: 1;
  position: sticky;
  top: 6.5rem;
  align-self: flex-start;
  background: #141414;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  height: fit-content;
}

.policy-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff;
}

.policy-sidebar ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-sidebar li {
  margin-bottom: 0.8rem;
}

.policy-sidebar a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.2s ease;
}

.policy-sidebar a:hover {
  color: #fff;
}

.privacy-policy h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.last-update {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  margin: 0 0 1.5rem 1.5rem;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 0.8rem;
}

.policy-content .note {
  background: #1a1a1a;
  padding: 0.8rem 1rem;
  border-left: 3px solid #7c3aed;
  font-size: 0.9rem;
  color: #ccc;
  border-radius: 5px;
}


/* Mobile responsiveness */
@media (max-width: 900px) {
  .policy-layout {
    flex-direction: column;
  }

  .policy-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

.sidebar-toggle {
  display: none;
}

/* Mobile - hidden by default */
@media screen and (max-width: 900px) {
  .sidebar-toggle {
    position: fixed;
    top: 4.5rem;
    right: 0rem;
    z-index: 1100;
    background: #6b46c1;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
  }

.policy-sidebar {
  position: fixed;
  top: 5.5rem;
  right: -300px;
  width: 280px;
  background: #232323;
  color: #fff;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 100;
  text-align: left;
}

.policy-sidebar.active {
  right: 1rem;
}

}


.icon-wrapper {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.icon-wrapper i {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
}

.icon-wrapper i.fa-angle-right {
  opacity: 0;
}

.icon-wrapper.active i.fa-angle-left {
  opacity: 0;
}

.icon-wrapper.active i.fa-angle-right {
  opacity: 1;
}