/* ==========================================================================
   Creative Research Associates (CRA) - Full Parallax Website Stylesheet
   Designed according to design/parallax-page.md & parallax-website-prompt.md
   ========================================================================== */

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

:root {
  --bg-deep: #070A12;
  --bg-slate: #1C2541;
  --bg-navy: #0B132B;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F3E5AB;
  --accent-purple: #7928CA;
  --accent-cyan: #00F0FF;
  --text-primary: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-dim: rgba(255, 255, 255, 0.45);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background-color: var(--bg-deep);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: clip;
  position: relative;
}

/* Persistent Header Bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.85) 0%, rgba(7, 10, 18, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.site-logo-text {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.2px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--accent-gold-light);
}

.nav-links a.active {
  color: var(--accent-gold);
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

/* Mobile Hamburger Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Fullscreen Hero Parallax Sections */
.parallax-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Background Image Layer with Parallax Transform */
.parallax-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center right;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* High-Contrast Integrated Scrim (Left negative space mask) */
.parallax-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(6, 9, 17, 0.94) 0%,
    rgba(6, 9, 17, 0.82) 35%,
    rgba(6, 9, 17, 0.45) 65%,
    rgba(6, 9, 17, 0.70) 100%
  );
  pointer-events: none;
}

/* Content Container (Left 50% Negative Space Focus) */
.section-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-text-block {
  max-width: 680px;
  padding-right: 40px;
}

.section-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  background: rgba(212, 175, 55, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.section-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.section-subtitle {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Action Pill (Bottom Right) */
.section-action-wrapper {
  position: absolute;
  bottom: 48px;
  right: 64px;
  z-index: 4;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-pill:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 15px 35px rgba(121, 40, 202, 0.35), 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.action-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* Modal Dialog for Details */
.detail-modal-backdrop {
  --modal-margin-y: 36px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--modal-margin-y) 24px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.detail-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal {
  width: 100%;
  max-width: 1060px;
  height: calc(100vh - (var(--modal-margin-y) * 2));
  height: calc(100dvh - (var(--modal-margin-y) * 2));
  max-height: calc(100vh - (var(--modal-margin-y) * 2));
  max-height: calc(100dvh - (var(--modal-margin-y) * 2));
  background: #0B1120;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.detail-modal-backdrop.active .detail-modal {
  transform: translateY(0) scale(1);
}

.modal-top-bar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 20, 36, 0.98);
  gap: 12px;
  flex-wrap: wrap;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-section-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.modal-source-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.modal-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.modal-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.modal-tab-btn.active {
  color: #0E1424;
  background: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-header-text {
  flex-shrink: 0;
  padding: 16px 28px 12px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 17, 32, 0.85);
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.detail-modal-body {
  flex: 1 1 0;
  min-height: 0;
  padding: 26px 28px 32px 28px;
  overflow-y: auto;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.detail-modal-body::-webkit-scrollbar {
  width: 6px;
}

.detail-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.detail-modal-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

.detail-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Modal Content Card Styles */
.modal-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 22px;
}

.modal-section-block {
  margin-bottom: 24px;
}

.modal-block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.modal-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

/* Adinkra & Philosophy Card */
.adinkra-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.adinkra-symbol-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adinkra-symbol-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.adinkra-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.adinkra-subtitle {
  font-size: 12px;
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

.philosophy-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.philosophy-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Callout badge / stats */
.highlight-stat-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(121, 40, 202, 0.12) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.highlight-stat-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* Affiliates 8-Tile Grid */
.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.affiliate-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s ease;
}

.affiliate-tile:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.04);
  transform: translateY(-2px);
}

.affiliate-tile-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-cyan);
  font-weight: 700;
}

.affiliate-tile-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.affiliate-tile-desc {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Service & Deliverables Cards */
.deliverables-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.deliverables-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.deliverables-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deliverable-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.pricing-cat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px 18px;
}

.pricing-cat-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.pricing-item-row:last-child {
  border-bottom: none;
}

