
:root {
    --navy: #102b46;
    --navy-dark: #0a2037;
    --blue: #17466c;
    --red: #c94450;
    --teal: #26a6a0;
    --text: #26384b;
    --muted: #7d8b99;
    --border: #e5ebf0;
    --background: #f4f7fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

/* Header */

.topbar {
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    font-size: 25px;
    font-weight: 800;
    position: relative;
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    right: -3px;
    top: -3px;
    background: var(--red);
    border: 2px solid white;
    border-radius: 50%;
}

.brand-name {
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-name span {
    color: var(--red);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.nav-login {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Main layout */

.hero {
    width: min(1320px, 88%);
    margin: auto;
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 75px;
}

.hero-content {
    padding: 20px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(38, 166, 160, 0.12);
}

.hero-content h1 {
    color: var(--navy);
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-content h1 span {
    color: var(--red);
}

.hero-description {
    max-width: 550px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 38px;
}

/* Features */

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #eaf1f7;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 700;
}

.feature h3 {
    color: var(--navy);
    font-size: 14px;
    font-weight: 750;
    margin: 2px 0 7px;
}

.feature p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 48px;
    color: #94a1ad;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Login card */

.login-area {
    width: 100%;
    max-width: 445px;
    justify-self: end;
}

.login-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 18px 55px rgba(16, 43, 70, 0.08);
}

.login-logo {
    margin-bottom: 25px;
}

.login-heading {
    margin-bottom: 30px;
}

.section-label {
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.login-heading h2 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
    margin: 10px 0;
}

.login-heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Form */

#loginForm {
    display: flex;
    flex-direction: column;
}

#loginForm > label {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

#loginForm input[type="email"],
#loginForm input[type="password"] {
    width: 100%;
    height: 49px;
    padding: 0 15px;
    margin-bottom: 21px;
    background: #fbfcfd;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    color: var(--text);
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#loginForm input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(38, 166, 160, 0.1);
}

#loginForm input::placeholder {
    color: #aab4bd;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -2px 0 25px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
}

.remember input {
    accent-color: var(--teal);
}

.forgot {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.sign-in-button {
    height: 51px;
    border: 0;
    border-radius: 9px;
    background: var(--navy);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s, transform 0.2s;
}

.sign-in-button:hover {
    background: var(--blue);
    transform: translateY(-1px);
}

.sign-in-button span {
    font-size: 19px;
}

/* Notice and footer */

.login-notice {
    margin-top: 18px;
    padding: 12px;
    border-radius: 8px;
    background: #fff6e9;
    border: 1px solid #f2dfbd;
    color: #916522;
    font-size: 12px;
    line-height: 1.6;
}

.login-footer {
    border-top: 1px solid var(--border);
    margin-top: 27px;
    padding-top: 20px;
    text-align: center;
    color: #9aa6b1;
    font-size: 10px;
}

.support-text {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    margin-top: 19px;
}

/* Page footer */

.footer {
    min-height: 65px;
    padding: 15px 7%;
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #9aa6b1;
    font-size: 10px;
}

/* Responsive */

@media (max-width: 1000px) {
    .hero {
        width: 90%;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .login-card {
        padding: 30px;
    }
}

@media (max-width: 760px) {
    .topbar {
        min-height: 70px;
        padding: 0 5%;
    }

    .product-label {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        width: 90%;
        padding: 45px 0;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .login-area {
        max-width: 100%;
        justify-self: stretch;
    }

    .features {
        gap: 22px 15px;
    }

    .trust-line {
        margin-top: 30px;
    }

    .footer {
        padding: 18px 5%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .brand-name {
        font-size: 17px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .login-card {
        padding: 25px 21px;
    }

    .form-options {
        align-items: flex-start;
    }
}
