@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --line: #d9e1ec;
    --text: #0a1a23;
    --muted: #475569;
    --brand-green: #159550;
    --brand-green-dark: #0f6f3d;
    --brand-orange: #f16334;
    --brand-orange-dark: #da4f22;
    --dark-hero: #101621;
    --dark-overlay: rgba(16, 22, 33, 0.76);
    --radius: 14px;
    --shadow: 0 14px 34px rgba(15, 23, 42, 0.11);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.landing-body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

.landing-topbar {
    max-width: 1240px;
    margin: 0 auto;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 172px;
    height: auto;
    display: block;
    transform: translateY(6px);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.84rem;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-nav a {
    text-decoration: none;
    color: #243244;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 12px;
    border-radius: 8px;
}

.top-nav a:hover {
    background: #edf2f7;
}

.top-nav a.top-nav-cta {
    background: var(--brand-green);
    color: #fff;
}

.top-nav a.top-nav-cta:hover {
    background: var(--brand-green-dark);
}

.landing-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 34px;
}

.hero-banner {
    border-radius: 18px;
    padding: 64px 56px;
    color: #fff;
    background:
        linear-gradient(0deg, var(--dark-overlay), var(--dark-overlay)),
        radial-gradient(circle at 78% 28%, rgba(241, 99, 52, 0.35), transparent 34%),
        radial-gradient(circle at 18% 15%, rgba(21, 149, 80, 0.30), transparent 36%),
        var(--dark-hero);
    box-shadow: var(--shadow);
}

.hero-overline {
    margin: 0 0 10px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    color: #d8e2f4;
    font-weight: 700;
}

.hero-banner h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    line-height: 1.13;
    max-width: 920px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-banner p {
    margin: 18px 0 0;
    color: #e2eaf7;
    max-width: 760px;
    font-size: 1rem;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-solid,
.btn-ghost {
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-solid {
    background: var(--brand-orange);
    color: #fff;
}

.btn-solid:hover {
    background: var(--brand-orange-dark);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-ghost:hover {
    border-color: #fff;
}

.metric-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
}

.metric-card strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 1.22rem;
    color: #17283e;
}

.metric-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.content-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.content-card h3 {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
}

.content-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.roles-panel {
    margin-top: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.roles-panel h2 {
    margin: 0 0 14px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.45rem;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.roles-grid div {
    padding: 12px;
    border-radius: 10px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.roles-grid strong {
    display: block;
    font-size: 0.94rem;
}

.roles-grid span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.86rem;
}

.access-section {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 14px;
}

.access-copy,
.login-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.access-copy {
    padding: 24px;
}

.access-copy h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.42rem;
}

.access-copy p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.access-copy ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #23384f;
    font-weight: 600;
}

.access-copy li {
    margin: 7px 0;
}

.login-panel {
    padding: 20px;
}

.login-panel h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.28rem;
}

.login-alert {
    margin-top: 12px;
    border: 1px solid #f4b2b2;
    background: #ffebeb;
    color: #972323;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.login-form {
    margin-top: 12px;
}

.field-label {
    display: block;
    margin: 8px 0 6px;
    font-size: 0.83rem;
    font-weight: 700;
}

.field-input {
    width: 100%;
    height: 44px;
    border-radius: 9px;
    border: 1px solid #c7d3e1;
    padding: 0 11px;
    font-size: 0.95rem;
}

.field-input:focus {
    outline: none;
    border-color: #2d73e4;
    box-shadow: 0 0 0 3px rgba(45, 115, 228, 0.14);
}

.btn-login {
    margin-top: 12px;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.btn-login:hover {
    filter: brightness(0.98);
}

@media (max-width: 1120px) {
    .access-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .metric-strip,
    .section-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        padding: 36px 24px;
    }
}

@media (max-width: 760px) {
    .landing-topbar {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px 14px 8px;
    }

    .landing-main {
        padding: 0 14px 18px;
    }

    .brand-copy {
        display: none;
    }

    .brand-logo {
        width: 150px;
        transform: translateY(3px);
    }

    .top-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .top-nav a {
        flex: 1 1 auto;
        text-align: center;
        background: #eaf0f8;
    }
}
