/* ==========================================================================
   AI-landingspagina (/ai) — paginaspecifieke styling.
   Bewust gescoped op .ai_page zodat de overige pagina's niet wijzigen.
   Concept: "Kennisgedreven. Ondersteund door AI." — blauwe hero in de stijl
   van de homepage en de AD onderzoek-pagina, één donkere kenniskern-band,
   werkdag-tijdlijn en voorbeeldtoepassingen.
   Kleuren volgen de website-huisstijl (zie ad-onderzoek.css).
   ========================================================================== */

.ai_page {
    --ai-blauw: #4154f1;
    --ai-paars: #5e2ced;
    --ai-navy: #051441;
    --ai-teal: #31e1af;
    --ai-blauw-licht: #edeffe;
    --ai-inkt: #0b1b33;
    --ai-grijs: #4B5563;
    --ai-rand: #E5E7EB;
    --ai-vlak: #f5f6ff;
    --ai-nacht: #0a1428;
    --ai-hemel: #7dd3fc;
}

/* Bij animatie-voorkeur "verminderd" alle sfeer-animaties uitzetten */
@media (prefers-reduced-motion: reduce) {
    .ai_page *,
    .ai_page *::before,
    .ai_page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Hero (blauw, gecentreerd, zoals homepage/AD onderzoek) ---------------- */
.ai_page .ai_hero {
    position: relative;
    background: linear-gradient(135deg, var(--ai-blauw) 0%, var(--ai-paars) 100%);
    padding: 170px 0 90px;
    overflow: hidden;
}
.ai_page .ai_hero_deco1 {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -140px;
    right: -100px;
}
.ai_page .ai_hero_deco2 {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: 60px;
    left: -110px;
}
.ai_page .ai_hero_deco3 {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ai-teal);
    top: 150px;
    left: 18%;
    box-shadow: 0 0 22px var(--ai-teal);
    animation: aiZweef 6s ease-in-out infinite;
}
.ai_page .ai_hero_deco4 {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9be7ff;
    top: 330px;
    right: 12%;
    box-shadow: 0 0 16px #9be7ff;
    animation: aiZweef 8s ease-in-out infinite reverse;
}
@keyframes aiZweef {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}
.ai_page .ai_hero_inner {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.ai_page .ai_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 26px;
    backdrop-filter: blur(4px);
    color: #fff;
}
.ai_page .ai_badge_puls {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-teal);
    animation: aiPuls 1.8s infinite;
}
@keyframes aiPuls {
    0%   { box-shadow: 0 0 0 0 rgba(49, 225, 175, 0.7); }
    70%  { box-shadow: 0 0 0 9px rgba(49, 225, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(49, 225, 175, 0); }
}
.ai_page .ai_hero h1 {
    color: #fff;
    font-size: clamp(36px, 5.5vw, 54px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 22px;
    line-height: 1.15;
}
.ai_page .ai_hero h1 .ai_accent {
    background: linear-gradient(90deg, #9be7ff, var(--ai-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ai_page .ai_hero p.ai_lead {
    font-size: 18px;
    line-height: 1.65;
    opacity: 0.93;
    max-width: 680px;
    margin: 0 auto 34px;
    font-weight: 300;
    color: #fff;
}
.ai_page .ai_hero p.ai_lead strong {
    font-weight: 700;
}
.ai_page .ai_hero_btns {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.ai_page .ai_btn_wit {
    background: #fff;
    color: var(--ai-blauw);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 34px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s;
    display: inline-block;
}
.ai_page .ai_btn_wit:hover {
    transform: translateY(-2px);
    color: var(--ai-blauw);
    text-decoration: none;
}
.ai_page .ai_btn_ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}
.ai_page .ai_btn_ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

/* Vertrouwensbadges in de hero */
.ai_page .ai_badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
}
.ai_page .ai_badges li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}
.ai_page .ai_badges li i {
    color: #9be7ff;
}


/* --- Marquee (alle plekken in het systeem) -------------------------------- */
.ai_page .ai_marquee {
    overflow: hidden;
    background: var(--ai-blauw);
    color: #fff;
    padding: 12px 0;
    white-space: nowrap;
}
.ai_page .ai_marquee_track {
    display: inline-flex;
    animation: aiMarquee 32s linear infinite;
}
.ai_page .ai_marquee_track span {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.ai_page .ai_marquee_track span::after {
    content: "\2726"; /* ✦ */
    font-size: 10px;
    opacity: 0.7;
}
@keyframes aiMarquee {
    to { transform: translateX(-50%); }
}

/* --- Stelling --------------------------------------------------------------- */
.ai_page .ai_kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ai-blauw);
    margin-bottom: 14px;
}
.ai_page .ai_stelling_tekst {
    font-size: clamp(20px, 2.3vw, 25px);
    line-height: 1.5;
    color: var(--ai-inkt);
    margin: 0 auto;
    max-width: 860px;
}
.ai_page .ai_stelling_tekst strong {
    color: var(--ai-blauw);
    font-weight: 700;
}

