/* ─── Policies Navigation Header ─── */
.policy-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background-color: #121212;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .policy-nav-header {
    padding: 0 16px;
    height: 56px;
  }
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 28px;
  width: auto;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 600px) {
  .nav-links {
    gap: 14px;
  }
}

.nav-link {
  color: #a0a0a0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* ─── Policies Hub Page ─── */
.policies-hub-main {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.policies-hub-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.policies-hub-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  width: 100%;
  box-shadow: 0 1px 4px rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.policies-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-list-item {
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.policy-link {
  display: block;
  padding: 12px 16px;
  color: #c0c0c0;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.policy-link:hover {
  color: #188bff;
  background: rgba(24, 139, 255, 0.08);
  border-color: rgba(24, 139, 255, 0.25);
  transform: translateX(4px);
}

.support-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  background-color: #188bff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.support-btn:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 139, 255, 0.35);
}

/* ─── Individual Policy Document View ─── */
.policy-doc-page {
  background-color: #0a0f18;
  color: #ffffff;
  min-height: 100vh;
  padding: 40px 24px;
}

@media (max-width: 768px) {
  .policy-doc-page {
    padding: 24px 16px;
  }
}

.policy-doc-container {
  max-width: 960px;
  margin: 0 auto;
}

.back-btn-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 24px;
  color: #a0a0a0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.back-btn-wrapper:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.back-btn-wrapper svg {
  width: 18px;
  height: 18px;
}

.policy-content-card {
  background-color: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
}

@media (max-width: 768px) {
  .policy-content-card {
    padding: 24px 16px;
  }
}

.policy-big-heading {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.policy-heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #ffffff;
}

.policy-last-updated {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 20px;
}

.policy-para {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.policy-ul,
.policy-ol {
  margin-left: 24px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.policy-li {
  margin-bottom: 6px;
}

.policy-accordion {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 16px 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
}

.policy-summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: background-color 0.2s ease;
}

.policy-summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.policy-accordion-content {
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.2);
}

.policy-inline-link {
  color: #188bff;
  text-decoration: none;
}

.policy-inline-link:hover {
  text-decoration: underline;
}
