:root {
    --wh-bg: #f4f6fa;
    --wh-surface: #ffffff;
    --wh-text: #18253d;
    --wh-text-soft: #617089;
    --wh-border: #dbe3ef;
    --wh-primary: #2c5cc5;
    --wh-shadow: 0 10px 28px rgba(15, 31, 61, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 100%);
    color: var(--wh-text);
}

a {
    text-decoration: none;
}

.landing-shell {
    min-height: 100vh;
}

.landing-container {
    max-width: 1180px;
}

.topbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--wh-border);
    backdrop-filter: blur(8px);
}

.topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #315fd1, #4f8eff);
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wh-text);
}

.topbar-btn {
    padding-inline: 1rem;
}

.landing-main {
    padding: 2rem 0 4rem;
}

.intro-section {
    padding: 0.75rem 0 1.75rem;
}

.intro-card {
    padding: 1.2rem 1.4rem;
    border-radius: 18px;
    background: var(--wh-surface);
    border: 1px solid var(--wh-border);
}

.intro-copy {
    max-width: 680px;
}

.intro-title {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    color: var(--wh-text);
}

.intro-desc {
    margin: 0;
    max-width: 680px;
    color: var(--wh-text-soft);
    line-height: 1.6;
}

.modules-section {
    color: var(--wh-text);
}

.section-heading {
    margin-bottom: 1rem;
}

.section-title {
    margin: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 700;
    color: var(--wh-text);
}

.module-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--wh-border);
    box-shadow: 0 4px 14px rgba(15, 31, 61, 0.04);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 31, 61, 0.07);
    border-color: #c7d5ea;
}

.module-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.9rem;
}

.module-meta {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b8aa3;
    margin-bottom: 0.6rem;
}

.module-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: var(--wh-text);
}

.module-desc {
    margin-bottom: 0.95rem;
    line-height: 1.6;
    color: var(--wh-text-soft);
    flex-grow: 1;
}

.module-btn {
    width: 100%;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font-weight: 600;
    color: #24406d;
    background: #f4f7fb;
    border: 1px solid #d8e1ee;
}

.module-btn:hover {
    color: #1d3760;
    background: #edf2f9;
}

.module-card-monitor .module-icon {
    background: linear-gradient(135deg, #18a86b, #45c994);
}

.module-card-admn .module-icon {
    background: linear-gradient(135deg, #6f7a8c, #8f9aad);
}

.module-card-ckpt .module-icon {
    background: linear-gradient(135deg, #2583e8, #5ba7ff);
}

.module-card-ifmn .module-icon {
    background: linear-gradient(135deg, #425ee8, #7486ff);
}

.module-card-qcmd .module-icon {
    background: linear-gradient(135deg, #33415c, #576784);
}

.module-card-plan .module-icon {
    background: linear-gradient(135deg, #d48c20, #efbb4c);
}

.landing-footer {
    padding: 1.4rem 0 2rem;
    border-top: 1px solid var(--wh-border);
    background: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 800;
    color: var(--wh-text);
    margin-bottom: 0.2rem;
}

.footer-text {
    color: var(--wh-text-soft);
    line-height: 1.7;
}

.footer-text a {
    color: var(--wh-primary);
}

@media (max-width: 991.98px) {
    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .topbar-inner {
        min-height: 68px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .intro-card,
    .module-card {
        border-radius: 14px;
    }
}