.pricing-item-name {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-item-tag {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Contact & Enquiry Form in Modal */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
}

.form-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-field.full-width {
  grid-column: 1 / -1;
}

.modal-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-input,
.modal-textarea {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.modal-textarea {
  resize: vertical;
  min-height: 65px;
}

/* Custom Multi-Choice Selector for Modal Forms */
.custom-multiselect-wrap {
  position: relative;
}

.custom-multiselect-trigger {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 6px 12px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-multiselect-wrap.open .custom-multiselect-trigger,
.custom-multiselect-trigger:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
  background: rgba(14, 20, 36, 0.95);
}

.custom-multiselect-wrap.has-error .custom-multiselect-trigger {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.multiselect-selected-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.multiselect-placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.multiselect-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.multiselect-chip:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--accent-gold);
}

.chip-remove {
  background: transparent;
  border: none;
  color: var(--accent-gold-light);
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  margin-left: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.chip-remove:hover {
  opacity: 1;
  transform: scale(1.2);
}

.multiselect-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 4px;
}

.custom-multiselect-wrap.open .multiselect-arrow {
  transform: rotate(180deg);
}

/* Multi-choice Dropdown Menu */
.custom-multiselect-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 120;
  background: #0d1222;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.1);
  padding: 8px;
  backdrop-filter: blur(12px);
  animation: multiselectFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes multiselectFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-multiselect-wrap.open .custom-multiselect-dropdown {
  display: block;
}

.multiselect-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.multiselect-helper-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.multiselect-shortcuts {
  display: flex;
  gap: 8px;
}

.multiselect-action-btn {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.multiselect-action-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.multiselect-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
}

.multiselect-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
  position: relative;
}

.multiselect-option-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.multiselect-option-item.selected {
  background: rgba(212, 175, 55, 0.1);
}

