/* ==========================================================
   SATTA — Illicit Trade
   Pure HTML/CSS/JS conversion
   ========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #2e9b4e;
  --primary-dark: #1f6e38;
  --primary-foreground: #ffffff;

  --background: #ffffff;
  --foreground: #16291d;
  --muted: #f4f8f5;
  --muted-foreground: #5e7065;
  --secondary: #eef6f0;
  --border: #e4ece6;
  --card: #ffffff;

  --leaf-red: #d1432f;
  --leaf-blue: #3a72c1;
  --leaf-yellow: #e0a93a;

  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 999px;

  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none !important;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--primary-dark);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Reusable bits ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.section {
  padding: 5rem 20px;
}
.section-head {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.875rem, 3vw + 1rem, 3rem);
  font-weight: 900;
  margin-top: 0.75rem;
}
.section-title.sm {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
}
.section-desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
}
.text-white {
  color: #fff !important;
}
.text-white-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}
.text-red {
  color: var(--leaf-red) !important;
}
.text-primary {
  color: var(--primary) !important;
}
.muted {
  color: var(--muted-foreground);
}
.bg-soft {
  background: var(--secondary);
}
.bg-dark {
  background: var(--primary-dark);
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.6rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    opacity 0.2s;
}
.btn .arrow {
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(46, 155, 78, 0.07);
  color: #1e293b;
}
.btn-danger {
  background: var(--leaf-red);
  color: #fff;
}
.btn-danger:hover {
  opacity: 0.9;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      120% 80% at 80% 20%,
      rgba(46, 155, 78, 0.35),
      transparent 60%
    ),
    radial-gradient(
      100% 60% at 10% 90%,
      rgba(31, 110, 56, 0.75),
      transparent 60%
    ),
    linear-gradient(140deg, #1a2a20, #0e1a13);
  color: #fff;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}
.glow-a {
  right: -8rem;
  top: 2.5rem;
  width: 500px;
  height: 500px;
  background: rgba(46, 155, 78, 0.3);
}
.glow-b {
  left: -5rem;
  bottom: 0;
  width: 400px;
  height: 400px;
  background: rgba(31, 110, 56, 0.4);
}
.hero-inner {
  position: relative;
  padding: 7rem 1.5rem;
  text-align: center;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  color: var(--primary);
  font-weight: 600;
}
.chev {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.hero-wave {
  width: 100%;
  height: 80px;
  display: block;
}
@media (min-width: 768px) {
  .hero-inner {
    padding: 9rem 1.5rem;
  }
}

/* ---------- Intro Card ---------- */
.intro-section {
  background: var(--primary);
  padding: 0.5rem 1.25rem 5rem 1.25rem;
}
.intro-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .intro-card {
    grid-template-columns: 3fr 2fr;
    padding: 3rem;
    align-items: center;
  }
}
.lead {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}
.quote-bar {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}
.quote-bar p {
  font-weight: 600;
  color: var(--primary-dark);
}
.btn-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.aside-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.aside-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bar-track {
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1.25rem;
}
.bar-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--leaf-yellow),
    var(--leaf-red)
  );
}
.bar-fill.solid-primary {
  background: var(--primary);
}
.bar-fill.solid-red {
  background: var(--leaf-red);
}
.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-top: 0.6rem;
}

/* ---------- Icon utilities ---------- */
.icon-circle,
.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.icon-circle {
  border-radius: 999px;
}
.icon-square {
  border-radius: 0.75rem;
}
.i {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.i.sm {
  width: 16px;
  height: 16px;
}

.bg-primary {
  background: var(--primary);
}
.bg-primary-soft {
  background: rgba(46, 155, 78, 0.1);
  color: var(--primary);
}
.bg-red {
  background: var(--leaf-red);
}
.bg-red-soft {
  background: rgba(209, 67, 47, 0.1);
}
.bg-blue {
  background: var(--leaf-blue);
}
.bg-blue-soft {
  background: rgba(58, 114, 193, 0.1);
}
.bg-yellow-soft {
  background: rgba(224, 169, 58, 0.2);
  color: var(--leaf-yellow);
}
.text-blue {
  color: var(--leaf-blue);
}
.text-yellow {
  color: var(--leaf-yellow);
}

/* ---------- Tabs ---------- */
.tabs-section {
  background: rgba(238, 246, 240, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tab-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
}
.chip {
  background: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition:
    background 0.15s,
    color 0.15s;
}
.chip:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-5 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Card variants ---------- */
.type-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.type-card .bubble {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(46, 155, 78, 0.1);
  transform: translate(40%, -40%);
  transition: transform 0.25s;
}
.type-card:hover .bubble {
  transform: translate(40%, -40%) scale(1.5);
}
.type-card h3 {
  position: relative;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.type-card p {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.scale-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.scale-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scale-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.scale-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-top: 1.5rem;
}
.scale-card .desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.impact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.impact-card:hover {
  box-shadow: var(--shadow-md);
}
.impact-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.impact-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* SARS callout */
.sars-callout {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.sars-left {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.sars-left h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.sars-left p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 38rem;
}
@media (min-width: 768px) {
  .sars-callout {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Causes */
.cause-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cause-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}
.cause-card .num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--primary);
}
.cause-card h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.cause-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.insight-box {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xl);
}
.insight-box p {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  max-width: 48rem;
}

/* Compare cards */
.compare-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}
.compare-legal {
  background: rgba(46, 155, 78, 0.05);
  border: 1px solid rgba(46, 155, 78, 0.3);
}
.compare-illicit {
  background: rgba(209, 67, 47, 0.05);
  border: 1px solid rgba(209, 67, 47, 0.3);
}
.compare-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.compare-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.check-list,
.x-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.check-list li,
.x-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(22, 41, 29, 0.8);
}
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9b4e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M8 12l3 3 5-6'/></svg>");
}
.x-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1432f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M5 5l14 14'/></svg>");
}

/* Market bars */
.market-bars {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(238, 246, 240, 0.6);
  border-radius: var(--radius-xl);
}
.market-bars h4 {
  font-size: 1.125rem;
  font-weight: 700;
}
.bar-block {
  margin-top: 1.5rem;
}
.bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
}
.bar-block .bar-track {
  height: 12px;
  background: #fff;
  margin-top: 0.5rem;
  border-radius: 999px;
}
.footnote {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--muted-foreground);
}

/* Signs */
.sign-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.sign-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.sign-card .icon-square {
  width: 44px;
  height: 44px;
}
.sign-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.sign-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Report */
.report-section {
  padding: 5rem 1.25rem;
}
.report-grid {
  margin-top: 3rem;
}
.report-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.report-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.report-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.report-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.15s;
}
.report-link:hover {
  color: #fff;
}
.report-phone {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

/* Sources */
.sources-section {
  background: #fff;
  padding: 4rem 0;
}
.source-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.source-row a {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(238, 246, 240, 0.6);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.source-row a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
section#causes-of-growth {
    background: #00531B;
}
