/* ============================================================
   HOMEPAGE — MonardX.com
   ============================================================ */

/* ---- HERO ---- */
.hp-hero {
    position: relative;
    min-height: 520px;
    background-image: url('/static/images/hero-ecosystem.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #141C43 0%,
        #141C43 38%,
        rgba(20, 28, 67, 0.92) 52%,
        rgba(20, 28, 67, 0.6) 70%,
        rgba(20, 28, 67, 0.25) 90%,
        rgba(20, 28, 67, 0.1) 100%
    );
    z-index: 1;
}

.hp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 120px 2rem 80px;
    width: 100%;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 99, 255, 0.18);
    border: 1px solid rgba(108, 99, 255, 0.35);
    color: #a09eff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.hp-hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #1EC86A;
    border-radius: 50%;
}

.hp-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    max-width: 520px;
}

.hp-hero h1 em {
    font-style: normal;
    color: #1EC86A;
}

.hp-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2rem;
}

.hp-hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hp-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    background: #1EC86A;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(30, 200, 106, 0.25);
}

.hp-hero-btn-primary:hover {
    background: #18A858;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 200, 106, 0.35);
}

.hp-hero-btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hp-hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}


/* ---- BENTO GRID ---- */
.hp-bento {
    background: #F0F0FA;
    padding: 3.5rem 2rem 4rem;
}
.hp-bento-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.hp-section-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #12153D;
    margin-bottom: 0.4rem;
    text-align: left;
}
.hp-section-heading .hp-green {
    color: #1EC86A;
}
.hp-section-sub {
    font-size: 0.95rem;
    color: #4A4E7A;
    margin-bottom: 1.75rem;
    text-align: left;
}
.hp-bento-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hp-bento-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Base tile */
.hp-tile {
    background: #fff;
    border: 1px solid #E2E4F0;
    border-radius: 14px;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.hp-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.12);
}
.hp-tile-large {
    min-height: 320px;
}
.hp-tile-small {
    min-height: 200px;
}

/* Tile badge */
.hp-tile-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
    width: fit-content;
}
.hp-badge-green {
    background: rgba(30, 200, 106, 0.12);
    color: #18A858;
}
.hp-badge-violet {
    background: #EEF0FF;
    color: #6C63FF;
}

/* Tile text */
.hp-tile-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #12153D;
    margin-bottom: 0.5rem;
}
.hp-tile-desc {
    font-size: 0.92rem;
    color: #4A4E7A;
    line-height: 1.6;
    flex: 1;
}
.hp-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #6C63FF;
    transition: gap 0.2s;
    white-space: nowrap;
}
.hp-tile:hover .hp-tile-link {
    gap: 0.55rem;
}

/* Small tile stat */
.hp-tile-stat {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6C63FF;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    margin-bottom: 0.15rem;
}
.hp-tile-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8A8FAA;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.85rem;
}

/* Small tile text overrides */
.hp-tile-small .hp-tile-title {
    font-size: 1.05rem;
}
.hp-tile-small .hp-tile-desc {
    font-size: 0.88rem;
    line-height: 1.55;
}
.hp-tile-small .hp-tile-link {
    font-size: 0.88rem;
}

/* ---- CV OPTIMISER TILE PREVIEW ---- */
.hp-cv-preview {
    margin-top: 1.25rem;
    background: #F5F6FA;
    border: 1px solid #E8EAF2;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 150px;
}
.hp-cv-preview-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* ---- SHARED SCORE RINGS ---- */
.hp-ring-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    position: relative;
}
.hp-ring-wrap svg {
    width: 68px;
    height: 68px;
    transform: rotate(-90deg);
}
.hp-ring-track {
    fill: none;
    stroke: #D8DBE8;
    stroke-width: 6;
}
.hp-ring-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
}
.hp-ring-fill-green {
    stroke: #1EC86A;
}
.hp-ring-fill-violet {
    stroke: #6C63FF;
}
.hp-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #12153D;
}
.hp-cv-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.hp-cv-preview-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8A8FAA;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hp-cv-preview-bar-wrap {
    height: 6px;
    background: #D8DBE8;
    border-radius: 3px;
    overflow: hidden;
}
.hp-cv-preview-bar-fill {
    height: 100%;
    background: #1EC86A;
    border-radius: 3px;
}
.hp-cv-preview-sub {
    font-size: 0.72rem;
    color: #8A8FAA;
    font-weight: 500;
}
.hp-cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hp-cv-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
}
.hp-cv-tag-match {
    background: rgba(30, 200, 106, 0.12);
    color: #18A858;
}
.hp-cv-tag-miss {
    background: rgba(220, 53, 69, 0.1);
    color: #C82333;
}
.hp-cv-tag-suggest {
    background: #EEF0FF;
    color: #6C63FF;
}

