/* Gekeurdevakman scene/illustratie/animatie systeem
   Telefoon-mockups + animerende SVG-personen + floating UI-cards */

/* ─────── KEYFRAMES ─────── */
@keyframes gv-float       { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gv-float-slow  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
/* Avatar-variant: behoudt translate(-50%, -50%) centering. Zonder deze
   variant overschrijft gv-float het centering-transform en zweeft een
   absolute-gepositioneerde avatar uit de container. */
@keyframes gv-avatar-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 8px)); }
}
@keyframes gv-breathe     { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes gv-wave        { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(15deg); } }
@keyframes gv-tap         { 0%,90%,100% { transform: translateY(0); opacity: .6; } 45% { transform: translateY(-4px); opacity: 1; } }
@keyframes gv-pulse-ring  { 0% { box-shadow: 0 0 0 0 rgba(45,190,123,.5); } 70% { box-shadow: 0 0 0 14px rgba(45,190,123,0); } 100% { box-shadow: 0 0 0 0 rgba(45,190,123,0); } }
@keyframes gv-blink       { 0%,40%,100% { transform: scaleY(1); } 45% { transform: scaleY(.1); } }
@keyframes gv-type        { 0%,60%,100% { transform: translateY(0); opacity: .3; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes gv-bubble-pop  { from { transform: scale(0) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes gv-slide-fade  { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes gv-spin-slow   { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes gv-confetti    { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(-60px) rotate(360deg); opacity: 0; } }
@keyframes gv-shimmer     { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ─────── HERO-SCENE met telefoon + floating UI ─────── */
.gv-hero-scene { position: relative; min-height: 480px; display: flex; justify-content: center; align-items: center; perspective: 1200px; }

/* Telefoon-mockup: modern iPhone-style met Dynamic Island, side-buttons, scherpe edges */
.gv-phone {
  width: 296px; height: 600px;
  background: linear-gradient(135deg, #1a1a24 0%, #0F2A4E 50%, #1a1a24 100%);
  border-radius: 44px; padding: 6px;
  box-shadow:
    0 40px 80px -20px rgba(15,42,78,.4),
    0 20px 40px -10px rgba(15,42,78,.25),
    inset 0 0 0 2px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
  animation: gv-float-slow 6s ease-in-out infinite;
}
/* Inner bezel: zachte donkere ring rond het scherm voor diepte */
.gv-phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #fafbff 0%, #f0f4fa 100%);
  border-radius: 38px;
  overflow: hidden; position: relative;
  box-shadow: inset 0 0 0 1px rgba(15,42,78,.08);
}
/* Dynamic Island - moderne notch */
.gv-phone::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000;
  border-radius: 999px; z-index: 20;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.08);
}
/* Klein lensje op de island */
.gv-phone::after {
  content: ''; position: absolute; top: 23px; left: calc(50% + 28px);
  width: 8px; height: 8px;
  background: radial-gradient(circle at 30% 30%, #1a3a5c 0%, #000 60%);
  border-radius: 50%; z-index: 21;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
/* Side-buttons via box-shadow trick op een dedicated pseudo */
.gv-phone-screen::before {
  content: ''; position: absolute; left: -8px; top: 90px;
  width: 4px; height: 28px; background: #0a0a14;
  border-radius: 2px 0 0 2px; z-index: -1;
  box-shadow: 0 50px 0 #0a0a14, 0 90px 0 #0a0a14;
}
.gv-phone-screen::after {
  content: ''; position: absolute; right: -8px; top: 130px;
  width: 4px; height: 70px; background: #0a0a14;
  border-radius: 0 2px 2px 0; z-index: -1;
}

/* Status bar */
.gv-phone-statusbar {
  height: 44px; padding: 14px 22px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: .7rem; color: #0F2A4E; font-weight: 700;
  font-family: -apple-system, 'Inter', system-ui, sans-serif;
}
.gv-phone-statusbar .gv-st-icons { display: flex; gap: 5px; align-items: center; }
.gv-phone-statusbar .gv-st-icons i { color: #0F2A4E; }

/* Header: app-naam + bell met badge */
.gv-phone-header {
  padding: .55rem .95rem .65rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231,238,247,.7);
  display: flex; align-items: center; gap: .5rem;
}
.gv-phone-header svg { width: 24px; height: 24px; filter: drop-shadow(0 2px 4px rgba(27,94,168,.25)); }
.gv-phone-header strong { font-size: .92rem; color: #0F2A4E; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -.01em; }
.gv-phone-header .gv-ph-bell { margin-left: auto; color: #5E708A; position: relative; font-size: .95rem; }
.gv-phone-header .gv-ph-bell::after { content: ''; position: absolute; top: -1px; right: -2px; width: 9px; height: 9px; background: #FF7B5B; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 8px rgba(255,123,91,.5); }

/* Body */
.gv-phone-body { padding: .85rem .75rem 70px; height: calc(100% - 95px); overflow-y: hidden; }
.gv-phone-greet { padding: 0 .35rem 1rem; }
.gv-phone-greet small { color: #5E708A; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.gv-phone-greet h2 { font-size: 1.15rem; margin: .2rem 0 0; color: #0F2A4E; font-weight: 800; letter-spacing: -.01em; }

/* Stats */
.gv-phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: .85rem; }
.gv-phone-stat {
  background: linear-gradient(135deg, #1B5EA8 0%, #2D80EF 100%);
  color: #fff; padding: .75rem .85rem; border-radius: 14px;
  box-shadow: 0 4px 12px rgba(27,94,168,.25);
  position: relative; overflow: hidden;
}
.gv-phone-stat::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
  border-radius: 50%;
}
.gv-phone-stat.alt { background: linear-gradient(135deg, #FF7B5B 0%, #ef6a4a 100%); box-shadow: 0 4px 12px rgba(255,123,91,.25); }
.gv-phone-stat strong { display: block; font-size: 1.4rem; line-height: 1; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; }
.gv-phone-stat small { display: block; font-size: .58rem; opacity: .9; margin-top: .3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* Cards */
.gv-phone-card {
  background: #fff; border-radius: 14px; padding: .7rem .85rem;
  margin-bottom: .55rem;
  display: flex; gap: .6rem; align-items: center;
  box-shadow: 0 1px 3px rgba(15,42,78,.06), 0 1px 2px rgba(15,42,78,.04);
  animation: gv-slide-fade .6s ease-out both;
  border: 1px solid rgba(231,238,247,.6);
}
.gv-phone-card:nth-child(2) { animation-delay: .1s; }
.gv-phone-card:nth-child(3) { animation-delay: .2s; }
.gv-phone-card:nth-child(4) { animation-delay: .3s; }
.gv-phone-card:nth-child(5) { animation-delay: .4s; }
.gv-phone-card .gv-av {
  width: 38px; height: 38px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  flex-shrink: 0; font-family: 'Bricolage Grotesque', sans-serif;
  box-shadow: 0 2px 6px rgba(15,42,78,.18);
}
.gv-phone-card .gv-pc-info { flex: 1; min-width: 0; }
.gv-phone-card .gv-pc-info strong { display: block; font-size: .78rem; color: #0F2A4E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.gv-phone-card .gv-pc-info small { display: block; font-size: .66rem; color: #5E708A; margin-top: 1px; }
.gv-phone-card .gv-pc-badge {
  background: linear-gradient(135deg, #d4a843, #b8902f);
  color: #fff; padding: .2rem .5rem; border-radius: 999px;
  font-size: .58rem; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 2px 5px rgba(212,168,67,.35);
}

/* Tab bar */
.gv-phone-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(231,238,247,.7);
  display: flex; justify-content: space-around; align-items: center;
  padding-bottom: 12px;
}
.gv-phone-tab {
  color: #5E708A; font-size: 1.15rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  transition: all .2s ease;
}
.gv-phone-tab.is-active {
  color: #1B5EA8; position: relative;
  background: linear-gradient(135deg, rgba(27,94,168,.1), rgba(45,128,239,.08));
}
.gv-phone-tab.is-active::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%); width: 16px; height: 3px;
  background: linear-gradient(90deg, #1B5EA8, #2D80EF);
  border-radius: 3px;
}

/* Reduceer blur op orbs achter de telefoon zodat hij scherp blijft */
.gv-orb { filter: blur(60px); opacity: .22; }

/* Floating UI-elementen rondom de telefoon */
.gv-float-card { position: absolute; background: #fff; border: 1px solid #E7EEF7; border-radius: 12px; padding: .65rem .85rem; box-shadow: 0 12px 30px rgba(15,42,78,.12); display: flex; gap: .5rem; align-items: center; animation: gv-float 5s ease-in-out infinite; z-index: 5; }
.gv-float-card.top-left   { top: 12%; left: -10%; animation-delay: 0s; }
.gv-float-card.top-right  { top: 20%; right: -8%; animation-delay: 1s; }
.gv-float-card.bottom-left{ bottom: 18%; left: -8%; animation-delay: 2s; }
.gv-float-card.bottom-right{ bottom: 8%; right: -12%; animation-delay: 1.5s; }
.gv-float-card .gv-fic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .85rem; flex-shrink: 0; }
.gv-float-card .gv-fic.ok { background: #2DBE7B; animation: gv-pulse-ring 2s ease-out infinite; }
.gv-float-card .gv-fic.star { background: #d4a843; }
.gv-float-card .gv-fic.msg { background: #1B5EA8; }
.gv-float-card .gv-fic.bell { background: #FF7B5B; }
.gv-float-card strong { display: block; font-size: .75rem; color: #0F2A4E; font-weight: 700; line-height: 1.2; }
.gv-float-card small { display: block; font-size: .65rem; color: #5E708A; margin-top: 2px; }

@media (max-width: 760px) {
  .gv-hero-scene { min-height: 420px; transform: scale(.85); }
  .gv-float-card.top-left, .gv-float-card.top-right, .gv-float-card.bottom-left, .gv-float-card.bottom-right { display: none; }
}

/* ─────── SVG-PERSONEN ─────── */
.gv-person { display: inline-block; vertical-align: middle; }
.gv-person svg { display: block; overflow: visible; }
.gv-person .arm-wave { transform-origin: 50% 100%; animation: gv-wave 2.5s ease-in-out infinite; transform-box: fill-box; }
.gv-person .breathe { transform-origin: 50% 50%; animation: gv-breathe 3s ease-in-out infinite; transform-box: fill-box; }
.gv-person .eye-blink { transform-origin: center; animation: gv-blink 4s ease-in-out infinite; transform-box: fill-box; }
.gv-person .finger-tap { transform-origin: 50% 100%; animation: gv-tap 1.4s ease-in-out infinite; transform-box: fill-box; }
.gv-person.delay-1 .breathe { animation-delay: .5s; }
.gv-person.delay-2 .breathe { animation-delay: 1s; }

/* ─────── ZO WERKT HET - 3 stappen ─────── */
.gv-steps-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; position: relative; }
@media (max-width: 820px) { .gv-steps-grid { grid-template-columns: 1fr; } }
.gv-step-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; position: relative; transition: all .3s; box-shadow: var(--shadow-sm); }
.gv-step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,42,78,.12); }
.gv-step-number { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; display: grid; place-items: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(27,94,168,.3); }
.gv-step-illu { width: 140px; height: 140px; margin: 1rem auto 1.25rem; display: grid; place-items: center; }
.gv-step-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.gv-step-card p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0; }
/* Verbinding tussen stappen */
.gv-steps-grid::before { content: ''; position: absolute; top: 50%; left: 33%; right: 33%; height: 2px; background: linear-gradient(90deg, transparent, var(--p) 20%, var(--p) 80%, transparent); opacity: .3; pointer-events: none; }
@media (max-width: 820px) { .gv-steps-grid::before { display: none; } }

/* ─────── REVEAL ON SCROLL ─────── */
.gv-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease-out, transform .8s ease-out; }
.gv-reveal.is-visible { opacity: 1; transform: translateY(0); }
.gv-reveal.delay-1 { transition-delay: .15s; }
.gv-reveal.delay-2 { transition-delay: .3s; }
.gv-reveal.delay-3 { transition-delay: .45s; }

/* ─────── CHAT-BUBBLE animaties (voor floating-cards) ─────── */
.gv-chat-bubble { animation: gv-bubble-pop .4s ease-out both; }

/* ─────── HERO BACKGROUND-ORBS ─────── */
.gv-hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gv-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .35; animation: gv-float-slow 8s ease-in-out infinite; }
.gv-orb-1 { width: 220px; height: 220px; background: #2D80EF; top: -50px; right: 10%; }
.gv-orb-2 { width: 180px; height: 180px; background: #FF7B5B; bottom: 5%; left: 5%; animation-delay: 2s; }
.gv-orb-3 { width: 140px; height: 140px; background: #2DBE7B; top: 30%; left: 35%; animation-delay: 4s; opacity: .25; }

/* Run 31 fix - SVG-illustraties met drop-shadow voor diepte */
.gv-person svg, #kh-hero-illu svg, #vak-hero-illu svg, .kh-hero-illu svg, .auth-illu svg { filter: drop-shadow(0 8px 16px rgba(15,42,78,.15)); }
.gv-people-row { gap: 2.5rem !important; padding: 1.5rem 0; }
.gv-people-row .gv-person { transition: transform .25s; }
.gv-people-row .gv-person:hover { transform: translateY(-6px); }