.multiselect-option-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.option-check-indicator {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(7, 10, 18, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.multiselect-option-item:hover .option-check-indicator {
  border-color: var(--accent-gold);
}

.multiselect-option-item.selected .option-check-indicator {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.multiselect-option-item.selected .option-check-indicator::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #0E1424;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.option-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.multiselect-option-item.selected .option-text {
  color: #fff;
  font-weight: 600;
}

/* Screenreader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.custom-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.subscribe-checkbox-wrap {
  padding: 10px 14px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 16px;
}

.modal-submit-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b89124 100%);
  color: #0E1424;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.modal-submit-btn:hover {
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.form-feedback-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.form-feedback-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.form-feedback-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.form-feedback-msg.loading {
  display: block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f4d068;
}

/* Modal Inline Hyperlink */
.modal-inline-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
  cursor: pointer;
}

.modal-inline-link:hover {
  color: var(--accent-gold);
}

/* Modal Select Dropdown Styling */
select.modal-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

select.modal-input option {
  background: #0d1322;
  color: #fff;
  padding: 10px;
}

/* Capital Raising Form Container */
.capital-form-wrap {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0 24px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.capital-form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.capital-form-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.capital-form-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
  line-height: 1.45;
}

/* Currency Input Wrapper */
.input-currency-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-currency-symbol {
  position: absolute;
  left: 12px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 14px;
  pointer-events: none;
  user-select: none;
}

.input-currency-wrapper .modal-input {
  padding-left: 28px;
  width: 100%;
}

/* PDF Upload Component */
.pdf-upload-container {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.pdf-upload-box {
  border: 1.5px dashed rgba(212, 175, 55, 0.4);
  background: rgba(14, 20, 36, 0.55);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pdf-upload-box:hover,
.pdf-upload-box.dragover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.pdf-upload-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.pdf-upload-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdf-upload-main {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.pdf-upload-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

.pdf-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  pointer-events: none;
}

.pdf-upload-box:hover .pdf-browse-btn {
  background: var(--accent-gold);
  color: #0E1424;
}

.pdf-preview-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 8px;
  padding: 9px 14px;
  margin-top: 8px;
}

.pdf-preview-file {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #fff;
  overflow: hidden;
}

.pdf-preview-size {
  color: var(--accent-cyan);
  font-size: 11.5px;
  font-weight: 600;
}

.pdf-remove-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 18px;
  line-height: 1;
  transition: color 0.2s ease;
}

.pdf-remove-btn:hover {
  color: #f87171;
}

/* Subscription Package Showcase & Payment Form */
.subscription-package-box {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(11, 19, 43, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 24px;
  margin-top: 18px;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.subscription-package-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
}

.package-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.package-promo-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--accent-gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.package-promo-badge .badge-spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.package-title-main {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.package-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Pricing Display Block */
.package-pricing-hero {
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.price-big {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  line-height: 1;
}

.price-cadence {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-original-strikethrough {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 6px;
}

.price-discount-pill {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
}

.price-terms-explicit {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold-light);
  line-height: 1.45;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Package Feature List */
.package-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
}

.package-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
}

.feature-check {
  color: var(--accent-cyan);
  font-weight: 800;
  line-height: 1.3;
}

/* Payment Form Fields */
.payment-section-divider {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 18px;
  margin-top: 18px;
}

.payment-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-cards-icons {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.payment-sub-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.security-assurance-note {
  font-size: 11.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .package-features-grid {
    grid-template-columns: 1fr;
  }
  .payment-sub-grid {
    grid-template-columns: 1fr;
  }
}

/* Granular Subscription Tab Controls & Lifecycle Timeline */
.sub-tabs-bar {
  display: flex;
  gap: 8px;
  background: rgba(7, 13, 25, 0.7);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.sub-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sub-tab-btn:hover {
  color: #fff;
}

.sub-tab-btn.active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sub-schedule-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(11, 19, 43, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.schedule-step {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.schedule-step-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.schedule-step-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.schedule-step-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.sub-manage-card {
  background: rgba(11, 19, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
}

.sub-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 12.5px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.sub-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-detail-lbl {
  color: var(--text-muted);
  font-size: 11px;
}

.sub-detail-val {
  color: #fff;
  font-weight: 600;
}

.badge-sub-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.badge-sub-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.badge-sub-expiring {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

@media (max-width: 640px) {
  .sub-schedule-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Free Reports Showcase */
.free-reports-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.free-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.free-report-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.free-report-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.free-report-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.free-report-meta {
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .detail-modal-backdrop {
    --modal-margin-y: 16px;
    padding: var(--modal-margin-y) 12px;
  }
  .detail-modal {
    height: calc(100vh - (var(--modal-margin-y) * 2));
    height: calc(100dvh - (var(--modal-margin-y) * 2));
    max-height: calc(100vh - (var(--modal-margin-y) * 2));
    max-height: calc(100dvh - (var(--modal-margin-y) * 2));
    border-radius: 16px;
  }
  .modal-top-bar {
    padding: 12px 16px;
  }
  .modal-tabs {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .modal-tabs::-webkit-scrollbar {
    display: none;
  }
  .detail-modal-body {
    padding: 16px;
  }
  .affiliates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-options-grid {
    grid-template-columns: 1fr;
  }
  .free-reports-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Featured Reports Showcase Section & Interactive Tiles
   ========================================================================== */

.showcase-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px 0 60px 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  scroll-margin-top: 20px;
}

.showcase-section .parallax-bg {
  top: -6%;
  height: 118%;
  background-position: center 15%;
}

.showcase-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(6, 9, 17, 0.92) 0%,
    rgba(6, 9, 17, 0.82) 15%,
    rgba(7, 10, 18, 0.72) 50%,
    rgba(6, 9, 17, 0.88) 82%,
    rgba(6, 9, 17, 1.0) 100%
  );
  pointer-events: none;
}

.showcase-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 48px 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.showcase-header-block {
  max-width: 900px;
}

.showcase-header-block .section-index-badge {
  margin-bottom: 10px;
}

.showcase-header-block .section-title {
  margin-bottom: 6px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.showcase-header-block .section-subtitle {
  font-size: clamp(14px, 1.15vw, 17px);
  color: var(--accent-gold-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.showcase-lead-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 860px;
}

/* Grid of 6 Showcase Tiles (3 columns x 2 rows) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

/* Individual Showcase Card */
.showcase-card {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(145deg, #101827 0%, #0a0e19 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  height: 420px;
  cursor: pointer;
  outline: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover,
.showcase-card:focus-within,
.showcase-card.is-active {
  border-color: rgba(0, 240, 255, 0.65);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65), 0 0 24px rgba(0, 240, 255, 0.22);
  transform: translateY(-4px);
}

.showcase-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* First Section Visual: exact blue report heading & hero banner */
.showcase-card-visual {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
}

.showcase-card:hover .showcase-card-visual,
.showcase-card:focus-within .showcase-card-visual,
.showcase-card.is-active .showcase-card-visual {
  transform: translateY(-40px) scale(0.95);
  opacity: 0.08;
  pointer-events: none;
}

.showcase-visual-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showcase-badge-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.showcase-hero-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}

.showcase-hero-sub {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6-Cell Metrics Grid on Card Face */
.showcase-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 10px;
}

.showcase-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.showcase-metric-cell .m-lbl {
  font-size: 8.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: var(--font-mono);
}

.showcase-metric-cell .m-val {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.showcase-metric-cell .m-sub {
  font-size: 8px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom status bar in visual */
.showcase-teaser-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 11px;
}

.showcase-format-tags {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fmt-tag {
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
}

.fmt-tag.html-tag {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.fmt-tag.pdf-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.showcase-teaser-hint {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2px;
}

/* Slide-up Information Drawer */
.showcase-card-drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.98) 0%, rgba(7, 11, 20, 0.99) 100%);
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.showcase-card:hover .showcase-card-drawer,
.showcase-card:focus-within .showcase-card-drawer,
.showcase-card.is-active .showcase-card-drawer {
  transform: translateY(0);
}

.drawer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.drawer-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.drawer-sub {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Takeaway Banner */
.drawer-takeaway {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid #38bdf8;
  border-radius: 4px;
  padding: 7px 10px;
  margin-bottom: 8px;
}

.drawer-takeaway-lbl {
  font-size: 8.5px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.drawer-takeaway-txt {
  font-size: 11px;
  line-height: 1.45;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Drawer Action Buttons: View HTML Report & Download PDF */
.showcase-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.showcase-btn.btn-view {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(2, 132, 199, 0.4) 100%);
  border: 1px solid rgba(0, 240, 255, 0.55);
  color: #FFFFFF;
}

.showcase-btn.btn-view:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.45) 0%, rgba(2, 132, 199, 0.65) 100%);
  border-color: #00f0ff;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

.showcase-btn.btn-download {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(180, 130, 20, 0.35) 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #FFFFFF;
}

.showcase-btn.btn-download:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.42) 0%, rgba(180, 130, 20, 0.55) 100%);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 1240px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-content-wrapper {
    padding: 0 20px;
  }
  .showcase-card {
    height: 390px;
  }
  .showcase-btn-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Section Scroll Progress Indicator Dots */
.scroll-nav-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.nav-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  transform: scale(1.4);
}

/* Responsive adjustments */
@media (max-width: 1040px) {
  .site-nav {
    padding: 20px 32px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 12.5px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    padding: 16px 24px;
    background: rgba(7, 10, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
    padding: 16px 24px 24px 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent-gold);
    padding-left: 6px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .section-content-wrapper {
    padding: 0 24px;
  }

  .section-action-wrapper {
    bottom: 24px;
    right: 24px;
  }

  .scroll-nav-dots {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-logo-text {
    font-size: 13px;
    letter-spacing: 0.8px;
  }
  .site-logo img {
    height: 30px;
  }
}

/* =========================================================================
   Parallax Section 7 / Legal & Regulatory Framework
   ========================================================================= */
.legal-parallax-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 60px 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  scroll-margin-top: 20px;
}

.legal-parallax-section .parallax-bg {
  top: -8%;
  height: 124%;
  background-position: center center;
  background-size: cover;
  filter: brightness(0.4) contrast(1.15);
}

.legal-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(
    circle at 50% 25%,
    rgba(11, 19, 43, 0.75) 0%,
    rgba(7, 10, 18, 0.90) 50%,
    rgba(4, 6, 10, 0.98) 100%
  );
  pointer-events: none;
}

.legal-parallax-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 48px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.legal-header-block {
  max-width: 960px;
}

.legal-header-block .section-index-badge {
  margin-bottom: 10px;
}

.legal-header-block .section-title {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.legal-header-block .section-subtitle {
  font-size: clamp(13.5px, 1.1vw, 16px);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 4-Card Governance Grid */
.legal-parallax-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.legal-grid-card {
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.legal-grid-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.legal-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.legal-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.legal-card-badge.status-alert {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.legal-card-badge.status-warning {
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.legal-card-badge.status-info {
  background: rgba(72, 202, 228, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(72, 202, 228, 0.35);
}

.legal-card-badge.status-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.legal-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.legal-card-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.fca-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: #fca5a5;
  font-weight: 500;
  line-height: 1.35;
}

.fca-status-badge svg {
  flex-shrink: 0;
}

.legal-card-footnote {
  margin-top: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.legal-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.ecowas-mini-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}

/* Wide Statutory Disclaimer Banner */
.legal-parallax-banner {
  background: rgba(7, 10, 18, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.legal-parallax-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
}

.banner-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.banner-body {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.banner-btn.primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8972e 100%);
  color: #070a12;
}

.banner-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.banner-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.banner-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
}

/* Footer Bottom Bar inside the parallax section */
.legal-parallax-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.legal-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-footer-links a,
.legal-footer-links button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
}

.legal-footer-links a:hover,
.legal-footer-links button:hover {
  color: var(--accent-gold);
}

@media (max-width: 1200px) {
  .legal-parallax-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .legal-parallax-section {
    padding: 80px 0 50px 0;
  }
  .legal-parallax-wrapper {
    padding: 10px 24px 30px;
    gap: 18px;
  }
  .legal-parallax-grid {
    grid-template-columns: 1fr;
  }
  .legal-parallax-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================================
   Modal Legal Tab Styles (Inside #details-modal)
   ========================================================================= */
.modal-legal-wrapper {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.65;
}

.legal-notice-banner {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-left: 4px solid var(--warning-red);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
}

.legal-notice-banner h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-modal-card {
  background: rgba(11, 19, 43, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.legal-modal-card h4 {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-modal-card h4 .card-num {
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
}

.legal-modal-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  font-size: 13px;
}

.legal-modal-card p:last-child {
  margin-bottom: 0;
}

.legal-modal-card ul {
  margin: 8px 0 10px 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.legal-modal-card li {
  margin-bottom: 6px;
}

.legal-modal-card strong {
  color: #fff;
}

.legal-sub-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.legal-sub-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.legal-sub-pill:hover,
.legal-sub-pill.active {
  background: var(--accent-gold);
  color: #070a12;
  border-color: var(--accent-gold);
  font-weight: 600;
}

.modal-inline-link {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.modal-inline-link:hover {
  color: #fff;
}
