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

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

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #18324b;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 28%),
        radial-gradient(circle at right, rgba(22, 115, 255, 0.12), transparent 24%),
        linear-gradient(135deg, #0e57ca 0%, #1178e0 36%, #79c9e6 100%);
    animation: page-fade 0.45s ease;
}

@keyframes page-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    min-height: 100vh;
    padding: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 1px minmax(380px, 0.92fr);
    align-items: stretch;
    background: rgba(247, 251, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 34px;
    padding: 28px;
    gap: 28px;
    box-shadow: 0 28px 70px rgba(9, 38, 87, 0.24);
    backdrop-filter: blur(16px);
    overflow: hidden;
    animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-panel {
    position: relative;
    padding: 22px 24px 22px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-panel::before {
    width: 240px;
    height: 240px;
    top: -80px;
    left: -70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 68%);
}

.hero-panel::after {
    width: 180px;
    height: 180px;
    right: 12px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(17, 120, 224, 0.12), transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #1558bc;
    border: 1px solid rgba(21, 88, 188, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-logo {
    width: min(340px, 72%);
    height: auto;
    margin-bottom: 1.4rem;
    filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.08));
}

.hero-panel h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #12314d;
    max-width: 8ch;
}

.hero-copy {
    max-width: 560px;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #5f7489;
}

.hero-points {
    display: grid;
    gap: 0.9rem;
    max-width: 580px;
}

.hero-point {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(210, 222, 233, 0.92);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
}

.hero-point strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #17324d;
    font-size: 0.98rem;
}

.hero-point span {
    color: #667b8f;
    line-height: 1.65;
    font-size: 0.92rem;
}

.vertical-line {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(122, 142, 163, 0.34), transparent);
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.login-shell {
    width: min(460px, 100%);
    animation: rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-header {
    margin-bottom: 1.15rem;
}

.login-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(18, 110, 221, 0.08);
    color: #175bc0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-header h2 {
    margin: 0.95rem 0 0.55rem;
    font-size: clamp(1.9rem, 2.4vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    color: #17324d;
}

.login-header p {
    margin: 0;
    color: #708497;
    line-height: 1.75;
}

.login-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.96));
    width: 100%;
    border-radius: 30px;
    border: 1px solid rgba(213, 223, 232, 0.96);
    padding: 24px 22px 24px;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.input-box {
    width: 100%;
    margin: 0 0 16px;
    transition: transform 0.18s ease;
}

.input-box:focus-within {
    transform: translateY(-1px);
}

.input-box label {
    display: block;
    margin-bottom: 0.5rem;
    color: #33506d;
    font-size: 0.92rem;
    font-weight: 700;
}

.input-box input {
    width: 100%;
    min-height: 56px;
    background: #f7fafc;
    border-radius: 16px;
    border: 1px solid #d7e1ea;
    font-size: 16px;
    color: #213547;
    padding: 0 18px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.input-box input:focus {
    outline: none;
    background: #fff;
    border-color: rgba(15, 111, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 111, 235, 0.12);
}

.login-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0.55rem 0 1.3rem;
    color: #7a8ea1;
    font-size: 0.83rem;
    line-height: 1.5;
}

.button-container {
    text-align: right;
    padding-top: 4px;
}

.button {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f6feb, #238ad8);
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 14px 28px rgba(15, 111, 235, 0.2);
}

.button:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow: 0 18px 32px rgba(15, 111, 235, 0.26);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 980px) {
    main {
        padding: 18px;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 22px;
        border-radius: 26px;
    }

    .vertical-line {
        width: 100%;
        height: 1px;
    }

    .hero-panel {
        padding: 8px 4px 0;
    }

    .hero-logo {
        width: min(260px, 70%);
    }

    .hero-panel h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 640px) {
    .hero-points {
        gap: 0.7rem;
    }

    .hero-point {
        padding: 0.9rem 0.95rem;
    }

    .login-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
