/* ==========================================================
   ROOTMAN — compliance.css
   ========================================================== */

/* ----------------------------------------------------------
   Page Hero
   ---------------------------------------------------------- */
.page-hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 560px;
}

/* ----------------------------------------------------------
   Disclaimer Modal
   ---------------------------------------------------------- */
body.modal-open {
  overflow: hidden;
}

.disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.disclaimer-modal.show {
  display: flex;
}

.disclaimer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,22,40,0.72);
  backdrop-filter: blur(4px);
}

.disclaimer-modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  background: var(--white);
  border-radius: 16px;
  padding: 28px 28px 24px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.disclaimer-modal-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.disclaimer-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 14px;
}

.disclaimer-modal-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0 0 12px;
}

.disclaimer-modal-reviewed {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 6px 0 18px;
}

.disclaimer-modal-btn {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.disclaimer-modal-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ----------------------------------------------------------
   Tabs Section
   ---------------------------------------------------------- */
.tabs-section {
  padding: 90px 0 80px;
  background: #d4cfc4;
  position: relative;
  overflow: hidden;
}

.tabs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.14) 1px, transparent 1px),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(11,34,64,0.06) 0%, transparent 55%);
  background-size: 58px 58px, 58px 58px, 100% 100%, 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.tabs-section::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: inset 0 0 120px rgba(201,168,76,0.05);
  pointer-events: none;
  z-index: 0;
}

.tabs-section .section-inner,
.tab-buttons,
.tab-content {
  position: relative;
  z-index: 2;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.tab-btn {
  background: var(--white);
  color: var(--text-mid);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1.5px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tab-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.tab-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.tab-content {
  display: none;
  animation: fadeUpTab 0.35s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeUpTab {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   Accordion
   ---------------------------------------------------------- */
.accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: transparent;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  border: none;
  text-align: left;
}

.accordion-header:hover {
  background: rgba(11,34,64,0.88);
}

.accordion-header.open {
  border-bottom: 2px solid var(--gold);
}

.accordion-arrow {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.accordion-header.open .accordion-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.accordion-body {
  display: none;
  padding: 28px 24px;
  background: var(--white);
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

.accordion-body.open {
  display: block;
}

.accordion-body p {
  margin: 0 0 14px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body ul {
  margin: 10px 0 16px 20px;
  padding: 0;
}

.accordion-body ul li {
  margin-bottom: 8px;
  color: var(--text-mid);
}

.accordion-body a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid rgba(11,34,64,0.2);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.accordion-body a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ----------------------------------------------------------
   Table
   ---------------------------------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  border-radius: 8px;
  overflow: hidden;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-mid);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: var(--off-white);
}

.data-table .gold {
  color: #a07830;
  font-weight: 600;
}

/* ----------------------------------------------------------
   Info and Warning Boxes
   ---------------------------------------------------------- */
.info-box,
.warning-box,
.caution-box {
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
}

.info-box {
  background: #eef4fb;
  border-left: 3px solid var(--navy);
  color: var(--navy-mid);
}

.warning-box {
  background: #fffbef;
  border-left: 3px solid var(--gold);
  color: #7a5c00;
}

.caution-box {
  background: #fef8f0;
  border-left: 3px solid #c98a2e;
  color: #7a4a00;
}

.info-box strong,
.caution-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.compliance-cta {
  padding: 90px 0 80px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.compliance-cta::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%);
  z-index: 0;
}

.compliance-cta .cta-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.compliance-cta-title,
.compliance-cta .section-title {
  color: #ffffff !important;
}

.compliance-cta-title em,
.compliance-cta .section-title em {
  color: var(--gold) !important;
}

.compliance-cta .section-desc,
.compliance-cta .section-desc-white {
  color: rgba(255,255,255,0.72) !important;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
}

.cta-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.3);
  transform: translateX(4px);
}

.cta-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.cta-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.cta-card-detail {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.cta-card-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  min-width: 96px;
  height: 40px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.cta-card-btn:hover {
  transform: translateY(-1px);
}

.btn-navy-sm {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-navy-sm:hover {
  background: rgba(255,255,255,0.15);
}

.btn-gold-sm {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold-sm:hover {
  background: var(--gold-light);
}

.btn-whatsapp-sm {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp-sm:hover {
  background: #1ebe5d;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-hero-title {
    font-size: 50px;
  }

  .compliance-cta .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 56px 0 42px;
  }

  .page-hero-inner,
  .section-inner,
  .compliance-cta .cta-inner {
    width: min(100%, calc(100% - 24px));
  }

  .page-hero-title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .page-hero-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .section-title {
    font-size: 36px;
  }

  .tabs-section {
    padding: 42px 0 36px;
  }

  .tabs-section .section-desc {
    margin-bottom: 18px;
  }

  .tab-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }

  .tab-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
  }

  .accordion-grid {
    gap: 8px;
  }

  .accordion-header {
    padding: 16px 16px;
    font-size: 13px;
  }

  .accordion-body {
    padding: 16px 14px;
    font-size: 13px;
    line-height: 1.7;
  }

  .data-table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
  }

  .data-table th,
  .data-table td {
    padding: 9px 10px;
  }

  .compliance-cta {
    padding: 42px 0 36px;
  }

  .compliance-cta .cta-inner {
    gap: 24px;
  }

  .cta-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .cta-card-icon {
    font-size: 22px;
  }

  .cta-card-title {
    font-size: 16px;
  }

  .cta-card-detail {
    font-size: 11px;
    line-height: 1.4;
  }

  .cta-card-btn {
    width: 88px;
    min-width: 88px;
    height: 36px;
    font-size: 11px;
    padding: 0 10px;
  }

  .disclaimer-modal {
    padding: 16px;
  }

  .disclaimer-modal-card {
    width: 100%;
    padding: 22px 18px 18px;
    border-radius: 14px;
  }

  .disclaimer-modal-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .disclaimer-modal-text {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 10px;
  }

  .disclaimer-modal-reviewed {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .disclaimer-modal-btn {
    min-height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 30px;
  }

  .tab-buttons {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    gap: 6px;
  }

  .tab-btn {
    font-size: 10px;
    padding: 9px 6px;
  }
}