/* ---- LINKEDIN TILE PREVIEW ---- */
.hp-li-preview {
    margin-top: 1.25rem;
    background: #F5F6FA;
    border: 1px solid #E8EAF2;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 150px;
}
.hp-li-preview-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hp-li-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.hp-li-preview-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8A8FAA;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hp-li-preview-bar-wrap {
    height: 6px;
    background: #D8DBE8;
    border-radius: 3px;
    overflow: hidden;
}
.hp-li-preview-bar-fill {
    height: 100%;
    background: #6C63FF;
    border-radius: 3px;
}
.hp-li-preview-sub {
    font-size: 0.72rem;
    color: #8A8FAA;
    font-weight: 500;
}
.hp-li-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hp-li-cat {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
}
.hp-li-cat-high {
    background: rgba(30, 200, 106, 0.12);
    color: #18A858;
}
.hp-li-cat-mid {
    background: #EEF0FF;
    color: #6C63FF;
}

/* ---- BOOK SECTION ---- */
.hp-book {
    background: #FFFFFF;
    border-top: 1px solid #E2E4F0;
    padding: 5rem 2rem;
}
.hp-book-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}
.hp-book-cover-wrap {
    display: flex;
    justify-content: center;
}
.hp-book-cover {
    max-width: 280px;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.hp-book-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #12153D;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hp-book-content h2 .hp-green {
    color: #1EC86A;
}
.hp-book-body {
    font-size: 0.95rem;
    color: #4A4E7A;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hp-book-bullets {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.hp-book-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #12153D;
}
.hp-book-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(30, 200, 106, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.hp-book-check svg {
    width: 10px;
    height: 10px;
}
.hp-book-cta {
    display: inline-block;
    background: #1EC86A;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(30, 200, 106, 0.25);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hp-book-cta:hover {
    background: #18A858;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 200, 106, 0.35);
}
.hp-book-alt-link {
    display: inline-block;
    margin-left: 1.25rem;
    font-size: 0.82rem;
    color: #6C63FF;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.hp-book-alt-link:hover {
    color: #5A52E0;
}

/* ---- BOTTOM CTA ---- */
.hp-bottom-cta {
    background: rgba(30, 200, 106, 0.10);
    background-image: none;
    border-top: 1px solid rgba(30, 200, 106, 0.2);
    padding: 4rem 2rem 5rem;
    text-align: center;
}
.hp-bottom-cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #12153D;
    margin-bottom: 0.75rem;
}
.hp-bottom-cta h2 .brand-green {
    color: #1EC86A;
}
.hp-bottom-cta-sub {
    font-size: 1rem;
    color: #4A4E7A;
    margin-bottom: 2rem;
}
.hp-bottom-btn {
    display: inline-block;
    background: #1EC86A;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 2.25rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(30, 200, 106, 0.3);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hp-bottom-btn:hover {
    background: #18A858;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 200, 106, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .hp-bento-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-hero {
        min-height: 420px;
        background-position: center;
    }
    .hp-hero-overlay {
        background: linear-gradient(
            to bottom,
            #141C43 0%,
            rgba(20, 28, 67, 0.95) 60%,
            rgba(20, 28, 67, 0.85) 100%
        );
    }
    .hp-hero-content {
        padding: 100px 1.5rem 60px;
        text-align: center;
    }
    .hp-hero h1 {
        max-width: 100%;
        font-size: 2rem;
    }
    .hp-hero-sub {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        font-size: 0.95rem;
    }
    .hp-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .hp-hero-btn-primary,
    .hp-hero-btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hp-proof-inner {
        flex-direction: column;
    }
    .hp-proof-item {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    .hp-proof-item + .hp-proof-item {
        border-left: none;
        border-top: 1px solid #E2E4F0;
    }

    .hp-bento-large {
        grid-template-columns: 1fr;
    }
    .hp-bento-small {
        grid-template-columns: 1fr;
    }
    .hp-tile-large {
        min-height: auto;
    }

    .hp-book-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hp-book-cover-wrap {
        order: -1;
    }
    .hp-book-cover {
        max-width: 200px;
    }

    .hp-bottom-cta {
        padding: 3rem 1.25rem 4rem;
    }
    .hp-bottom-cta h2 {
        font-size: 1.4rem;
    }
}
