/* Merchants page */

.merchants-page {
    padding-top: clamp(5rem, 10vw, 7rem);
}

/* Hero */
.mch-hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding-bottom: var(--hp-pad, 4rem);
}

@media (min-width: 992px) {
    .mch-hero {
        grid-template-columns: 1fr 1.05fr;
        gap: 3.5rem;
    }
}

.mch-hero__visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
}

.mch-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.mch-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 30%, rgba(5, 5, 8, 0.85) 100%);
}

.mch-hero__badge-float {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mch-hero__badge-float span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: rgba(5, 5, 8, 0.8);
    border: 1px solid var(--hp-border, rgba(255, 255, 255, 0.12));
    color: var(--hp-text, #fff);
    backdrop-filter: blur(8px);
}

.mch-hero__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.mch-hero__highlight {
    padding: 1rem;
    background: var(--hp-surface-2, #14141a);
    border: 1px solid var(--hp-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
}

.mch-hero__highlight strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.mch-hero__highlight small {
    font-size: 0.7rem;
    color: var(--hp-muted, #a1a1aa);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits list — alternating rows */
.mch-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.mch-benefit {
    display: grid;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: var(--hp-surface-2, #14141a);
    border: 1px solid var(--hp-border, rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    align-items: center;
    transition: border-color 0.25s, transform 0.25s;
}

.mch-benefit:hover {
    border-color: color-mix(in srgb, var(--primary-color) 35%, transparent);
    transform: translateX(6px);
}

@media (min-width: 768px) {
    .mch-benefit {
        grid-template-columns: 64px 1fr auto;
        gap: 1.5rem;
    }

    .mch-benefit:nth-child(even) {
        transform: none;
    }

    .mch-benefit:nth-child(even):hover {
        transform: translateX(-6px);
    }
}

.mch-benefit__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mch-benefit__icon img {
    width: 32px;
    height: 32px;
}

.mch-benefit h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hp-text, #fff);
    margin: 0 0 0.4rem;
}

.mch-benefit p {
    font-size: 0.9rem;
    color: var(--hp-muted, #a1a1aa);
    line-height: 1.65;
    margin: 0;
}

.mch-benefit__index {
    font-size: 2rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--primary-color) 25%, transparent);
    line-height: 1;
    display: none;
}

@media (min-width: 768px) {
    .mch-benefit__index {
        display: block;
    }
}

/* Platform strip */
.mch-platform-strip {
    display: grid;
    gap: 1px;
    background: var(--hp-border, rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    overflow: hidden;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .mch-platform-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mch-platform-cell {
    background: var(--hp-surface-2, #14141a);
    padding: 2rem 1.5rem;
    text-align: center;
}

.mch-platform-cell i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mch-platform-cell h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hp-text, #fff);
    margin-bottom: 0.35rem;
}

.mch-platform-cell p {
    font-size: 0.8rem;
    color: var(--hp-muted, #a1a1aa);
    margin: 0;
    line-height: 1.5;
}

/* CTA */
.mch-cta {
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 24px;
    background: var(--hp-gradient, linear-gradient(135deg, var(--primary-color), var(--primary-color2)));
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .mch-cta {
        grid-template-columns: 1fr auto;
    }
}

.mch-cta h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}

.mch-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.mch-hero .btn-outline-light {
    border-color: var(--hp-border, rgba(255, 255, 255, 0.15));
    color: #fff;
}

.mch-hero .btn-outline-light:hover {
    background: var(--hp-surface-2, #14141a);
    border-color: var(--primary-color);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .mch-benefit:hover {
        transform: none;
    }
}
