*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
}

:root {
    --navy: #0D1B2E;
    --navy-mid: #132339;
    --navy-light: #1A3050;
    --blue: #2563EB;
    --blue-hover: #1D55D4;
    --blue-light: #EFF4FF;
    --sky: #38BDF8;
    --teal: #0EA5E9;
    --green: #10B981;
    --red: #EF4444;
    --amber: #F59E0B;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius: 10px;
    --radius-sm: 7px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .05);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14), 0 4px 12px rgba(0, 0, 0, .06);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

.left-panel {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px 48px;
}

.left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); */
    background-size: 48px 48px;
    pointer-events: none;
}

.left-panel::after {
    content: '';
    position: absolute;
    top: -120px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, .22) 0%, transparent 70%);
    pointer-events: none;
}

.panel-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    margin-bottom: auto;
}

.logo-box {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 16px rgba(37, 99, 235, .35);
    flex-shrink: 0;
}

.logo-box svg {
    width: 20px;
    height: 20px;
    color: white;
}

.logo-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: white;
    letter-spacing: -0.4px;
}

.logo-dot {
    color: #38BDF8;
}

.hero-block {
    margin-top: 60px;
    margin-bottom: 48px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #38BDF8;
    letter-spacing: .3px;
    margin-bottom: 22px;
}

.hero-eyebrow span {
    width: 5px;
    height: 5px;
    background: #38BDF8;
    border-radius: 50%;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.12;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, #38BDF8, #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .52);
    line-height: 1.7;
    max-width: 360px;
    font-weight: 400;
}

.preview-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #38BDF8, transparent);
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.card-header-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    letter-spacing: .3px;
}

.card-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #10B981;
    font-weight: 600;
}

.card-live span {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, .38);
    font-weight: 500;
    letter-spacing: .3px;
}

.stat-item.good .stat-val {
    color: #34D399;
}

.stat-item.warn .stat-val {
    color: #FBB24A;
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.mini-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(37, 99, 235, .3);
    position: relative;
    transition: background .2s;
}

.mini-bar.active {
    background: #2563EB;
}

.mini-bar.accent {
    background: rgba(56, 189, 248, .5);
}

.track-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.track-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
}

.track-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.testi-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testi-name {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.testi-role {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    margin-top: 1px;
}

.stars {
    color: #FBB24A;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: var(--white);
    position: relative;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.screen {
    display: none;
    animation: fadeSlide .32s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--blue);
    margin-bottom: 8px;
}

.form-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.6px;
    margin-bottom: 6px;
    line-height: 1.15;
}

.form-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.55;
}

.input-group-custom {
    margin-bottom: 16px;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    display: flex;
    pointer-events: none;
}

.input-icon svg {
    width: 16px;
    height: 16px;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.form-input.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .08);
}

.input-no-icon .form-input {
    padding-left: 14px;
}

.pass-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 2px;
    display: flex;
    transition: color .15s;
}

.pass-toggle:hover {
    color: var(--gray-600);
}

.pass-toggle svg {
    width: 16px;
    height: 16px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    margin-top: 4px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.check-label input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    cursor: pointer;
    border-radius: 4px;
}

.check-label span {
    font-size: 13px;
    color: var(--gray-600);
}

.link-text {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    transition: color .15s;
}

.link-text:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    height: 46px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .1s, box-shadow .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: .1px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .28), 0 1px 2px rgba(37, 99, 235, .2);
}

.btn-primary:hover {
    background: var(--blue-hover);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .38), 0 1px 4px rgba(37, 99, 235, .2);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}

.divider span {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    white-space: nowrap;
}

.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.btn-social {
    height: 42px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
}

.btn-social:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
    box-shadow: var(--shadow-sm);
}

.btn-social svg {
    width: 18px;
    height: 18px;
}

.form-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--gray-500);
}

.form-footer .link-text {
    margin-left: 4px;
}

.terms-text {
    font-size: 11.5px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}

.terms-text .link-text {
    font-size: 11.5px;
}

.pass-strength {
    margin-top: 8px;
    display: none;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--gray-100);
    transition: background .3s;
}

.strength-label {
    font-size: 11px;
    color: var(--gray-400);
}

.error-msg {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--red);
    font-weight: 500;
}

.error-msg svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #ECFDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 30px;
    height: 30px;
    color: var(--green);
}

.success-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.success-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto 24px;
}

.plan-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.plan-option {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    position: relative;
}

.plan-option:hover {
    border-color: var(--gray-300);
}

.plan-option.selected {
    border-color: var(--blue);
    background: var(--blue-light);
}

.plan-option input[type=radio] {
    position: absolute;
    opacity: 0;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.plan-price {
    font-size: 11.5px;
    color: var(--gray-500);
}

.plan-option.selected .plan-name {
    color: var(--blue);
}

.plan-badge {
    position: absolute;
    top: -1px;
    right: 8px;
    background: var(--blue);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 0 0 5px 5px;
    letter-spacing: .4px;
}

.progress-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
}

.pdot {
    height: 4px;
    border-radius: 4px;
    background: var(--gray-200);
    flex: 1;
    transition: background .3s;
}

.pdot.done {
    background: var(--blue);
}

@media (max-width: 960px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 40px 24px;
    }
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 4px;
}

.phone-prefix {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13.5px;
    color: var(--gray-500);
    font-weight: 500;
    pointer-events: none;
    border-right: 1.5px solid var(--gray-200);
    padding-right: 10px;
}

.form-input.has-prefix {
    padding-left: 64px;
}

.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
}

.alert-banner.info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.alert-banner.error-bg {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.alert-banner svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}