/* Demo homepage — sales pitch + links naar MM-pagina’s en bestellen (hero-bg = zelfde laag-stack als MM Admin) */

.mm-home-hero {
    position: relative;
    min-height: clamp(26rem, 60vh, 42rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 3rem;
    margin: 0 0 0;
    margin-bottom: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 38%, transparent);
    overflow: hidden;
}

.mm-home-hero-bg {
    --mm-home-hero-bg-shot: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #17120f;
}

/* Zelfde stack als MM Admin: wazige screenshot + lagen + zachte vignet */
.mm-home-hero-bg::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: var(--mm-home-hero-bg-shot);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(11px) saturate(1.08);
    transform: scale(1.04);
    transform-origin: center top;
}

.mm-home-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0),
        linear-gradient(165deg, rgba(13, 148, 136, 0.14) 0%, transparent 58%),
        linear-gradient(0deg, rgba(40, 28, 22, 0.42) 0%, transparent 58%);
    background-size:
        24px 24px,
        100% 100%,
        100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

.mm-home-hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 88% 78% at 50% 42%,
        transparent 0%,
        transparent 38%,
        rgba(23, 18, 15, 0.38) 68%,
        rgba(12, 10, 9, 0.62) 100%
    );
}

.mm-home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    text-align: center;
}

.mm-home-hero-inner h1 {
    font-size: clamp(2rem, 4.8vw, 2.85rem);
    margin-bottom: 0.75rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f6fdfb 0%, var(--primary-color) 42%, #a8ddd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
}

.mm-home-hero-lead {
    font-size: 1.12rem;
    color: rgba(26, 26, 26, 0.88);
    line-height: 1.55;
    margin: 0 auto 1.5rem;
    max-width: 38rem;
    text-shadow: none;
}

.mm-home-hero-lead strong {
    color: #111;
}

.mm-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.mm-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.mm-home-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Beat base.css `a:hover { color: var(--yellow) }` (same hue as button → unreadable). */
a.mm-home-btn--primary,
a.mm-home-btn--primary:hover,
a.mm-home-btn--primary:focus,
a.mm-home-btn--primary:active {
    color: #141210;
    text-decoration: none;
}

.mm-home-btn--primary {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 92%, #1a1a1a) 0%, var(--primary-color) 100%);
    color: #141210;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.mm-home-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 78%, #0a0a0a) 0%,
        color-mix(in srgb, var(--primary-color) 92%, #1a1a1a) 100%
    );
    color: #0a0908;
}

a.mm-home-btn--ghost,
a.mm-home-btn--ghost:hover,
a.mm-home-btn--ghost:focus,
a.mm-home-btn--ghost:active {
    text-decoration: none;
}

.mm-home-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 252, 248, 0.95);
    border: 1px solid color-mix(in srgb, var(--primary-color) 45%, transparent);
}

a.mm-home-btn--ghost:hover,
a.mm-home-btn--ghost:focus,
a.mm-home-btn--ghost:active {
    color: #fffefb;
}

.mm-home-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
}

/* --- Apps grid --- */
.mm-home-apps {
    padding: 3.25rem 0 2.5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, var(--dark-gray) 28%);
}

.mm-home-apps-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.25rem;
}

.mm-home-apps-head h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.1rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mm-home-apps-head p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.mm-home-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .mm-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mm-home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.35rem 1.35rem;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(20, 16, 14, 0.55) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.mm-home-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 18%, transparent);
    color: var(--primary-color);
    font-size: 1.35rem;
}

.mm-home-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 252, 248, 0.98);
}

.mm-home-card p {
    flex: 1;
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.mm-home-card-link {
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mm-home-card-link:hover {
    text-decoration: underline;
}

/* --- Try order CTA --- */
.mm-home-order {
    padding: 2.75rem 0 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(ellipse 90% 80% at 50% 0%, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 55%),
        var(--dark-gray);
}

.mm-home-order-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 28%, transparent);
    background: linear-gradient(145deg, rgba(35, 30, 26, 0.95) 0%, rgba(14, 12, 10, 0.92) 100%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.mm-home-order-inner h2 {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    color: rgba(255, 252, 248, 0.98);
    margin-bottom: 0.6rem;
}

.mm-home-order-inner > p {
    margin: 0 0 1.35rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.mm-home-order-inner .mm-home-btn--primary {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.mm-home-note {
    margin: 1.5rem auto 0;
    max-width: 32rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}
