/* Single-screen glassmorphism landing page */

.hp {
    --hp-primary: var(--primary, #3b82f6);
    --hp-primary-dark: var(--primary-dark, #2563eb);
    --hp-glass: rgba(15, 23, 42, .55);
    --hp-glass-border: rgba(255, 255, 255, .12);
    --hp-text-light: rgba(255, 255, 255, .92);
    --hp-text-muted: rgba(255, 255, 255, .65);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
    /* clip keeps horizontal overflow contained without breaking position:sticky */
    overflow-x: clip;
}

.hp-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Background */
.hp-bg {
    position: fixed;
    inset: 0;
    background-color: #0a0f1e;
    background-image: var(--portal-wallpaper, url('../img/auth-wallpaper.png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hp-eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #bfdbfe;
}

.hp-bg-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(8, 12, 28, .92) 0%,
        rgba(12, 20, 45, .78) 42%,
        rgba(10, 15, 35, .88) 100%);
    z-index: 0;
}

.portal-watermark {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.hp .portal-watermark {
    display: none;
}

/* Header */
.hp-header {
    position: relative;
    z-index: 10;
    padding: 1rem 0;
}

.hp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hp-header-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.15rem;
    flex-shrink: 0;
    margin-left: auto;
    padding-top: .15rem;
}

.hp-header-navrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-top: .1rem;
}

.hp-header-credit {
    margin: 0 0 .1rem;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(51, 65, 85, .55);
    line-height: 1;
    white-space: nowrap;
}

.hp-header-credit strong {
    color: #1e40af;
    font-weight: 700;
    letter-spacing: .1em;
}

/* Branding media — home header top-right, logo only (no frame) */
.hp-header-branding {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    margin: 0 0 .25rem;
    padding: 0;
    min-height: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
}

.hp-header-branding .portal-watermark-label {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(51, 65, 85, .55);
}

.hp-header-branding .portal-branding-fallback {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #0f766e;
}

.hp-header-branding-media,
.hp-header-branding .portal-powered-video,
.hp-header-branding .portal-powered-logo {
    display: block !important;
    object-fit: contain;
    border-radius: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hp-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.hp-brand img,
.hp-home-logo {
    object-fit: contain;
    background: transparent !important;
}

.hp-header .hp-brand img,
.hp-header .hp-home-logo {
    max-height: none;
    height: auto;
}

.hp-powered-by {
    font-size: .68rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .02em;
    white-space: nowrap;
}

.hp-powered-by strong {
    color: rgba(255, 255, 255, .85);
    font-weight: 700;
}

.hp-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.hp-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border: none;
    background: transparent;
    color: var(--hp-text-muted);
    font-size: .88rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s, background .15s;
}

.hp-nav-btn:hover,
.hp-nav-btn.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.hp-nav-signin {
    margin-left: .5rem;
    padding: .55rem 1.1rem;
    background: var(--hp-primary);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
}

.hp-nav-signin:hover {
    background: var(--hp-primary-dark);
}

.hp-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hp-glass-border);
    border-radius: 10px;
    background: var(--hp-glass);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.hp-mobile-nav {
    display: none;
    flex-direction: column;
    gap: .35rem;
    padding: .75rem 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hp-mobile-nav:not([hidden]) {
    display: flex;
}

.hp-mobile-nav button {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .5rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
}

.hp-mobile-nav button:hover { background: rgba(255, 255, 255, .06); }

.hp-mobile-nav .hp-nav-signup {
    justify-content: center;
    margin-top: .35rem;
    padding: .65rem 1rem;
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}

.hp-mobile-nav .hp-nav-signin {
    justify-content: center;
    margin-top: .35rem;
    padding: .65rem 1rem;
    background: var(--hp-primary);
    color: #fff !important;
    border-radius: 10px;
}

/* Main split layout */
.hp-main {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.hp-split {
    display: grid;
    grid-template-columns: minmax(0, var(--hp-showcase-width, 55%)) minmax(360px, 1fr);
    min-height: calc(100vh - 120px);
    align-items: stretch;
}

.hp-showcase {
    display: flex;
    padding: 1.25rem 1rem 1.25rem 1.5rem;
    min-height: 0;
}

.hp-showcase-frame {
    position: relative;
    flex: 1;
    min-height: var(--hp-showcase-min-height, 420px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, .25),
        0 32px 80px rgba(0, 0, 0, .35);
    background: #0c1222;
}

.hp-showcase-slider {
    position: absolute;
    inset: 0;
}

.hp-showcase-slide {
    position: absolute;
    inset: 0;
    background-size: var(--hp-slide-fit, cover);
    background-position: var(--hp-slide-position, center center);
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 6s ease;
}

.hp-showcase-slide .hp-showcase-bg,
.hp-showcase-slide .hp-showcase-video,
.hp-showcase-slide .hp-showcase-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hp-showcase-slide .hp-showcase-bg {
    background-size: var(--hp-slide-fit, cover);
    background-position: var(--hp-slide-position, center center);
    background-repeat: no-repeat;
}

.hp-showcase-slide .hp-showcase-video,
.hp-showcase-slide .hp-showcase-img {
    object-fit: var(--hp-slide-fit, cover);
    object-position: var(--hp-slide-position, center center);
    display: block;
    background: #0f172a;
}

.hp-showcase-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hp-showcase-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .08) 0%,
        rgba(0, 0, 0, .02) 35%,
        rgba(0, 0, 0, .35) 100%);
}

