/* 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 */
:root {
  --slate-50: #FBFBFD;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --blue-600: #2563eb;
  --blue-900: #1E3A8A;
  --red-500: #ef4444;
}

/* 3. BASIC RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* 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;
}

.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: #6b7280;
  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: #6b7280;
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: #9ca3af;
}

/* 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); }
}

/* Tambah ke CSS yang sudah ada */
.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%;
}