/* =========================================================
   Public home (/) — light Zoho polish over original content
   Does NOT replace showcase / landing content.
   ========================================================= */

.hp.hp--zoho {
    --hp-zoho: #1e88e5;
    --hp-zoho-hover: #1976d2;
    --hp-zoho-soft: #e3f2fd;
    --hp-zoho-bg: #f5f7fa;
    --hp-zoho-border: #e2e8f0;
    --hp-zoho-text: #1e293b;
    --hp-zoho-muted: #64748b;
    --hp-blue: #1e88e5;
    --hp-blue-strong: #1565c0;
    --hp-primary: #1e88e5;
    color: var(--hp-zoho-text);
    background: var(--hp-zoho-bg);
}

.hp.hp--zoho .hp-bg {
    background-color: #eef4ff !important;
}

.hp.hp--zoho .hp-bg-overlay {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(237, 244, 255, 0.28) 60%,
        rgba(226, 236, 255, 0.35) 100%
    ) !important;
}

/* Header */
.hp.hp--zoho .hp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0;
    background: #ffffff !important;
    border-bottom: 1px solid var(--hp-zoho-border) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hp.hp--zoho .hp-header-inner {
    min-height: 64px;
    padding: 0.55rem 0;
}

.hp.hp--zoho .hp-header-end {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding-top: 0 !important;
}

.hp.hp--zoho .hp-nav-btn {
    color: #475569 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
}

.hp.hp--zoho .hp-nav-btn:hover,
.hp.hp--zoho .hp-nav-btn.is-active {
    color: #1e88e5 !important;
    background: #e3f2fd !important;
}

.hp.hp--zoho .hp-nav-signin {
    background: #1e88e5 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.hp.hp--zoho .hp-nav-signin:hover {
    background: #1976d2 !important;
    color: #fff !important;
}

/* Hide home branding GIF badge if present */
.hp.hp--zoho .hp-header-branding {
    display: none !important;
}

/* Keep original split: showcase left + sign-in right */
.hp.hp--zoho .hp-main {
    position: relative;
    z-index: 2;
    padding: 0;
}

.hp.hp--zoho .hp-split {
    display: grid !important;
    grid-template-columns: minmax(0, var(--hp-showcase-width, 55%)) minmax(360px, 1fr) !important;
    min-height: auto;
    align-items: stretch !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.hp.hp--zoho .hp-showcase {
    display: flex !important;
    visibility: visible !important;
    padding: 1.25rem 1rem 1.25rem 1.5rem !important;
}

.hp.hp--zoho .hp-showcase-frame {
    border-radius: 20px !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12) !important;
    min-height: var(--hp-showcase-min-height, 420px) !important;
}

.hp.hp--zoho .hp-signin-col {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem 1.5rem !important;
    position: static !important;
}

.hp.hp--zoho .hp-signin-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hp.hp--zoho .hp-auth-card {
    background: #ffffff !important;
    border: 1px solid var(--hp-zoho-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.1) !important;
    backdrop-filter: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp.hp--zoho .hp-auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(15, 39, 68, 0.12) !important;
}

