/* Onlinemagneet CRM — marketing showcase (screenshot-first) */

.om-app-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.om-app-showcase--link {
    transition: transform 0.3s ease;
}

.om-app-showcase--link:hover .om-app-stage {
    transform: translateY(-4px);
}

.om-app-showcase--hero,
.om-app-showcase--full {
    max-width: none;
}

.om-app-showcase--section {
    max-width: 100%;
}

.om-app-showcase--journey {
    max-width: 100%;
}

.om-app-showcase--journey-wide {
    max-width: 100%;
}

.om-app-showcase--journey .om-app-stage::before {
    inset: -6% -10% -8%;
}

.om-app-showcase--journey .om-device-shell {
    max-width: 220px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .om-app-showcase--phone .om-device-shell,
    .om-app-showcase--auto .om-device-shell,
    .om-app-showcase--journey .om-device-shell {
        --phone-width: min(300px, 92vw);
    }

    .om-app-showcase--hero .om-device-shell {
        --phone-width: min(320px, 94vw);
    }

    .om-app-showcase--phone .om-app-screen-wrap,
    .om-app-showcase--auto .om-app-screen-wrap,
    .om-app-showcase--journey .om-app-screen-wrap {
        max-height: none;
    }

    .om-app-showcase--phone .om-app-screen-photo,
    .om-app-showcase--auto .om-app-screen-photo,
    .om-app-showcase--journey .om-app-screen-photo {
        transform: scale(1.1);
        transform-origin: top center;
    }
}

/* Hero: MacBook desktop, iPhone mobiel */
.om-showcase-responsive {
    width: 100%;
}

.om-hero-device--desktop {
    width: 100%;
}

.om-hero-device--mobile {
    display: none;
}

@media (max-width: 900px) {
    .om-hero-device--desktop {
        display: none !important;
    }

    .om-hero-device--mobile {
        display: block;
    }
}

@media (min-width: 901px) {
    .om-hero-device--mobile {
        display: none !important;
    }

    .om-hero-device--desktop {
        display: block;
        width: 100%;
    }

    .om-app-showcase--hero.om-app-showcase--macbook .om-macbook {
        max-width: 100%;
    }

    .om-app-showcase--section.om-app-showcase--macbook .om-macbook {
        width: 100%;
    }

    .om-app-showcase--section.om-app-showcase--macbook .om-app-screen-wrap {
        aspect-ratio: 16 / 10;
        min-height: 240px;
    }

    .om-app-showcase--full.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 380px;
    }

    .om-werkwijze-crm-mobile {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .om-app-showcase--section .om-device-shell,
    .om-app-showcase--full.om-app-showcase--phone .om-device-shell,
    .om-app-showcase--mobile-band .om-device-shell {
        --phone-width: min(300px, 92vw);
    }

    .om-werkwijze-crm-desktop {
        display: none !important;
    }

    .om-werkwijze-crm-mobile {
        display: block;
        margin-top: 1.5rem;
    }
}

.om-app-showcase--cockpit {
    max-width: 100%;
}

/* —— MacBook mockup (strak, flat) —— */
.om-macbook {
    width: 100%;
    margin: 0 auto;
}

.om-app-showcase--cockpit .om-macbook {
    max-width: 100%;
}

.om-app-showcase--macbook .om-app-stage::before {
    inset: -4% -8% -10%;
    background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 107, 53, 0.18), transparent 68%);
}

.om-macbook-lid {
    background: #1c1c1e;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 2px 0 rgba(255, 255, 255, 0.04) inset,
        0 28px 56px -8px rgba(0, 0, 0, 0.65);
}