.hp-showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s;
}

.hp-showcase-nav:hover {
    background: rgba(30, 64, 175, .75);
    border-color: rgba(255, 255, 255, .35);
}

.hp-showcase-prev { left: 1rem; }
.hp-showcase-next { right: 1rem; }

.hp-showcase-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem 1.15rem;
}

.hp-showcase-dots {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.hp-showcase-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .2s, background .2s;
}

.hp-showcase-dot.is-active {
    width: 28px;
    background: #fff;
}

.hp-showcase-counter {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .85);
    font-variant-numeric: tabular-nums;
}

.hp-showcase-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 5;
    background: rgba(255, 255, 255, .12);
    transform-origin: left center;
    transform: scaleX(0);
}

.hp-showcase-progress.is-running {
    animation: hpSlideProgress var(--hp-slide-duration, 5s) linear forwards;
}

@keyframes hpSlideProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hp-signin-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem 1.25rem 1rem;
}

.hp-signin-inner {
    width: 100%;
    max-width: 420px;
    display: grid;
    gap: 1.25rem;
}

/* Auth card — glass */
.hp-auth-card {
    background: var(--hp-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--hp-glass-border);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}

.hp-auth-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hp-auth-company {
    margin: .65rem 0 0;
    font-size: .92rem;
    font-weight: 600;
    color: #0f2744;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.hp-auth-welcome {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}

.hp-auth-partner-logo {
    display: block;
    margin: 0 auto;
    width: var(--hp-home-logo-width, 200px);
    max-width: min(var(--hp-home-logo-width, 200px), 100%);
    height: auto;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
}

.hp-auth-partner-video {
    border: 0;
    border-radius: 8px;
    pointer-events: none;
}

.hp-header-logo,
.hp-header .hp-home-logo {
    width: var(--hp-home-logo-width, 200px);
    max-width: min(var(--hp-home-logo-width, 200px), 42vw);
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.hp-auth-head h2 {
    margin: .85rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f2744;
    line-height: 1.3;
}

.hp-auth-head p:not(.hp-auth-company) {
    display: none;
}

.hp-auth-company {
    margin: .35rem 0 0;
    font-size: .82rem;
    font-weight: 500;
    color: #64748b;
}

/* Form */
.hp-form { display: grid; gap: .85rem; }

.hp-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    margin-bottom: -.45rem;
}

.hp-input-wrap {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 0 .85rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.hp-input-wrap:focus-within {
    border-color: rgba(96, 165, 250, .6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.hp-input-wrap > i {
    color: rgba(255, 255, 255, .45);
    font-size: .95rem;
    flex-shrink: 0;
}

.hp-input-wrap input,
.hp-input-wrap textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: .75rem 0;
    color: #fff;
    font-size: .9rem;
    font-family: inherit;
    outline: none;
}

.hp-input-wrap input::placeholder,
.hp-input-wrap textarea::placeholder { color: rgba(255, 255, 255, .35); }

.hp-input-wrap--password {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 3rem;
    padding-left: .85rem;
}

.hp-input-wrap--password .password-input {
    flex: 1;
    min-width: 0;
    padding-right: 0.25rem;
}

/* Keep eye inside the password field (overrides main.css absolute escape) */
.hp-input-wrap--password .hp-eye,
.hp-input-wrap--password .password-toggle-btn,
#homePasswordToggle.password-toggle-btn,
#homePasswordToggle.hp-eye {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 6;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent !important;
    color: #475569 !important;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    flex: none;
}

.hp-input-wrap--password .hp-eye i,
.hp-input-wrap--password .password-toggle-btn i,
#homePasswordToggle i {
    color: inherit !important;
    font-size: 1.15rem !important;
    pointer-events: none;
}

.hp-input-wrap--password .hp-eye:hover,
.hp-input-wrap--password .password-toggle-btn:hover,
#homePasswordToggle:hover {
    color: #1e40af !important;
    background: rgba(30, 64, 175, 0.1) !important;
    transform: translateY(-50%) !important;
}

.hp-eye {
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    padding: .35rem;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    border-radius: 8px;
    transition: color .15s, background .15s;
}

.hp-eye:hover {
    color: var(--hp-blue, #1e40af);
    background: rgba(37, 99, 235, .08);
}

.hp-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .82rem;
}

.hp-form-row--between {
    justify-content: space-between;
    width: 100%;
}

.hp-form-row--single {
    justify-content: flex-start;
}

.hp-check {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--hp-text-muted);
    cursor: pointer;
    margin: 0;
}

.hp-check input { accent-color: var(--hp-primary); }

.hp-forgot {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 700;
    font-size: 0.9rem;
}

