/* ══════════════════════════════════════════════════════════
   policy.css — Terms, Privacy & Refund Pages
   Path: /assets/css/policy.css
   ══════════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────── */
.pol-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a8f 60%, #1e4bad 100%);
  padding: 44px 16px 58px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pol-hero::before {
  content: '';
  position: absolute; inset: 0; opacity: .04;
  background: repeating-linear-gradient(45deg,#fff 0,#fff 1px,transparent 1px,transparent 12px);
}
/* Accent variants */
.pol-hero--privacy {
  background: linear-gradient(135deg, #0f2a5c 0%, #1a3a8f 50%, #0e4f3b 100%);
}
.pol-hero--refund {
  background: linear-gradient(135deg, #0f2a5c 0%, #2d1a6e 50%, #1a3a8f 100%);
}

.pol-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 5px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: #93c5fd;
  margin-bottom: 14px;
}
.pol-hero h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800; color: #fff; letter-spacing: -.5px;
  margin-bottom: 8px;
}
.pol-hero p {
  font-size: 14px; color: #93c5fd;
  max-width: 480px; margin: 0 auto 14px;
}
.pol-hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 20px;
}
.pol-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(147,197,253,.75);
}

/* ── LAYOUT ────────────────────────────────────────────── */
.pol-layout {
  max-width: 2000px;
  margin: 0 auto;
  padding: 32px 14px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 860px) {
  .pol-layout {
    grid-template-columns: 210px 1fr;
    padding: 40px 20px 64px;
  }
}

/* ── TOC SIDEBAR ───────────────────────────────────────── */
.pol-toc {
  position: sticky; top: 80px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 859px) {
  .pol-toc { display: none; }
}
.pol-toc-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 7px;
}
.pol-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pol-toc ul a {
  display: block; font-size: 12.5px; color: var(--text-muted);
  text-decoration: none; padding: 6px 10px; border-radius: 7px;
  border-left: 2px solid transparent;
  transition: all .2s; line-height: 1.4;
}
.pol-toc ul a:hover,
.pol-toc ul a.active {
  color: var(--primary); background: var(--bg);
  border-left-color: var(--primary); font-weight: 600;
}

/* ── CONTENT AREA ──────────────────────────────────────── */
.pol-content {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .pol-content { padding: 20px 16px; } }

/* ── INTRO BOX ─────────────────────────────────────────── */
.pol-intro-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 12px; padding: 16px 18px; margin-bottom: 28px;
}
.pol-intro-box--green {
  background: #f0fdf4; border-color: #bbf7d0;
}
.pol-intro-box > i {
  font-size: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px;
}
.pol-intro-box--green > i { color: #16a34a; }
.pol-intro-box strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pol-intro-box p { font-size: 13.5px; color: #334155; line-height: 1.7; margin: 0; }

/* ── SECTIONS ──────────────────────────────────────────── */
.pol-section {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--border);
}
.pol-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.pol-section-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.pol-section-head h2 {
  font-size: clamp(15px, 2.5vw, 19px);
  font-weight: 800; color: var(--navy); line-height: 1.3;
}

/* Icons */
.pol-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.icon-blue   { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: var(--primary); }
.icon-green  { background: linear-gradient(135deg,#dcfce7,#bbf7d0); color: #16a34a; }
.icon-amber  { background: linear-gradient(135deg,#fef9c3,#fde68a); color: #d97706; }
.icon-purple { background: linear-gradient(135deg,#f3e8ff,#e9d5ff); color: #7c3aed; }
.icon-red    { background: linear-gradient(135deg,#fee2e2,#fecaca); color: #dc2626; }
.icon-cyan   { background: linear-gradient(135deg,#cffafe,#a5f3fc); color: #0891b2; }
.icon-pink   { background: linear-gradient(135deg,#fce7f3,#fbcfe8); color: #be185d; }
.icon-navy   { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: var(--navy); }

/* Prose */
.pol-section p {
  font-size: 14.5px; color: #334155;
  line-height: 1.85; margin-bottom: 12px;
}
.pol-section p:last-child { margin-bottom: 0; }
.pol-section ul {
  margin: 10px 0 14px 2px;
  display: flex; flex-direction: column; gap: 8px;
}
.pol-section ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #334155; line-height: 1.7;
}
.pol-section ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 9px;
}

/* ── NOTE BOXES ────────────────────────────────────────── */
.pol-note {
  border-radius: 10px; padding: 14px 16px;
  margin: 16px 0; display: flex; gap: 12px; align-items: flex-start;
}
.pol-note > i { font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.pol-note p { font-size: 13.5px; line-height: 1.7; margin: 0; }

.note-blue  { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.note-blue i { color: #1a56db; }
.note-green { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.note-green i { color: #16a34a; }
.note-amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.note-amber i { color: #d97706; }
.note-red   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.note-red i { color: #dc2626; }

/* ── TABLE ─────────────────────────────────────────────── */
.pol-table-wrap {
  overflow-x: auto; margin: 16px 0;
  border-radius: 10px; border: 1.5px solid var(--border);
}
.pol-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.pol-table th {
  background: var(--navy); color: #fff;
  font-weight: 700; padding: 11px 14px; text-align: left;
  font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
}
.pol-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  color: #334155; vertical-align: top;
}
.pol-table tr:last-child td { border-bottom: none; }
.pol-table tr:nth-child(even) td { background: var(--bg); }

/* ── REFUND SUMMARY CARDS ──────────────────────────────── */
.pol-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 600px) { .pol-summary-grid { grid-template-columns: repeat(4, 1fr); } }

.pol-summary-card {
  border-radius: 12px; padding: 16px 14px;
  text-align: center; border: 1.5px solid transparent;
}
.pol-summary-card i {
  font-size: 22px; display: block; margin-bottom: 8px;
}
.pol-summary-card strong {
  display: block; font-size: 13px; font-weight: 700; margin-bottom: 3px;
}
.pol-summary-card span { font-size: 11.5px; line-height: 1.4; display: block; }

.pol-summary-green  { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.pol-summary-green i { color: #16a34a; }
.pol-summary-blue   { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.pol-summary-blue i { color: var(--primary); }
.pol-summary-amber  { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.pol-summary-amber i { color: #d97706; }
.pol-summary-purple { background: #faf5ff; border-color: #e9d5ff; color: #5b21b6; }
.pol-summary-purple i { color: #7c3aed; }

/* ── PROCESS STEPS (Refund page) ───────────────────────── */
.pol-steps {
  display: flex; flex-direction: column; gap: 14px;
  margin: 18px 0 6px;
}
@media (min-width: 600px) {
  .pol-steps { display: grid; grid-template-columns: 1fr 1fr; }
}
.pol-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 16px 14px;
}
.pol-step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(26,86,219,.3);
}
.pol-step strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.pol-step p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── CONTACT STRIP ─────────────────────────────────────── */
.pol-contact-strip {
  background: linear-gradient(135deg, var(--navy), #1a3a8f);
  border-radius: 14px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 12px;
}
@media (min-width: 640px) {
  .pol-contact-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}
.pol-contact-item {
  display: flex; align-items: center; gap: 12px;
}
.pol-contact-item > i {
  font-size: 20px; color: #60a5fa; flex-shrink: 0;
}
.pol-contact-item strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.pol-contact-item span   { font-size: 12.5px; color: #93c5fd; }
.pol-contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; white-space: nowrap;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: transform .2s;
  box-shadow: 0 4px 14px rgba(26,86,219,.4); flex-shrink: 0;
}
.pol-contact-btn:hover { transform: translateY(-2px); }