/* --- Kenniskern (donkere band met systeemkaart) --------------------------- */
.ai_page .ai_kern {
    position: relative;
    background: var(--ai-nacht);
    color: #e8eefb;
    overflow: hidden;
}
.ai_page .ai_kern::before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: -30%;
    height: 110%;
    pointer-events: none;
    background:
        radial-gradient(42% 55% at 25% 30%, rgba(65, 84, 241, 0.5), transparent 70%),
        radial-gradient(38% 50% at 78% 25%, rgba(125, 211, 252, 0.22), transparent 70%);
    filter: blur(10px);
    animation: aiKernDrift 16s ease-in-out infinite alternate;
}
@keyframes aiKernDrift {
    from { transform: translate3d(-2%, 0, 0); }
    to   { transform: translate3d(2%, 3%, 0) scale(1.05); }
}
.ai_page .ai_kern .container {
    position: relative;
}
.ai_page .ai_kern_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 52px;
    align-items: center;
    padding: 70px 0;
}
.ai_page .ai_kern_tekst {
    flex: 1 1 380px;
    min-width: 300px;
}
.ai_page .ai_kern_kaart {
    flex: 1 1 420px;
    min-width: 300px;
}
.ai_page .ai_kern .ai_kicker {
    color: var(--ai-hemel);
}
.ai_page .ai_kern h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
}
.ai_page .ai_kern p.ai_kern_sub {
    font-size: 16px;
    line-height: 1.66;
    color: #aebedd;
    margin: 0 0 22px;
    max-width: 480px;
}
.ai_page .ai_kern_bronnen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.ai_page .ai_kern_bronnen li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.55;
    color: #c4d4f2;
}
.ai_page .ai_kern_bronnen li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ai-hemel);
    margin-top: 7px;
}
.ai_page .ai_kern_bronnen strong {
    color: #fff;
}
/* De geanimeerde kenniskern (canvas, getekend door assets/js/ai.js) */
.ai_page .ai_kern_kaart canvas {
    display: block;
    width: 100%;
}

/* --- Sectietitels / introtekst (gedeeld) ----------------------------------- */
.ai_page .ai_intro {
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ai-grijs);
}
.ai_page .section_title .sub_title {
    color: var(--ai-blauw);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
    font-weight: 600;
}

/* --- Werkdag (tijdlijn, gecentreerd) ---------------------------------------- */
.ai_page .ai_dag_wrap {
    max-width: 760px;
    margin: 0 auto;
}
/* tijdlijn */
.ai_page .ai_dag {
    position: relative;
    border-left: 2px solid #d9ddfb;
    margin-left: 8px;
}
.ai_page .ai_moment {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 0 0 28px 24px;
}
.ai_page .ai_moment::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ai-blauw);
}
.ai_page .ai_moment .ai_tijd {
    flex: 0 0 62px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--ai-blauw);
    font-size: 15px;
}
.ai_page .ai_moment h3 {
    margin: 0 0 5px;
    font-size: 16.5px;
    font-weight: 800;
    color: #101c33;
}
.ai_page .ai_moment p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5a76;
}
.ai_page .ai_moment .ai_waar {
    display: inline-block;
    margin-top: 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ai-blauw);
    background: var(--ai-blauw-licht);
    border-radius: 6px;
    padding: 4px 9px;
}

/* --- Voorbeeldtoepassingen (index-rijen) ------------------------------------ */
/* De eerste rij krijgt een bovenrand; de rijen zelf sluiten af met een onderrand */
.ai_page .ai_intro + .ai_rij {
    border-top: 1px solid #d7dfec;
}
.ai_page .ai_rij {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid #d7dfec;
    transition: background 0.15s ease;
}
.ai_page .ai_rij:hover {
    background: #eef4fe;
}
.ai_page .ai_rij h3 {
    flex: 1 1 240px;
    font-size: 17.5px;
    font-weight: 800;
    margin: 0;
    color: var(--ai-inkt);
}
.ai_page .ai_rij h3 i {
    font-size: 12px;
    color: var(--ai-blauw);
    margin-right: 8px;
}
.ai_page .ai_rij p {
    flex: 2 1 320px;
    font-size: 15px;
    line-height: 1.55;
    color: #3c4a63;
    margin: 0;
}
.ai_page .ai_rij .ai_plek {
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8291ab;
    border: 1px solid #d7dfec;
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
    background: #fff;
}
.ai_page .ai_toepassingen_voet {
    font-style: italic;
    font-size: 15px;
    color: #5c6a82;
    margin: 22px 0 0;
}