.hp-forgot:hover { color: #1d4ed8; }

.hp-forgot-wrap {
    text-align: right;
    margin: 0 0 0.35rem;
}

.hp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .85rem 1rem;
    margin-top: .25rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .1s, box-shadow .15s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, .35);
}

.hp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, .45);
}

.hp-submit--dark {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 4px 16px rgba(30, 64, 175, .3);
    width: auto;
    padding: .7rem 1.5rem;
}

.hp-switch {
    text-align: center;
    margin: 1rem 0 0;
    font-size: .84rem;
    color: var(--hp-text-muted);
}

.hp-switch button {
    border: none;
    background: none;
    color: #93c5fd;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.hp-switch button:hover { color: #fff; }

.hp-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: .85rem 0 0;
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
}

.hp-alert {
    padding: .65rem .85rem;
    border-radius: 10px;
    font-size: .82rem;
    margin-bottom: .75rem;
    line-height: 1.4;
}

.hp-alert-danger { background: rgba(239, 68, 68, .15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .3); }
.hp-alert-success { background: rgba(34, 197, 94, .15); color: #86efac; border: 1px solid rgba(34, 197, 94, .3); }
.hp-alert-info { background: rgba(59, 130, 246, .15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, .3); }

/* Stats bar */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background: var(--hp-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--hp-glass-border);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

.hp-stats article {
    text-align: center;
    padding: .5rem .25rem;
}

.hp-stats i {
    display: block;
    font-size: 1.25rem;
    margin-bottom: .35rem;
    color: #60a5fa;
}

.hp-stats strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.hp-stats span {
    display: block;
    margin-top: .2rem;
    font-size: .72rem;
    color: var(--hp-text-muted);
    font-weight: 500;
}

.hp-stats--compact {
    grid-template-columns: repeat(3, 1fr);
    padding: .85rem 1rem;
    border-radius: 14px;
}

.hp-stats--compact article {
    padding: .25rem;
}

.hp-stats--compact strong {
    font-size: 1.05rem;
}

.hp-stats--compact span {
    font-size: .68rem;
}

/* Footer */
.hp-footer {
    position: relative;
    z-index: 10;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: rgba(255, 255, 255, .45);
}

.hp-footer-links {
    display: flex;
    gap: 1rem;
}

.hp-footer-links button {
    border: none;
    background: none;
    color: rgba(255, 255, 255, .5);
    font-size: .8rem;
    cursor: pointer;
    padding: 0;
}

.hp-footer-links button:hover { color: #93c5fd; }

/* Modal overlay */
.hp-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.hp-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.hp-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, .75);
    backdrop-filter: blur(6px);
}

.hp-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    color: #0f172a;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .4);
    transform: translateY(16px) scale(.98);
    transition: transform .28s ease;
}

.hp-overlay.is-open .hp-modal.is-visible {
    transform: translateY(0) scale(1);
}

.hp-modal--wide { max-width: 820px; }

