* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #eef3f8;
    color: #1f2937;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* =========================
   TOPBAR / NAVBAR
========================= */
.topbar {
    width: 100%;
    background: #12365c;
    border-top: 3px solid #d9a62e;
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* BRAND */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-text h2 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.brand-text span {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 400;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.menu a {
    color: #e2e8f0 !important;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
    line-height: 1;
}

.menu a:hover,
.menu a.active {
    color: #ffffff !important;
}

.menu a.active::after,
.menu a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: #d9a62e;
}

/* =========================
   HERO
========================= */
.hero-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #2c568a 0%, #274f7f 100%);
    padding: 60px 0 80px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 140px, transparent 141px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 45%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-inner h1 {
    font-size: 54px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-inner p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
}

.breadcrumb-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #173f73;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(12, 31, 58, 0.16);
}

.breadcrumb-box a {
    color: #ffffff;
}

.breadcrumb-box .current {
    font-weight: 700;
}

/* =========================
   CEK SECTION
========================= */
.cek-section {
    position: relative;
    margin-top: -48px;
    padding: 0 0 85px;
}

/* CARD FORM */
.cek-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border-radius: 30px;
    padding: 38px;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 22px 45px rgba(15, 23, 42, 0.08),
        0 8px 18px rgba(37, 99, 235, 0.04);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto 28px;
}

.cek-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #bfdbfe);
}

.cek-card-top {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.cek-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0ff, #f3f7ff);
    color: #1d4ed8;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid #dbeafe;
}

.cek-card h3,
.hasil-header h3 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.cek-desc,
.hasil-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.9;
}

/* FORM */
.cek-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.25s ease;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow:
        0 0 0 5px rgba(37, 99, 235, 0.10),
        0 8px 18px rgba(37, 99, 235, 0.06);
}

.btn-cari {
    width: 100%;
    margin-top: 6px;
    padding: 16px 22px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        0 14px 24px rgba(37, 99, 235, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-cari:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* =========================
   HASIL PESAN
========================= */
.hasil-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.hasil-header {
    padding: 24px 28px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border-bottom: 1px solid #e2e8f0;
}

.hasil-list {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pesan-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 22px;
}

.pesan-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pesan-top h4 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 4px;
}

.pesan-tanggal {
    font-size: 13px;
    color: #64748b;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-replied {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.pesan-box-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pesan-box label {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

.pesan-box-content {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    padding: 16px;
    min-height: 120px;
    color: #334155;
    line-height: 1.8;
    font-size: 14px;
}

/* EMPTY */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 22px;
}

.empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.empty-state h4 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 8px;
}

.empty-state p {
    color: #64748b;
    font-size: 14px;
}

/* ALERT */
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error ul {
    padding-left: 18px;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0;
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer h3,
.footer h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .hero-inner h1 {
        font-size: 44px;
    }

    .hero-inner p {
        font-size: 16px;
    }

    .pesan-box-wrap {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: auto;
        padding: 16px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .menu {
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-page {
        padding: 58px 0 82px;
    }

    .hero-inner h1 {
        font-size: 36px;
    }

    .hero-inner p {
        font-size: 15px;
    }

    .cek-section {
        margin-top: -38px;
    }

    .cek-card,
    .hasil-header,
    .hasil-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cek-card {
        padding-top: 26px;
        padding-bottom: 26px;
        border-radius: 22px;
    }

    .pesan-item {
        padding: 18px;
    }

    .brand-text h2 {
        font-size: 15px;
    }
}