*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

    :root {
      --blue:         #1558C0;
      --blue-light:   #EAF0FB;
      --purple:       #5B2FBE;
      --purple-light: #EDE8FC;
      --teal:         #0A9E87;
      --teal-light:   #E0F5F2;
      --bg:           #F3F5FB;
      --surface:      #FFFFFF;
      --text:         #0C1220;
      --muted:        #44536E;
      --border:       #D6DFF0;
      --radius:       14px;
    }

    html { 
      scroll-behavior: smooth; 
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 15px;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }

    /* ── NAVBAR ── */
    nav {
      position: fixed; 
      top: 0; 
      left: 0; 
      right: 0; 
      z-index: 100;
      height: 56px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      display: flex; 
      align-items: center; 
      justify-content: space-between;
      padding: 0 2rem;
    }

    .nav-brand { 
      font-weight: 700; 
      font-size: 0.95rem; 
      color: var(--blue); 
    }

    .nav-links { 
      list-style: none; 
      display: flex; 
      gap: 4px; 
    }

    .nav-links a {
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--muted);
      padding: 10px 14px;
      border-radius: 20px;
      transition: background 0.15s, color 0.15s;
    }

    .nav-links a:hover { 
      background: var(--blue-light); 
      color: var(--blue); 
    }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      padding: 80px 2rem 5rem;
      display: flex; 
      align-items: center; 
      justify-content: center;
      text-align: center;
      background: linear-gradient(160deg, #f0f4ff 0%, #f5f0ff 100%);
    }

    .hero-inner { 
      max-width: 640px; 
    }

    .badge {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 20px;
      background: var(--blue-light);
      color: var(--blue);
      border: 1px solid #c5d8f5;
      margin-bottom: 1.4rem;
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }

    .hero h1 em { 
      font-style: normal; 
      color: var(--blue); 
    }

    .hero p {
      font-size: 1rem;
      color: var(--muted);
      max-width: 480px;
      margin: 0 auto 1.8rem;
    }

    .hero-btns { 
      display: flex; 
      gap: 10px; 
      justify-content: center; 
      flex-wrap: wrap; 
    }

    .btn {
      text-decoration: none;
      padding: 10px 22px;
      border-radius: 30px;
      font-size: 0.88rem;
      font-weight: 600;
      transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .btn:active {
      transform: translateY(0px);
      opacity: 0.85;
    }

    .btn-solid { 
      background: var(--blue); 
      color: white; 
    }

    .btn-ghost { 
      background: var(--surface); 
      color: var(--text); 
      border: 1px solid var(--border); 
    }

    .btn-ghost:hover {
      border-color: var(--blue);
      background: var(--blue-light);
      color: var(--blue);
    }

    .hero-stats {
      display: flex; 
      gap: 2rem; 
      justify-content: center; 
      flex-wrap: wrap;
      margin-top: 2.5rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }
    .stat-n { 
      display: block; 
      font-size: 1.8rem; 
      font-weight: 800; 
      color: var(--blue); 
      line-height: 1; 
    }
    .stat-l { 
      font-size: 0.75rem; 
      color: var(--muted); 
      margin-top: 3px; 
    }

    /* ── SECTIONS ── */
    section { 
      padding: 5rem 2rem; 
    }
    .container { 
      max-width: 920px; 
      margin: 0 auto; 
    }
    .section-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 5px;
    }
    .section-title {
      font-size: clamp(1.4rem, 3.5vw, 1.9rem);
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }
    .section-title2 {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #999;
      margin-bottom: 20px;
      text-align: center;
    }
    .section-sub {
      font-size: 0.93rem;
      color: var(--muted);
      max-width: 480px;
      margin-bottom: 2.2rem;
    }

    /* ── TIMELINE ── */
    #timeline { 
      background: var(--surface); 
    }
    .tl-list { 
      list-style: none; 
      position: relative; 
      padding-left: 1.6rem; 
    }
    .tl-list::before {
      content: '';
      position: absolute; 
      left: 0; 
      top: 6px; 
      bottom: 6px;
      width: 2px;
      background: linear-gradient(180deg, var(--blue), var(--purple));
      border-radius: 2px;
    }
    .tl-item { 
      position: relative; 
      margin-bottom: 2rem; 
    }
    .tl-item::before {
      content: '';
      position: absolute;
      left: -1.9rem; 
      top: 6px;
      width: 10px; 
      height: 10px;
      border-radius: 50%;
      background: var(--surface);
      border: 2px solid var(--blue);
    }
    .tl-year { 
      font-size: 0.72rem; 
      font-weight: 700; 
      color: var(--blue); 
      letter-spacing: 0.06em; 
      margin-bottom: 3px; 
    }
    .tl-tag {
      display: inline-block;
      font-size: 0.68rem; 
      font-weight: 600;
      padding: 2px 8px; 
      border-radius: 10px; 
      margin-bottom: 4px;
    }
    .tag-blue   { 
      background: var(--blue-light);
      color: var(--blue); 
    }
    .tag-purple { 
      background: var(--purple-light);  
      color: var(--purple); 
    }
    .tag-teal   { 
      background: var(--teal-light);
      color: var(--teal); 
    }
    .tl-title { 
      font-size: 0.95rem; 
      font-weight: 700; 
      margin-bottom: 3px; 
    }
    .tl-desc  { 
      font-size: 0.87rem; 
      color: var(--muted); 
      line-height: 1.7; 
    }

    /* ── DAMPAK ── */
    #dampak { 
      background: var(--bg); 
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: 1rem;
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.3rem;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .card:hover { 
      box-shadow: 0 6px 20px rgba(21,88,192,0.1); 
      transform: translateY(-2px); 
    }
    .card-icon  { 
      font-size: 1.4rem; 
      margin-bottom: 0.7rem; 
    }
    .card-title { 
      font-size: 0.93rem; 
      font-weight: 700; 
      margin-bottom: 4px; 
    }
    .card-desc  { 
      font-size: 0.84rem; 
      color: var(--muted); 
      line-height: 1.65;
    }
    .card-link  { 
      display: inline-block; 
      margin-top: 0.7rem; 
      font-size: 0.78rem; 
      font-weight: 600; 
      color: var(--blue); 
    }

    /* ── MODAL ── */
    .overlay {
      display: none;
      position: fixed; 
      inset: 0; 
      z-index: 200;
      background: rgba(12,18,32,0.5);
      backdrop-filter: blur(4px);
      align-items: center; 
      justify-content: center;
      padding: 1rem;
    }
    .overlay.open { 
      display: flex; 
    }
    .modal {
      background: var(--surface);
      border-radius: var(--radius);
      max-width: 540px; width: 100%;
      max-height: 85vh; 
      overflow-y: auto;
      padding: 1.8rem;
      position: relative;
      animation: fadeUp 0.22s ease;
    }
    @keyframes fadeUp {
      from { 
        opacity: 0; 
        transform: translateY(10px); 
      }
      to   { 
        opacity: 1; 
        transform: translateY(0); 
      }
    }
    .modal-close {
      position: absolute; 
      top: 1rem; 
      right: 1rem;
      width: 28px; 
      height: 28px; 
      border-radius: 50%;
      border: 1px solid var(--border); 
      background: var(--bg);
      cursor: pointer; 
      font-size: 0.9rem; 
      color: var(--muted);
      display: flex; 
      align-items: center; 
      justify-content: center;
      transition: background 0.15s;
    }
    .modal-close:hover { 
      background: #fce8e8; 
      color: #c94040; 
    }
    .modal-icon  { 
      font-size: 1.8rem; 
      margin-bottom: 5px; 
    }
    .modal-title { 
      font-size: 1.15rem; 
      font-weight: 800; 
      margin-bottom: 1rem; 
      padding-right: 2rem; 
    }
    .modal-body p  { 
      font-size: 0.88rem; 
      color: var(--muted); 
      line-height: 1.75; 
      margin-bottom: 0.8rem; 
    }
    .modal-body h3 { 
      font-size: 0.88rem; 
      font-weight: 700; 
      margin: 1.1rem 0 0.4rem; 
    }
    .modal-body ul { 
      list-style: none; 
      display: flex; 
      flex-direction: column; 
      gap: 5px; 
      margin-bottom: 0.8rem; 
    }
    .modal-body ul li { 
      font-size: 0.85rem; 
      color: var(--muted); 
      padding-left: 1rem; 
      position: relative; 
      line-height: 1.65; 
    }
    .modal-body ul li::before { 
      content: '→'; 
      position: absolute; 
      left: 0; 
      color: var(--blue); 
      font-weight: 700; 
    }
    .impact-row { 
      display: grid; 
      grid-template-columns: 1fr 1fr; 
      gap: 8px; 
      margin: 0.8rem 0 1rem; 
    }
    .impact-box { 
      border-radius: 10px; 
      padding: 0.75rem; 
      font-size: 0.82rem; 
      line-height: 1.6; 
    }
    .impact-box .label { 
      font-size: 0.7rem; 
      font-weight: 700; 
      margin-bottom: 4px; 
    }
    .pos { 
      background: var(--teal-light);  
      color: #065f50; 
    }
    .neg { 
      background: #fce8e8;
      color: #7a1f1f; 
    }

    /* ── GLOSARIUM ── */
    #glosarium { 
      background: var(--surface); 
    }
    .gloss-search {
      display: block; 
      width: 100%; 
      max-width: 380px;
      padding: 9px 16px;
      border: 1.5px solid var(--border); 
      border-radius: 30px;
      font-size: 0.87rem; 
      font-family: inherit;
      color: var(--text); 
      background: var(--bg);
      outline: none; 
      margin-bottom: 1.4rem;
      transition: border-color 0.15s;
    }
    .gloss-search:focus { 
      border-color: var(--blue); 
    }
    .gloss-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
      gap: 0.85rem;
    }
    .gloss-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0.95rem 1.1rem;
      transition: border-color 0.15s;
    }
    .gloss-card:hover { 
      border-color: #a8c0e8; 
    }
    .gloss-card.hidden { 
      display: none; 
    }
    .gloss-term { 
      font-size: 0.88rem; 
      font-weight: 700; 
      margin-bottom: 3px; 
    }
    .gloss-def  { 
      font-size: 0.82rem; 
      color: var(--muted); 
      line-height: 1.65; 
    }

    /* ── TIM ── */
    #tim { 
      background: var(--bg); 
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1rem;
    }
    .team-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.6rem;
      text-align: center;
    }
    .avatar {
      width: 60px; 
      height: 60px; 
      border-radius: 50%;
      display: flex; 
      align-items: center; 
      justify-content: center;
      font-size: 1.1rem; 
      font-weight: 800; 
      color: white;
      margin: 0 auto 1rem;
    }
    .team-name {
      font-size: 0.93rem; 
      font-weight: 700; 
      margin-bottom: 3px; 
    }
    .team-role { 
      font-size: 0.73rem; 
      font-weight: 600; 
      color: var(--blue); 
      letter-spacing: 0.05em; 
      text-transform: uppercase; 
    }

    /* ── GALLERY ── */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      max-width: 1100px;
      margin: auto;
      padding: 10px 0;
    }

    .gallery-item {
      position: relative;
      height: 240px;
      border-radius: 22px;
      overflow: hidden;
      cursor: pointer;
      background: #fff;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      transition: all 0.35s ease;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease, filter 0.4s ease;
    }

    .gallery-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 55%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .gallery-item:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
    }

    .gallery-item:hover img {
      transform: scale(1.08);
      filter: brightness(1.05);
    }

    .gallery-item:hover::after {
      opacity: 1;
    }
    
    /* ── FOOTER ── */
    footer {
      background: #0c1220;
      color: rgba(255,255,255,0.5);
      text-align: center;
      padding: 2rem;
      font-size: 0.82rem;
    }
    footer strong { 
      color: white; 
    }