/* ===== POLICY PAGES (privacy.html, pdpa.html) ===== */

/* Hero */
.policy-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.policy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(245,166,35,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.policy-hero-pdpa {
  background: linear-gradient(135deg, #0f2347 0%, #1a3a6b 50%, #1e4d8c 100%);
}
.policy-hero-inner { position: relative; z-index: 1; }
.policy-hero-icon { display: none; }
.policy-hero h1 {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.policy-hero p { display: none; }
.policy-updated { display: none; }

/* Layout */
.policy-page-wrap { padding: 48px 0 80px; background: #f8f9fb; }
.policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

/* TOC Sidebar */
.policy-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  position: sticky;
  top: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.policy-toc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.toc-link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  padding: 7px 10px;
  border-radius: 7px;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.toc-link:hover { background: #f1f5f9; color: var(--primary); }
.toc-link.active { background: #eff3ff; color: var(--primary); font-weight: 700; }

/* Article */
.policy-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.policy-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.policy-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.policy-sec-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-sec-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.policy-sec-body {
  font-size: 15px;
  color: #334155;
  line-height: 1.9;
}

/* Responsive */
@media (max-width: 860px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .policy-article { padding: 28px 22px; }
  .policy-hero h1 { font-size: 22px; }
}
@media (max-width: 480px) {
  .policy-hero { height: 100px; }
  .policy-page-wrap { padding: 28px 0 60px; }
}
