:root {
    --navy: #10233f;
    --navy-dark: #0a172a;
    --blue: #1769e0;
    --blue-light: #edf5ff;
    --green: #1f8a70;
    --text: #172033;
    --muted: #667085;
    --border: #e4e8ef;
    --white: #ffffff;
    --bg: #f7f9fc;
    --shadow: 0 20px 60px rgba(16, 35, 63, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.topbar {
    height: 78px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text strong {
    display: block;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.15;
}

.brand-text small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
    margin-top: 3px;
}
.nav-login {
    border: 1px solid #cfd7e3;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.nav-login:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 90% 20%, rgba(23, 105, 224, .08), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 78px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 14px;
}

.hero h1 {
    max-width: 650px;
    color: var(--navy-dark);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.03;
    letter-spacing: -2.8px;
    margin-bottom: 22px;
}

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

.hero-content > p {
    max-width: 630px;
    color: var(--muted);
    font-size: 17px;
}

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

.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.btn-primary {
    color: white;
    background: var(--blue);
    box-shadow: 0 8px 20px rgba(23, 105, 224, .2);
}

.btn-primary:hover {
    background: #0f5ac7;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    border: 1px solid #d5dce7;
    color: var(--navy);
}

.btn-secondary:hover {
    border-color: var(--navy);
}

.quick-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: #596579;
    font-size: 13px;
}

.quick-points span {
    color: var(--green);
    font-weight: 800;
    margin-right: 4px;
}

/* Login card */
.login-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 31px;
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 26px;
}

.lock-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 900;
}

.card-header h2 {
    color: var(--navy);
    font-size: 21px;
    line-height: 1.2;
}

.card-header p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.label-row {
    display: flex;
    justify-content: space-between;
}

.label-row a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 47px;
    border: 1px solid #d5dce7;
    border-radius: 8px;
    padding: 0 13px;
    color: var(--text);
    background: white;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: .2s;
}

input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 224, .10);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 62px;
}

.show-password {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 31px;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    margin-top: 4px;
}

.login-note {
    color: #98a2b3;
    font-size: 11px;
    text-align: center;
    margin-top: 17px;
}

.alert {
    padding: 10px 12px;
    border-radius: 7px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
}

.alert.error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.alert.success {
    color: #027a48;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

/* About */
.about {
    padding: 92px 0;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 42px;
}

.section-heading h2,
.workflow h2 {
    color: var(--navy-dark);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.12;
    letter-spacing: -1.4px;
    margin-bottom: 15px;
}

.section-heading p,
.workflow p {
    color: var(--muted);
    font-size: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 25px;
    min-height: 205px;
    transition: .2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(16, 35, 63, .07);
}

.feature-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
}

/* Workflow */
.workflow {
    padding: 72px 0;
    background: var(--navy);
    color: white;
}

.workflow h2 {
    color: white;
}

.workflow p {
    max-width: 600px;
    color: #b8c4d6;
}

.workflow .eyebrow {
    color: #76aaff;
}

.workflow-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.steps {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    min-width: 75px;
}

.step strong {
    font-size: 12px;
    color: #77aaff;
}

.step span {
    font-size: 12px;
    color: white;
}

.line {
    width: 35px;
    height: 1px;
    background: #526782;
    margin: 0 7px;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: #aab6c7;
    padding: 25px 0;
    font-size: 11px;
}

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

.footer-inner strong,
.footer-inner span {
    display: block;
}

.footer-inner strong {
    color: white;
    font-size: 13px;
}

.footer-inner div span {
    margin-top: 2px;
}
.hero-content > p strong {
    color: var(--navy);
    font-weight: 700;
}
/* Responsive */
/* Tablet */
@media (max-width: 992px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content > p {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .quick-points {
        justify-content: center;
    }

    .login-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .steps {
        margin-top: 30px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .line {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .container {
        width: calc(100% - 30px);
    }

    .topbar {
        height: auto;
        padding: 15px 0;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .brand {
        justify-content: center;
    }

    .hero {
        padding: 40px 0 50px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .quick-points {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 25px;
    }

    .login-card {
        padding: 25px;
        border-radius: 14px;
    }

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

    .feature-card {
        min-height: auto;
    }

    .section-heading h2,
    .workflow h2 {
        font-size: 30px;
    }

    .steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }

    .step {
        background: rgba(255,255,255,0.08);
        padding: 15px;
        border-radius: 10px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 28px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .card-header h2 {
        font-size: 18px;
    }

    .login-card {
        padding: 20px;
    }

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