/* MoniYes homepage chooser (site/index): Business vs Individual split hero */

:root {
    --home-biz-bg: #f4f6ff;
    --home-biz-accent: #0b1ae9;
    --home-biz-accent-2: #4a6cf7;
    --home-biz-heading: #242859;
    --home-biz-text: #4b5370;
    --home-biz-gold: #f5c542;
    --home-biz-gold-deep: #c99a1d;
    --home-biz-green: #0fbf72;
    --home-biz-green-text: #0a8f56;

    --home-ind-bg: #0b1220;
    --home-ind-bg-2: #111a2e;
    --home-ind-green: #19e68c;
    --home-ind-gold: #f5c542;
    --home-ind-text: #dce3f0;
    --home-ind-muted: #9aa7bf;
}

/* Keep the fixed header readable over the dark right-hand panel
.landing-index .header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(36, 40, 89, 0.08);
}
*/
/* ---------- Split hero ---------- */
.home-split {
    padding: 0;
    overflow: hidden;
    background: var(--home-biz-bg);
}

.home-split .home-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 0px);
}

@media (min-width: 992px) {
    .home-split .home-split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.home-panel {
    position: relative;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 56px;
    isolation: isolate;
}

@media (min-width: 768px) {
    .home-panel {
        padding: 140px 48px 72px;
    }
}

@media (min-width: 992px) {
    .home-panel {
        padding: 150px 56px 80px;
    }
}

@media (min-width: 1400px) {
    .home-panel {
        padding-left: 96px;
        padding-right: 96px;
    }
}

.home-panel-inner {
    max-width: 540px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .home-panel-business .home-panel-inner {
        margin-right: 48px;
    }

    .home-panel-individual .home-panel-inner {
        margin-left: 48px;
    }
}

.home-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.home-panel-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.home-panel-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

.home-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    gap: 12px;
}

.home-benefits li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.55;
}

.home-benefits li i {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 1px;
}

.home-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 576px) {
    .home-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    border: 2px solid transparent;
}

.home-btn:focus-visible {
    outline: 3px solid var(--home-ind-gold);
    outline-offset: 3px;
}

.home-btn i {
    transition: transform 0.25s ease;
}

.home-btn:hover i {
    transform: translateX(4px);
}

/* ----- Business panel (light / indigo) ----- */
.home-panel-business {
    background:
        radial-gradient(900px 500px at 10% 10%, rgba(11, 26, 233, 0.08), transparent 60%),
        radial-gradient(600px 400px at 90% 90%, rgba(74, 108, 247, 0.10), transparent 60%),
        var(--home-biz-bg);
    color: var(--home-biz-text);
}

.home-panel-business::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36, 40, 89, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 40, 89, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
    z-index: -1;
}

.home-panel-business .home-panel-kicker {
    background: rgba(11, 26, 233, 0.08);
    color: var(--home-biz-accent);
}

.home-panel-business .home-panel-title {
    color: var(--home-biz-heading);
}

.home-panel-business .home-panel-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--home-biz-gold-deep), var(--home-biz-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-panel-business .home-benefits li i {
    background: rgba(15, 191, 114, 0.12);
    color: var(--home-biz-green-text);
}

.home-panel-business .home-benefits li strong {
    color: var(--home-biz-heading);
}

.home-btn-biz-primary {
    background: linear-gradient(135deg, var(--home-biz-accent), var(--home-biz-accent-2));
    color: #fff;
    box-shadow: 0 12px 30px rgba(11, 26, 233, 0.25);
}

.home-btn-biz-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 3px rgba(245, 197, 66, 0.55),
        0 18px 36px rgba(11, 26, 233, 0.32);
}

.home-btn-biz-ghost {
    background: transparent;
    color: var(--home-biz-heading);
    border-color: rgba(36, 40, 89, 0.22);
}

.home-btn-biz-ghost:hover {
    color: var(--home-biz-accent);
    border-color: var(--home-biz-accent);
}

