/* ===== InfinitRoot — hero.css (v5.1) ===== */

/* HERO — Desktop */
.ir-hero {
    padding: 100px 0 80px;
    background: var(--bg-white, #ffffff);
    overflow: hidden;
}
.ir-hero__inner {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}
.ir-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ir-hero__headline {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark, #111111);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.ir-hero__headline span { color: var(--brand-primary, #0057FF); }
.ir-hero__sub {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted, #666666);
    margin-bottom: 36px;
    max-width: 520px;
}
.ir-hero__trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}
.ir-hero__trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body, #333333);
    font-family: var(--font-body, 'Inter', sans-serif);
}
/* FIX 2: Force badge emoji to render on desktop */
.ir-badge {
    font-family: var(--font-heading), 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.ir-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ir-hero__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 440px;
    background: var(--bg-light, #F4F6FA);
    border: 2px dashed var(--border, #E2E5EC);
    border-radius: var(--radius-lg, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 32px;
    color: var(--text-muted, #666666);
}
.ir-hero__image-placeholder span {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark, #111111);
}
.ir-hero__image-placeholder small {
    font-size: 13px;
    color: var(--text-muted, #666666);
}
.ir-hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg, 20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* HERO — Tablet */
@media (max-width: 960px) {
    .ir-hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .ir-hero { padding: 80px 0 60px; }
    .ir-hero__content { align-items: center; text-align: center; }
    .ir-hero__sub { text-align: center; }
    .ir-hero__image { max-width: 500px; width: 100%; margin: 0 auto; }
    /* Keep trust items centered on tablet */
    .ir-hero__trust { align-items: center; }
}

/* HERO — Mobile: FIX 3 */
@media (max-width: 768px) {
    .ir-hero { padding: 60px 0 48px; }
    .ir-hero__image { display: none; }
    .ir-hero__sub { font-size: 16px; }

    /* FIX 3a: Buttons centered */
    .ir-hero__content > div[style*="flex"] {
        justify-content: center;
        width: 100%;
    }
    /* FIX 3b: Trust list — left-aligned, single line per item */
    .ir-hero__trust {
        align-items: flex-start;
        text-align: left;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .ir-hero__trust li {
        align-items: flex-start;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    .ir-hero__trust li svg {
        flex-shrink: 0;
        margin-top: 3px;
    }
}


/* FIX 3a: Button row center on mobile */
@media (max-width: 768px) {
    .ir-hero__btns {
        justify-content: center !important;
        width: 100%;
    }
}