.hp-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.hp-modal-close:hover { background: #e2e8f0; color: #0f172a; }

.hp-modal-head {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.hp-modal-label {
    margin: 0 0 .35rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-primary);
}

.hp-modal-head h2 {
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.hp-modal-head p {
    margin: 0;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.55;
}

.hp-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hp-modal-grid article {
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.hp-modal-grid article i {
    font-size: 1.35rem;
    color: var(--hp-primary);
    margin-bottom: .5rem;
    display: block;
}

.hp-modal-grid article h3 {
    margin: 0 0 .35rem;
    font-size: .95rem;
    font-weight: 700;
}

.hp-modal-grid article p {
    margin: 0;
    font-size: .84rem;
    color: #64748b;
    line-height: 1.5;
}

.hp-modal-about p {
    color: #475569;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.hp-modal-about ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: .55rem;
}

.hp-modal-about li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 500;
    color: #334155;
}

.hp-modal-about li i { color: #16a34a; }

.hp-modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.hp-modal-stats div {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f2744, #1e40af);
    color: #fff;
}

.hp-modal-stats strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.hp-modal-stats span {
    font-size: .78rem;
    opacity: .85;
}

/* Contact modal */
.hp-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.hp-contact-cards a,
.hp-contact-static {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    transition: border-color .15s;
}

.hp-contact-cards a:hover {
    border-color: #93c5fd;
    color: var(--hp-primary);
}

.hp-contact-cards i { font-size: 1.25rem; color: var(--hp-primary); }
.hp-contact-cards strong { font-size: .88rem; }
.hp-contact-cards span { font-size: .78rem; color: #64748b; }

.hp-form--light .hp-label { color: #334155; margin-bottom: .25rem; }

.hp-form--light .hp-input-wrap {
    background: #fff;
    border-color: #e2e8f0;
}

.hp-form--light .hp-input-wrap input,
.hp-form--light .hp-input-wrap textarea {
    color: #0f172a;
}

.hp-form--light .hp-input-wrap input::placeholder,
.hp-form--light .hp-input-wrap textarea::placeholder { color: #94a3b8; }

.hp-form--light .hp-input-wrap i { color: #94a3b8; }

.hp-form--light textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: .75rem 0;
    font-family: inherit;
    font-size: .9rem;
    resize: vertical;
    outline: none;
}

.hp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}

.hp-form-full { grid-column: 1 / -1; }

.hp-form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hp-contact-status { margin: 0; font-size: .85rem; font-weight: 500; }
.hp-contact-status.is-success { color: #15803d; }
.hp-contact-status.is-error { color: #b91c1c; }

body.hp-modal-open { overflow: hidden; }

/* Responsive */
@media (max-width: 1100px) {
    .hp-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hp-showcase {
        padding: 1rem 1.25rem 0;
    }
    .hp-showcase-frame {
        min-height: 280px;
        max-height: 42vh;
    }
    .hp-signin-col {
        padding: 1rem 1.25rem 1.5rem;
    }
    .hp-signin-inner {
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .hp-nav { display: none !important; }
    .hp-menu-btn { display: inline-flex !important; align-items: center; justify-content: center; }
    .hp-header-end {
        gap: .5rem;
        flex: 0 0 auto;
    }
    .hp-header-credit {
        font-size: .56rem;
        letter-spacing: .1em;
    }
    .hp-header .hp-home-logo,
    .hp-header-logo {
        max-width: min(168px, 48vw) !important;
        height: 40px !important;
    }
}

@media (max-width: 768px) {
    .hp-nav { display: none !important; }
    .hp-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .hp-header-end {
        gap: .85rem;
    }
    .hp-header-credit {
        font-size: .56rem;
        letter-spacing: .1em;
    }
    .hp-showcase-frame {
        min-height: 220px;
        border-radius: 18px;
    }
    .hp-showcase-nav {
        min-width: 36px;
        min-height: 36px;
    }
    .hp-showcase-nav-icon {
        width: 36px;
        height: 36px;
    }
    .hp-showcase-dots {
        gap: .4rem;
        padding: .35rem .55rem;
    }
    .hp-stats--compact {
        grid-template-columns: repeat(3, 1fr);
    }
    .hp-modal-grid,
    .hp-contact-cards,
    .hp-form-grid,
    .hp-modal-stats { grid-template-columns: 1fr; }
    .hp-modal { padding: 1.5rem; border-radius: 16px; }
    .hp-auth-card { padding: 1.5rem 1.25rem; }
}

/* ════════════════════════════════════════════════
   Full landing page — professional blue & white
   ════════════════════════════════════════════════ */

.hp-nav-btn { text-decoration: none; }

/* Blue palette driven by the active theme's primary color */
.hp {
    --hp-blue: var(--primary, #1e40af);
    --hp-blue-strong: var(--primary-dark, #1e3a8a);
    --hp-ink: #0f2744;
    --hp-slate: #475569;
    --hp-line: #e2e8f0;
    --hp-tint: #eff5ff;
}

.hp-section {
    position: relative;
    z-index: 5;
    padding: 4.5rem 0;
    background: #ffffff;
    color: var(--hp-ink);
}

.hp-section--alt { background: var(--hp-tint); }
.hp-section--tight { padding: 2.75rem 0; }

.hp-section-head {
    max-width: 760px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.hp-section .hp-eyebrow {
    background: var(--hp-tint);
    border: 1px solid #cfe0ff;
    color: var(--hp-blue);
}

.hp-section-title {
    margin: .35rem 0 .85rem;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--hp-ink);
}

.hp-grad-text { color: var(--hp-blue); }

.hp-section-sub {
    margin: 0 auto;
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-slate);
}

.hp-section-tagline {
    margin: .65rem auto 0;
    max-width: 640px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--hp-blue, #1e40af);
    letter-spacing: .03em;
}

/* Service cards */
.hp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.hp-card {
    position: relative;
    padding: 1.85rem 1.6rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 6px 18px rgba(15, 39, 68, .05);
    overflow: hidden;
    transition: transform .28s cubic-bezier(.22,.61,.36,1), border-color .28s, box-shadow .28s;
}

.hp-card::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--hp-blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}

.hp-card:hover {
    transform: translateY(-6px);
    border-color: #bcd4ff;
    box-shadow: 0 20px 40px rgba(30, 64, 175, .16);
}

.hp-card:hover::after { transform: scaleY(1); }

.hp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.5rem;
    color: var(--hp-blue);
    background: var(--hp-tint);
    margin-bottom: 1.1rem;
    transition: transform .28s, background .28s, color .28s;
}

.hp-card:hover .hp-card-icon {
    transform: scale(1.06);
    background: var(--hp-blue);
    color: #fff;
}

/* Blue family only — no rainbow */
.hp-icon-blue,
.hp-icon-violet,
.hp-icon-pink,
.hp-icon-amber,
.hp-icon-teal { background: var(--hp-tint); color: var(--hp-blue); }
.hp-icon-white { background: var(--hp-tint); color: var(--hp-blue); }

.hp-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--hp-ink);
}

.hp-card p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--hp-slate);
}

.hp-card--cta {
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-strong));
    border-color: transparent;
    color: #fff;
}

.hp-card--cta h3 { color: #fff; }
.hp-card--cta p { color: rgba(255, 255, 255, .88); }
.hp-card--cta .hp-card-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.hp-card--cta:hover .hp-card-icon { background: #fff; color: var(--hp-blue); }
.hp-card--cta::after { display: none; }

/* Stats band — solid blue on white */
.hp-stats-band {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) 2fr;
    gap: 2rem;
    align-items: center;
    padding: 2.25rem 2.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-strong));
    box-shadow: 0 18px 44px rgba(30, 64, 175, .28);
    color: #fff;
}

