:root {
    --brand-blue: #0b4f9c;
    --brand-blue-dark: #083c78;
    --brand-blue-soft: #eaf2fb;
    --brand-cyan: #2f7cc1;
    --brand-green: #76b82a;
    --brand-yellow: #d7c600;
    --brand-red: #df3a32;
    --text-main: #1d2a3a;
    --text-soft: #5f6f82;
    --bg-page: #f4f7fb;
    --bg-white: #ffffff;
    --border-soft: #dbe5f0;
    --shadow-soft: 0 14px 36px rgba(11, 79, 156, 0.08);
    --shadow-hover: 0 18px 45px rgba(11, 79, 156, 0.16);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
}

.topbar {
    background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
    color: #fff;
}

.topbar-text,
.topbar-text-subtle {
    color: rgba(255, 255, 255, 0.92);
}

.main-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11, 79, 156, 0.08);
    box-shadow: 0 6px 20px rgba(11, 79, 156, 0.04);
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.84rem;
    color: var(--text-soft);
    font-weight: 600;
}

.navbar .nav-link {
    color: var(--text-main);
    font-weight: 600;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--brand-blue);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 79, 156, 0.18);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: var(--brand-blue);
    color: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(47, 124, 193, 0.14), transparent 28%),
        radial-gradient(circle at left center, rgba(118, 184, 42, 0.10), transparent 22%),
        linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(11, 79, 156, 0.08);
    color: var(--brand-blue-dark);
    font-weight: 700;
    border: 1px solid rgba(11, 79, 156, 0.12);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-blue-dark);
}

.hero-title span {
    color: var(--brand-blue);
}

.hero-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
    max-width: 700px;
}

.hero-panel {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    border: 1px solid rgba(11, 79, 156, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-soft);
}

.hero-logo {
    max-width: 180px;
}

.hero-panel h3,
.hero-panel h2 {
    font-weight: 800;
    color: var(--brand-blue-dark);
}

.hero-panel p {
    color: var(--text-soft);
    line-height: 1.7;
}

.hero-stats .stat-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(11, 79, 156, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(11, 79, 156, 0.05);
}

.stat-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--brand-blue-dark);
    font-weight: 800;
}

.stat-card span {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.systems-section,
.about-section {
    padding: 88px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--brand-blue-dark);
}

.section-text {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.system-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(11, 79, 156, 0.22);
}

.featured-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green), var(--brand-red));
}

.system-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 79, 156, 0.12), rgba(47, 124, 193, 0.08));
    color: var(--brand-blue);
    font-size: 1.8rem;
    margin-bottom: 1.3rem;
}

.system-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 0.95rem;
    line-height: 1.4;
}

.system-description {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.system-footer {
    margin-top: auto;
}

.btn-brand-soft {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
    border: 1px solid rgba(11, 79, 156, 0.1);
    border-radius: 12px;
    font-weight: 700;
    padding: 0.75rem 1rem;
}

.btn-brand-soft:hover {
    background: var(--brand-blue);
    color: #fff;
}

.info-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.info-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 79, 156, 0.09);
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 0;
}

.search-box {
    max-width: 900px;
    margin: 0 auto;
}

.search-icon {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-right: 0;
    color: var(--brand-blue);
    border-radius: 16px 0 0 16px;
}

.search-input {
    border: 1px solid var(--border-soft);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    box-shadow: none;
    padding: 0.95rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--brand-blue-dark);
    background-color: #fff;
}

.search-input::placeholder {
    color: var(--brand-blue);
    opacity: 1;
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: rgba(11, 79, 156, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(11, 79, 156, 0.08);
    color: var(--brand-blue-dark);
}

.search-help {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--text-soft);
}

.no-results-box {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    color: var(--text-soft);
    box-shadow: var(--shadow-soft);
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

.delay-3 {
    transition-delay: 0.36s;
}

.system-item {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-footer {
    background: linear-gradient(135deg, var(--brand-blue-dark), #062b56);
    color: rgba(255, 255, 255, 0.88);
    padding: 2.5rem 0;
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-brand h5,
.footer-brand h4 {
    color: #fff;
    font-weight: 700;
}

.footer-brand p,
.main-footer small,
.main-footer p {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 70px;
    }

    .brand-logo,
    .footer-logo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767.98px) {

    .hero-actions .btn,
    .btn-brand,
    .btn-outline-brand {
        width: 100%;
        justify-content: center;
    }

    .hero-panel {
        padding: 1.75rem;
    }

    .system-card,
    .info-card {
        padding: 1.5rem;
    }
}