:root{
  --primary: #1e3a8a;
  --secondary: #2563eb;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --ring: rgba(37, 99, 235, 0.18);
}

/* ===================== BASE RESET ===================== */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3{ letter-spacing: -0.02em; }

p{
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

img{ max-width: 100%; height: auto; }

a:focus, button:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-radius: 12px;
}

/* ===================== HERO ===================== */
.hero{
  position: relative;
  background:
    radial-gradient(900px 450px at 20% 10%, rgba(59,130,246,0.35), transparent 60%),
    radial-gradient(900px 450px at 90% 30%, rgba(30,58,138,0.55), transparent 60%),
    linear-gradient(135deg, #0b1f4a 0%, #112a66 45%, #16347d 100%);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
  pointer-events:none;
}

.hero .shadow-xl{ box-shadow: 0 18px 45px rgba(2,6,23,0.35); }

.hero .bg-white{
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 18px !important;
}

/* ===================== HERO CHIPS ===================== */
.stat-chip{
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.stat-label{
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value{
  margin-top: 2px;
  font-weight: 800;
  color: var(--ink);
  font-size: 13px;
}

/* ===================== SECTION TITLE ===================== */
.section-title{
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin: 0;
}

.section-title::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 74px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
}

.section-left.section-title::after{
  left: 0;
  transform: none;
}

/* ===================== CARDS ===================== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(2,6,23,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* hover hanya untuk device yang punya mouse (biar mobile ga “nyangkut”) */
@media (hover:hover) and (pointer:fine){
  .card:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(2,6,23,0.10);
  }
}

/* Icon bubble */
.icon-bubble{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(30,58,138,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(30,58,138,0.10);
}

.icon-bubble i{ color: var(--primary); }

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn i{ width: 18px; height: 18px; }

.btn-sm{
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.btn-primary{
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37,99,235,0.25);
}

.btn-primary:hover{
  transform: translateY(-1px);
  background: #1d4ed8;
}

.btn-outline{
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  border: 1px solid rgba(226,232,240,1);
}

.btn-outline:hover{ background: #f1f5f9; }

/* ✅ Feather icons: setelah replace, elemen jadi <svg> */
.btn i, .link-inline i,
.btn svg, .link-inline svg{
  stroke-width: 2.5;
}

/* Buttons on dark/gradient panel */
.gradient-panel .btn-outline{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.22);
}

.gradient-panel .btn-outline:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* ===================== GRADIENT PANEL ===================== */
.gradient-panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(2,6,23,0.18);
}

.gradient-panel ul i{ color: #fff; }

/* ===================== STEPS ===================== */
.step{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.step-badge{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink: 0;
  box-shadow: 0 10px 18px rgba(30,58,138,0.18);
}

.step h3{ color: var(--ink); margin: 0; }
.step p{ margin: 0; }

/* ===================== INLINE LINKS ===================== */
.link-inline{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.link-inline:hover{ text-decoration: underline; }
.link-inline i{ width: 18px; height: 18px; }

/* ===================== SOCIAL ===================== */
.social-circle{
  background: #fff;
  border: 1px solid var(--border);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(2,6,23,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.social-circle:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(2,6,23,0.10);
}

.social-circle i{ color: var(--primary); }

.social-circle svg{
  color: var(--primary);
  display:block;
}

/* Helpers */
.rounded-lg{ border-radius: 16px !important; }

/* ===================== TOPBAR ===================== */
.topbar{
  background: rgba(15, 23, 42, 0.95);
  color: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar__inner{
  max-width: 1152px;
  margin: 0 auto;
  padding: 10px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-size: 13px;
}

.topbar__left, .topbar__right{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__item{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.topbar__item i{ width: 16px; height: 16px; opacity: .9; }
.topbar__sep{ opacity: .5; }

@media (max-width: 768px){
  .topbar__inner{ justify-content: center; text-align:center; }
  .topbar__right{ display:none; }
}

/* ===================== NAVBAR ===================== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner{
  max-width: 1152px;
  margin: 0 auto;
  padding: 14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* Brand */
.navbar__brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration: none;
}

.navbar__brand img{ height: 40px; width: auto; }

.navbar__brand-text strong{
  display:block;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.navbar__brand-text span{
  font-size: 12px;
  color: var(--muted);
}

/* Desktop menu */
.navbar__menu{
  display:flex;
  align-items:center;
  gap: 20px;
}

.navbar__menu a{
  font-weight: 800;
  color: var(--ink);
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 12px;
}

.navbar__menu a:hover{
  color: var(--primary);
  background: rgba(30,58,138,0.06);
}

/* Mobile toggle */
.navbar__toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  padding:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.navbar__toggle span{
  display:block;
  width:18px;
  height:2px;
  background: var(--ink);
  border-radius:999px;
  pointer-events:none;
}

/* Mobile menu */
.navbar__mobile{
  display:none;
  flex-direction:column;
  gap: 10px;
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.navbar__mobile.open{ display:flex; }

.navbar__mobile a{
  font-weight: 800;
  color: var(--ink);
  text-decoration:none;
  padding: 12px 12px;
  border-radius: 14px;
}

.navbar__mobile a:hover{
  background: rgba(30,58,138,0.06);
  color: var(--primary);
}

.navbar__mobile a.btn{ justify-content: center; }

@media (max-width: 768px){
  .navbar__menu{ display:none; }
  .navbar__toggle{ display:flex; }
}

/* ===================== FAQ ACCENT ===================== */
.faq-content{
  position: relative;
  padding-bottom: 18px;
}

.faq-content::after{
  content:"";
  position:absolute;
  left: 24px;
  right: 24px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.faq-content:not(.hidden)::after{
  opacity: .95;
  transform: translateY(0);
}

/* HERO RIGHT CARD (UPGRADE) */
.hero-card{
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(226,232,240,0.9);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(2,6,23,0.30);
}

.hero-card__media{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.hero-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-card__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2,6,23,0.55),
    rgba(2,6,23,0.05) 65%,
    rgba(2,6,23,0.0)
  );
}

.hero-card__badge{
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(226,232,240,0.9);
  font-weight: 900;
  color: var(--ink);
  font-size: 12px;
}

.hero-card__badge .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52,211,153,0.18);
}

.hero-card__content{
  padding: 16px;
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stat{
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,0.9);
  background: #fff;
  padding: 12px;
}

.hero-stat .k{
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: #64748b;
}

.hero-stat .v{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
}

.hero-card__cta{
  margin-top: 14px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 24px rgba(37,99,235,0.22);
}

/* ===================== GOV FOOTER ===================== */
.gov-footer{
  background: #0b1220;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.gov-footer__inner{
  max-width: 1152px;
  margin: 0 auto;
  padding: 14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-size: 13px;
}

.gov-footer__left strong{ color: rgba(255,255,255,0.95); }

.gov-footer__link{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 700;
}

.gov-footer__link:hover{
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px){
  .gov-footer__inner{
    flex-direction: column;
    text-align: center;
  }

  /* Mobile gallery swipe feels nicer */
  .snap-x{ scroll-snap-type: x mandatory; }
  .snap-start{ scroll-snap-align: start; }
}
/* ===================== PREMIUM MOBILE TYPOGRAPHY ===================== */
@media (max-width: 768px){
  body{
    font-size: 15px;
  }

  h1{
    font-size: 28px;
    line-height: 1.2;
  }

  h2{
    font-size: 24px;
    line-height: 1.25;
  }

  h3{
    font-size: 18px;
  }

  p{
    font-size: 15px;
    line-height: 1.75;
  }
}

/* ===================== PREMIUM MOBILE CARD ===================== */
@media (max-width: 768px){
  .card{
    border-radius: 20px;
  }

  section{
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ===================== PREMIUM MOBILE BUTTON ===================== */
@media (max-width: 768px){
  .btn{
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 16px;
  }

  .btn i, .btn svg{
    width: 20px;
    height: 20px;
  }
}

html{
  scroll-behavior: smooth;
}



