/* ==========================================================================
   AImHigh — Policy Pages Stylesheet
   ========================================================================== */

:root {
  --color-bg-dark: #0a0a1a;
  --color-bg-dark-2: #1a1a2e;
  --color-primary: #e94560;
  --color-primary-hover: #d63851;
  --color-secondary: #533483;
  --color-gradient-start: #e94560;
  --color-gradient-end: #533483;
  --color-text-light: #ffffff;
  --color-text-dark: #1a1a2e;
  --color-text-muted-dark: #6b7280;
  --color-bg-light: #f8f9fa;
  --color-bg-white: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-height: 72px;
  --transition-speed: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* ---------- Policy Navbar ---------- */
.policy-navbar {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  z-index: 100;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.policy-navbar .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.policy-navbar .nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-light);
  letter-spacing: -0.02em;
}

.policy-navbar .nav-logo span {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-navbar .back-link {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.policy-navbar .back-link:hover {
  opacity: 1;
  text-decoration: none;
}

/* ---------- Policy Content ---------- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.policy-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.policy-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.policy-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.policy-content p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: #374151;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policy-content ul {
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.policy-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: #374151;
}

.policy-content strong {
  color: var(--color-text-dark);
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}

.policy-content table th,
.policy-content table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9375rem;
}

.policy-content table th {
  font-weight: 600;
  background: var(--color-bg-light);
}

/* ---------- Policy Footer ---------- */
.policy-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 32px 0;
  text-align: center;
}

.policy-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.policy-footer p {
  font-size: 0.8125rem;
  opacity: 0.4;
  margin-bottom: 8px;
}

.policy-footer a {
  color: var(--color-text-light);
  opacity: 0.5;
  font-size: 0.8125rem;
  margin: 0 12px;
  transition: opacity var(--transition-speed);
}

.policy-footer a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .policy-content h1 {
    font-size: 1.75rem;
  }

  .policy-content h2 {
    font-size: 1.25rem;
  }

  .policy-content {
    padding: 40px 16px 64px;
  }
}