/* --- Regie (stuurmiddelen + besluit) ---------------------------------------- */
.ai_page .ai_regie_cel {
    height: 100%;
    border: 1px solid #dbe4f2;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ai_page .ai_regie_cel:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(65, 84, 241, 0.13);
}
.ai_page .ai_regie_cel .ai_icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--ai-blauw-licht);
    color: var(--ai-blauw);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 15px;
}
.ai_page .ai_regie_cel h3 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ai-inkt);
    margin: 0 0 7px;
}
.ai_page .ai_regie_cel p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a5a76;
    margin: 0;
}
.ai_page .ai_regie_besluit {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 30px;
    padding: 24px 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ai-paars), var(--ai-blauw));
    color: #fff;
    box-shadow: 0 14px 34px rgba(65, 84, 241, 0.22);
}
.ai_page .ai_regie_besluit i {
    font-size: 28px;
    flex: none;
    color: #cfe0fb;
}
.ai_page .ai_regie_besluit p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}
@media (max-width: 575px) {
    .ai_page .ai_regie_besluit {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- Kaarten (veiligheid) ---------------------------------------------------- */
.ai_page .ai_card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ai-rand);
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ai_page .service_section .row {
    display: flex;
    flex-wrap: wrap;
}
.ai_page .service_section .row > [class*="col-"] {
    margin-bottom: 30px;
}
.ai_page .service_section .row > [class*="col-"]:last-child {
    margin-bottom: 0;
}
.ai_page .ai_card:hover {
    box-shadow: 0 14px 34px rgba(65, 84, 241, 0.12);
    transform: translateY(-3px);
}
.ai_page .ai_icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--ai-blauw-licht);
    color: var(--ai-blauw);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}
.ai_page .ai_card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-inkt);
    margin-bottom: 10px;
}
.ai_page .ai_card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ai-grijs);
    margin-bottom: 0;
}

/* --- FAQ ---------------------------------------------------------------------- */
.ai_page .ai_faq .accordion-item {
    background: #fff;
    border: 1px solid var(--ai-rand);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 4px 24px;
}
.ai_page .ai_faq .acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 18px 0;
}
.ai_page .ai_faq .acc-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ai-inkt);
    margin: 0;
}
.ai_page .ai_faq .acc-content {
    overflow: hidden;
    height: 0;
}
.ai_page .ai_faq .acc-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ai-grijs);
    padding-bottom: 20px;
    margin: 0;
}
.ai_page .ai_faq .plus,
.ai_page .ai_faq .minus {
    max-width: 22px;
    max-height: 22px;
}
.ai_page .ai_faq .hidden {
    display: none;
}

/* --- Slot-CTA ------------------------------------------------------------------ */
.ai_page .ai_cta {
    background: linear-gradient(135deg, var(--ai-paars) 0%, var(--ai-blauw) 100%);
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
}
.ai_page .ai_cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}
.ai_page .ai_cta p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.9);
}
.ai_page .ai_cta .btn {
    margin: 0 8px 10px;
}

/* --- YouTube-video galerij (responsieve 16:9 embeds) ---------------------- */
.ai_page .ai_video_wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.15);
    background: #000;
}
.ai_page .ai_video_wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ai_page .ai_video_facade {
    display: block;
    position: absolute;
    inset: 0;
    cursor: pointer;
}
.ai_page .ai_video_thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ai_page .ai_video_facade:hover .ai_video_thumb {
    transform: scale(1.05);
}
.ai_page .ai_video_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(65, 84, 241, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}
.ai_page .ai_video_facade:hover .ai_video_play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--ai-blauw);
}
.ai_page .ai_video_titel {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-inkt);
    margin: 16px 0 0;
    line-height: 1.4;
}
.ai_page .ai_video_placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--ai-paars) 0%, var(--ai-blauw) 100%);
}
.ai_page .ai_video_placeholder i {
    font-size: 46px;
}
.ai_page .ai_video_placeholder span {
    font-size: 14px;
    opacity: 0.9;
}
@supports not (aspect-ratio: 16 / 9) {
    .ai_page .ai_video_wrap {
        height: 0;
        padding-bottom: 56.25%;
    }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 767px) {
    .ai_page .ai_hero {
        padding: 150px 0 60px;
    }
    .ai_page .ai_hero_deco1,
    .ai_page .ai_hero_deco2 {
        display: none;
    }
    .ai_page .ai_kern_grid {
        padding: 50px 0;
    }
    .ai_page .ai_cta {
        padding: 40px 22px;
    }
}