.hp-stats-band .hp-eyebrow {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

.hp-stats-band-lead .hp-section-title { margin: .25rem 0 0; font-size: 1.55rem; color: #fff; }
.hp-stats-band-lead .hp-grad-text { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }

.hp-stats-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

/* Announcement bar */
.hp-announce {
    position: relative;
    z-index: 30;
    font-size: .9rem;
    font-weight: 500;
}

.hp-announce-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    padding: .6rem 3rem .6rem 1rem;
    text-align: center;
}

.hp-announce-link { font-weight: 700; text-decoration: underline; white-space: nowrap; }

.hp-announce-close {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: .8;
    padding: .25rem;
    line-height: 1;
    font-size: .85rem;
}

.hp-announce-close:hover { opacity: 1; }

.hp-stats-band-grid article {
    text-align: center;
    padding: .9rem .5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    transition: transform .25s, background .25s;
}

.hp-stats-band-grid article:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .2);
}

.hp-stats-band-grid strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.hp-stats-band-grid span {
    display: block;
    margin-top: .25rem;
    font-size: .72rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
}

/* Powered by budibiz — brand band */
.hp-brand-band {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) 1.6fr;
    gap: 2.25rem;
    align-items: center;
    padding: 2.25rem 2.5rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 18px 44px rgba(15, 39, 68, .08);
    transition: transform .25s, box-shadow .25s;
}

.hp-brand-band:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(30, 64, 175, .16);
}

.hp-brand-band-logo,
.hp-partner-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    background: transparent !important;
    mix-blend-mode: multiply;
    opacity: 1;
    filter: none;
    -webkit-mask-image: none;
}

.hp-brand-band-text .hp-section-title { margin: .35rem 0 .5rem; font-size: 1.7rem; }

@media (max-width: 860px) {
    .hp-brand-band { grid-template-columns: 1fr; text-align: center; }
    .hp-brand-band-logo { max-width: 260px; }
}

/* Industries */
.hp-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.hp-industry-card {
    padding: 1.4rem 1.35rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 4px 14px rgba(15, 39, 68, .04);
    transition: transform .26s, border-color .26s, box-shadow .26s;
}

.hp-industry-card i {
    font-size: 1.5rem;
    color: var(--hp-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hp-tint);
    margin-bottom: .85rem;
    transition: color .26s, background .26s, transform .26s;
}

.hp-industry-card h4 {
    margin: 0 0 .4rem;
    font-size: .98rem;
    font-weight: 700;
    color: var(--hp-ink);
}

.hp-industry-card p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--hp-slate);
}

.hp-industry-card:hover {
    transform: translateY(-6px);
    border-color: #bcd4ff;
    box-shadow: 0 18px 36px rgba(30, 64, 175, .16);
}

.hp-industry-card:hover i { color: #fff; background: var(--hp-blue); transform: scale(1.06); }

/* Why choose */
.hp-why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hp-why-copy .hp-section-title { text-align: left; }

.hp-check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: .85rem;
}

.hp-check-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--hp-ink);
}

.hp-check-list i { color: var(--hp-blue); font-size: 1.15rem; }

.hp-why-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hp-why-badge {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 6px 18px rgba(15, 39, 68, .05);
    text-align: center;
    transition: transform .26s, border-color .26s, box-shadow .26s;
}

.hp-why-badge i {
    font-size: 1.6rem;
    color: var(--hp-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--hp-tint);
    transition: transform .26s, background .26s, color .26s;
}

.hp-why-badge strong { display: block; margin: .7rem 0 .2rem; font-size: 1rem; color: var(--hp-ink); }
.hp-why-badge span { font-size: .78rem; color: var(--hp-slate); }

.hp-why-badge:hover {
    transform: translateY(-6px);
    border-color: #bcd4ff;
    box-shadow: 0 18px 38px rgba(30, 64, 175, .16);
}

.hp-why-badge:hover i { background: var(--hp-blue); color: #fff; transform: scale(1.06); }

/* CTA banner */
.hp-cta {
    position: relative;
    z-index: 5;
    padding: 0 0 4.5rem;
    background: #ffffff;
}

.hp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2.5rem 2.75rem;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--hp-blue) 0%, var(--hp-blue-strong) 100%);
    box-shadow: 0 24px 54px rgba(30, 64, 175, .32);
}

.hp-cta-inner h2 {
    margin: 0 0 .35rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    color: #fff;
}

