@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0b2a63;
  --primary-dark: #06183b;
  --secondary: #2b5797;
  --accent: #0a7f26;
  --accent-soft: rgba(10, 127, 38, 0.08);

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border: #e2e8f0;
  --border-focus: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(11, 42, 99, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(11, 42, 99, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* Premium Hero */
.policy-hero {
  background: radial-gradient(circle at top right, #143e8c 0%, var(--primary-dark) 100%);
  padding: 80px 20px 90px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.policy-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-page), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 20px;
}

.policy-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.policy-hero p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

/* Container Layout */
.policy-container {
  max-width: 1240px;
  margin: -40px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Sticky Navigation */
.policy-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.toc-list a:hover {
  background-color: var(--bg-subtle);
  color: var(--primary);
  transform: translateX(3px);
}

.toc-list a.active {
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

/* Main Content Card */
.policy-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  box-shadow: var(--shadow-md);
}

.policy-section {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--border);
}

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

/* Headings with Icon Accent */
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

/* 2-Column Grid Mini Cards for Categorized Data */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.data-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}

.data-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-head i {
  color: var(--accent);
  font-size: 1.1rem;
}

.card-head h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.data-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Styled Lists */
.styled-list {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.styled-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.styled-list li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 1rem;
}

.styled-list li strong {
  color: var(--primary);
}

/* Notice Box */
.notice-box {
  background: rgba(11, 42, 99, 0.03);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.95rem;
}

.notice-box p {
  margin: 0;
  color: var(--text-main);
}

/* Contact Box Card */
.contact-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.contact-box p {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #6ee7b7;
}

/* Responsive */
@media (max-width: 992px) {
  .policy-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .policy-sidebar {
    display: none; /* Hide TOC on mobile for clean scrolling */
  }
  .policy-content {
    padding: 30px 24px;
  }
  .grid-cards {
    grid-template-columns: 1fr;
  }
  .policy-hero h1 {
    font-size: 2rem;
  }
}
