/* Policy Pages Styles */
.policy-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.policy-header .logo {
  height: 40px;
  width: auto;
}

.policy-header .logo-link {
  text-decoration: none;
}

.policy-main {
  min-height: calc(100vh - 200px);
  padding: 60px 0;
  background: var(--background);
}

.policy-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 30px var(--shadow);
  margin-bottom: 40px;
}

.policy-content-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--border);
}

.policy-content-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.2;
}

.policy-meta {
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  margin: 0;
}

.policy-body {
  line-height: 1.8;
}

.policy-section {
  margin-bottom: 50px;
}

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

.policy-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.policy-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 30px 0 20px 0;
}

.policy-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.policy-section ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.policy-section li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.policy-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

.policy-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.policy-section a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-info {
  background: var(--background);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Policy Pages Responsive Design */
@media (max-width: 992px) {
  .policy-content {
    padding: 40px;
  }

  .policy-content-header h1 {
    font-size: 2.5rem;
  }

  .policy-section h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .policy-main {
    padding: 40px 0;
  }

  .policy-content {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .policy-content-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .policy-content-header h1 {
    font-size: 2rem;
  }

  .policy-section {
    margin-bottom: 40px;
  }

  .policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .policy-section h3 {
    font-size: 1.25rem;
    margin: 25px 0 15px 0;
  }

  .policy-section p,
  .policy-section li {
    font-size: 1rem;
  }

  .contact-info {
    padding: 20px;
  }

  .policy-header .container nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .policy-content {
    padding: 25px 15px;
    margin: 0 10px;
    border-radius: 15px;
  }

  .policy-content-header h1 {
    font-size: 1.75rem;
  }

  .policy-section h2 {
    font-size: 1.35rem;
  }

  .policy-section h3 {
    font-size: 1.15rem;
  }

  .policy-section p,
  .policy-section li {
    font-size: 0.95rem;
  }

  .contact-info {
    padding: 15px;
  }
}

/* Dark mode specific adjustments for policy pages */
[data-theme="dark"] .policy-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-info {
  background: var(--surface);
  border-left-color: var(--primary-color);
}

[data-theme="dark"] .policy-header {
  backdrop-filter: blur(10px);
  background: rgba(var(--background-rgb), 0.95);
}

/* Smooth transitions for theme switching on policy pages */
.policy-content,
.policy-header,
.contact-info {
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.policy-content-header h1,
.policy-section h2,
.policy-section h3,
.policy-section p,
.policy-section li,
.policy-meta {
  transition: color 0.3s ease;
}