.hp.hp--zoho .hp-auth-company { color: #64748b !important; }
.hp.hp--zoho .hp-auth-welcome { display: block !important; color: #64748b !important; }
.hp.hp--zoho .hp-label { color: #334155 !important; }
.hp.hp--zoho .hp-input-wrap {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hp.hp--zoho .hp-input-wrap:focus-within {
    border-color: #1e88e5 !important;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15) !important;
}
.hp.hp--zoho .hp-submit {
    background: #1e88e5 !important;
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.28) !important;
    transition: background 0.2s, transform 0.15s !important;
}
.hp.hp--zoho .hp-submit:hover {
    background: #1976d2 !important;
    transform: translateY(-1px) !important;
}

.hp.hp--zoho .hp-section,
.hp.hp--zoho .hp-section-title { color: var(--hp-zoho-text); }
.hp.hp--zoho .hp-section-sub,
.hp.hp--zoho .hp-card p { color: var(--hp-zoho-muted) !important; }
.hp.hp--zoho .hp-grad-text {
    background: linear-gradient(90deg, #1e88e5, #1565c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp.hp--zoho .hp-card,
.hp.hp--zoho .hp-industry-card,
.hp.hp--zoho .hp-why-badge {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hp.hp--zoho .hp-card:hover,
.hp.hp--zoho .hp-industry-card:hover,
.hp.hp--zoho .hp-why-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 136, 229, 0.1);
}

.hp.hp--zoho .hp-cta {
    background: linear-gradient(135deg, #1e88e5, #1565c0) !important;
}

@media (max-width: 1100px) {
    .hp.hp--zoho .hp-split {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    .hp.hp--zoho .hp-showcase {
        padding: 1rem 1.25rem 0 !important;
    }
    .hp.hp--zoho .hp-showcase-frame {
        min-height: 280px !important;
        max-height: 42vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp.hp--zoho .hp-card,
    .hp.hp--zoho .hp-auth-card,
    .hp.hp--zoho .hp-submit {
        transition: none !important;
        transform: none !important;
    }
}

/* ══ AI Recruitment simulation (left panel) ══ */
.hp.hp--zoho .hp-sim {
    padding: 1.25rem 1rem 1.25rem 1.5rem !important;
}

.hp.hp--zoho .hp-sim-stage {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    padding: 1.35rem 1.35rem 1.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 15% 10%, rgba(30, 136, 229, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0, 137, 123, 0.22), transparent 50%),
        linear-gradient(145deg, #0b1f3a 0%, #12345c 48%, #0d2748 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
    color: #e2e8f0;
}

.hp.hp--zoho .hp-sim-glow {
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(30, 136, 229, 0.25), transparent 65%);
    pointer-events: none;
    animation: hpSimPulse 6s ease-in-out infinite;
}

.hp.hp--zoho .hp-sim-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    animation: hpSimFloat 7s ease-in-out infinite;
}
.hp.hp--zoho .hp-sim-orb-a {
    width: 90px; height: 90px; left: 6%; top: 18%;
    background: radial-gradient(circle at 30% 30%, #64b5f6, #1565c0);
    opacity: 0.35;
}
.hp.hp--zoho .hp-sim-orb-b {
    width: 54px; height: 54px; right: 10%; top: 22%;
    background: radial-gradient(circle at 30% 30%, #80cbc4, #00695c);
    opacity: 0.3;
    animation-delay: -2.5s;
}

@keyframes hpSimFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes hpSimPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.hp.hp--zoho .hp-sim-head { position: relative; z-index: 2; margin-bottom: 1rem; }
.hp.hp--zoho .hp-sim-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e3f2fd;
    background: rgba(30, 136, 229, 0.28);
    border: 1px solid rgba(144, 202, 249, 0.35);
}
.hp.hp--zoho .hp-sim-title {
    margin: 0.65rem 0 0.35rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #fff;
}
.hp.hp--zoho .hp-sim-sub {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.78);
    min-height: 1.4em;
    transition: opacity 0.25s ease;
}
.hp.hp--zoho .hp-sim-sub.is-swap { animation: hpSimCaption 0.45s ease; }
@keyframes hpSimCaption {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hp.hp--zoho .hp-sim-pipeline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}
.hp.hp--zoho .hp-sim-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.hp.hp--zoho .hp-sim-step:hover { transform: translateY(-1px); }
.hp.hp--zoho .hp-sim-step-num {
    width: 1.35rem; height: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.7rem;
}
.hp.hp--zoho .hp-sim-step.is-active {
    background: rgba(30, 136, 229, 0.35);
    border-color: rgba(144, 202, 249, 0.55);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.18);
}
.hp.hp--zoho .hp-sim-step.is-active .hp-sim-step-num { background: #1e88e5; }
.hp.hp--zoho .hp-sim-step.is-done {
    background: rgba(0, 150, 136, 0.25);
    border-color: rgba(128, 203, 196, 0.4);
    color: #e0f2f1;
}
.hp.hp--zoho .hp-sim-step-line {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
}

.hp.hp--zoho .hp-sim-board {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 0.85rem;
}

.hp.hp--zoho .hp-sim-candidates {
    display: grid;
    gap: 0.55rem;
}
.hp.hp--zoho .hp-sim-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.hp.hp--zoho .hp-sim-card.is-focus {
    background: rgba(30, 136, 229, 0.22);
    border-color: rgba(144, 202, 249, 0.45);
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(2, 8, 23, 0.28);
}
.hp.hp--zoho .hp-sim-avatar {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: var(--c, #1e88e5);
    flex-shrink: 0;
}
.hp.hp--zoho .hp-sim-card-body { flex: 1; min-width: 0; }
.hp.hp--zoho .hp-sim-card-body strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
}
.hp.hp--zoho .hp-sim-card-body span {
    display: block;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.7);
}
.hp.hp--zoho .hp-sim-score {
    font-style: normal;
    font-weight: 750;
    font-size: 0.9rem;
    color: #90caf9;
}

.hp.hp--zoho .hp-sim-dash {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}
.hp.hp--zoho .hp-sim-metric {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hp.hp--zoho .hp-sim-metric > span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.65);
}
.hp.hp--zoho .hp-sim-metric > strong {
    display: block;
    margin: 0.2rem 0 0.45rem;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.hp.hp--zoho .hp-sim-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.hp.hp--zoho .hp-sim-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #42a5f5, #1e88e5);
    transition: width 0.6s ease;
}
.hp.hp--zoho .hp-sim-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 36px;
}
.hp.hp--zoho .hp-sim-bars b {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #80cbc4, #00897b);
    animation: hpSimBars 2.4s ease-in-out infinite;
}
.hp.hp--zoho .hp-sim-bars b:nth-child(2) { animation-delay: 0.15s; }
.hp.hp--zoho .hp-sim-bars b:nth-child(3) { animation-delay: 0.3s; }
.hp.hp--zoho .hp-sim-bars b:nth-child(4) { animation-delay: 0.45s; }
.hp.hp--zoho .hp-sim-bars b:nth-child(5) { animation-delay: 0.6s; }
@keyframes hpSimBars {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.72); }
}

