
    :root {
      --green: #00AF52;
      --yellow: #F5C908;
      --white: #ffffff;
      --bg: #f4f8f4;
      --text: #0f2d1d;
      --muted: #708176;
      --line: #dde8df;
      --soft: #eef6f0;
      --shadow: 0 20px 40px rgba(0, 175, 82, 0.08);
      --radius: 28px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: 'Tajawal', system-ui, sans-serif;
      background:
        radial-gradient(circle at top right, rgba(245, 201, 8, 0.10), transparent 24%),
        radial-gradient(circle at top left, rgba(0, 175, 82, 0.08), transparent 28%),
        linear-gradient(180deg, #f7faf7, #f2f7f3);
      color: var(--text);
      line-height: 1.8;
      overflow-x: hidden;
    }

    .container {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .section {
      padding: 30px 0;
    }

    .hero {
      padding: 46px 0 20px;
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #08b85a, #049247);
      color: var(--white);
      border-radius: 36px;
      padding: 34px;
      box-shadow: 0 22px 50px rgba(0, 175, 82, 0.18);
      isolation: isolate;
      animation: heroRise 1s ease both;
    }

    .hero-card::before,
    .hero-card::after,
    .hero-glow {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-card::before {
      width: 280px;
      height: 280px;
      top: -110px;
      right: -80px;
      background: rgba(255,255,255,0.10);
      animation: floatBubble 7s ease-in-out infinite;
    }

    .hero-card::after {
      width: 220px;
      height: 220px;
      bottom: -110px;
      left: 30%;
      background: rgba(245, 201, 8, 0.18);
      animation: floatBubble 9s ease-in-out infinite reverse;
    }

    .hero-glow {
      width: 160px;
      height: 160px;
      left: -40px;
      bottom: 40px;
      background: rgba(255,255,255,0.08);
      animation: pulseSoft 5s ease-in-out infinite;
    }

    .hero-top {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 26px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 16px;
      border-radius: 999px;
      background: rgba(255,255,255,0.14);
      border: 1px solid rgba(255,255,255,0.12);
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 14px;
      animation: fadeUp 0.9s ease both;
    }

    h1 {
      margin: 0 0 12px;
      font-size: clamp(2rem, 3.7vw, 4rem);
      line-height: 1.15;
      animation: fadeUp 1s ease both;
    }

    .hero p {
      margin: 0;
      font-size: 1.08rem;
      max-width: 62ch;
      opacity: 0.96;
      animation: fadeUp 1.1s ease both;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .hero-stat {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.14);
      backdrop-filter: blur(8px);
      border-radius: 24px;
      padding: 20px;
      min-height: 124px;
      position: relative;
      overflow: hidden;
      animation: fadeScale 1s ease both;
    }

    .hero-stat::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,0.10) 45%, transparent 70%);
      transform: translateX(-120%);
      animation: shine 6s linear infinite;
    }

    .hero-stat strong {
      display: block;
      font-size: clamp(1.9rem, 3vw, 2.5rem);
      line-height: 1;
      margin-bottom: 10px;
    }

    .hero-stat span {
      font-size: 0.98rem;
    }

    .insight-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 18px;
    }

    .chip {
      padding: 11px 16px;
      border-radius: 999px;
      background: rgba(245, 201, 8, 0.14);
      color: var(--white);
      border: 1px solid rgba(245, 201, 8, 0.3);
      font-weight: 700;
      animation: fadeUp 1.25s ease both;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .country-grid {
      display: grid;
      gap: 18px;
    }

    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .country-grid { grid-template-columns: 1fr 1fr; }

    .card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(26px);
      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    }

    .card.show {
      opacity: 1;
      transform: translateY(0);
      animation: revealCard 0.9s ease both;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 22px 45px rgba(0, 175, 82, 0.12);
      border-color: rgba(0, 175, 82, 0.18);
    }

    .section-title {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .section-title h2 {
      margin: 0;
      font-size: 1.9rem;
      line-height: 1.2;
    }

    .section-title p {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .kpi-card {
      padding-top: 26px;
    }

    .kpi-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 8px;
      height: 100%;
      background: linear-gradient(180deg, var(--green), var(--yellow));
      border-radius: 28px 0 0 28px;
    }

    .kpi-card::after {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,175,82,0.08), transparent 70%);
      top: -40px;
      left: -30px;
    }

    .kpi-label {
      color: var(--muted);
      font-size: 1rem;
      margin-bottom: 14px;
      display: block;
      font-weight: 700;
    }

    .kpi-value {
      font-size: 2.15rem;
      font-weight: 800;
      margin-bottom: 8px;
      color: var(--text);
    }

    .kpi-note {
      color: var(--muted);
      font-size: 0.98rem;
    }

    .split {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 18px;
    }

    .bars {
      display: grid;
      gap: 18px;
      margin-top: 10px;
    }

    .bar-row {
      display: grid;
      grid-template-columns: 140px 1fr 170px;
      gap: 14px;
      align-items: center;
    }

    .bar-label,
    .bar-value {
      font-weight: 800;
      font-size: 1.02rem;
    }

    .bar-value {
      text-align: left;
      color: var(--green);
    }

    .bar-track {
      width: 100%;
      height: 14px;
      background: #e8efea;
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }

    .bar-track::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
      transform: translateX(-100%);
      animation: shine 5s linear infinite;
    }

    .bar-fill {
      height: 100%;
      width: 0;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--green), var(--yellow));
      transition: width 1.6s cubic-bezier(.22,1,.36,1);
      box-shadow: 0 0 18px rgba(245, 201, 8, 0.28);
    }

    .donut-wrap {
      display: grid;
      place-items: center;
      gap: 18px;
      padding-top: 8px;
    }

    .donut {
      width: 250px;
      height: 250px;
      border-radius: 50%;
      position: relative;
      background: conic-gradient(
        var(--green) 0 45.98%,
        var(--yellow) 45.98% 90.42%,
        #6fcb94 90.42% 97.32%,
        #c6d7cd 97.32% 100%
      );
      animation: rotateIn 1.5s ease both;
      box-shadow: inset 0 0 0 16px rgba(255,255,255,0.2);
    }

    .donut::before {
      content: "";
      position: absolute;
      inset: 28px;
      background: var(--white);
      border-radius: 50%;
      box-shadow: 0 0 0 1px var(--line);
    }

    .donut-center {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      z-index: 1;
    }

    .donut-center strong {
      display: block;
      font-size: 2.6rem;
      line-height: 1;
      margin-bottom: 4px;
    }

    .legend {
      display: grid;
      gap: 12px;
      width: 100%;
    }

    .legend-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 10px;
      border-bottom: 1px dashed var(--line);
    }

    .legend-item:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .legend-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      display: inline-block;
    }

    .table-wrap {
      overflow-x: auto;
    }

    table {
      width: 100%;
      min-width: 760px;
      border-collapse: collapse;
    }

    th, td {
      padding: 15px 12px;
      text-align: right;
      border-bottom: 1px solid var(--line);
      white-space: nowrap;
    }

    th {
      background: #fbfcfb;
      color: var(--muted);
      font-size: 0.95rem;
      font-weight: 800;
    }

    tbody tr {
      transition: background 0.35s ease, transform 0.35s ease;
    }

    tbody tr:hover {
      background: #fbfdfb;
    }

    .rank {
      display: inline-grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: rgba(245, 201, 8, 0.22);
      font-weight: 800;
      margin-inline-start: 10px;
    }

    .country-card {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(180deg, #ffffff, #fbfdfb);
      transition: transform 0.35s ease, box-shadow 0.35s ease;
      animation: fadeScale 0.8s ease both;
    }

    .country-card:hover {
      transform: translateY(-4px) scale(1.01);
      box-shadow: 0 16px 30px rgba(0, 175, 82, 0.08);
    }

    .country-card h3 {
      margin: 0 0 12px;
      font-size: 1.15rem;
    }

    .country-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .mini {
      background: var(--soft);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 12px;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .mini:hover {
      transform: scale(1.03);
      background: #f4faf5;
    }

    .mini span {
      display: block;
      color: var(--muted);
      font-size: 0.9rem;
      margin-bottom: 5px;
    }

    .mini strong {
      font-size: 1.18rem;
    }

    .footer-note {
      margin-top: 18px;
      color: var(--muted);
      font-size: 1rem;
    }

    .word-highlight {
      color: var(--green);
      font-weight: 800;
    }

    .floating-leaf {
      position: fixed;
      width: 14px;
      height: 14px;
      border-radius: 50% 0 50% 50%;
      background: rgba(0, 175, 82, 0.10);
      z-index: 0;
      pointer-events: none;
      animation: drift 18s linear infinite;
    }

    .floating-leaf.one { top: 16%; left: 4%; animation-delay: 0s; }
    .floating-leaf.two { top: 60%; right: 5%; animation-delay: 4s; }
    .floating-leaf.three { top: 78%; left: 9%; animation-delay: 8s; }

    @keyframes heroRise {
      from { opacity: 0; transform: translateY(28px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeScale {
      from { opacity: 0; transform: scale(0.94) translateY(20px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    @keyframes revealCard {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes shine {
      0% { transform: translateX(-120%); }
      100% { transform: translateX(120%); }
    }

    @keyframes floatBubble {
      0%, 100% { transform: translateY(0) translateX(0); }
      50% { transform: translateY(18px) translateX(10px); }
    }

    @keyframes pulseSoft {
      0%, 100% { transform: scale(1); opacity: 0.7; }
      50% { transform: scale(1.12); opacity: 1; }
    }

    @keyframes rotateIn {
      from { opacity: 0; transform: rotate(-120deg) scale(0.7); }
      to { opacity: 1; transform: rotate(0) scale(1); }
    }

    @keyframes drift {
      0% { transform: translateY(0) rotate(0deg); opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
    }

    @media (max-width: 1024px) {
      .hero-top,
      .grid-4,
      .grid-3,
      .grid-2,
      .split,
      .country-grid {
        grid-template-columns: 1fr 1fr;
      }

      .hero-top > :first-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 760px) {
      .hero-top,
      .grid-4,
      .grid-3,
      .grid-2,
      .split,
      .country-grid,
      .hero-stats,
      .country-stats {
        grid-template-columns: 1fr;
      }

      .bar-row {
        grid-template-columns: 1fr;
      }

      .bar-value {
        text-align: right;
      }

      .hero-card,
      .card {
        padding: 20px;
      }

      .donut {
        width: 210px;
        height: 210px;
      }

      h1 {
        font-size: 2.1rem;
      }
    }