.om-macbook-toolbar {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: linear-gradient(180deg, #323234 0%, #1c1c1e 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.om-macbook-traffic {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.om-macbook-traffic i {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.om-macbook-traffic i:nth-child(1) { background: #ff5f57; }
.om-macbook-traffic i:nth-child(2) { background: #febc2e; }
.om-macbook-traffic i:nth-child(3) { background: #28c840; }

.om-macbook-toolbar-title {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    padding-right: 46px;
}

.om-app-showcase--macbook .om-app-showcase__device {
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #f1f5f9;
}

.om-app-showcase--macbook .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 0;
    background: #f8fafc;
}

.om-app-showcase--cockpit .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

@media (min-width: 768px) {
    .om-app-showcase--cockpit .om-app-screen-wrap {
        min-height: 280px;
    }
}

@media (min-width: 1100px) {
    .om-app-showcase--cockpit .om-app-screen-wrap {
        min-height: 320px;
    }
}

.om-app-showcase--macbook .om-app-screen-photo {
    object-fit: cover;
    object-position: top center;
    background: #0f1419;
}

.om-app-showcase--full.om-app-showcase--macbook .om-macbook {
    max-width: 100%;
}

.om-app-showcase--full.om-app-showcase--macbook .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 240px;
}

@media (min-width: 768px) {
    .om-app-showcase--full.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 380px;
    }
}

@media (min-width: 1100px) {
    .om-app-showcase--full.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 440px;
    }
}

.om-macbook-base {
    height: 11px;
    margin: 0 10%;
    background: linear-gradient(180deg, #6e6e73 0%, #aeaeb2 35%, #d1d1d6 70%, #e8e8ed 100%);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    position: relative;
}

.om-macbook-foot {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 17%;
    min-width: 64px;
    max-width: 100px;
    height: 3px;
    background: #86868b;
    border-radius: 0 0 3px 3px;
}

.om-app-showcase--link.om-app-showcase--macbook:hover .om-macbook-lid {
    box-shadow:
        0 0 0 1px rgba(255, 107, 53, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.04) inset,
        0 32px 64px -8px rgba(0, 0, 0, 0.6),
        0 0 48px rgba(255, 107, 53, 0.1);
}

.om-app-showcase--journey-wide .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 200px;
}

/* —— iPhone frame (één systeem, alle layouts) —— */
.om-app-showcase--phone .om-device-shell,
.om-app-showcase--auto .om-device-shell {
    --phone-width: min(268px, 82vw);
    width: var(--phone-width);
    margin: 0 auto;
    padding: 10px;
    border-radius: 44px;
    background: linear-gradient(165deg, #48484a 0%, #1c1c1e 38%, #0a0a0b 100%);
    border: 1.5px solid #3a3a3c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 32px 64px -12px rgba(0, 0, 0, 0.75);
}

.om-app-showcase--mobile-band .om-device-shell {
    --phone-width: min(248px, 76vw);
}

.om-app-showcase--phone .om-iphone-chrome,
.om-app-showcase--auto .om-iphone-chrome {
    display: block;
    position: relative;
    height: 22px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.om-app-showcase--phone .om-iphone-island,
.om-app-showcase--auto .om-iphone-island {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 20px;
    background: #000;
    border-radius: 18px;
}

.om-app-showcase--phone .om-app-showcase__device,
.om-app-showcase--auto .om-app-showcase__device,
.om-app-showcase--journey .om-app-showcase__device {
    border-radius: 34px;
    border: none;
    box-shadow: none;
    background: #000;
    overflow: hidden;
}

.om-app-showcase--phone .om-app-screen-wrap,
.om-app-showcase--auto .om-app-screen-wrap,
.om-app-showcase--journey .om-app-screen-wrap {
    aspect-ratio: 9 / 19.5 !important;
    min-height: 0 !important;
    width: 100%;
    height: auto;
    max-height: 460px;
    background: #0f1419;
}

.om-app-showcase--mobile-band .om-app-screen-wrap {
    max-height: 420px;
}

.om-app-showcase--phone .om-app-screen-photo,
.om-app-showcase--auto .om-app-screen-photo,
.om-app-showcase--journey .om-app-screen-photo {
    object-fit: cover;
    object-position: top center;
}

.om-app-showcase--phone .om-iphone-home,
.om-app-showcase--auto .om-iphone-home {
    display: block;
    width: 34%;
    height: 4px;
    margin: 8px auto 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.om-app-showcase--phone .om-app-stage::before,
.om-app-showcase--auto .om-app-stage::before {
    inset: -10% -18% -14%;
    opacity: 0.7;
}

/* Hero MacBook */
.om-app-showcase--hero.om-app-showcase--macbook .om-macbook {
    max-width: 100%;
}

.om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 200px !important;
}

@media (min-width: 768px) {
    .om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 280px !important;
    }
}

@media (min-width: 1100px) {
    .om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 340px !important;
    }
}

