﻿:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-bg: #ecfdf5;
  --accent: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --radius: 16px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

.background-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 380px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #0f766e 100%);
  z-index: -1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 40px 0 24px;
  color: #ffffff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.brand-badge {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 14px;
  color: #a7f3d0;
  margin-top: 4px;
  font-weight: 500;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: #ffffff;
  color: #064e3b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Meta Card */
.meta-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 32px;
  margin-top: 10px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.meta-value.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-size: 13px;
  color: #0369a1;
  width: fit-content;
}

.policy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.badge-success { background: #dcfce7; color: #15803d; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-teal { background: #ccfbf1; color: #0f766e; }

/* Main Policy Body */
.policy-body {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 60px;
}

.callout {
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 36px;
  font-size: 15px;
}

.callout-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.callout strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #14532d;
}

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

.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.policy-section p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.policy-section ul,
.policy-section ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-section code {
  background: #f1f5f9;
  color: #0f766e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  font-family: ui-monospace, Menlo, monospace;
}

.highlight-section {
  background: #f0fdf4;
  padding: 24px;
  border-radius: 14px;
  border-left: 5px solid var(--primary);
}

.highlight-section h2 {
  border-bottom: none;
  color: #065f46;
}

.feature-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #d1fae5;
  margin-top: 14px;
}

.feature-box h3 {
  font-size: 16px;
  color: #065f46;
  margin-bottom: 10px;
}

.feature-box ul {
  margin-bottom: 0;
}

.contact-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.contact-details {
  margin-top: 12px;
}

.contact-details p {
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 15px;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 30px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-container p:first-child {
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .site-header { padding: 24px 0 16px; }
  .header-container { flex-direction: column; align-items: flex-start; }
  .policy-body { padding: 24px 18px; }
  .meta-card { padding: 20px 18px; }
  .brand-title { font-size: 20px; }
}