/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --black: #1A1A1A;
    --grey: #6B6B6B;
    --light-bg: #FAFAFA;
    --border: #EFEFEF;
    --accent: #1a8917;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    margin: 0; padding: 0;
    font-family: var(--font-sans);
    color: var(--black);
    line-height: 1.6;
    background: #fff;
}

/* --- 2. LAYOUT & CONTAINER --- */
.container { 
    max-width: 740px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Navbar Global (Mapping ke .desktop-nav di HTML Boss) */
.desktop-nav {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: sticky; 
    top: 0; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100% !important;
    padding: 0 5%;
}

.logo a { 
    font-weight: 800; 
    font-size: 1.4rem; 
    letter-spacing: -0.8px; 
    text-decoration: none; 
    color: var(--black);
}

/* --- 3. NAVIGATION & LANGUAGE SWITCHER --- */
.nav-links {
    list-style: none;
    margin: 0; padding: 0;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--grey);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--black); font-weight: 700; }

.nav-actions { display: flex; align-items: center; gap: 15px; }

.language-switcher { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; }
.language-switcher a { text-decoration: none; color: var(--grey); padding: 2px 4px; }
.language-switcher a.active { color: var(--black); border-bottom: 2px solid var(--accent); }
.language-switcher span { margin: 0 5px; color: var(--border); }

/* --- 4. SECTIONS (Hero, Content, Cards) --- */
.hero { padding: 60px 0; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 15px; font-weight: 700; }
.hero h2 { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1.15; margin: 0 0 20px 0; font-weight: 700; letter-spacing: -0.5px; }
.hero p { font-size: 1.15rem; color: var(--grey); margin-bottom: 30px; }

.btn-primary, .btn-secondary { padding: 12px 24px; border-radius: 99px; text-decoration: none; font-weight: 500; font-size: 0.95rem; text-align: center; transition: 0.2s; }
.btn-primary { background: var(--black); color: #fff; }
.btn-secondary { border: 1px solid var(--border); color: var(--black); }

section { padding: 60px 0; }
h3 { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey); margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.content-body { font-family: var(--font-serif); font-size: 1.2rem; color: #292929; }
.content-body p { margin-bottom: 25px; }

.capability-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.card h4 { margin: 0 0 10px 0; font-size: 1.1rem; }

/* --- 5. FOOTER --- */
footer { padding: 40px 0; border-top: 1px solid var(--border); background: #fff; }
footer .footer-links { margin: 15px 0; font-size: 0.9rem; color: var(--grey); }
footer .footer-links a { text-decoration: none; color: var(--grey); transition: color 0.2s ease; }
footer .footer-links a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
footer .footer-links span.divider { margin: 0 8px; }

/* --- 6. MOBILE DOCK --- */
.mobile-dock {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; background: rgba(26, 26, 26, 0.98);
    display: flex; justify-content: space-around; padding: 12px 10px;
    border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); z-index: 9999;
}
.dock-item { text-decoration: none; color: #fff; display: flex; flex-direction: column; align-items: center; opacity: 0.5; transition: 0.3s; flex: 1; }
.dock-item.active { opacity: 1; }
.dock-icon { font-weight: 800; font-size: 0.95rem; margin-bottom: 2px; }
.dock-label { font-size: 0.6rem; text-transform: uppercase; font-weight: 600; }

/* --- 7. RESPONSIVE LOGIC --- */

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .nav-links { display: none !important; }
    body { padding-bottom: 90px !important; }
    .hero h2 { font-size: 2.2rem; }
}

/* Desktop (>= 768px) */
@media (min-width: 768px) {
    .mobile-dock { display: none !important; }
    .nav-links { display: flex; }
    .hero { padding: 50px 0; }
    .hero h2 { font-size: 3.5rem; }
    .hero p { font-size: 1.4rem; max-width: 90%; }
    .cta-buttons { flex-direction: row; }
    .content-body { font-size: 1.35rem; }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 50px 0; }
}

/*--- CTA Button ---*/
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }

/* Desktop (>= 768px) */
@media (min-width: 768px) {
    .cta-buttons { flex-direction: row; }
}

.copyright-footer {
    font-size: 0.8rem; 
    color: var(--grey); 
    margin-top: 20px;
}

.copyright-footer a {
    text-decoration: none;
    color: inherit;
}

/* Table Styling */
/* Container styling */
.table-responsive {
    margin: 40px 0;
    overflow-x: auto;
    border-radius: 8px;
    background: #ffffff;
}

/* Base Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', -apple-system, sans-serif; /* Pastikan menggunakan font clean */
    font-size: 0.95rem;
    color: #333;
    text-align: left;
}

/*=== Header Styling ===*/
.table thead {
    background-color: #f8f9fa; /* Sangat soft */
    border-bottom: 1px solid #1a1a1a; /* Garis aksen tegas */
}

.table th {
    padding: 18px 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-size: 0.75rem;
    color: #1a1a1a;
    background: #fff;
}

/* Body Styling */
.table tbody tr {
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s ease;
}

/* Hover effect - subtle */
.table tbody tr:hover {
    background-color: #fcfcfc;
}

.table td {
    padding: 20px 24px;
    line-height: 1.6;
    vertical-align: top;
}

/* Column Specific Styling */
.table td:first-child {
    font-weight: 600;
    color: #1a1a1a;
    width: 20%; /* Memberikan struktur pada kolom Dimensi */
}

.table td:nth-child(2) {
    color: #4a5568; /* Grey yang lebih soft untuk Basis Regulasi */
    width: 35%;
}

.table td:last-child {
    color: #2d3748;
    width: 45%;
}

/* Responsive adjust */
@media (max-width: 768px) {
    .table {
        font-size: 0.85rem;
    }
    .table th, .table td {
        padding: 12px 16px;
    }
}

/* Note styling for table footnotes */
.note {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 12px;
  text-align: center;
  font-style: italic;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Styling untuk container logo dan teks brand */
.logo {
    display: flex;           /* Mengaktifkan flexbox */
    align-items: center;     /* Rata tengah vertikal */
    /*gap: 12px;*/               /* Jarak antara gambar dan teks */
    text-decoration: none;   /* Menghapus garis bawah dari link */
    color: inherit;         /* Mewarisi warna teks dari parent */
}

/* Styling untuk gambar logo */
.logo img {
    height: 40px;           /* Atur tinggi gambar (sesuaikan) */
    width: auto;            /* Lebar menyesuaikan proporsi */
    display: block;         /* Menghilangkan spasi bawah gambar */
}

/* Styling untuk teks brand */
.logo a {
    font-size: 1.5rem;      /* Ukuran font (sesuaikan) */
    font-weight: 700;       /* Ketebalan font (bold) */
    font-family: 'Segoe UI', Arial, sans-serif; /* Jenis font */
    color: #00A6A6;            /* Warna teks (sesuaikan dengan brand) */
    text-decoration: none;  /* Pastikan tidak ada underline */
}

/* Efek hover opsional */
.logo:hover {
    opacity: 0.9;           /* Sedikit transparan saat hover */
}