/* ============================================================
   HOMEPAGE — MonardX.com
   Follows DESIGN.md rules exactly.
   ============================================================ */

/* ---- HERO ---- */
.hp-hero {
    background: #141C43;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}
.hp-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30,200,106,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.hp-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hp-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.3);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.hp-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1EC86A;
    flex-shrink: 0;
}
.hp-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}
.hp-hero h1 em {
    font-style: normal;
    color: #1EC86A;
}
.hp-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    line-height: 1.65;
}
.hp-hero-buttons {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}
.hp-hero-cta {
    display: inline-block;
    background: #1EC86A;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1.75rem;
    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-hero-cta:hover {
    background: #18A858;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30,200,106,0.4);
}
.hp-hero-btn-outline {
    display: inline-block;
    background: transparent;
    color: #8B85FF;
    border: 1px solid #6C63FF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hp-hero-btn-outline:hover {
    background: rgba(108,99,255,0.12);
    color: #fff;
    transform: translateY(-2px);
}
.hp-hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hp-hero-image {
    width: 100%;
    max-width: 560px;
    height: auto;
}

/* ---- SOCIAL PROOF BAR ---- */
.hp-proof {
    background: #F5F6FA;
    border-top: 1px solid #E2E4F0;
    border-bottom: 1px solid #E2E4F0;
    padding: 2rem;
}
.hp-proof-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}
.hp-proof-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 2rem;
}
.hp-proof-item + .hp-proof-item {
    border-left: 1px solid #E2E4F0;
}
.hp-proof-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #EEF0FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-proof-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.hp-proof-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #12153D;
    line-height: 1.2;
}
.hp-proof-sub {
    font-size: 0.78rem;
    color: #4A4E7A;
    line-height: 1.4;
}

/* ---- BENTO GRID ---- */
.hp-bento {
    background: #F5F6FA;
    padding: 4rem 2rem;
}
.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.5rem;
}
.hp-section-heading .hp-green {
    color: #1EC86A;
}
.hp-section-sub {
    font-size: 0.95rem;
    color: #4A4E7A;
    margin-bottom: 2rem;
}
.hp-bento-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hp-bento-small {
    display: grid;
    grid-template-columns: repeat(3, 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.14);
}
.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.05rem;
    font-weight: 700;
    color: #12153D;
    margin-bottom: 0.5rem;
}
.hp-tile-desc {
    font-size: 0.85rem;
    color: #4A4E7A;
    line-height: 1.55;
    flex: 1;
}
.hp-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6C63FF;
    transition: gap 0.2s;
}
.hp-tile:hover .hp-tile-link {
    gap: 0.55rem;
}

/* Tile stat word (small tiles) */
.hp-tile-stat {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #6C63FF;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.hp-tile-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8A8FAA;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.85rem;
}

/* ---- CV OPTIMISER TILE PREVIEW ---- */
.hp-cv-preview {
    margin-top: 1.25rem;
    background: #F5F6FA;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.hp-cv-score-circle {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: conic-gradient(#1EC86A 0% 87%, #E2E4F0 87% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hp-cv-score-circle::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F5F6FA;
}
.hp-cv-score-num {
    position: relative;
    z-index: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #12153D;
}
.hp-cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.hp-cv-tag {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}
.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-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hp-li-ring-wrap {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    position: relative;
}
.hp-li-ring-wrap svg {
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
}
.hp-li-ring-track {
    fill: none;
    stroke: #E2E4F0;
    stroke-width: 5;
}
.hp-li-ring-fill {
    fill: none;
    stroke: #6C63FF;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 138;
    stroke-dashoffset: 30;
}
.hp-li-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: #12153D;
}
.hp-li-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.hp-li-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hp-li-bar-name {
    font-size: 0.6rem;
    color: #8A8FAA;
    width: 48px;
    flex-shrink: 0;
}
.hp-li-bar-track {
    flex: 1;
    height: 5px;
    background: #E2E4F0;
    border-radius: 3px;
    overflow: hidden;
}
.hp-li-bar-fill {
    height: 100%;
    background: #6C63FF;
    border-radius: 3px;
}

/* ---- BOOK SECTION ---- */
.hp-book {
    background: #F5F6FA;
    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.9rem;
    color: #4A4E7A;
    line-height: 1.65;
    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.88rem;
    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;
}
.hp-book-challenge {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E4F0;
    font-size: 0.82rem;
    color: #8A8FAA;
}
.hp-book-challenge a {
    color: #1EC86A;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hp-book-challenge a:hover {
    color: #18A858;
}

/* ---- ECOSYSTEM BRIDGE ---- */
.hp-bridge {
    background: #F5F6FA;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid #E2E4F0;
    border-bottom: 1px solid #E2E4F0;
}
.hp-bridge-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4A4E7A;
    letter-spacing: 0.02em;
    margin: 0 auto;
}

/* ---- BOTTOM CTA ---- */
.hp-bottom-cta {
    background: #F5F6FA;
    padding: 4rem 2rem 5rem;
    text-align: center;
}
.hp-bottom-cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #12153D;
    margin-bottom: 0.75rem;
}
.hp-bottom-cta h2 .brand-green {
    color: #1EC86A;
}
.hp-bottom-cta-sub {
    font-size: 0.95rem;
    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);
}
.hp-bottom-alt-link {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6C63FF;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.hp-bottom-alt-link:hover {
    color: #5A52E0;
}

/* ============================================================
   RESPONSIVE — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {
    .hp-hero {
        padding: 6rem 1.25rem 3.5rem;
    }
    .hp-hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hp-hero-text {
        align-items: center;
        text-align: center;
    }
    .hp-hero h1 {
        font-size: 2rem;
    }
    .hp-hero-sub {
        font-size: 0.95rem;
    }
    .hp-hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    .hp-hero-cta,
    .hp-hero-btn-outline {
        width: 100%;
        text-align: center;
    }
    .hp-hero-image-col {
        display: none;
    }

    .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;
    }
}