/* ----- Individual panel (dark / green / gold) ----- */
.home-panel-individual {
    background:
        radial-gradient(800px 500px at 85% 15%, rgba(25, 230, 140, 0.16), transparent 60%),
        radial-gradient(600px 400px at 15% 90%, rgba(245, 197, 66, 0.12), transparent 60%),
        linear-gradient(160deg, var(--home-ind-bg-2), var(--home-ind-bg));
    color: var(--home-ind-text);
}

.home-panel-individual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
    z-index: -1;
}

.home-panel-individual .home-panel-kicker {
    background: rgba(25, 230, 140, 0.12);
    color: var(--home-ind-green);
    border: 1px solid rgba(25, 230, 140, 0.25);
}

.home-panel-individual .home-panel-title {
    color: #fff;
}

.home-panel-individual .home-panel-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--home-ind-green), var(--home-ind-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-panel-individual .home-panel-lead {
    color: var(--home-ind-muted);
}

.home-panel-individual .home-benefits li i {
    background: rgba(25, 230, 140, 0.14);
    color: var(--home-ind-green);
}

.home-panel-individual .home-benefits li strong {
    color: #fff;
}

.home-btn-ind-primary {
    background: var(--home-ind-green);
    color: #06281a;
    box-shadow: 0 12px 30px rgba(25, 230, 140, 0.25);
}

.home-btn-ind-primary:hover {
    color: #06281a;
    background: #3cf0a3;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(25, 230, 140, 0.35);
}

.home-btn-ind-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.home-btn-ind-ghost:hover {
    color: var(--home-ind-gold);
    border-color: var(--home-ind-gold);
}

/* Mini split-account preview floating in the individual panel */
.home-split-preview {
    margin-top: 36px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-split-preview .preview-in {
    text-align: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(245, 197, 66, 0.12);
    border: 1px solid rgba(245, 197, 66, 0.3);
}

.home-split-preview .preview-in small {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--home-ind-muted);
}

.home-split-preview .preview-in strong {
    font-size: 1.05rem;
    color: var(--home-ind-gold);
}

.home-split-preview .preview-out {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-split-preview .preview-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(25, 230, 140, 0.1);
    border: 1px solid rgba(25, 230, 140, 0.25);
    color: var(--home-ind-text);
    animation: homeChipIn 0.6s ease both;
}

.home-split-preview .preview-chip:nth-child(1) { animation-delay: 0.9s; }
.home-split-preview .preview-chip:nth-child(2) { animation-delay: 1.1s; }
.home-split-preview .preview-chip:nth-child(3) { animation-delay: 1.3s; }

.home-split-preview .preview-chip b {
    color: var(--home-ind-green);
}

/* Center divider badge (desktop) */
.home-split-or {
    display: none;
}

@media (min-width: 992px) {
    .home-split-or {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #fff;
        color: var(--home-biz-heading);
        font-weight: 800;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        box-shadow: 0 10px 30px rgba(11, 18, 32, 0.25);
        z-index: 2;
    }
}

/* ---------- Trust strip ---------- */
.home-trust {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid rgba(36, 40, 89, 0.08);
}

.home-trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.home-trust-item i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: rgba(11, 26, 233, 0.08);
    color: var(--home-biz-accent);
}

.home-trust-item h6 {
    font-weight: 700;
    color: var(--home-biz-heading);
    margin-bottom: 2px;
}

.home-trust-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--home-biz-text);
}

/* ---------- Entrance animation ---------- */
.home-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: homeReveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.home-reveal-1 { animation-delay: 0.05s; }
.home-reveal-2 { animation-delay: 0.15s; }
.home-reveal-3 { animation-delay: 0.25s; }
.home-reveal-4 { animation-delay: 0.35s; }
.home-reveal-5 { animation-delay: 0.45s; }

@keyframes homeReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeChipIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .home-split-preview .preview-chip {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .home-btn,
    .home-btn i {
        transition: none;
    }
}
