/* =========================================
   GENTLE VIBE BD — policy.css
   Shared styles for Terms & Conditions / Privacy Policy
   Built on top of products.css design tokens
   ========================================= */

/* =========================================
   LEGAL HERO HIGHLIGHTS (quick-glance cards)
   ========================================= */
.legal-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: -50px auto 0;
  padding: 0 40px;
  position: relative;
  z-index: 3;
}

.legal-highlight-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: var(--transition);
}

.legal-highlight-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-4px);
}

.legal-highlight-icon { font-size: 24px; display: block; margin-bottom: 10px; }

.legal-highlight-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.legal-highlight-card span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================
   UPDATED BADGE
   ========================================= */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 0.3px;
  padding: 7px 16px;
  border-radius: 50px;
  margin: 44px auto 0;
}

.updated-badge-wrap { text-align: center; }

/* =========================================
   TOC CHIP NAV (sticky, mirrors .filter-bar)
   ========================================= */
.toc-bar {
  position: sticky;
  top: var(--navbar-h);
  z-index: 50;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 40px;
  margin: 36px 0 0;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  scrollbar-width: none;
}

.toc-bar::-webkit-scrollbar { display: none; }

.toc-btn {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: #888;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.toc-btn:hover { border-color: var(--gold); color: var(--gold); }

.toc-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* =========================================
   POLICY CONTENT
   ========================================= */
.policy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 40px 30px;
}

.policy-intro {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 10px;
}

.policy-section {
  padding: 46px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  scroll-margin-top: calc(var(--navbar-h) + 78px);
}

.policy-section:last-of-type { border-bottom: none; }

.policy-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.policy-heading-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.policy-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.policy-heading h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.policy-section p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
}

.policy-section ul {
  list-style: none;
  margin: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-section ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.policy-section strong { color: var(--white); font-weight: 600; }

/* Callout box for important notices */
.policy-callout {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 10px 0 18px;
  font-size: 13.5px;
  color: #d8cda0;
  line-height: 1.8;
}

.policy-callout strong { color: var(--gold-light); }

/* =========================================
   CONTACT CTA CARD
   ========================================= */
.legal-cta {
  max-width: 760px;
  margin: 10px auto 70px;
  padding: 0 40px;
}

.legal-cta-inner {
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 18px;
  padding: 38px 34px;
  text-align: center;
}

.legal-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}

.legal-cta-inner h3 em { font-style: normal; color: var(--gold); }

.legal-cta-inner p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.legal-cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-cta-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.legal-cta-btn-primary {
  background: var(--gold);
  color: var(--black);
}

.legal-cta-btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.3);
}

.legal-cta-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.legal-cta-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================
   CROSS LINK (Terms <-> Privacy)
   ========================================= */
.legal-crosslink {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: -30px auto 60px;
}

.legal-crosslink a { color: var(--gold); transition: color 0.25s; }
.legal-crosslink a:hover { color: var(--gold-light); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 26px; left: 24px;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .legal-highlights { grid-template-columns: repeat(2, 1fr); margin-top: -36px; padding: 0 24px; }
}

@media (max-width: 768px) {
  .legal-highlights { margin-top: -28px; padding: 0 16px; gap: 10px; }
  .legal-highlight-card { padding: 16px 12px; }
  .toc-bar { padding: 14px 16px; gap: 8px; }
  .toc-btn { padding: 8px 14px; font-size: 12px; }
  .policy-wrap { padding: 44px 18px 10px; }
  .policy-heading h2 { font-size: 21px; }
  .policy-section { padding: 34px 0; }
  .legal-cta { padding: 0 16px; }
  .legal-cta-inner { padding: 30px 22px; }
  .back-to-top { left: 16px; bottom: 18px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .legal-highlights { grid-template-columns: 1fr 1fr; }
}

