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

:root {
    --primary: #17265d;
    --primary-light: #223380;
    --primary-dark: #0e1a3f;
    --secondary: #139bce;
    --secondary-light: #1ab5f0;
    --secondary-dark: #0f7aaa;
    --white: #ffffff;
    --bg: #f0f4f8;
    --text-dark: #1a1a2e;
    --text-mid: #3d4a6b;
    --text-light: #6b7a99;
    --border: #dde4ef;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 16px rgba(23, 38, 93, 0.10);
    --shadow-lg: 0 8px 32px rgba(23, 38, 93, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    display: flex;
    min-height: 100vh;
}

/* ═══════════════════════════════════════
       LEFT BRAND PANEL
    ═══════════════════════════════════════ */
.left-panel {
    width: 50%;
    background: var(--white);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 40px 100px;
}

/* Square grid texture */
.grid-tex {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 38, 93, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 38, 93, 0.055) 1px, transparent 1px);
    background-size: 38px 38px;
}

/* Floating accent squares */
.sq {
    position: absolute;
    border-radius: 6px;
    opacity: 0.13;
}

.sq.s1 {
    width: 72px;
    height: 72px;
    background: var(--secondary);
    top: 38px;
    right: 60px;
    transform: rotate(15deg);
}

.sq.s2 {
    width: 44px;
    height: 44px;
    background: var(--primary);
    top: 120px;
    right: 28px;
    transform: rotate(30deg);
    opacity: .09;
}

.sq.s3 {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    top: -28px;
    right: 130px;
    transform: rotate(-8deg);
    opacity: .07;
}

.sq.s4 {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    bottom: 140px;
    left: 30px;
    transform: rotate(20deg);
}

.sq.s5 {
    width: 84px;
    height: 84px;
    background: var(--secondary-light);
    bottom: 60px;
    right: 50px;
    transform: rotate(-18deg);
    opacity: .10;
}

.sq.s6 {
    width: 36px;
    height: 36px;
    background: var(--primary);
    bottom: 200px;
    right: 110px;
    transform: rotate(45deg);
    opacity: .12;
}

.sq.s7 {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    top: 300px;
    left: -10px;
    transform: rotate(12deg);
    opacity: .08;
}

/* Soft gradient blobs */
.deco-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.deco-blob.b1 {
    width: 300px;
    height: 300px;
    top: -60px;
    right: -40px;
    background: rgba(19, 155, 206, 0.10);
}

.deco-blob.b2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    left: -40px;
    background: rgba(23, 38, 93, 0.07);
}

/* Inner content layer */
.lp-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

/* Logo */

.lp-logo img {
    height: 100px;
}

.lp-logo .fallback-logo {
    display: none;
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Live badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 155, 206, 0.10);
    border: 1px solid rgba(19, 155, 206, 0.35);
    color: var(--secondary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 22px;
    width: fit-content;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.8)
    }
}

.lp-headline {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.18;
    margin-bottom: 16px;
}

.lp-headline .hl {
    color: var(--secondary);
}

.lp-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 32px;
}

/* Exam cards */
.exam-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.exam-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: var(--transition);
    cursor: default;
}

.exam-card:hover {
    background: rgba(19, 155, 206, 0.07);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(19, 155, 206, 0.12);
}

.exam-card .ec-icon {
    font-size: 1.4rem;
    margin-bottom: 7px;
    display: block;
}

.exam-card .ec-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.exam-card .ec-desc {
    font-size: 0.71rem;
    color: var(--text-light);
}

/* Feature list */
.feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 36px;
}

.feat-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-mid);
}

.feat-list .tick {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feat-list .tick svg {
    stroke: var(--success);
}

/* Stats */
.stat-row {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1.5px solid var(--border);
    margin-top: auto;
}

.stat-item .num {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .lbl {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ═══════════════════════════════════════
       RIGHT LOGIN FORM PANEL
    ═══════════════════════════════════════ */
.right-panel {
    width: 50%;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    border-left: 1.5px solid var(--border);
    animation: fadeIn .45s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(18px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.form-card {
    width: 100%;
    max-width: 400px;
}

.rp-eyebrow {
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 6px;
}

.rp-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.rp-sub {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.rp-sub a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.rp-sub a:hover {
    text-decoration: underline;
}

/* Fields */
.field {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.input-wrap {
    position: relative;
}

.ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    pointer-events: none;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #f7f9fc;
    outline: none;
    transition: var(--transition);
}

input::placeholder {
    color: #b0bad0;
}

input:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(19, 155, 206, 0.12);
}

/* Error state */
input.is-error {
    border-color: var(--danger);
}

input.is-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Password toggle */
.pw-btn {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    padding: 0;
    transition: var(--transition);
}

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

/* Remember + forgot row */
.extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-mid);
    cursor: pointer;
}

.remember input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--secondary);
    cursor: pointer;
    padding: 0;
}

.forgot-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Error alert */
.error-alert {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-sm);
    color: #b91c1c;
    font-size: 0.84rem;
    padding: 10px 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Submit */
.btn-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(19, 155, 206, 0.30);
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(19, 155, 206, 0.42);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    font-size: 0.78rem;
    color: var(--text-light);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Social */
.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-social:hover {
    border-color: var(--secondary);
    background: #f0f8fd;
    color: var(--primary);
}

/* Sign up prompt */
.signup-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 0.86rem;
    color: var(--text-light);
}

.signup-prompt a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

/* Secure note */
.secure-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (min-width: 320px) and (max-width: 992px) {
    .left-panel {
        display: none;
    }
}

/* Mobile */
@media (max-width: 992px) {
    body {
        flex-direction: column;
    }

    .lp-headline {
        font-size: 1.8rem;
    }

    .exam-cards {
        grid-template-columns: 1fr 1fr;
    }

    .feat-list,
    .stat-row {
        display: none;
    }

    .right-panel {
        width: 100%;
        padding: 36px 24px;
        border-left: none;
        align-items: flex-start;
    }
}


@media (min-width: 768px) and (max-width: 1240px) {
    .lp-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 520px) {
    .exam-cards {
        grid-template-columns: 1fr;
    }

    .social-row {
        grid-template-columns: 1fr;
    }
}