:root {
    --ink: #172033;
    --muted: #65758d;
    --line: #dfe7f1;
    --panel: #ffffff;
    --panel-soft: #f8fbff;
    --primary: #1e5eff;
    --primary-dark: #1749c8;
    --success: #168a65;
    --warning: #b7791f;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    background: #f3f6fa;
}

.bg-pattern {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(30, 94, 255, 0.1), rgba(22, 138, 101, 0.08) 42%, transparent 42%),
        linear-gradient(180deg, #f7faff 0%, #eef3f8 100%);
}

.public-navbar {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(202, 214, 230, 0.78);
    transition: box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

.public-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: #d7e1ee;
    box-shadow: 0 12px 28px rgba(24, 42, 72, 0.08);
}

.navbar-brand {
    min-width: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    background: #17335f;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px rgba(23, 51, 95, 0.2);
}

.brand-name {
    display: block;
    color: #172033;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.brand-text {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.25;
}

.nav-action,
.user-nav-btn {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 700;
}

.hero-section {
    padding: 70px 0 46px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfe0ff;
    background: #eef5ff;
    color: #1c56d8;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 7px 13px;
}

.hero-title {
    margin-top: 16px;
    margin-bottom: 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.55rem);
    line-height: 1.05;
    color: #12213a;
    max-width: 700px;
}

.hero-lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 650px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-points div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(193, 207, 225, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #32445f;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-points i {
    color: var(--primary);
}

.lookup-card {
    overflow: hidden;
    border: 1px solid rgba(204, 216, 231, 0.95);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 45px rgba(28, 48, 80, 0.12);
}

.lookup-card-header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #e8eef6;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.lookup-icon,
.section-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
    background: #eef5ff;
    color: var(--primary);
    font-size: 1.1rem;
}

.lookup-card-body {
    padding: 24px;
}

.helper-copy {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.form-label {
    color: #33445f;
    font-size: 0.86rem;
    font-weight: 800;
}

.form-control {
    border-color: #d6e0ec;
    border-radius: 8px;
}

.form-control:focus {
    border-color: #8db1ff;
    box-shadow: 0 0 0 0.22rem rgba(30, 94, 255, 0.12);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 18px rgba(30, 94, 255, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.result-card {
    border: 1px solid #e0e8f2;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(28, 48, 80, 0.08);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.section-title {
    font-weight: 800;
    color: #1b2d48;
}

.profile-grid {
    display: grid;
    gap: 0;
    border: 1px solid #e7eef7;
    border-radius: 8px;
    overflow: hidden;
}

.profile-grid div {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #e7eef7;
}

.profile-grid div:last-child {
    border-bottom: 0;
}

.profile-grid div:nth-child(even) {
    background: #f9fbfe;
}

.profile-grid span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.profile-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.sum-box {
    height: 100%;
    min-height: 86px;
    border: 1px solid #e2ebf5;
    border-radius: 8px;
    background: var(--panel-soft);
    padding: 14px;
}

.sum-box small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 7px;
}

.sum-box strong {
    display: block;
    color: #172033;
    font-size: 1rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #dde7f2;
    border-radius: 8px;
    background: #f8fbff;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.table-modern th {
    white-space: nowrap;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #677890;
    border-bottom-color: #dfe8f4;
    background: #f7faff;
}

.table-modern td {
    border-bottom-color: #edf2f8;
    color: #263850;
}

.reveal-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-up.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-up.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.public-footer {
    border-top: 1px solid #dfe8f2;
    background: rgba(255, 255, 255, 0.84);
}

.footer-contact a {
    color: #425672;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: var(--primary);
}

.dot-sep {
    margin: 0 8px;
    color: #8ea1bb;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 48px 0 34px;
    }

    .hero-title {
        max-width: 760px;
    }
}

@media (max-width: 767.98px) {
    .public-navbar .container {
        gap: 10px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .hero-section {
        padding-top: 34px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lookup-card-header,
    .lookup-card-body {
        padding: 20px;
    }

    .profile-grid div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .dot-sep {
        display: none;
    }

    .footer-contact {
        display: grid;
        gap: 4px;
    }
}
