/* ERPNext hub page (erpnext.php) — stat bar, module category grid,
   spotlight sections, pricing tier strip. Not covered by module.css
   since these components are unique to this one hub page. */

.hub-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    margin-top: 36px;
}

.hub-stat {
    padding: 22px 24px 22px 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.hub-stat:last-child {
    border-right: none;
}

.hub-stat .num {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.hub-stat .label {
    font-size: 15px;
    color: rgba(255, 255, 255, .62);
    margin-top: 4px;
}

@media(max-width:800px) {
    .hub-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hub-stat {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }
}

.cat-block {
    margin-bottom: 44px;
}

.cat-block:last-child {
    margin-bottom: 0;
}

.cat-label {
    font-family: var(--mono);
    font-size: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 600;
    margin-bottom: 16px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media(max-width:860px) {
    .cat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .cat-grid {
        grid-template-columns: 1fr;
    }
}

.mod-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(17, 19, 22, .04);
    transition: .15s;
}

.mod-card:hover {
    border-color: var(--teal);
    box-shadow: 0 6px 18px rgba(17, 19, 22, .1);
}

.mod-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.mod-card h4 {
    font-size: 17.5px;
    color: var(--navy);
}

.mod-price {
    font-family: var(--mono);
    font-size: 13.5px;
    color: var(--copper);
    white-space: nowrap;
    padding-left: 10px;
}

.mod-price.included {
    color: var(--teal-deep);
}

.mod-card p {
    font-size: 15px;
    color: rgba(26, 31, 43, .6);
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.spotlight:last-child {
    margin-bottom: 0;
}

.spotlight.reverse .spotlight-text {
    order: 2;
}

.spotlight.reverse .spotlight-visual {
    order: 1;
}

@media(max-width:860px) {

    .spotlight,
    .spotlight.reverse {
        grid-template-columns: 1fr;
    }

    .spotlight.reverse .spotlight-text,
    .spotlight.reverse .spotlight-visual {
        order: initial;
    }
}

.spotlight-visual {
    background: var(--sand);
    border-radius: 12px;
    border: 1px solid var(--line);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.spotlight-visual img{
    border-radius: 1rem;
    width: 100%;
    height: 100%;
}

.spotlight-price-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(47, 111, 237, .1);
    color: var(--teal-deep);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.spotlight-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy);
}

.spotlight-text p {
    font-size: 17px;
    color: rgba(26, 31, 43, .65);
    margin-bottom: 18px;
}

.spotlight-text ul {
    list-style: none;
}

.spotlight-text ul{
    padding-left: 0;
}

.spotlight-text ul li {
    font-size: 16px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: rgba(26, 31, 43, .75);
}

.spotlight-text ul li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.spotlight-text a.readmore {
    display: inline-block;
    margin-top: 14px;
    font-size: 15.5px;
    color: var(--teal-deep);
    text-decoration: none;
    border: 1px solid var(--line-strong);
    color: #fff;
    background: var(--copper);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.tier-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media(max-width:860px) {
    .tier-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .tier-strip {
        grid-template-columns: 1fr;
    }
}

.tier-strip-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(17, 19, 22, .04);
}

.tier-strip-label {
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(26, 31, 43, .5);
    margin-bottom: 10px;
}

.tier-strip-card h4 {
    font-size: 19px;
    margin-bottom: 6px;
    color: var(--navy);
}

.tier-strip-card p {
    font-size: 15px;
    color: rgba(26, 31, 43, .6);
}