:root {
  --apps-blue: hsl(236, 57%, 28%);
  --apps-royal: hsl(231, 68%, 21%);
  --apps-space: hsl(230, 59%, 16%);
  --apps-purple: hsl(275, 54%, 33%);
  --apps-pink: hsl(335, 87%, 51%);
  --apps-orange: hsl(29, 99%, 67%);
  --apps-white: hsl(0, 0%, 97%);
  --apps-soft: hsl(240, 45%, 98%);
  --apps-gradient: linear-gradient(120deg, var(--apps-royal) 0%, var(--apps-purple) 55%, var(--apps-royal) 100%);
  --apps-cta: linear-gradient(90deg, var(--apps-pink), var(--apps-orange));
  /* Woonly-huisstijl (flat, geen gradients) voor de app-mockup */
  --woonly-navy: #1f2470;
  --woonly-navy-deep: #171b52;
  --woonly-magenta: #ed1570;
  --woonly-magenta-soft: #fde7f1;
  --woonly-amber-ink: #b67400;
  --woonly-amber-soft: #fff3da;
  --woonly-green: #12a06b;
  --woonly-green-soft: #e5f6ee;
  --woonly-ink: #1c2147;
  --woonly-soft-ink: #565d80;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body.apps-page { margin: 0; overflow-x: clip; background: #fff; color: var(--apps-space); font-family: var(--ff-body); font-size: 16px; }
.apps-page * { box-sizing: border-box; }
.apps-page .container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.apps-hero {
  position: relative;
  min-height: 100svh;
  padding: 190px 0 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--apps-gradient);
  box-shadow: none;
}
.apps-hero::before,
.apps-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: cover; }
.apps-hero::before { background-image: url("../img/hero-bg-bottom.png"); background-position: -280px calc(100% + 8px); filter: none; }
.apps-hero::after { background-image: url("../img/hero-bg.png"); background-position: center calc(100% + 4px); }
.apps-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.apps-hero-visuals { position: absolute; inset: 78px 0 110px; z-index: 1; width: min(1440px,100%); margin: auto; pointer-events: none; transform-origin: center; }
.hero-app-icon { position: absolute; width: 66px; height: 66px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.32); border-radius: 18px; box-shadow: 0 18px 38px rgba(7,10,45,.18),inset 0 1px rgba(255,255,255,.24); backdrop-filter: blur(14px); }
.hero-app-icon ion-icon { font-size: 28px; }
.hero-app-icon-code { left: 7%; top: 24%; transform: rotate(-9deg); }
.hero-app-icon-cloud { right: 8%; top: 19%; transform: rotate(8deg); }
.hero-app-icon-chart { left: 13%; bottom: 16%; width: 56px; height: 56px; border-radius: 15px; transform: rotate(7deg); }
.hero-app-icon-phone { right: 14%; bottom: 17%; width: 58px; height: 58px; border-radius: 16px; transform: rotate(-7deg); }
.hero-mini-window { position: absolute; width: 190px; padding: 13px; overflow: hidden; color: #fff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.28); border-radius: 16px; box-shadow: 0 22px 48px rgba(7,10,45,.18),inset 0 1px rgba(255,255,255,.2); backdrop-filter: blur(15px); }
.hero-mini-window-left { left: 2%; top: 47%; transform: rotate(-4deg); }
.hero-mini-window-right { right: 2%; top: 43%; transform: rotate(4deg); }
.hero-mini-bar { display: flex; gap: 4px; margin-bottom: 12px; }
.hero-mini-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.42); }
.hero-mini-bar i:first-child { background: var(--apps-orange); }
.hero-mini-content { display: grid; gap: 7px; }
.hero-mini-content span { display: block; height: 7px; border-radius: 99px; background: rgba(255,255,255,.18); }
.hero-mini-content span:nth-child(2) { width: 76%; }.hero-mini-content span:nth-child(3) { width: 52%; }
.hero-mini-status { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; }
.hero-mini-status i { width: 7px; height: 7px; border-radius: 50%; background: #5ce0a0; box-shadow: 0 0 0 4px rgba(92,224,160,.12); }
.hero-mini-title { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.hero-mini-title ion-icon { width: 25px; height: 25px; padding: 6px; color: var(--apps-orange); background: rgba(255,255,255,.13); border-radius: 8px; }
.hero-mini-flow { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.hero-mini-flow i { width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; background: rgba(255,255,255,.13); }
.hero-mini-flow i:last-child { background: linear-gradient(135deg,var(--apps-pink),var(--apps-orange)); border: 0; }
.hero-mini-flow b { width: 22px; height: 1px; position: relative; background: rgba(255,255,255,.38); }
.hero-mini-flow b::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }
.hero-notice { position: absolute; min-width: 165px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; box-shadow: 0 16px 34px rgba(7,10,45,.16); backdrop-filter: blur(14px); }
.hero-notice > ion-icon { width: 30px; height: 30px; padding: 7px; color: #fff; background: linear-gradient(135deg,var(--apps-pink),var(--apps-orange)); border-radius: 9px; }
.hero-notice span,.hero-notice small,.hero-notice strong { display: block; }
.hero-notice small { color: rgba(255,255,255,.65); font-size: 8px; }.hero-notice strong { margin-top: 2px; font-size: 10px; }
.hero-notice-orders { right: 15%; top: 12%; transform: rotate(-2deg); }
.hero-notice-growth { left: 16%; top: 10%; transform: rotate(2deg); }
.apps-kicker,
.app-eyebrow { margin: 0 0 18px; color: var(--apps-pink); font: 700 12px/1.4 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; }
.apps-hero .apps-kicker { color: rgba(255,255,255,.76); }
.apps-title { max-width: 850px; margin: 0; color: #fff; font-family: var(--ff-display); font-size: clamp(48px, 6.3vw, 82px); font-weight: 400; line-height: .98; letter-spacing: 0; }
.apps-title-line { display: block; overflow: hidden; padding: .03em 0; }
.apps-title-line > span { display: block; transform: translateY(112%); }
.apps-title-accent { overflow: visible; color: #ff6680; }
.apps-title-accent > span { position: relative; width: max-content; max-width: 100%; margin-inline: auto; padding-bottom: 10px; background: none; color: #ff6680; }
.apps-title-accent > span::after,
.principles-head h2 span::after { content: ""; position: absolute; left: 1%; bottom: 0; width: 98%; height: 9px; background: var(--apps-orange); opacity: .9; clip-path: polygon(0 48%,7% 35%,15% 43%,25% 30%,36% 42%,48% 27%,60% 39%,72% 25%,84% 37%,94% 28%,100% 42%,99% 72%,89% 64%,78% 75%,66% 61%,54% 73%,42% 62%,30% 76%,18% 65%,8% 78%,1% 68%); transform: rotate(-.7deg); transform-origin: center; }
.apps-intro { max-width: 650px; margin: 26px auto 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.55; }
.apps-hero-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.apps-hero-pills span { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; box-shadow: 0 8px 24px rgba(5,12,34,.14), inset 0 1px rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; }
.apps-hero-pills ion-icon { font-size: 17px; }
.apps-scroll-cue { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.apps-scroll-cue ion-icon { width: 38px; height: 38px; padding: 10px; color: var(--apps-blue); background: #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(4,8,30,.2); }

.apps-manifesto { position: relative; padding: 145px 0 155px; background: #fff; }
.apps-manifesto::after { display: none; }
.apps-manifesto .apps-kicker { margin-bottom: 26px; }
.apps-manifesto-text { max-width: 1000px; margin: 0; color: var(--apps-blue); font-family: var(--ff-display); font-size: clamp(42px, 5.6vw, 72px); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.apps-manifesto-text span { color: hsl(235 14% 65%); }
.apps-manifesto-text .manifesto-word { display: inline-block; color: hsl(235 18% 84%); will-change: color, transform; }
.apps-manifesto-text .manifesto-word.is-emphasis { color: hsl(255 18% 83%); }

.app-showcase { position: relative; height: 500vh; background: #fff; overflow: visible; isolation: isolate; }
.app-showcase::before { display: none; }
.app-showcase-progress { position: absolute; top: 0; left: 0; z-index: 12; width: 100%; height: 4px; background: transparent; }
.app-showcase-progress span { display: block; width: 100%; height: 100%; background: var(--apps-cta); transform: scaleX(0); transform-origin: left; }
.app-stage { position: sticky; top: 0; height: 100vh; min-height: 690px; width: 100%; padding-inline: max(32px,calc((100vw - 1280px)/2)); display: grid; grid-template-columns: minmax(320px,.72fr) minmax(570px,1.28fr); align-items: center; gap: clamp(52px,6vw,100px); overflow: hidden; isolation: isolate; }
.app-stage-atmosphere { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.stage-grid { position: absolute; inset: 8% -10% -20%; opacity: .34; background-image: linear-gradient(rgba(80,55,150,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(80,55,150,.09) 1px,transparent 1px); background-size: 68px 68px; transform: perspective(700px) rotateX(64deg) translateY(20%); transform-origin: center bottom; mask-image: linear-gradient(to bottom,transparent,#000 35%,transparent 92%); }
.stage-beam { position: absolute; width: 72vw; height: 18vw; border-radius: 50%; border: 1px solid rgba(137,75,255,.18); transform: rotate(-14deg); }
.stage-beam-one { right: -20%; top: 17%; }
.stage-beam-two { right: -8%; top: 24%; transform: rotate(-14deg) scale(.72); }
.stage-orb { position: absolute; right: 10%; top: 15%; width: 7px; height: 7px; border-radius: 50%; background: var(--apps-orange); box-shadow: 0 0 0 10px rgba(255,166,86,.13),0 0 45px 14px rgba(255,118,88,.3); }
.app-stage-copy { position: relative; height: 430px; }
.app-index { color: hsl(236 20% 61%); font: 600 12px var(--ff-body); letter-spacing: .08em; }
.app-index span { color: var(--apps-pink); }
.app-chapters { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; }
.app-chapters span { width: 24px; height: 3px; overflow: hidden; background: rgba(31,36,112,.16); border-radius: 99px; transition: width .3s ease; }
.app-chapters span.active { width: 48px; background: var(--apps-cta); }
.app-story { position: absolute; top: 64px; left: 0; width: 100%; visibility: hidden; opacity: 0; transform: translateY(44px); }
.app-story.is-active { visibility: visible; opacity: 1; transform: none; }
.app-story h2 { max-width: 510px; margin: 0 0 22px; color: var(--apps-blue); font-family: var(--ff-display); font-size: clamp(44px, 4.5vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
.app-story p:not(.app-eyebrow) { max-width: 475px; margin: 0; color: hsl(228 12% 43%); font-size: 17px; line-height: 1.65; }
.app-cta,
.apps-closing-btn { min-height: 56px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: var(--apps-cta); background-size: 180%; border-radius: 999px; box-shadow: 0 9px 24px rgba(231,46,125,.25); font-family: var(--ff-display); font-size: 15px; font-weight: 400; text-decoration: none; transition: transform .25s ease, background-position .3s ease, box-shadow .3s ease; }
.app-cta { margin-top: 42px; }
.woonly-word { white-space: nowrap; }
.woonly-word img { display: inline-block; width: 1.04em; height: 1.04em; margin-right: .18em; padding: .1em; background: #fff; border: 1px solid rgba(31,36,112,.14); border-radius: .24em; box-shadow: 0 .08em .3em rgba(31,36,112,.14); object-fit: contain; vertical-align: -.14em; box-sizing: border-box; }
.apps-scroll-cue .woonly-word img,
.app-cta .woonly-word img { width: 1.4em; height: 1.4em; vertical-align: -.38em; border: 0; }
.app-cta:is(:hover,:focus-visible),
.apps-closing-btn:is(:hover,:focus-visible) { transform: translateY(-2px); background-position: right; box-shadow: 0 12px 30px rgba(231,46,125,.35); }
.app-cta ion-icon,
.apps-closing-btn ion-icon { font-size: 19px; }

.app-device-wrap { position: relative; perspective: 1600px; }
.app-device-glow { display: none; }
.app-device-orbit { position: absolute; inset: -15% -10%; z-index: -1; border: 1px solid rgba(112,76,205,.2); border-radius: 50%; transform: rotate(-9deg); }
.app-device-orbit::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(112,76,205,.13); border-radius: inherit; }
.app-device-orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--apps-pink); box-shadow: 0 0 0 7px rgba(231,46,125,.1); }
.app-device-orbit i:nth-child(1) { left: 7%; top: 28%; }
.app-device-orbit i:nth-child(2) { right: 10%; bottom: 20%; background: var(--apps-orange); }
.app-device-orbit i:nth-child(3) { left: 45%; bottom: -5px; width: 7px; height: 7px; background: #6a58ff; }
.app-device { position: relative; width: 100%; aspect-ratio: 1.38; overflow: hidden; background: #fff; border: 6px solid rgba(255,255,255,.92); border-radius: 16px; box-shadow: 0 40px 90px rgba(42,25,94,.22), 0 10px 28px rgba(31,36,112,.12), inset 0 0 0 1px rgba(31,36,112,.08); backface-visibility: hidden; }
.device-bar { height: 12%; min-height: 54px; padding: 0 3%; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #e9ebf2; }
.device-brand { display: flex; align-items: center; gap: 9px; color: var(--woonly-ink); font-size: clamp(10px,1.1vw,15px); font-weight: 700; letter-spacing: .05em; }
.device-brand-mark { width: 28px; height: 28px; display: grid; place-items: center; background: #fff; border: 1px solid #e9ebf2; border-radius: 7px; }
.device-brand-mark img { width: 76%; height: 76%; object-fit: contain; }
.device-search { width: 38%; height: 31px; margin-left: auto; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: #9ba0ad; background: #f4f5f9; border-radius: 5px; font-size: 10px; }
.device-avatar { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--woonly-navy); border-radius: 50%; font-size: 9px; font-weight: 700; }
.device-shell { height: 88%; display: flex; }
.device-nav { width: 8%; padding: 4% 0; display: flex; flex-direction: column; align-items: center; gap: 7%; color: rgba(255,255,255,.62); background: var(--woonly-navy); }
.device-nav span { width: 55%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; font-size: clamp(11px,1.3vw,18px); }
.device-nav span.active { color: #fff; background: rgba(255,255,255,.16); }
.device-content { position: relative; width: 92%; padding: 4%; overflow: hidden; background: #fafbfe; }
.device-heading { display: flex; justify-content: space-between; align-items: center; }
.device-heading small { color: #9ba0ad; font-size: 9px; }
.device-heading h3 { margin: 3px 0 0; color: var(--woonly-ink); font-family: var(--ff-display); font-size: clamp(12px,1.6vw,22px); font-weight: 400; }
.device-heading button { padding: 9px 11px; display: flex; align-items: center; gap: 5px; color: #fff; background: var(--woonly-magenta); border: 0; border-radius: 999px; font-size: 9px; pointer-events: none; }
.device-metrics { margin: 4% 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5%; }
.device-metrics > div { position: relative; padding: 8%; background: #fff; border: 1px solid #eceef5; border-radius: 8px; box-shadow: 0 5px 15px rgba(31,36,112,.04); }
.device-metrics span { display: block; color: #858b9a; font-size: clamp(8px,.85vw,12px); }
.device-metrics strong { display: block; margin-top: 5px; color: var(--woonly-ink); font-size: clamp(13px,2vw,25px); }
.device-metrics em { position: absolute; right: 8%; bottom: 14%; color: var(--woonly-green); font-size: clamp(7px,.75vw,10.5px); font-style: normal; }
.device-panels { height: 45%; display: grid; grid-template-columns: 1.16fr .84fr; gap: 2.5%; }
.device-chart-panel,.device-mails { padding: 5%; background: #fff; border: 1px solid #eceef5; border-radius: 8px; }
.device-mails { display: flex; flex-direction: column; }
.panel-title { display: flex; align-items: center; justify-content: space-between; color: var(--woonly-ink); font-size: clamp(8px,.9vw,13px); }
.panel-title span { color: var(--woonly-magenta); font-size: clamp(7px,.78vw,11px); }
.device-chart { height: 74%; padding-top: 8%; display: flex; align-items: end; justify-content: space-between; gap: 4%; border-bottom: 1px solid #e7e9f0; }
.device-chart i { width: 10%; height: var(--h); background: #ded8ed; border-radius: 3px 3px 0 0; }
.device-chart i.hot { background: var(--woonly-magenta); }
.mail-row { flex: 1; min-height: 0; padding: 4% 0; display: grid; grid-template-columns: 3px 1fr auto; align-items: center; gap: 7px; border-bottom: 1px solid #eef0f5; color: var(--woonly-ink); font-size: clamp(7px,.72vw,10.5px); }
.mail-row:last-child { border-bottom: 0; }
.mail-row > i { width: 3px; height: 82%; border-radius: 99px; }
.mail-row b { display: block; font-size: clamp(7.5px,.82vw,12px); }
.mail-row div > span { display: block; margin-top: 2px; overflow: hidden; color: #898f9e; white-space: nowrap; text-overflow: ellipsis; }
.mail-row em,.case-head em { padding: 3px 5px; border-radius: 4px; font-style: normal; font-weight: 600; white-space: nowrap; }
.acc-nu { background: var(--woonly-magenta); }
.acc-snel { background: #ffa90a; }
.acc-gewoon { background: var(--woonly-navy); }
.urg-nu { color: var(--woonly-magenta); background: var(--woonly-magenta-soft); }
.urg-snel { color: var(--woonly-amber-ink); background: var(--woonly-amber-soft); }
.urg-gewoon { color: var(--woonly-navy); background: #eef0f7; }
.device-case { position: absolute; inset: 5%; z-index: 3; padding: 4.5% 4.5% 4%; display: flex; flex-direction: column; gap: 3.5%; overflow: hidden; opacity: 0; transform: translateY(12%) scale(.92); background: #fff; border: 1px solid #e9e5f4; border-radius: 10px; box-shadow: 0 14px 32px rgba(31,36,112,.12); }
.case-head { display: flex; align-items: center; gap: 8px; color: var(--woonly-ink); font-size: clamp(10px,1.15vw,17px); font-weight: 600; }
.case-head em { font-size: clamp(7.5px,.8vw,11.5px); }
.case-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.case-fact { display: inline-flex; align-items: center; gap: 5px; padding: .45em .9em; color: var(--woonly-soft-ink); background: #f4f5fa; border: 1px solid #e8eaf3; border-radius: 999px; font-size: clamp(7px,.8vw,11.5px); font-weight: 600; }
.case-fact ion-icon { font-size: 1.25em; color: var(--woonly-navy); }
.case-draft { position: relative; flex: 1; min-height: 0; padding: 4% 5%; overflow: hidden; background: #fbf8fd; border: 1px solid #efe7f6; border-radius: 8px; }
.case-draft-label { display: inline-flex; align-items: center; gap: 4px; margin-bottom: .7em; padding: .35em .7em; color: var(--woonly-magenta); background: var(--woonly-magenta-soft); border-radius: 4px; font-size: clamp(7px,.8vw,11.5px); font-weight: 700; }
.case-draft-label ion-icon { font-size: 1.15em; }
.draft-line { display: block; width: max-content; max-width: 100%; margin-top: .4em; color: var(--woonly-soft-ink); font-size: clamp(7.5px,1vw,14.5px); line-height: 1.5; }
.draft-line.l1 { color: var(--woonly-ink); font-weight: 600; }
.case-send { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: .65em 1.3em; color: #fff; background: var(--woonly-magenta); border-radius: 999px; font-size: clamp(8px,.95vw,14px); font-weight: 600; box-shadow: 0 6px 16px rgba(237,21,112,.28); }
.case-send ion-icon { font-size: 1.15em; }
.device-success { position: absolute; z-index: 5; left: 50%; top: 50%; width: 58%; padding: 9% 6%; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translate(-50%,-40%) scale(.82); background: rgba(255,255,255,.94); border: 1px solid rgba(31,36,112,.1); border-radius: 12px; box-shadow: 0 20px 50px rgba(31,36,112,.2); backdrop-filter: blur(12px); }
.device-success > span { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--woonly-green); border-radius: 50%; box-shadow: 0 0 0 8px rgba(18,160,107,.12); font-size: 24px; }
.device-success strong { margin-top: 14px; color: var(--woonly-ink); font-family: var(--ff-display); font-size: clamp(16px,2vw,24px); font-weight: 400; }
.device-success small { margin-top: 5px; color: #8c91a0; font-size: 8px; }
.device-cursor { position: absolute; z-index: 4; right: 28%; bottom: 21%; color: var(--apps-pink); font-size: 29px; filter: drop-shadow(0 3px 3px rgba(31,36,112,.25)); }
.app-float { position: absolute; z-index: 3; padding: 13px 16px; display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.9); border: 1px solid rgba(31,36,112,.1); border-radius: 12px; box-shadow: 0 16px 38px rgba(31,36,112,.14); backdrop-filter: blur(12px); }
.app-float small,.app-float strong { display: block; white-space: nowrap; }
.app-float small { margin-bottom: 3px; color: #9196a4; font-size: 8px; }
.app-float strong { color: var(--apps-blue); font-size: 11px; }
.app-float-status { left: -5%; bottom: 10%; }
.app-float-status > span { width: 10px; height: 10px; background: #38b77c; border-radius: 50%; box-shadow: 0 0 0 6px rgba(56,183,124,.12); }
.app-float-speed { right: -3%; top: 19%; }
.app-float-speed > ion-icon { padding: 8px; color: var(--apps-pink); background: #fff0f7; border-radius: 7px; }
.app-float-orders { left: 3%; top: -7%; opacity: 0; transform: translateY(25px); }
.app-float-orders > ion-icon { padding: 8px; color: #fff; background: var(--apps-gradient); border-radius: 7px; }


.apps-principles { padding: 145px 0 160px; background: #fff; }
.principles-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; margin-bottom: 80px; }
.principles-head h2 { margin: 0; color: var(--apps-blue); font-family: var(--ff-display); font-size: clamp(44px,5vw,68px); font-weight: 400; line-height: 1.04; letter-spacing: 0; }
.principles-head h2 span { position: relative; display: inline-block; padding-bottom: 8px; background: none; color: var(--apps-purple); }
.principles-head h2 span::after { bottom: -1px; height: 8px; background: var(--apps-pink); transform: rotate(.6deg); }
.principle-row { min-height: 142px; display: grid; grid-template-columns: 70px 1fr 1.25fr 50px; align-items: center; gap: 30px; border-top: 1px solid hsl(236 25% 89%); }
.principle-row:last-child { border-bottom: 1px solid hsl(236 25% 89%); }
.principle-row > span { color: hsl(236 18% 62%); font-size: 11px; font-weight: 600; }
.principle-row h3 { margin: 0; color: var(--apps-blue); font-family: var(--ff-display); font-size: clamp(27px,3vw,40px); font-weight: 400; }
.principle-row p { margin: 0; color: hsl(228 10% 44%); font-size: 16px; line-height: 1.6; }
.principle-row > ion-icon { width: 44px; height: 44px; padding: 11px; color: var(--apps-pink); background: #fff0f7; border-radius: 50%; }

.apps-closing { position: relative; min-height: min(810px,56.25vw); padding: 70px 0 90px; display: flex; align-items: flex-start; overflow: hidden; color: var(--apps-blue); background: #fff; isolation: isolate; }
.apps-closing::before { display: none; }
.apps-closing-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.apps-closing-inner { display: flex; justify-content: center; align-items: flex-start; }
.apps-closing-copy { position: relative; z-index: 2; width: min(760px,100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.apps-closing .apps-kicker { color: var(--apps-pink); }
.apps-closing h2 { max-width: 760px; margin: 0; color: var(--apps-blue); font-family: var(--ff-display); font-size: clamp(44px,4.4vw,62px); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
.apps-closing h2 span { color: hsl(260 34% 54%); }
.apps-closing-copy > p:not(.apps-kicker) { max-width: 620px; margin: 18px 0 0; color: hsl(234 18% 39%); font-size: 16px; line-height: 1.55; }
.apps-closing-btn { margin-top: 34px; }

@media (max-width: 900px) {
  .apps-page .container { width: min(100% - 32px, 1180px); }
  .apps-hero { min-height: 820px; padding: 155px 0 185px; }
  .apps-hero-visuals { inset: 90px 0 130px; }
  .hero-mini-window { width: 155px; opacity: .72; }
  .hero-mini-window-left { left: -45px; top: 48%; }.hero-mini-window-right { right: -45px; top: 45%; }
  .hero-notice { transform: scale(.82); }
  .hero-notice-orders { right: -10px; top: 17%; }.hero-notice-growth { left: -12px; top: 15%; }
  .apps-title { font-size: clamp(48px,12vw,70px); }
  .apps-manifesto { padding: 105px 0; }
  /* Showcase: zelfde gepinde scroll-ervaring als desktop, verticaal gestapeld en verkleind */
  .app-showcase-progress { display: none; }
  .app-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; width: min(100% - 32px, 640px); margin-inline: auto; padding: 92px 0 18px; display: flex; flex-direction: column; gap: 20px; overflow: visible; }
  .app-stage-atmosphere,.app-device-orbit { display: none; }
  .app-stage-copy { width: 100%; height: auto; flex: none; }
  .app-index { margin-bottom: 18px; }
  .app-chapters { position: static; margin: 0 0 16px; }
  .app-story { top: auto; }
  .app-story[data-story="3"] { position: relative; }
  .app-story h2 { max-width: none; margin-bottom: 14px; font-size: clamp(34px, 5.4vw, 46px); }
  .app-story p:not(.app-eyebrow) { max-width: none; font-size: 16px; line-height: 1.55; }
  .app-eyebrow { margin-bottom: 12px; }
  .app-cta { margin-top: 18px; min-height: 50px; padding: 0 24px; }
  .app-device-wrap { order: -1; width: 100%; }
  .app-float { transform: scale(.84); }
  .app-float-speed { top: auto; right: -2%; bottom: 8%; }
  .device-panels { height: 49%; }
  .principles-head { grid-template-columns: 1fr; gap: 18px; }
  .principle-row { grid-template-columns: 45px 1fr 44px; padding: 34px 0; }
  .principle-row p { grid-column: 2/4; }
  .principle-row > ion-icon { grid-column: 3; grid-row: 1; }
  .apps-closing { min-height: 720px; padding: 70px 0 0; }
  .apps-closing-video { left: 50%; bottom: 0; top: auto; width: min(170vw,700px); height: auto; aspect-ratio: 16/9; max-width: none; object-fit: contain; transform: translateX(-50%); transform-origin: center bottom; }
}

@media (max-width: 560px) {
  .apps-hero { min-height: 800px; padding: 140px 0 140px; }
  .apps-hero-inner { margin-top: 48px; }
  .apps-hero::before { background-position: -520px calc(100% + 4px); }
  .apps-hero-visuals { inset: 88px 0 118px; }
  .hero-mini-window,.hero-notice,.hero-app-icon-cloud,.hero-app-icon-code { display: none; }
  .hero-app-icon { width: 44px; height: 44px; border-radius: 13px; opacity: .7; }
  .hero-app-icon ion-icon { font-size: 20px; }
  .hero-app-icon-chart { left: 5%; bottom: 10%; }.hero-app-icon-phone { right: 5%; bottom: 13%; }
  .apps-title { font-size: clamp(38px,12.6vw,56px); line-height: 1; }
  .apps-intro { margin-top: 18px; font-size: 15px; }
  .apps-hero-pills { gap: 7px; margin-top: 22px; }
  .apps-hero-pills span { min-height: 36px; padding: 0 13px; font-size: 11px; }
  .apps-scroll-cue { margin-top: 26px; }
  .apps-manifesto { padding: 84px 0; }
  .apps-manifesto-text { font-size: clamp(30px,10.4vw,40px); }
  .app-stage { padding: 132px 0 10px; gap: 16px; }
  .app-index { margin-bottom: 14px; }
  .app-chapters { margin-bottom: 13px; }
  .app-story h2 { margin-bottom: 10px; font-size: clamp(29px,8.6vw,38px); }
  .app-story p:not(.app-eyebrow) { font-size: 14.5px; line-height: 1.5; }
  .app-eyebrow { margin-bottom: 9px; }
  .app-cta { margin-top: 15px; min-height: 46px; padding: 0 20px; font-size: 14px; }
  /* Device: desktop-uiterlijk, proportioneel verkleind */
  .app-device { aspect-ratio: 1.32; border-width: 3px; border-radius: 10px; }
  .device-bar { min-height: 30px; height: 11%; padding: 0 3.5%; gap: 10px; }
  .device-brand { gap: 6px; font-size: 9px; }
  .device-brand-mark,.device-avatar { width: 18px; height: 18px; font-size: 6.5px; border-radius: 4px; }
  .device-search { height: 18px; padding: 0 8px; gap: 5px; font-size: 8px; }
  .device-search ion-icon { font-size: 9px; }
  .device-content { padding: 3.5%; }
  .device-heading small { font-size: 7px; }
  .device-heading h3 { font-size: 11px; }
  .device-heading button { padding: 5px 8px; font-size: 6.5px; }
  .device-metrics { margin: 3.5% 0; }
  .device-metrics > div { padding: 6.5%; }
  .device-metrics span { font-size: 6.5px; }
  .device-metrics strong { margin-top: 3px; font-size: 13px; }
  .device-metrics em { font-size: 6px; }
  .device-panels { height: 50%; }
  .device-chart-panel,.device-mails { padding: 4.5%; }
  .panel-title { font-size: 7.5px; }
  .panel-title span { font-size: 6.5px; }
  .device-chart { padding-top: 6%; }
  .mail-row { padding: 2.5% 0; font-size: 6.5px; gap: 5px; }
  .mail-row b { font-size: 7.5px; }
  .mail-row em,.case-head em { padding: 2px 4px; font-size: 6px; }
  .case-head { gap: 5px; font-size: 9px; }
  .case-fact { padding: .4em .8em; font-size: 6.5px; }
  .case-draft-label { font-size: 6.5px; }
  .draft-line { margin-top: .35em; font-size: 7px; }
  .case-send { font-size: 7.5px; }
  .device-success { width: 62%; padding: 7% 5%; }
  .device-success > span { width: 32px; height: 32px; font-size: 16px; }
  .device-success strong { margin-top: 9px; font-size: 13px; }
  .device-success small { margin-top: 3px; font-size: 6.5px; }
  .device-cursor { font-size: 18px; }
  .app-float { display: none; }
  .apps-principles { padding: 88px 0 96px; }
  .principles-head { margin-bottom: 46px; }
  .principles-head h2 { font-size: clamp(34px,10.8vw,40px); }
  .principle-row { grid-template-columns: 34px 1fr 38px; gap: 12px; padding: 30px 0; }
  .principle-row > ion-icon { width: 38px; height: 38px; padding: 9px; }
  .apps-closing { min-height: 660px; padding-top: 54px; }
  .apps-closing h2 { font-size: clamp(32px,10.4vw,38px); }
  .apps-closing-copy > p:not(.apps-kicker) { max-width: 350px; font-size: 14px; }
  .apps-closing-btn { margin-top: 22px; }
}

@media (max-width: 360px) {
  .device-metrics > div { padding: 5%; }
  .device-metrics em { display: none; }
  .app-stage { padding: 82px 0 12px; gap: 12px; }
  .app-index { margin-bottom: 10px; }
  .app-chapters { margin-bottom: 10px; }
  .app-story h2 { font-size: clamp(26px,8.4vw,30px); }
  .app-story p:not(.app-eyebrow) { font-size: 13.5px; }
  .app-cta { margin-top: 12px; min-height: 42px; font-size: 13px; }
}

/* Lage viewports (bijv. telefoon in landscape): gepind past niet — statische fallback */
@media (max-width: 900px) and (max-height: 540px) {
  .apps-hero { min-height: 100svh; padding: 118px 0 120px; }
  .apps-hero-visuals { display: none; }
  .app-showcase { height: auto; padding: 84px 0 96px; }
  .app-stage { position: relative; top: auto; height: auto; padding: 0; }
  .app-stage-copy { height: auto; }
  .app-story { position: relative; top: auto; margin-bottom: 56px; visibility: visible; opacity: 1; transform: none; }
  .app-story:last-child { margin-bottom: 0; }
  .app-chapters,.device-cursor,.device-case,.device-success { display: none; }
  .apps-closing { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apps-title-line > span,.apps-reveal,.app-story { transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .apps-manifesto-text .manifesto-word { color: var(--apps-blue); }
  .apps-manifesto-text .manifesto-word.is-emphasis { color: hsl(260 34% 54%); }
  .app-showcase { height: auto; padding: 110px 0 120px; }
  .app-stage { position: relative; top: auto; height: auto; min-height: 0; }
  .app-stage-copy { height: auto; }
  .app-story { position: relative; top: auto; margin-bottom: 64px; }
  .app-story:last-child { margin-bottom: 0; }
  .app-showcase-progress,.app-chapters,.device-cursor,.device-case,.device-success { display: none; }
}