.hp-cta-inner p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .98rem; }

.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--hp-blue);
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}

.hp-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}

/* Contact section */
.hp-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}

.hp-contact-info { display: grid; gap: .85rem; }

.hp-contact-tile {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 4px 14px rgba(15, 39, 68, .04);
    text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.hp-contact-tile:hover {
    transform: translateY(-3px);
    border-color: #bcd4ff;
    box-shadow: 0 12px 28px rgba(30, 64, 175, .14);
}

.hp-contact-tile i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hp-tint);
    color: var(--hp-blue);
    font-size: 1.2rem;
}

.hp-contact-tile strong { display: block; font-size: .92rem; color: var(--hp-ink); }
.hp-contact-tile span { font-size: .82rem; color: var(--hp-slate); }

.hp-contact-form {
    padding: 1.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 10px 30px rgba(15, 39, 68, .06);
}

.hp-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.hp-cf-full { grid-column: 1 / -1; }

.hp-cf-grid label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: .3rem;
}

.hp-cf-grid input,
.hp-cf-grid textarea {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    font-family: inherit;
    font-size: .9rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.hp-cf-grid input:focus,
.hp-cf-grid textarea:focus {
    border-color: var(--hp-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .12);
    background: #fff;
}

.hp-cf-actions { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hp-cf-btn { border: none; cursor: pointer; }
.hp-contact-status { margin: 0; font-size: .85rem; font-weight: 500; }
.hp-contact-status.is-success { color: #15803d; }
.hp-contact-status.is-error { color: #b91c1c; }

@media (max-width: 860px) {
    .hp-contact-layout { grid-template-columns: 1fr; }
    .hp-cf-grid { grid-template-columns: 1fr; }
}

/* Rich footer — bg adapts from footer logo colour (see home.js) */
.hp-site-footer {
    --hp-footer-bg: var(--hp-ink);
    --hp-footer-body: rgba(255, 255, 255, 0.72);
    --hp-footer-muted: rgba(255, 255, 255, 0.6);
    --hp-footer-link: rgba(255, 255, 255, 0.68);
    --hp-footer-link-hover: #ffffff;
    --hp-footer-heading: #93c5fd;
    --hp-footer-icon: #60a5fa;
    --hp-footer-border: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
    background: var(--hp-footer-bg);
    color: var(--hp-footer-body);
    transition: background-color 0.35s ease, color 0.25s ease;
}

.hp-site-footer[data-footer-tone="light"] {
    --hp-footer-body: #334155;
    --hp-footer-muted: #475569;
    --hp-footer-link: #334155;
    --hp-footer-link-hover: #0f172a;
    --hp-footer-heading: #0f172a;
    --hp-footer-icon: #2563eb;
    --hp-footer-border: rgba(15, 23, 42, 0.12);
}

.hp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    width: 100%;
    margin: 0 auto;
    padding: 2.75rem 0 2rem;
    box-sizing: border-box;
    justify-items: stretch;
    align-items: start;
}

.hp-footer-brand img,
.hp-footer-logo {
    display: block;
    max-width: 100%;
    margin: 0 0 0.85rem;
    background: transparent;
    object-fit: contain;
}

.hp-footer-brand .hp-footer-brand-logo {
    margin: 0 0 0.95rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    image-rendering: auto;
    filter: none;
    opacity: 1;
}

.hp-footer-brand p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.65;
    color: var(--hp-footer-muted);
    max-width: 100%;
}

.hp-footer-col h5 {
    margin: 0 0 1rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--hp-footer-heading);
}

.hp-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }

