/* CSS Variabelen */
:root {
    --primary: #7c3aed;     /* Violet 600 (brand) */
    --secondary: #1d6e80;   /* Deep teal accent */
    --bg-color: #f8fafc;    /* Slate 50 */
    --text-dark: #0f172a;   /* Slate 900 */
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --radius-lg: 24px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px; /* sticky navbar (80px) + ruimte, zodat anchor-links (#nieuws, #evenementen, ...) niet onder de navbar terechtkomen */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Subtiele sectie-scheiding tussen grote pagina-blokken */
.section-divider {
    box-sizing: border-box;
    max-width: 1100px;
    height: 1px;
    margin: 0 auto;
    padding: 0 24px;
    border: none;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 15%, #e2e8f0 85%, transparent 100%);
}

/* Layout */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo as clickable brand: remove underline and style the B mark */
.logo {
    text-decoration: none;
}
.logo .brand-mark {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: 0 6px 14px rgba(124,58,237,0.12);
    border: 2px solid rgba(0,0,0,0.03);
}
.logo .brand-name {
    font-weight: 800;
    color: var(--text-dark);
    margin-left: 10px;
}

.nav-right { display:flex; align-items:center; gap:16px; }

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 500;
}

/* Tijdelijke naamswijziging-melding (Buurtapp -> Buurplein) */
.rebrand-notice {
    padding: 18px 0 0;
    display: flex;
    justify-content: center;
}
.rebrand-notice-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    background: #f3ecfd;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    padding: 10px 20px 10px 12px;
}
.rebrand-notice-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.rebrand-notice-text {
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.4;
}
.rebrand-notice-text strong {
    color: #5b21b6;
}
@media (max-width: 600px) {
    .rebrand-notice-inner {
        gap: 8px;
        padding: 9px 16px 9px 10px;
        border-radius: var(--radius);
    }
    .rebrand-notice-text {
        font-size: 0.85rem;
    }
}

/* Gradient tekst */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    padding: 60px 0 100px;
    background: linear-gradient(160deg, #ffffff 0%, #f3ecfd 60%, #cdeefb 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.hero-shape-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #ddd6fe, transparent);
    top: -120px;
    right: -80px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #cdeefb, transparent);
    bottom: -60px;
    left: 10%;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #c4b5fd, transparent);
    top: 40%;
    right: 30%;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3ecfd;
    color: var(--primary);
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mockup {
    width: 280px;
    height: 560px;
    background: #1e293b;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ==============================
   Phone Mockup — Realistic Dark UI
   ============================== */

.mockup-screen {
    background: #131d2e;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Status bar */
.ms-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 4px;
    background: #131d2e;
    flex-shrink: 0;
}
.ms-time {
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.ms-sb-icons {
    display: flex;
    gap: 4px;
    align-items: center;
    color: #fff;
}
.ms-sb-icons i { font-size: 0.5rem; }

/* App header */
.ms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 12px 8px;
    background: #131d2e;
    flex-shrink: 0;
}
.ms-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ms-logo-b {
    width: 24px;
    height: 24px;
    background: #7c3aed;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 0.72rem;
}
.ms-logo-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}
.ms-header-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #4a5e74;
}
.ms-header-icons i { font-size: 0.65rem; }