.hp.hp--zoho .hp-sim-toast {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(46, 125, 50, 0.28);
    border: 1px solid rgba(165, 214, 167, 0.4);
    color: #e8f5e9;
    font-size: 0.78rem;
    font-weight: 600;
}
.hp.hp--zoho .hp-sim-toast.is-pop { animation: hpSimToast 0.45s ease; }
.hp.hp--zoho .hp-sim-toast i { color: #81c784; }
@keyframes hpSimToast {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hp.hp--zoho .hp-sim-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hp.hp--zoho .hp-sim-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e3f2fd;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    animation: hpSimFloat 5.5s ease-in-out infinite;
}
.hp.hp--zoho .hp-sim-chip-a { right: 8%; top: 38%; animation-delay: -1s; }
.hp.hp--zoho .hp-sim-chip-b { left: 8%; bottom: 14%; animation-delay: -2.2s; }
.hp.hp--zoho .hp-sim-chip-c { right: 12%; bottom: 18%; animation-delay: -3.4s; }

@media (max-width: 1100px) {
    .hp.hp--zoho .hp-sim-stage { min-height: 420px; }
    .hp.hp--zoho .hp-sim-board { grid-template-columns: 1fr; }
    .hp.hp--zoho .hp-sim-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hp.hp--zoho .hp-sim-orb,
    .hp.hp--zoho .hp-sim-glow,
    .hp.hp--zoho .hp-sim-chip,
    .hp.hp--zoho .hp-sim-bars b {
        animation: none !important;
    }
}