.hp-footer-col a,
.hp-footer-col span {
    color: var(--hp-footer-link);
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s, padding-left .2s;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.hp-footer-col a:hover {
    color: var(--hp-footer-link-hover);
    padding-left: .25rem;
}

.hp-footer-col i { color: var(--hp-footer-icon); }

.hp-footer-bottom {
    border-top: 1px solid var(--hp-footer-border);
    padding: 1rem 0;
    font-size: .8rem;
    color: var(--hp-footer-muted);
    text-align: center;
}

@media (max-width: 992px) {
    .hp-stats-band { grid-template-columns: 1fr; text-align: center; }
    .hp-stats-band-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-why-grid { grid-template-columns: 1fr; }
    .hp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hp-section { padding: 3rem 0; }
    .hp-stats-band-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-why-badges { grid-template-columns: repeat(2, 1fr); }
    .hp-cta-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
    .hp-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ════════════════════════════════════════════════
   Light blue & white HERO — match the sections
   ════════════════════════════════════════════════ */

.hp-bg {
    background-color: #eef4ff;
    background-image: var(--portal-wallpaper, url('../img/auth-wallpaper.png'));
    background-size: cover;
    background-position: center;
}

/* Very light wash so the corporate background image stays visible */
.hp-bg-overlay {
    background: linear-gradient(160deg, rgba(255, 255, 255, .18) 0%, rgba(237, 244, 255, .28) 60%, rgba(226, 236, 255, .35) 100%);
}

/* Header */
.hp-header { border-bottom: 1px solid rgba(15, 39, 68, .06); }

.hp-header-credit {
    color: rgba(100, 116, 139, .75);
}

.hp-header-credit strong {
    color: #1e40af;
}

.hp-header .hp-brand img,
.hp-header .hp-home-logo {
    background: transparent !important;
}

.hp-header .hp-powered-by {
    color: rgba(255, 255, 255, .62);
}

.hp-header .hp-powered-by strong {
    color: rgba(255, 255, 255, .9);
}

.hp-nav-btn { color: #334155; }

.hp-nav-btn:hover,
.hp-nav-btn.is-active {
    color: var(--hp-blue, #1e40af);
    background: #eef5ff;
}

.hp-nav-signin,
.hp-nav-signin:hover { color: #fff !important; }

.hp-menu-btn {
    background: #fff;
    color: var(--hp-blue, #1e40af);
    border-color: #dbe4f0;
}

.hp-mobile-nav {
    background: #fff;
    border-top-color: #e2e8f0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 30px rgba(15, 39, 68, .1);
}

.hp-mobile-nav a,
.hp-mobile-nav button { color: #334155; text-decoration: none; }
.hp-mobile-nav a:hover,
.hp-mobile-nav button:hover { background: #eef5ff; color: var(--hp-blue, #1e40af); }

/* Sign-in card — white, professional */
.hp-auth-card {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 60px rgba(15, 39, 68, .12);
}

.hp-auth-head h2 {
    display: block;
    color: #0f2744;
}

.hp-auth-company { color: #64748b; }

.hp-label { color: #334155; }

.hp-input-wrap {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.hp-input-wrap:focus-within {
    border-color: var(--hp-blue, #1e40af);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .12);
}

.hp-input-wrap > i { color: #64748b; }
.hp-input-wrap input,
.hp-input-wrap textarea { color: #0f172a; }
.hp-input-wrap input::placeholder,
.hp-input-wrap textarea::placeholder { color: #94a3b8; }
.hp-check { color: #64748b; }
.hp-forgot { color: var(--hp-blue, #1e40af); }
.hp-forgot:hover { color: #0f2744; }

.hp-submit {
    background: linear-gradient(135deg, var(--hp-blue, #1e40af), var(--hp-blue-strong, #1e3a8a));
    box-shadow: 0 6px 20px rgba(30, 64, 175, .3);
}

.hp-switch { color: #64748b; }
.hp-switch button { color: var(--hp-blue, #1e40af); }
.hp-switch button:hover { color: #0f2744; }
.hp-secure { color: #94a3b8; }

/* Stats card under the sign-in */
.hp-stats--compact {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 39, 68, .08);
}

.hp-stats--compact strong { color: #0f2744; }
.hp-stats--compact span { color: #64748b; }
.hp-stats i { color: var(--hp-blue, #1e40af); }

/* ════════════════════════════════════════════════
   Blended slideshow — simple dot controls
   ════════════════════════════════════════════════ */

.hp-showcase-frame {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.hp-showcase-slider {
    inset: 0;
    border-radius: 22px;
    overflow: hidden;
    background: transparent;
}

.hp-showcase-slide { background-color: transparent; }

.hp-showcase-slide {
    transition: opacity 1.1s ease-in-out;
    transform: none;
}
.hp-showcase-slide.is-active { transform: none; }

.hp-showcase-shade { display: none; }

/* Frosted capsule arrows */
.hp-showcase-nav {
    width: auto;
    height: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 1rem;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, .22);
    color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .16);
    opacity: .88;
    border-radius: 14px;
    transform: translateY(-50%);
    transition: transform .2s, opacity .2s, background .2s, box-shadow .2s, color .2s;
}

.hp-showcase-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.hp-showcase:hover .hp-showcase-nav { opacity: 1; }

.hp-showcase-nav:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    color: #fff;
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 10px 28px rgba(37, 99, 235, .35);
}

.hp-showcase-prev { left: .85rem; }
.hp-showcase-next { right: .85rem; }

.hp-showcase-footer {
    left: 1rem;
    right: 1rem;
    bottom: .85rem;
    padding: 0;
    justify-content: center;
}

.hp-showcase-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.hp-showcase-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(37, 99, 235, .28);
    cursor: pointer;
    transition: width .2s, background .2s, transform .2s;
}

.hp-showcase-dot:hover {
    transform: scale(1.1);
}

.hp-showcase-dot.is-active {
    width: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.hp-showcase-counter,
.hp-showcase-rail,
.hp-showcase-segment,
.hp-showcase-segment-bar,
.hp-showcase-segment-label {
    display: none !important;
}

/* Animated slide progress */
.hp-showcase-progress {
    display: block;
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    z-index: 5;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
    overflow: hidden;
    pointer-events: none;
}

.hp-showcase-progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    box-shadow: 0 0 12px rgba(37, 99, 235, .45);
}

.hp-showcase-progress.is-running::after {
    animation: hpShowcaseProgress var(--hp-slide-duration, 5s) linear forwards;
}

@keyframes hpShowcaseProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* ── Modern SaaS sign-in split (home page) — large first viewport ── */
.hp-main {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100dvh - 88px);
}

.hp-split--saas {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(440px, 540px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: calc(100dvh - 88px);
    margin: 0;
    padding: clamp(1.5rem, 3.5vh, 2.75rem) clamp(1.75rem, 5vw, 4.5rem) clamp(2rem, 4vh, 3rem);
    border-radius: 0;
    background: linear-gradient(145deg, rgba(245, 248, 255, 0.92) 0%, rgba(237, 244, 255, 0.88) 55%, rgba(248, 251, 255, 0.9) 100%);
    box-shadow: none;
}

.hp-split--saas .auth-hero {
    padding: 0.75rem 0;
    min-height: 560px;
}

.hp-split--saas .auth-hero--soft3d {
    min-height: 580px;
}

.hp-split--saas .soft3d-scene {
    height: min(520px, 62vh);
}

.hp-split--saas .soft3d-podium {
    width: min(620px, 98%);
}

.hp-split--saas .soft3d-dash {
    min-height: 320px;
}

.hp-split--saas .hp-signin-col {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hp-split--saas .hp-signin-inner {
    width: 100%;
    max-width: 520px;
}

.hp-auth-card--glass {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 2.75rem 2.35rem 2rem;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-auth-card--glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px rgba(37, 99, 235, 0.16);
}

.hp-auth-card--glass .hp-auth-head h2 {
    color: #1f2937;
    font-size: 1.45rem;
    margin-top: 0.5rem;
}

.hp-auth-card--glass .hp-auth-company {
    color: #6b7280;
}

.hp-auth-card--glass .hp-label {
    color: #374151;
    margin-bottom: 0.35rem;
}

.hp-auth-card--glass .hp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    min-height: 52px;
    padding: 0 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: visible;
}

.hp-auth-card--glass .hp-input-wrap--password {
    position: relative;
    padding-right: 3rem;
}

.hp-auth-card--glass .hp-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hp-auth-card--glass .hp-input-wrap > i:first-child {
    color: #64748b;
    font-size: 1.05rem;
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
}

.hp-auth-card--glass .hp-input-wrap input {
    flex: 1 1 auto;
    min-width: 0;
    color: #1f2937;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.85rem 0;
    font-size: 0.95rem;
}

.hp-auth-card--glass .hp-input-wrap--password .password-input {
    padding-right: 0.25rem;
}

.hp-auth-card--glass .hp-input-wrap input::placeholder {
    color: #9ca3af;
}

.hp-auth-card--glass .hp-check {
    color: #6b7280;
}

.hp-auth-card--glass .hp-forgot {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
}

.hp-auth-card--glass .hp-submit {
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.hp-auth-card--glass .hp-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.42);
}

.hp-auth-card--glass .hp-secure {
    color: #6b7280;
    font-size: 0.76rem;
}

.hp-auth-card--glass .hp-secure i {
    color: #10b981;
}

.hp-auth-card--glass .auth-caps-warning {
    color: #d97706;
    font-size: 0.78rem;
    margin: 0.35rem 0 0;
}

/* Header scroll + nav motion */
.hp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}

.hp-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.hp-nav-btn {
    position: relative;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-nav-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--hp-blue, #2563eb);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.hp-nav-btn.is-active::after,
.hp-nav-btn:hover::after {
    width: 55%;
}

.hp-nav-btn.is-active,
.hp-nav-btn:hover {
    transform: translateY(-1px);
}

.hp-nav-signin::after { display: none; }

.hp-section {
    scroll-margin-top: 96px;
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hp-section.hp-reveal {
    opacity: 0;
    transform: translateY(28px);
}

.hp-section.hp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stronger carousel text animation on home */
.hp-split--saas .auth-carousel-slide {
    transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
    filter: blur(4px);
    transform: translateY(14px);
}

.hp-split--saas .auth-carousel-slide.is-active {
    filter: blur(0);
    transform: translateY(0);
}

.hp-split--saas .auth-carousel-title {
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    color: #0f2744;
}

.hp-split--saas .auth-carousel-sub {
    color: #475569;
    font-size: 1.02rem;
}

@media (max-width: 1024px) {
    .hp-split--saas {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
        min-height: auto;
        padding: 1.25rem 1.25rem 2rem;
    }

    .hp-split--saas .auth-hero {
        display: none;
    }

    .hp-split--saas .hp-signin-inner {
        max-width: 100%;
    }
}

/* Uploaded home media / animations */
.auth-hero--media {
    min-height: 520px;
    padding: 0.5rem 0;
}

.hp-home-media {
    width: 100%;
}

.hp-home-media-frame {
    position: relative;
    width: 100%;
    min-height: min(480px, 56vh);
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.hp-home-media-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.hp-home-media-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.hp-home-media-img,
.hp-home-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-home-media-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.hp-home-media-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 99px;
    background: rgba(37, 99, 235, 0.25);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.hp-home-media-dot.is-active {
    width: 22px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.wp-slide-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
