/* 1. FONT IMPORT (Ultra Efficient) */
/* Menggabungkan Space Grotesk (Logo), Inter (Teks), dan JetBrains (Code) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&text=VerixID&family=Inter:wght@300;800&family=JetBrains+Mono:wght@500&display=swap');

/* 2. ROOT VARIABLES */
   /* ============================================
        CSS VARIABLES
      ============================================ */
    :root {
        --slate-100: #f1f5f9;
        --slate-200: #e2e8f0;
        --slate-400: #94a3b8;
        --slate-500: #64748b;
        --slate-700: #334155;
        --slate-900: #0f172a;
        --blue-50:   #eff6ff;
        --blue-400:  #60a5fa;
        --blue-600:  #2563eb;
        --blue-700:  #1d40af;
        --blue-900:  #1e3a8a;
        --green-500: #22c55e;
        --green-600: #16a34a;
    }

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

    /* ============================================
        LAYOUT
        ============================================ */
    main {
        max-width: 800px;
        margin: 0 auto;
        padding: 4rem 1.5rem;
        min-height: 80vh;
    }

    /* ============================================
        HEADER & NAV
        ============================================ */
    header {
        background: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    nav ul {
        display: flex;
        list-style: none;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    nav a {
        text-decoration: none;
        color: rgb(74, 74, 74);
        font-size: 0.95rem;
    }

    nav a:hover,
    nav a.active {
        color: var(--blue-900);
        font-weight: 600;
    }

    /* ============================================
        HERO SECTION
        ============================================ */
    .section-hero {
        text-align: center;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 1.25rem;
        color: rgb(10, 10, 10);
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .hero-desc {
        color: rgb(74, 74, 74);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    /* ============================================
        BADGE
        ============================================ */
    .badge-group {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .badge {
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        font-size: 0.75rem;
        font-weight: 600;
        background: var(--slate-100);
        color: rgb(10, 10, 10);
        border: 1px solid var(--slate-200);
    }

    .badge-blue {
        background: var(--blue-50);
        color: #1d4ed8;
        border-color: #dbeafe;
    }

body {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fff;
    color: rgb(10, 10, 10);
}

/* 4. LOGO STYLE (VerixID) */
.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; 
    font-size: 1.75rem;
    color: var(--blue-900);
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.brand a {
    text-decoration: none;
}

.container .footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; 
    font-size: 1.5rem;
    color: var(--blue-900);
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
     text-decoration: none;
}

/* 5. FOOTER STYLES */
.container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

footer {
  padding: 60px 40px 32px;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 50px;
  background: #f2f2f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(74, 74, 74);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #1A3C6E; /* brand blue */
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-about {
  font-size: 13px;
  color: rgb(74, 74, 74);
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: rgb(74, 74, 74);
}

/* Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* 6. UTILITY MINI (Pengganti Tailwind yang sering Boss pakai) */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }



/* Styling Tombol Hamburger */
.mobile-menu-btn {
    display: none; /* Sembunyi di desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--blue-900);
    transition: 0.3s;
    border-radius: 2px;
}

/* RESPONSIVE MENU (Mobile) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex; /* Muncul di mobile */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan luar layar */
        width: 50%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px;
    }

    nav.active {
        right: 0; /* Muncul saat tombol diklik */
    }

    nav ul {
        flex-direction: column; /* Menu disusun vertikal */
        align-items: center;
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    /* Animasi Hamburger jadi 'X' saat buka */
    .mobile-menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* spinner kecil dan box notice */
.btn-primary svg,
.btn-success svg,
.btn-error svg {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem;
  min-height: 1rem;
  flex-shrink: 0;
}

.btn-primary,
.btn-loading,
.btn-success,
.btn-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}


.spinner-small {
    width: 1rem;
    height: 1rem;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.success-box, .info-box, .error-box {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
}
.success-box { background: #f0fdf4; color: #166534; border-left: 4px solid #22c55e; }
.info-box    { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }
.error-box   { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }


.submit-acknowledge {
    font-size  : 0.775rem;
    line-height: 1.6;
    color      : var(--color-text-muted, #555);
    text-align : center;
    max-width  : 420px;
    margin     : 1rem auto 0;
}

.submit-acknowledge a {
    color          : var(--color-text-muted, #555);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.submit-acknowledge a:hover {
    color: rgb(74, 74, 74);
}

.non-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.non-list li {
  position: relative;
  margin-bottom: 0.8em;
  font-size: 0.775rem;
  color: var(--color-text-muted, #555);
}

/*---WA---*/
.wa-sticky {
    display: none;
}

@media screen and (max-width: 768px) {
    .wa-sticky {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 10000;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 12px 18px;
        border-radius: 50px;

        background-color: #25D366;
        color: #ffffff;
        font-weight: 600;
        font-size: 12px;
        text-decoration: none;

        box-shadow: 0 6px 18px rgba(0,0,0,0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}