/* Mobile-band layout */
.om-app-showcase--mobile-band {
    align-items: center;
    gap: 1.25rem;
}

.om-app-showcase--mobile-band .om-app-tabs {
    justify-content: center;
    max-width: 100%;
}

.om-app-showcase--mobile-band .om-app-tab {
    font-size: 0.78rem;
    padding: 0.5rem 0.9rem;
}

.om-app-showcase--mobile-band .om-app-stage::before {
    display: none;
}


/* Tabs — groot, duidelijk */
.om-app-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.om-app-showcase--hero .om-app-tabs {
    justify-content: flex-start;
}

.om-app-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.om-app-showcase--section .om-app-tab,
.om-app-band .om-app-tab {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

.om-app-tab i {
    color: #ff8c42;
    font-size: 0.78rem;
}

.om-app-tab.is-active {
    background: linear-gradient(135deg, #ff6b35, #e63946);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
    transform: translateY(-1px);
}

.om-app-tab.is-active i {
    color: #fff;
}

/* Stage — groot scherm met glow */
.om-app-stage {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.om-app-stage::before {
    content: '';
    position: absolute;
    inset: -12% -8% -18%;
    background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255, 107, 53, 0.35), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.om-app-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem 0.4rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 20, 25, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.om-app-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.35);
}

.om-app-showcase__device {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    background: #0f1419;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 107, 53, 0.12),
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 12px 40px rgba(255, 107, 53, 0.12);
}

/* Device shell — desktop standaard, iPhone op mobiel bij --auto */
.om-device-shell {
    position: relative;
    z-index: 1;
}

.om-iphone-chrome,
.om-iphone-home {
    display: none;
}

/* legacy auto: gebruikt zelfde phone shell */
.om-app-showcase--auto .om-iphone-chrome {
    display: block;
}

.om-app-showcase--auto .om-iphone-home {
    display: block;
}


.om-app-showcase--hero .om-app-showcase__device {
    border-radius: 22px;
}

.om-app-showcase--hero.om-app-showcase--macbook .om-app-showcase__device {
    border-radius: 0;
}

.om-app-screen-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    overflow: hidden;
}

.om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
    aspect-ratio: 16 / 10;
    min-height: 200px;
}

@media (min-width: 768px) {
    .om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 280px;
    }
}

@media (min-width: 1100px) {
    .om-app-showcase--hero.om-app-showcase--macbook .om-app-screen-wrap {
        min-height: 340px;
    }
}

/* Alleen desktop-layouts (niet phone) */
.om-app-showcase--hero:not(.om-app-showcase--phone):not(.om-app-showcase--auto) .om-app-screen-wrap {
    aspect-ratio: 16 / 9.5;
    min-height: 320px;
}

@media (min-width: 768px) {
    .om-app-showcase--hero:not(.om-app-showcase--phone):not(.om-app-showcase--auto) .om-app-screen-wrap {
        min-height: 420px;
    }
}

@media (min-width: 1100px) {
    .om-app-showcase--hero:not(.om-app-showcase--phone):not(.om-app-showcase--auto) .om-app-screen-wrap {
        min-height: 480px;
    }
}

.om-app-screen {
    display: none;
    position: absolute;
    inset: 0;
    animation: omAppFade 0.4s ease;
}

.om-app-screen.is-active {
    display: block;
}

@keyframes omAppFade {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: none; }
}

.om-app-screen-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    background: #f8fafc;
}

/* Fallback mini-UI */
.om-ui {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.8rem;
    color: #0f172a;
    padding: 1rem;
}

