:root {
    --primary: #2563eb;
    --primary-soft: #dbeafe;
    --dark: #0f172a;
    --text: #1f2933;
    --muted: #6b7280;
    --bg: #f3f4f6;
    --white: #ffffff;
    --radius-lg: 18px;
    --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, #e0f2fe, #f9fafb);
    color: var(--text);
    line-height: 1.7;
}

/* HEADER */

.navbar-custom {
    max-width: 1100px;
    margin: 0 auto;
}

.brand-text-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.brand-text-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: -3px;
}

.tag-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.brand-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* HERO */

.hero {
    margin-top: 6px;
    padding: 0 12px 10px;
}

.hero-card {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-radius: 24px;
    padding: 22px 20px;
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 13px;
    color: #e5e7eb;
    margin-bottom: 14px;
}

.hero-badges {
    gap: 8px;
    margin-bottom: 14px;
}

.hero-badge {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-note {
    font-size: 11px;
    color: #cbd5f5;
}

.hero-right {
    gap: 10px;
}

.hero-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #bfdbfe;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-button {
    flex: 1;
    min-width: 120px;
    border-radius: 999px;
    border: none;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(15, 23, 42, 0.18);
    color: #eff6ff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: all 0.18s ease-in-out;
}

.hero-button span {
    font-size: 16px;
}

.hero-button:hover {
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-1px);
}

.hero-button.primary {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.hero-button.primary:hover {
    background: #ffffff;
}

/* MAIN */

main {
    padding: 0 12px 30px;
    margin-top: 10px;
}

/* grid di beranda */
.content-grid-home {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .content-grid-home {
        grid-template-columns: 1fr;
    }
}

/* kartu umum */
.content-card,
.single-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 20px 18px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(10px);
    margin-bottom: 12px;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.09em;
    margin-bottom: 4px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.section-text {
    font-size: 13px;
    color: var(--text);
    text-align: justify;
}

.section-text + .section-text {
    margin-top: 4px;
}

.subheading {
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 2px;
    color: var(--dark);
}

/* subcard di beranda */
.subcard {
    background: #f9fafb;
    border-radius: 16px;
    padding: 12px 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.subcard h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.subcard p {
    font-size: 12px;
    margin-bottom: 8px;
}

/* FOOTER */

.footer-custom {
    background: #0f172a;
    color: #e5e7eb;
    padding: 12px 0 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.5);
}

.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-text {
    font-size: 12px;
}

.footer-text-small {
    font-size: 11px;
    color: #9ca3af;
    text-align: right;
}

@media (max-width: 576px) {
    .footer-text-small {
        text-align: left;
    }
}

/* scroll to top */

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #e5e7eb;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
    font-size: 18px;
    z-index: 10;
}

.scroll-top.show {
    display: flex;
}
