:root {
    --primary: #1a3a6b;
    --primary-dark: #0f2447;
    --accent: #e8a020;
    --accent-dark: #c8880a;
    --light: #f0f4f8;
    --text: #2d3748;
    --text-muted: #6b7280;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(26,58,107,0.10);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ── Navbar ── */
.navbar {
    background: var(--primary);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.navbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-icon {
    width: 42px; height: 42px;
    background: var(--accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.2rem; color: var(--white);
    flex-shrink: 0;
}

.brand-text small {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.04em;
}

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

.nav-links li a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 0 1.1rem;
    height: 68px;
    line-height: 68px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.10);
}

.nav-links li a.active {
    border-bottom: 3px solid var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: white; margin: 5px 0; border-radius: 2px;
    transition: 0.3s;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0a1a3a 100%);
    color: var(--white);
    padding: 90px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    background: rgba(232,160,32,0.20);
    border: 1px solid rgba(232,160,32,0.50);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

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

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 32px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); opacity: 0.95; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--white); margin-left: 12px; }
.btn-outline:hover { border-color: white; }

/* ── Page Header ── */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 56px 2rem 48px;
    text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.page-header p { opacity: 0.85; font-size: 1rem; max-width: 500px; margin: 0 auto; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 14px; font-size: 0.85rem; opacity: 0.75;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-title {
    font-size: 1.85rem; font-weight: 800; color: var(--primary);
    margin-bottom: 8px; letter-spacing: -0.03em;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 48px; font-size: 1.02rem; }
.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-bg { background: var(--light); }

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,58,107,0.15); }

.card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), #2a5abf);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 16px;
    flex-shrink: 0;
}

.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.card p { color: var(--text-muted); font-size: 0.93rem; }

/* ── Stats ── */
.stats-bar {
    background: var(--primary);
    padding: 48px 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: 1180px; margin: 0 auto; text-align: center;
}
.stat-item { color: white; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }

/* ── Produk ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,58,107,0.15); }

.product-card-header {
    background: linear-gradient(135deg, var(--primary), #2a5abf);
    padding: 20px 24px;
    color: white;
}
.product-card-header .prod-icon { font-size: 2rem; margin-bottom: 8px; }
.product-card-header h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.product-card-body { padding: 20px 24px; }
.product-card-body p { color: var(--text-muted); font-size: 0.9rem; }

.tag {
    display: inline-block;
    background: rgba(26,58,107,0.08);
    color: var(--primary);
    font-size: 0.75rem; font-weight: 600;
    padding: 3px 10px; border-radius: 999px;
    margin: 2px;
}
.tag-accent { background: rgba(232,160,32,0.12); color: #b37800; }

/* ── Info blocks ── */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .info-grid { grid-template-columns: 1fr; }
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
    text-align: left; padding: 12px 0;
    font-weight: 600; color: var(--text-muted);
    font-size: 0.88rem; width: 40%; vertical-align: top;
}
.info-table td {
    padding: 12px 0 12px 16px;
    font-size: 0.92rem; color: var(--text);
}

/* ── KBLI Table ── */
.kbli-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; }
.kbli-table thead th {
    background: var(--primary); color: white;
    padding: 12px 16px; text-align: left; font-size: 0.88rem;
}
.kbli-table tbody tr { border-bottom: 1px solid var(--border); }
.kbli-table tbody tr:last-child { border-bottom: none; }
.kbli-table tbody tr:hover { background: var(--light); }
.kbli-table tbody td { padding: 12px 16px; font-size: 0.9rem; }

/* ── License cards ── */
.license-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.license-card-header {
    background: linear-gradient(135deg, var(--primary), #2a5abf);
    color: white;
    padding: 20px 24px;
    display: flex; align-items: center; gap: 12px;
}
.license-card-header .lic-icon { font-size: 1.8rem; }
.license-card-header h3 { font-weight: 700; font-size: 1.05rem; margin: 0; }
.license-card-header p { font-size: 0.82rem; opacity: 0.8; margin: 2px 0 0; }
.license-card-body { padding: 24px; }

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px;
}
.contact-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(26,58,107,0.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}
.contact-item h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text); display: block; }
.contact-item a:hover { color: var(--accent); }

/* ── Prose pages ── */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; font-weight: 700; color: var(--primary); margin: 36px 0 12px; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--text); }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 6px; }
.prose .highlight-box {
    background: rgba(26,58,107,0.06);
    border-left: 4px solid var(--primary);
    padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 20px;
}

/* ── Footer ── */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 56px 2rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    max-width: 1180px; margin: 0 auto;
    padding-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer h4 {
    color: white; font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer p, .footer a { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.8; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer-email { color: var(--accent) !important; font-weight: 500; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    max-width: 1180px; margin: 0 auto;
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Highlight/Alert ── */
.alert-info {
    background: rgba(26,58,107,0.07);
    border: 1px solid rgba(26,58,107,0.18);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 0.92rem;
    margin-bottom: 24px;
}
.alert-info strong { color: var(--primary); }

/* ── Deletion form ── */
.deletion-form input, .deletion-form textarea, .deletion-form select {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: 8px;
    font-size: 0.95rem; font-family: inherit;
    margin-top: 6px; color: var(--text);
    background: white;
}
.deletion-form label { font-weight: 600; font-size: 0.9rem; display: block; }
.deletion-form .field { margin-bottom: 18px; }
.deletion-form .btn-primary { background: var(--primary); color: white; border: none; padding: 12px 28px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hamburger { display: block; }
    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--primary); padding: 8px 0; gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { height: auto; line-height: 1.5; padding: 12px 24px; }
    .hero h1 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .hero { padding: 60px 1.5rem 50px; }
    .section { padding: 48px 0; }
    .card-grid, .product-grid { grid-template-columns: 1fr; }
    .btn-outline { margin-left: 0; margin-top: 8px; }
}