/* News section card */
.ms-section-card {
    margin: 0 8px 0;
    background: #1d2e42;
    border-radius: 10px;
    padding: 7px 10px 0;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05);
}
.ms-section-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
}
.ms-section-icon-wrap {
    width: 22px;
    height: 22px;
    background: rgba(124,58,237,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    flex-shrink: 0;
}
.ms-section-icon-wrap i { font-size: 0.55rem; }
.ms-section-info { flex: 1; }
.ms-section-title {
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.ms-section-sub {
    font-size: 0.48rem;
    color: #4a5e74;
    margin-top: 1px;
}
.ms-section-refresh {
    color: #7c3aed;
    font-size: 0.58rem;
}

/* Tab bar inside section card */
.ms-tabs {
    display: flex;
    gap: 0;
    background: #243347;
    border-radius: 7px;
    padding: 3px;
    margin-bottom: 8px;
}
.ms-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.49rem;
    font-weight: 600;
    color: #4a5e74;
    padding: 4px 0;
    border-radius: 5px;
}
.ms-tab i { font-size: 0.43rem; }
.ms-tab-active {
    background: #131d2e;
    color: #7c3aed;
}

/* Feed area */
.ms-feed-wrap {
    flex: 1;
    overflow: hidden;
    padding: 8px 8px 0;
    mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
}
.ms-feed-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Cards */
.ms-card {
    background: #1d2e42;
    border-radius: 11px;
    padding: 8px 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Card top row */
.ms-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Source badge (brand-color text, like OMROP FRYSLÂN / POLITIENIEUWS) */
.ms-source-badge {
    font-size: 0.48rem;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Tags (like Hulpvraag) */
.ms-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 5px;
    border-radius: 4px;
}
.ms-tag i { font-size: 0.42rem; }
.ms-tag-help { background: rgba(168,85,247,0.18); color: #c084fc; }

/* Timestamp */
.ms-time-ago {
    font-size: 0.49rem;
    color: #4a5e74;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
}
.ms-time-ago i { font-size: 0.42rem; }

/* Card title */
.ms-card-title {
    font-size: 0.64rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

/* "Lees artikel" link */
.ms-card-readmore {
    font-size: 0.52rem;
    color: #7c3aed;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.ms-card-readmore i { font-size: 0.42rem; }

/* Help card meta line */
.ms-card-meta {
    font-size: 0.5rem;
    color: #4a5e74;
    font-weight: 500;
}

/* Distance pill */
.ms-dist {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.48rem;
    font-weight: 600;
    color: #c084fc;
    background: rgba(168,85,247,0.12);
    padding: 2px 5px;
    border-radius: 4px;
}
.ms-dist i { font-size: 0.42rem; }

/* News card image-row layout */
.ms-imgrow {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.ms-thumb {
    width: 40px;
    height: 40px;
    background: #243347;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5e74;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.ms-imgrow-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

/* Event card: purple date bar (like in the screenshots) */
.ms-event-datebar {
    background: #7c3aed;
    border-radius: 7px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-event-date-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ms-event-dow   { font-size: 0.41rem; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; line-height: 1.3; }
.ms-event-day   { font-size: 0.9rem;  font-weight: 800; color: #fff; line-height: 1; }
.ms-event-mon   { font-size: 0.39rem; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; line-height: 1.3; }
.ms-event-divider-v { width: 1px; height: 26px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.ms-event-time-right {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ms-event-aanvang { font-size: 0.39rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; line-height: 1.3; }
.ms-event-hour    { font-size: 0.85rem; font-weight: 800; color: #fff; line-height: 1; }

.ms-event-name {
    font-size: 0.64rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.ms-event-loc-row {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.5rem;
    color: #4a5e74;
}
.ms-event-loc-row i { font-size: 0.45rem; color: #7c3aed; }

/* Bottom navigation */
.ms-bottomnav {
    display: flex;
    background: #1a2535;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 7px 0 5px;
    flex-shrink: 0;
}
.ms-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #4a5e74;
    padding: 2px 0;
}
.ms-nav-item i    { font-size: 0.72rem; }
.ms-nav-item span { font-size: 0.43rem; font-weight: 600; }
.ms-nav-active    { color: #7c3aed; }

/* Home indicator */
.ms-home-indicator {
    width: 72px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin: 5px auto 7px;
    opacity: 0.15;
    flex-shrink: 0;
}

/* ─── Scherm-switcher ─── */
.ms-screens {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}
.ms-screen {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
}
.ms-screen-active {
    display: flex;
}

/* ─── HOME-scherm ─── */
.ms-home-content {
    flex: 1;
    overflow: hidden;
    padding: 8px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}
.ms-home-greeting {
    background: linear-gradient(135deg, #fdf6ec 0%, #f6e4c8 100%);
    border-radius: 12px;
    padding: 9px 12px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    flex-shrink: 0;
}
.ms-home-greeting-title { font-size: 0.62rem; font-weight: 800; color: #1e293b; }
.ms-home-greeting-sub { font-size: 0.46rem; color: #7a6a54; font-weight: 500; }

.ms-home-map {
    position: relative;
    height: 100px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf3e6 0%, #dcebd6 100%);
    overflow: hidden;
    flex-shrink: 0;
}
.ms-home-map-radius {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1.5px solid rgba(99,102,241,0.55);
    background: rgba(99,102,241,0.08);
    transform: translate(-50%, -50%);
}
.ms-home-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    background: #7c3aed;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transform: translate(-50%, -50%);
}
.ms-home-quicklabel {
    font-size: 0.44rem;
    font-weight: 700;
    color: #4a5e74;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.ms-home-quick-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 7px;
    flex-shrink: 0;
}
.ms-home-quick-big {
    background: linear-gradient(135deg, #16303a 0%, #0d1f26 100%);
    border-radius: 12px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 78px;
    border: 1px solid rgba(255,255,255,0.06);
}
.ms-home-quick-icon {
    width: 24px;
    height: 24px;
    background: rgba(124,58,237,0.18);
    color: #7c3aed;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}
.ms-home-quick-big-label {
    font-size: 0.54rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-top: 6px;
}
.ms-home-quick-stack {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ms-home-quick-small {
    flex: 1;
    background: #1d2e42;
    border-radius: 10px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ms-home-quick-small-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    flex-shrink: 0;
}
.ms-home-quick-small-icon.qs-green { background: rgba(34,197,94,0.18); color: #22c55e; }
.ms-home-quick-small-icon.qs-blue  { background: rgba(59,130,246,0.18); color: #3b82f6; }
.ms-home-quick-small-label { font-size: 0.5rem; font-weight: 700; color: #fff; }

/* Tikgebaar op de "Het Meldpunt"-tegel, vlak voor de mockup doorschuift */
.ms-home-quick-meldpunt {
    position: relative;
    transition: transform 0.18s ease;
}
.ms-home-quick-meldpunt.ms-tile-pressed { transform: scale(0.94); }
.ms-tap-cursor {
    position: absolute;
    right: 4px;
    bottom: 2px;
    opacity: 0;
    color: #fff;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.ms-tap-cursor.ms-tap-play {
    animation: msTapGesture 650ms ease-out;
}
@keyframes msTapGesture {
    0%   { opacity: 0; transform: scale(0.6) translate(9px, 9px); }
    35%  { opacity: 1; transform: scale(1) translate(0, 0); }
    60%  { opacity: 1; transform: scale(0.85) translate(0, 0); }
    100% { opacity: 0; transform: scale(0.9) translate(-4px, -4px); }
}

.ms-home-banner {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 9px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.48rem;
    font-weight: 600;
    color: #4ade80;
    flex-shrink: 0;
}
.ms-home-banner i { font-size: 0.52rem; flex-shrink: 0; }
.ms-home-content .ms-section-card { flex-shrink: 0; }
.ms-home-content .ms-card { flex-shrink: 0; }

/* Nieuws-scherm: feed zit al in ms-screen-nieuws */
.ms-screen-nieuws .ms-section-card { margin: 0 8px 0; }
.ms-screen-nieuws .ms-feed-wrap {
    flex: 1;
    overflow: hidden;
    padding: 8px 8px 0;
    mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
}

/* ─── EVENEMENTEN-scherm ─── */
.ms-evt-list {
    flex: 1;
    overflow: hidden;
    padding: 8px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}
.ms-date-pill {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.47rem;
    font-weight: 700;
    color: #7c8b9e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.ms-date-pill i { font-size: 0.42rem; color: #7c3aed; }
.ms-evt-card {
    background: #1d2e42;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.ms-evt-img {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 1.05rem;
    position: relative;
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2a45 100%);
}
.ms-evt-img-2 { background: linear-gradient(135deg, #2a1a4e, #1a0f35); }
.ms-ticketmaster {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,255,255,0.88);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 0.4rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.02em;
}
.ms-evt-body {
    padding: 7px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ms-evt-details-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #7c3aed;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}
.ms-evt-details-btn i { font-size: 0.42rem; }

/* ─── HULP-scherm ─── */
.ms-hulp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 6px;
    flex-shrink: 0;
}
.ms-hulp-header-icon {
    width: 24px;
    height: 24px;
    background: rgba(34,197,94,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    flex-shrink: 0;
}
.ms-hulp-header-icon i { font-size: 0.58rem; }
.ms-hulp-header-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.ms-hulp-header-sub {
    font-size: 0.48rem;
    color: #4a5e74;
}
.ms-hulp-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 8px 8px;
    min-height: 0;
}
.ms-hulp-tile {
    background: #1d2e42;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}
.ms-hulp-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.92);
    min-height: 54px;
}
.ms-hulp-info {
    padding: 5px 7px 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ms-hulp-title {
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.ms-hulp-sub {
    font-size: 0.44rem;
    color: #4a5e74;
    line-height: 1.3;
    margin-bottom: 3px;
}
.ms-hulp-btn {
    border-radius: 5px;
    padding: 4px 0;
    font-size: 0.47rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

/* ─── HET MELDPUNT-scherm (info) ─── */
.ms-meldpunt-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 18px 16px;
}
.ms-meldpunt-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99,102,241,0.18);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 2px;
}
.ms-meldpunt-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}
.ms-meldpunt-desc {
    font-size: 0.66rem;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 230px;
}
.ms-meldpunt-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
}
.ms-meldpunt-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(99,102,241,0.14);
    color: #a5b4fc;
    border-radius: 20px;
    padding: 5px 11px;
    font-size: 0.56rem;
    font-weight: 700;
}
.ms-meldpunt-radius {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6366f1;
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 4px;
}

/* ─── VEILIGHEID-scherm ─── */
.ms-veil-tabs {
    display: flex;
    margin: 0 8px 8px;
    background: #1d2e42;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}
.ms-veil-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.49rem;
    font-weight: 600;
    color: #4a5e74;
    padding: 5px 0;
    border-radius: 5px;
}
.ms-veil-tab i { font-size: 0.42rem; }
.ms-veil-tab-active {
    background: #131d2e;
    color: #fff;
}
.ms-veil-content {
    flex: 1;
    overflow: hidden;
    padding: 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.ms-112-card {
    background: #dc2626;
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
}
.ms-112-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-112-phone {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.ms-112-left { flex: 1; }
.ms-112-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.ms-112-sub {
    font-size: 0.41rem;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ms-112-belnu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ms-112-btn {
    background: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.52rem;
    font-weight: 800;
    color: #dc2626;
    white-space: nowrap;
}
.ms-112-btn-sub {
    font-size: 0.4rem;
    color: rgba(255,255,255,0.58);
}
.ms-112-body {
    background: rgba(0,0,0,0.18);
    border-radius: 7px;
    padding: 7px 8px;
}
.ms-112-body-title {
    font-size: 0.56rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}
.ms-112-body-desc {
    font-size: 0.48rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.45;
}
.ms-acc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 6px 8px;
}
.ms-acc-open {
    border-radius: 6px 6px 0 0;
}
.ms-acc-row-title {
    font-size: 0.54rem;
    font-weight: 700;
    color: #fff;
}
.ms-acc-row > i { font-size: 0.45rem; color: rgba(255,255,255,0.65); }

/* Medische disclaimer box */
.ms-disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 7px;
    padding: 6px 8px;
    margin-bottom: 1px;
}
.ms-disclaimer-box i {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.85);
    margin-top: 1px;
    flex-shrink: 0;
}
.ms-disclaimer-box span {
    font-size: 0.43rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.4;
}
.ms-disclaimer-box strong { color: #fff; }

/* Uitklapbare accordion-inhoud (Politie) */
.ms-acc-content {
    background: rgba(255,255,255,0.08);
    border-radius: 0 0 6px 6px;
    padding: 7px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ms-acc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ms-acc-list li {
    position: relative;
    padding-left: 10px;
    font-size: 0.46rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.35;
}
.ms-acc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
}
.ms-acc-note {
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 6px 7px;
    font-size: 0.43rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}

.ms-hulpdiensten-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 0 2px;
}
.ms-hulpdiensten-row > i:first-child { font-size: 0.52rem; color: #7c3aed; }
.ms-hulpdiensten-row span {
    font-size: 0.53rem;
    font-weight: 600;
    color: #fff;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.35); opacity: 0.75; }
}

/* Knoppen */
.btn {
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #5b21b6;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Stats strip */
.stats-strip {
    background: var(--white);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 0;
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 28px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* Features */
.features {
    padding: 90px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.features-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
}

.card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Shared accent-color system: used by #functies cards and #details showcase blocks below */
.accent-orange { --accent: #f97316; --accent-soft: #fff7ed; --accent-soft-2: #ffedd5; }
.accent-green  { --accent: #16a34a; --accent-soft: #f0fdf4; --accent-soft-2: #dcfce7; }
.accent-rose   { --accent: #be185d; --accent-soft: #fdf2f8; --accent-soft-2: #fce7f3; }
.accent-red    { --accent: #dc2626; --accent-soft: #fef2f2; --accent-soft-2: #fee2e2; }
.accent-indigo { --accent: #4f46e5; --accent-soft: #eef2ff; --accent-soft-2: #e0e7ff; }
.accent-teal   { --accent: #0d9488; --accent-soft: #f0fdfa; --accent-soft-2: #ccfbf1; }

.feature-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #f1f5f9;
    border-top: 4px solid var(--accent, var(--primary));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.10);
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    background: #f3ecfd;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 24px;
}

.feature-card .icon-wrapper {
    background: var(--accent-soft, #f3ecfd);
    color: var(--accent, var(--primary));
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.feature-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 8px;
    padding: 0;
    margin: 0 0 24px;
}

.feature-chips li {
    background: var(--accent-soft, #f3ecfd);
    color: var(--accent, var(--primary));
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
}

.feature-card .btn {
    margin-top: auto;
    align-self: center;
}

.feature-card .btn-outline {
    border-color: var(--accent-soft-2, #e2e8f0);
    color: var(--accent, var(--text-dark));
}

.feature-card .btn-outline:hover {
    background: var(--accent, var(--text-dark));
    border-color: var(--accent, var(--text-dark));
    color: #fff;
}

/* How it works */
.how-it-works {
    padding: 80px 0;
    background: #f8fafc;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ddd6fe;
    line-height: 1;
    margin-bottom: 8px;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-divider {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 1.5rem;
    padding: 0 16px;
    flex-shrink: 0;
}

/* Download CTA (store-badge classes ported from download/download.css for reuse here) */
.download-cta {
    padding: 0 0 80px;
}
.download-cta-box {
    background: linear-gradient(135deg, #f3ecfd 0%, #ddd6fe 100%);
    border-radius: var(--radius-lg);
    padding: 56px 60px;
    text-align: center;
}
.download-cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.download-cta-box > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.dl-store-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.dl-store-buttons-center {
    justify-content: center;
}
.dl-store-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.dl-store-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    box-shadow: 0 6px 18px rgba(15,23,42,0.18);
    cursor: pointer;
}
.store-badge:hover {
    transform: translateY(-2px);
    background: #1e293b;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 26px rgba(15,23,42,0.26);
}
.store-badge:active { transform: translateY(0); }
.store-badge:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
.store-badge i { font-size: 1.8rem; }
.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
}
.store-badge-text small {
    font-weight: 400;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    text-transform: none;
}
.store-badge-arrow {
    margin-left: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    transition: transform 0.2s, color 0.2s;
}
.store-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.store-note i { color: var(--primary); }
.store-note-center { justify-content: center; }
.store-badge:hover .store-badge-arrow {
    transform: translateX(3px);
    color: #fff;
}

/* Business Section */
.business-accent {
    padding: 80px 0;
}

.business-box {
    background: linear-gradient(135deg, #e2f1f3 0%, #c3e6ea 100%);
    border-radius: var(--radius-lg);
    padding: 64px 60px;
    text-align: center;
}

.business-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.6);
    color: #123f4a;
    border: 1px solid #b7dde3;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.business-box h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #123f4a;
}

.business-box > p {
    font-size: 1.15rem;
    color: #123f4a;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.business-perks {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.business-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #123f4a;
}

.business-perk i {
    color: #1d6e80;
}

.business-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Form */
.form-section {
    padding: 80px 0;
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
}

.form-card h2 {
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    background: #f8fafc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,58,237, 0.1);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 12px;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-note {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-style: italic;
    margin-top: 6px;
}

.footer-copy {
    margin-top: 30px;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1;
    transition: background 0.15s;
}
.nav-toggle:hover { background: #f1f5f9; }

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-badge {
        margin: 0 auto 20px;
    }
    .stats-inner {
        gap: 0;
    }
    .stat-item {
        padding: 8px 16px;
    }
    .stat-divider {
        display: none;
    }
    .steps-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .step-divider {
        transform: rotate(90deg);
        padding: 8px 0;
        text-align: center;
    }
    .step {
        max-width: 100%;
    }
    .download-cta-box {
        padding: 40px 24px;
    }
    .download-cta-box h2 {
        font-size: 1.6rem;
    }
    .business-box {
        padding: 40px 24px;
    }
    .business-box h2 {
        font-size: 1.8rem;
    }
    .business-perks {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .business-buttons {
        flex-direction: column;
    }
    .detail-layout,
    .detail-layout.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .detail-layout .detail-copy,
    .detail-layout.reverse .detail-copy {
        order: 1;
    }
    .detail-layout .detail-preview,
    .detail-layout.reverse .detail-preview {
        order: 2;
    }
    .detail-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .feature-details .detail {
        padding: 28px 24px 24px;
    }

    /* Hamburger visible; hide inline desktop nav links */
    .nav-toggle { display: flex; align-items: center; }
    .nav-right > .btn-outline { display: none; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 24px 20px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        margin-left: 0;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1rem;
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .btn {
        margin-left: 0 !important;
        padding: 12px 20px !important;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

/* Extra small screens (telefoon) */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .section-title { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .store-badge { padding: 10px 16px; width: 100%; justify-content: center; }
    .dl-store-buttons { flex-direction: column; }
    .dl-store-col { width: 100%; }
    .detail-grid-4 { grid-template-columns: 1fr; }
    .detail-secondary { grid-template-columns: 1fr; }
    .feature-details .detail { padding: 26px 20px 22px; }
    .detail-callout { flex-direction: column; }
    .footer-links a { display: block; margin: 6px 0; }
    .footer-columns { flex-direction: column; gap: 30px; align-items: center; }
    .footer-col { text-align: center; align-items: center; }
}

/* Kleine helpers gebruikt door partner-api.html */
.hidden { display: none !important; }
.code-block {
    background: #0f172a;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.95rem;
}
.inline-code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95rem;
}

/* Code wrapper and copy button */
.code-wrapper { position: relative; margin-top: 8px; }
.code-block { line-height: 1.65; border-radius: 10px; }

/* Syntax highlighting tokens */
.tok-cmd   { color: #7dd3fc; }
.tok-flag  { color: #94a3b8; }
.tok-url   { color: #34d399; }
.tok-key   { color: #f9a8d4; }
.tok-str   { color: #fcd34d; }
.tok-kw    { color: #c084fc; }
.tok-cmt   { color: #64748b; font-style: italic; }
.tok-punct { color: #94a3b8; }

.copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.copy-btn:active { transform: translateY(1px); }



/* Detail secties styling: editorial "showcase" blocks, one per functie, each with its own accent color */
.feature-details {
    padding: 80px 0 60px;
}
.feature-details .detail {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 20px;
    padding: 36px 36px 32px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
    border-left: 4px solid var(--accent, var(--primary));
    transition: box-shadow 0.2s ease;
}
.feature-details .detail:hover {
    box-shadow: 0 14px 32px rgba(15,23,42,0.08);
}
.detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.detail-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-soft, #f3ecfd);
    color: var(--accent, var(--primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.detail-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent, var(--primary));
    margin-bottom: 4px;
}
.feature-details .detail h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}
.back-top {
    text-align: right;
    margin-top: 20px;
}
.back-top a {
    text-decoration: none;
    color: var(--accent, var(--primary));
    font-weight: 600;
}

/* Two-column layout: benefit list + example preview card, alternates via .reverse */
.detail-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}
.detail-copy { order: 1; }
.detail-preview { order: 2; }
.detail-layout.reverse .detail-copy { order: 2; }
.detail-layout.reverse .detail-preview { order: 1; }

.detail-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.detail-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.detail-point-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft, #f3ecfd);
    color: var(--accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.detail-point-body strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.detail-point-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Static "voorbeeld uit de app" preview card (nieuws/evenementen) */
.detail-preview-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}
.detail-preview-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.detail-preview-label i { color: var(--accent, var(--primary)); }

.preview-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.preview-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.preview-news-item:first-child { padding-top: 0; }
.preview-news-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--accent-soft, #f3ecfd);
    color: var(--accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.preview-news-body { flex: 1; min-width: 0; }
.preview-news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.preview-source-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--accent, var(--primary));
    text-transform: uppercase;
}
.preview-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 6px;
    text-transform: uppercase;
}
.preview-time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.preview-news-title { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }

.preview-event-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: var(--accent-soft, #f8fafc);
    margin-bottom: 12px;
}
.preview-event-card:last-child { margin-bottom: 0; }
.preview-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    color: var(--accent, var(--primary));
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15,23,42,0.06);
}
.preview-event-date .dow { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; }
.preview-event-date .day { font-size: 1.15rem; font-weight: 800; line-height: 1; }
.preview-event-body { flex: 1; min-width: 0; }
.preview-event-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent, var(--primary));
    margin-bottom: 4px;
}
.preview-event-title { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.preview-event-loc { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* 2x2 grid used by Hulp (categorieën) and Veiligheid (112/niet-spoed/inbraak/dierenhulp) */
.detail-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.detail-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.detail-grid-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.detail-grid-item:hover {
    transform: translateY(-2px);
    border-color: var(--item-accent, var(--accent));
}
.detail-grid-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--item-accent-soft, var(--accent-soft));
    color: var(--item-accent, var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.detail-grid-item strong { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.detail-grid-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }

.detail-grid-item.tile-green  { --item-accent: #16a34a; --item-accent-soft: #f0fdf4; }
.detail-grid-item.tile-amber  { --item-accent: #d97706; --item-accent-soft: #fffbeb; }
.detail-grid-item.tile-blue   { --item-accent: #1d4ed8; --item-accent-soft: #eff6ff; }
.detail-grid-item.tile-pink   { --item-accent: #be185d; --item-accent-soft: #fdf2f8; }

/* Lighter secondary row of supporting mechanics, below the primary grid */
.detail-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed #e2e8f0;
}
.detail-secondary-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.detail-secondary-item i {
    color: var(--accent, var(--primary));
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.detail-secondary-item strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.detail-secondary-item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* "Binnenkort" callout — used for Vraag de buurt */
.detail-callout {
    margin-top: 24px;
    background: linear-gradient(135deg, var(--accent-soft, #fdf2f8) 0%, #ffffff 100%);
    border: 1px solid var(--accent-soft-2, #f1f5f9);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.detail-callout-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: #fff;
    color: var(--accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(15,23,42,0.06);
}
.detail-callout-body { flex: 1; min-width: 0; }
.detail-callout-badge {
    display: inline-block;
    background: var(--accent, var(--primary));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.detail-callout-body strong { display: block; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.detail-callout-body p { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.faq-section {
    padding: 60px 0 80px;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(15,23,42,0.04);
    border-left: 4px solid var(--primary);
}
.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.faq-item p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Detail tagline paragraph (2-3 sentences under each functie heading) */
.detail-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* Platform toggle — Android/iOS switch used on app-legal pages (/privacy/, /app-voorwaarden/) */
.platform-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}
.platform-toggle button {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.platform-toggle button:hover {
    color: var(--text-dark);
}
.platform-toggle button.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.platform-toggle button i {
    font-size: 0.95rem;
}