.om-ui-head { display: flex; justify-content: space-between; margin-bottom: 0.65rem; }
.om-ui-head strong { font-size: 0.95rem; display: flex; align-items: center; gap: 0.35rem; }
.om-ui-head strong i { color: #ff6b35; }
.om-ui-muted { color: #94a3b8; font-size: 0.72rem; font-weight: 600; }
.om-ui-live { color: #16a34a; font-weight: 700; font-size: 0.72rem; }
.om-ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 0.65rem; }
.om-ui-stats > div { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.45rem; text-align: center; }
.om-ui-stats b { display: block; font-size: 1rem; font-weight: 800; }
.om-ui-stats span { font-size: 0.58rem; text-transform: uppercase; font-weight: 700; color: #94a3b8; }
.om-ui-stats .om-ui-accent b { color: #ea580c; }
.om-ui-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.65rem; margin-bottom: 0.45rem; }
.om-ui-card--hot { border-left: 3px solid #ff6b35; }
.om-ui-card-top { display: flex; justify-content: space-between; margin-bottom: 0.25rem; }
.om-ui-badge { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; color: #ea580c; background: #fff7ed; padding: 0.12rem 0.4rem; border-radius: 999px; }
.om-ui-waarde { font-size: 0.72rem; font-weight: 800; color: #16a34a; }
.om-ui-card-title { font-weight: 800; font-size: 0.88rem; }
.om-ui-card-sub { font-size: 0.72rem; color: #64748b; margin-top: 0.15rem; }
.om-ui-pipeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
.om-ui-col-h { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; color: #64748b; margin-bottom: 0.35rem; }
.om-ui-col-h em { font-style: normal; margin-left: 0.35rem; background: #fff7ed; color: #c2410c; padding: 0.05rem 0.35rem; border-radius: 999px; }
.om-ui-lead { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0.45rem; font-size: 0.68rem; font-weight: 700; }
.om-ui-lead div { font-size: 0.62rem; color: #16a34a; margin-top: 0.15rem; }
.om-ui-lead--hot { border-left: 2px solid #f59e0b; }
.om-ui-visitor { display: flex; justify-content: space-between; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0.45rem 0.6rem; font-size: 0.72rem; }
.om-ui-visitor em { font-style: normal; font-weight: 700; color: #16a34a; font-size: 0.68rem; }

/* Header */
.om-logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.om-header-product {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.65rem 0.28rem 0.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: box-shadow 0.2s, transform 0.2s;
    white-space: nowrap;
}

.om-header-product:hover {
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.2);
    transform: translateY(-1px);
}

.om-header-product-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, #FF8C42, #E63946);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
}

/* App band — full bleed */
.om-app-band {
    background: linear-gradient(180deg, #0a0d12 0%, #141a24 50%, #0f1419 100%);
    padding: 5rem 0 5.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.om-app-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 107, 53, 0.18), transparent 65%);
    pointer-events: none;
}

.om-app-band .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.om-app-band-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}

.om-app-band-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

.om-app-band-head p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.65;
}

/* Embed in werkwijze band */
.om-app-band .om-pwa-install__inner {
    display: block;
    max-width: none;
    padding: 0;
}

.om-app-band .om-pwa-install__copy h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.om-werkwijze-crm-desktop {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.om-werkwijze-crm-desktop__title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.5rem;
}

/* Hero grid — iPhone tussen titel en CTA's op mobiel */
.hero-home__visual .om-app-showcase--hero {
    width: 100%;
}

@media (max-width: 1023px) {
    .hero-home__visual {
        max-width: min(520px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-home-ctas .btn-hero-primary,
    .hero-home-ctas .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Feature pills — geen dubbele screenshots */
.om-app-features {
    padding: 3rem 0;
    background: #0a0d12;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.om-app-features .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    text-align: center;
}

.om-app-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .om-app-features-grid { grid-template-columns: 1fr; gap: 0.65rem; }
}

.om-app-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
}

.om-app-feature i { color: #ff8c42; }

.om-app-features-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ff8c42;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.om-app-features-link:hover { color: #fff; }
