/* ==========================================================
   Nextrum — Apple-style design system
   ========================================================== */

:root{
  --bg:#fbfbfd;
  --bg-dark:#000;
  --surface:#ffffff;
  --surface-soft:#f5f5f7;
  --text:#1d1d1f;
  --text-on-dark:#f5f5f7;
  --muted:#86868b;
  --muted-on-dark:#a1a1a6;
  --border:#d2d2d7;
  --border-soft:#e8e8ed;
  --accent:#1d455c;
  --accent-hover:#2a5d7a;
  --green:#34c759;
  --orange:#ff9500;
  --ease:cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft:cubic-bezier(0.16, 1, 0.3, 1);
  --max:1200px;
  --max-narrow:980px;
}

*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth; scroll-padding-top:48px; -webkit-text-size-adjust:100%}
body{
  font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  background:var(--bg); color:var(--text);
  line-height:1.47; font-size:17px; letter-spacing:-0.022em;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit}
img,svg{max-width:100%; display:block}
input,textarea,select{font-family:inherit}

h1,h2,h3,h4{font-weight:600; letter-spacing:-0.04em; line-height:1.05}
.eyebrow{font-size:14px; font-weight:500; color:var(--muted)}
.dim{color:var(--muted)}
.dim-on-dark{color:var(--muted-on-dark)}

/* ==========================================================
   NAV
   ========================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:44px; background:rgba(251,251,253,0.72);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid rgba(0,0,0,0); transition:all 0.4s var(--ease);
}
.nav.scrolled{background:rgba(251,251,253,0.85); border-bottom-color:rgba(0,0,0,0.08)}
.nav-inner{
  max-width:var(--max); height:100%; margin:0 auto; padding:0 22px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.nav-logo{display:flex; align-items:center; gap:9px; font-size:18px; font-weight:500; letter-spacing:-0.022em; color:var(--text)}
.nav-logo svg{width:24px; height:24px; flex-shrink:0}
.nav-links{display:flex; gap:0; list-style:none}
.nav-links a{font-size:14px; padding:8px 14px; color:var(--text); opacity:0.85; transition:opacity 0.2s var(--ease)}
.nav-links a:hover{opacity:1}
.nav-cta{
  font-size:13px; padding:8px 14px; background:var(--text); color:var(--bg);
  border-radius:980px; transition:background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover{background:#404043; transform:translateY(-1px)}
@media (max-width:780px){ .nav-links{display:none} }

/* ==========================================================
   HERO
   ========================================================== */
.hero{
  min-height:100vh; display:flex; flex-direction:column; justify-content:center;
  padding:120px 22px 80px; text-align:center; position:relative; overflow:hidden;
}
.hero-mark{
  width:96px; height:96px; margin:0 auto 36px;
  animation:markIn 1.8s var(--ease) 0.1s both;
}
@keyframes markIn{
  from{opacity:0; transform:scale(0.6) rotate(-8deg)}
  to{opacity:1; transform:scale(1) rotate(0)}
}
.hero h1{
  font-size:clamp(40px, 6.2vw, 76px); font-weight:600;
  letter-spacing:-0.045em; line-height:1.04;
  max-width:1000px; margin:0 auto 28px;
  background:linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  animation:fadeUp 1.4s var(--ease) 0.3s both;
}
.hero-sub{
  font-size:clamp(17px, 1.9vw, 22px); font-weight:400; letter-spacing:-0.016em;
  color:var(--muted); max-width:740px; margin:0 auto 44px; line-height:1.32;
  animation:fadeUp 1.4s var(--ease) 0.5s both;
}
.hero-ctas{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  animation:fadeUp 1.4s var(--ease) 0.7s both;
}
.btn{
  display:inline-flex; align-items:center; gap:6px; padding:13px 26px;
  border-radius:980px; font-size:17px; font-weight:400; letter-spacing:-0.022em;
  transition:all 0.3s var(--ease); white-space:nowrap; cursor:pointer; border:none;
  font-family:inherit;
}
.btn-primary{background:var(--accent); color:#fff}
.btn-primary:hover{background:var(--accent-hover); transform:translateY(-1px)}
.btn-ghost{color:var(--accent); background:transparent}
.btn-ghost:hover{color:var(--accent-hover)}
.btn-ghost::after{content:"›"; margin-left:2px; font-size:18px; transition:transform 0.3s var(--ease)}
.btn-ghost:hover::after{transform:translateX(3px)}
.btn-light{background:var(--surface-soft); color:var(--text)}
.btn-light:hover{background:var(--border-soft); transform:translateY(-1px)}

.hero-scroll-cue{
  position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
  font-size:11px; color:var(--muted); letter-spacing:0.08em; text-transform:uppercase;
  animation:fadeUp 1.4s var(--ease) 1.1s both, bob 2.4s ease-in-out 2s infinite;
}
@keyframes bob{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}
@keyframes fadeUp{from{opacity:0; transform:translateY(24px)}to{opacity:1; transform:translateY(0)}}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section,.vertical{padding:120px 22px; position:relative}
.section-inner,.vertical-inner{max-width:var(--max); margin:0 auto}
.section.dark,.vertical.dark{background:var(--bg-dark); color:var(--text-on-dark)}
.section.soft{background:var(--surface-soft)}

.reveal{opacity:0; transform:translateY(40px); transition:opacity 1.2s var(--ease-soft), transform 1.2s var(--ease-soft)}
.reveal.in{opacity:1; transform:translateY(0)}
.stagger > *{opacity:0; transform:translateY(24px); transition:opacity 1s var(--ease-soft), transform 1s var(--ease-soft)}
.stagger.in > *{opacity:1; transform:translateY(0)}
.stagger.in > *:nth-child(2){transition-delay:0.1s}
.stagger.in > *:nth-child(3){transition-delay:0.2s}
.stagger.in > *:nth-child(4){transition-delay:0.3s}
.stagger.in > *:nth-child(5){transition-delay:0.4s}

/* Statement (dark intro) */
.statement{padding:140px 22px; background:var(--bg-dark); color:var(--text-on-dark); text-align:center}
.statement-inner{max-width:var(--max-narrow); margin:0 auto}
.statement h2{font-size:clamp(28px, 3.8vw, 46px); font-weight:600; letter-spacing:-0.035em; line-height:1.12; margin-bottom:22px}
.statement p{font-size:clamp(15px, 1.2vw, 18px); color:var(--muted-on-dark); max-width:720px; margin:0 auto; line-height:1.5}

/* Stats band */
.stats-band{padding:80px 22px; background:var(--surface-soft)}
.stats-grid{max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:30px}
@media (max-width:780px){.stats-grid{grid-template-columns:repeat(2,1fr)}}
.stat-num{font-size:clamp(30px, 3.6vw, 46px); font-weight:600; letter-spacing:-0.035em; line-height:1; margin-bottom:8px}
.stat-label{font-size:13px; color:var(--muted); line-height:1.4}

/* Vertical sections */
.vertical-num{
  font-size:clamp(56px, 9vw, 130px); font-weight:600; letter-spacing:-0.05em; line-height:1;
  opacity:0.06; position:absolute; top:80px; right:60px; pointer-events:none; user-select:none;
}
.vertical.dark .vertical-num{color:var(--text-on-dark); opacity:0.08}
.vertical-head{max-width:760px; margin-bottom:48px; position:relative; z-index:1}
.vertical-head.center{text-align:center; margin-left:auto; margin-right:auto}
.vertical-eyebrow{display:inline-block; font-size:13px; color:var(--accent); font-weight:500; margin-bottom:16px}
.vertical h2{font-size:clamp(30px, 4.4vw, 54px); font-weight:600; letter-spacing:-0.035em; line-height:1.1; margin-bottom:22px}
.vertical-sub{font-size:clamp(16px, 1.4vw, 19px); color:var(--muted); line-height:1.55; max-width:680px}
.vertical.dark .vertical-sub{color:var(--muted-on-dark)}
.vertical-head.center .vertical-sub{margin-left:auto; margin-right:auto}

.demo-trigger{
  margin-top:32px; padding:13px 26px; background:var(--text); color:var(--bg);
  border-radius:980px; font-size:15px; font-weight:500; cursor:pointer; border:none;
  transition:all 0.3s var(--ease); display:inline-flex; align-items:center; gap:8px;
  font-family:inherit;
}
.vertical.dark .demo-trigger{background:var(--bg); color:var(--text)}
.demo-trigger:hover{transform:translateY(-2px); box-shadow:0 12px 24px -12px rgba(0,0,0,0.3)}
.demo-trigger::before{content:"▶"; font-size:11px}

/* ==========================================================
   TIERS (pricing)
   ========================================================== */
.tiers{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:48px}
@media (max-width:900px){.tiers{grid-template-columns:1fr}}
.tier{
  background:var(--surface); border-radius:22px; padding:36px 32px;
  display:flex; flex-direction:column; position:relative;
  transition:transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.vertical.dark .tier{background:#1c1c1e; color:var(--text-on-dark)}
.tier:hover{transform:translateY(-6px); box-shadow:0 32px 64px -28px rgba(0,0,0,0.18)}
.vertical.dark .tier:hover{box-shadow:0 32px 64px -28px rgba(255,255,255,0.08)}
.tier.featured{outline:2px solid var(--accent); outline-offset:-2px}
.tier-pin{
  position:absolute; top:-10px; left:24px; background:var(--accent); color:#fff;
  font-size:11px; padding:4px 10px; border-radius:980px; font-weight:500;
}
.tier-name{font-size:13px; color:var(--muted); margin-bottom:12px}
.vertical.dark .tier-name{color:var(--muted-on-dark)}
.tier-title{font-size:24px; font-weight:600; letter-spacing:-0.022em; margin-bottom:14px; line-height:1.18}
.tier-desc{font-size:15px; color:var(--muted); margin-bottom:24px; line-height:1.5; min-height:66px}
.vertical.dark .tier-desc{color:var(--muted-on-dark)}
.tier-price{font-size:34px; font-weight:600; letter-spacing:-0.03em; line-height:1; margin-bottom:6px}
.tier-recurring{font-size:14px; color:var(--muted); margin-bottom:6px}
.vertical.dark .tier-recurring{color:var(--muted-on-dark)}
.tier-time{font-size:13px; color:var(--muted); padding-bottom:18px; border-bottom:1px solid var(--border-soft); margin-bottom:18px}
.vertical.dark .tier-time{color:var(--muted-on-dark); border-bottom-color:rgba(255,255,255,0.1)}
.tier-features{list-style:none; flex:1}
.tier-features li{font-size:14.5px; padding:7px 0 7px 24px; position:relative; line-height:1.5}
.tier-features li::before{
  content:""; position:absolute; left:0; top:13px; width:14px; height:7px;
  border-left:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(-45deg); transform-origin:0 0;
}
.tier-cta{
  margin-top:24px; padding:11px 18px; border-radius:980px; font-size:14.5px;
  background:var(--surface-soft); color:var(--text); text-align:center; font-weight:500;
  transition:all 0.3s var(--ease); cursor:pointer; border:none; font-family:inherit;
  display:block;
}
.vertical.dark .tier-cta{background:rgba(255,255,255,0.1); color:var(--text-on-dark)}
.tier-cta:hover{background:var(--text); color:var(--bg)}
.vertical.dark .tier-cta:hover{background:var(--bg); color:var(--text)}
.tier.featured .tier-cta{background:var(--accent); color:#fff}
.tier.featured .tier-cta:hover{background:var(--accent-hover)}

/* ==========================================================
   CASE CARDS (vertical voorbeelden)
   ========================================================== */
.case-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:48px}
@media (max-width:780px){.case-grid{grid-template-columns:1fr}}
.case-card{
  background:var(--surface); border-radius:22px; padding:36px 32px;
  display:flex; flex-direction:column; transition:transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  border:1px solid var(--border-soft);
}
.vertical.dark .case-card{background:#1c1c1e; color:var(--text-on-dark); border-color:rgba(255,255,255,0.08)}
.case-card:hover{transform:translateY(-4px); box-shadow:0 32px 64px -28px rgba(0,0,0,0.18)}
.vertical.dark .case-card:hover{box-shadow:0 32px 64px -28px rgba(255,255,255,0.08)}
.case-tag{
  display:inline-block; align-self:flex-start; font-size:11px;
  padding:5px 11px; border-radius:980px; background:var(--accent); color:#fff;
  font-weight:500; letter-spacing:0.02em; margin-bottom:18px;
}
.case-card h3{font-size:22px; font-weight:600; letter-spacing:-0.022em; line-height:1.22; margin-bottom:14px}
.case-card p{font-size:15px; color:var(--muted); line-height:1.55; margin-bottom:18px}
.vertical.dark .case-card p{color:var(--muted-on-dark)}
.case-meta{
  font-size:13.5px; color:var(--text); padding-top:16px;
  border-top:1px solid var(--border-soft); line-height:1.55;
}
.vertical.dark .case-meta{color:var(--text-on-dark); border-top-color:rgba(255,255,255,0.1)}
.case-meta strong{font-weight:600}

.sector-cijfer{
  color:#1d455c !important;
  background:rgba(29,69,92,0.10);
  border-radius:8px;
  padding:0 4px;
  font-weight:800;
  white-space:nowrap;
}
.case-card h3 .sector-cijfer{
  font-size:1.08em;
}
.vertical.dark .sector-cijfer{
  color:#f5f5f7 !important;
  background:rgba(255,255,255,0.14);
}

/* ==========================================================
   SECTION DIVIDER — subtiele verdeling tussen onderdelen
   ========================================================== */
.section-divider{
  max-width:1200px; margin:0 auto;
  padding:0 22px;
  display:flex; align-items:center; justify-content:center;
  height:60px;
}
.section-divider::before{
  content:""; display:block;
  width:80px; height:1px;
  background:var(--border-soft);
}
.section-divider.dot::after{
  content:""; display:block;
  width:5px; height:5px; border-radius:50%;
  background:var(--accent); opacity:0.45;
  margin-left:14px;
}
.section-divider.dot::before{margin-right:14px}

/* ==========================================================
   SECTOR QUICKLINKS
   ========================================================== */
.sector-quicklinks{
  max-width:1100px; margin:36px auto 0;
  padding:0 22px;
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
}
.sector-quicklink{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border-radius:100px;
  background:var(--bg); border:1px solid var(--border-soft);
  color:var(--text); text-decoration:none;
  font-size:14px; font-weight:500;
  transition:all 0.2s var(--ease);
}
.sector-quicklink:hover{
  border-color:var(--text); transform:translateY(-2px);
}
.sector-quicklink-num{
  font-size:11px; color:var(--muted); font-weight:500;
  letter-spacing:0.04em;
}

/* ==========================================================
   ANDERE SECTOR
   ========================================================== */
.other-sector{
  max-width:760px; margin:0 auto; text-align:center;
  padding:48px 32px;
  background:var(--bg); border:1px solid var(--border-soft);
  border-radius:22px;
}
.other-sector-eyebrow{
  font-size:12px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--accent); font-weight:500; margin-bottom:16px;
}
.other-sector-h{
  font-size:clamp(24px, 3vw, 32px); letter-spacing:-0.025em; line-height:1.15;
  margin-bottom:14px; font-weight:600;
}
.other-sector-p{
  font-size:16px; color:var(--muted); line-height:1.6;
  max-width:580px; margin:0 auto 24px;
}
.other-sector-cta{
  display:inline-block; background:var(--text); color:var(--bg);
  padding:14px 26px; border-radius:100px; font-size:15px;
  font-weight:500; text-decoration:none; transition:opacity 0.15s;
}
.other-sector-cta:hover{opacity:0.88}

/* ==========================================================
   PROCESS
   ========================================================== */
.process-list{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-soft); margin-top:56px; border-radius:18px; overflow:hidden}
@media (max-width:780px){.process-list{grid-template-columns:1fr}}
.process-item{background:var(--bg); padding:36px 30px}
.process-num{font-size:13px; color:var(--accent); font-weight:500; margin-bottom:10px}
.process-time{font-size:12px; color:var(--muted); margin-bottom:6px}
.process-h{font-size:20px; font-weight:600; letter-spacing:-0.022em; margin-bottom:8px}
.process-text{font-size:14.5px; color:var(--muted); line-height:1.5}

/* ==========================================================
   ABOUT
   ========================================================== */
.about-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px}
@media (max-width:900px){.about-grid{grid-template-columns:1fr}}
.about-card{
  background:var(--surface); border:1px solid var(--border-soft); border-radius:18px;
  padding:32px; transition:all 0.5s var(--ease);
}
.about-card:hover{border-color:var(--border); transform:translateY(-4px); box-shadow:0 20px 48px -28px rgba(0,0,0,0.12)}
.about-card-h{font-size:13px; color:var(--accent); font-weight:500; margin-bottom:14px}
.about-card h3{font-size:22px; font-weight:600; letter-spacing:-0.022em; margin-bottom:14px}
.about-card ul{list-style:none}
.about-card li{font-size:14.5px; padding:6px 0 6px 20px; position:relative; color:var(--muted); line-height:1.5}
.about-card li::before{content:"·"; position:absolute; left:6px; color:var(--text); font-weight:700}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-wrap{max-width:var(--max-narrow); margin:0 auto}
.faq-item{border-top:1px solid var(--border-soft); padding:24px 0}
.faq-item:last-child{border-bottom:1px solid var(--border-soft)}
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  font-size:21px; font-weight:500; letter-spacing:-0.022em; cursor:pointer;
  list-style:none; line-height:1.35;
}
.faq-q::-webkit-details-marker{display:none}
.faq-q::after{
  content:""; width:14px; height:14px; flex-shrink:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  transition:transform 0.4s var(--ease);
}
.faq-item[open] .faq-q::after{transform:rotate(45deg)}
.faq-a{margin-top:16px; font-size:17px; color:var(--muted); line-height:1.55; max-width:760px; animation:faqOpen 0.5s var(--ease) both}
@keyframes faqOpen{from{opacity:0; transform:translateY(-6px)}to{opacity:1; transform:translateY(0)}}

/* ==========================================================
   SCAN BAND
   ========================================================== */
.scan-band{padding:90px 22px; background:var(--surface-soft); text-align:center}
.scan-inner{max-width:680px; margin:0 auto}
.scan-band h2{font-size:clamp(28px, 3.5vw, 40px); font-weight:600; letter-spacing:-0.03em; margin-bottom:14px}
.scan-band p{font-size:17px; color:var(--muted); margin-bottom:32px; line-height:1.5}
.scan-form{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  background:var(--bg); padding:8px; border-radius:980px; max-width:640px; margin:0 auto;
  border:1px solid var(--border-soft);
  transition:box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.scan-form:focus-within{box-shadow:0 0 0 4px rgba(0,102,204,0.12); border-color:var(--accent)}
.scan-form input{flex:1 1 200px; min-width:0; padding:11px 18px; border:none; background:transparent; font-size:15px; color:var(--text); outline:none}
.scan-form button{padding:11px 22px; background:var(--text); color:var(--bg); border-radius:980px; font-size:14.5px; font-weight:500; transition:background 0.3s var(--ease)}
.scan-form button:hover{background:#404043}
.scan-form button:disabled{opacity:0.5; cursor:not-allowed}

@media (max-width:640px){
  .scan-form{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-radius:22px;
    padding:10px;
    width:100%;
    max-width:420px;
  }
  .scan-form input{
    flex:0 0 auto;
    width:100%;
    min-height:46px;
    padding:12px 14px;
    border-bottom:1px solid var(--border-soft);
    font-size:16px;
  }
  .scan-form input:last-of-type{border-bottom:none}
  .scan-form button{
    width:100%;
    min-height:46px;
    margin-top:8px;
  }
}
.scan-msg{font-size:13.5px; color:var(--muted); margin-top:14px; line-height:1.5}

/* ==========================================================
   CONTACT BAND
   ========================================================== */
.contact-band{background:var(--bg-dark); color:var(--text-on-dark); padding:120px 22px; text-align:center}
.contact-band h2{font-size:clamp(40px, 6vw, 72px); font-weight:600; letter-spacing:-0.04em; line-height:1.05; margin-bottom:18px; max-width:760px; margin-left:auto; margin-right:auto}
.contact-band p{font-size:clamp(18px, 1.7vw, 22px); color:var(--muted-on-dark); margin-bottom:36px}
.contact-options{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:880px; margin:0 auto}
@media (max-width:780px){.contact-options{grid-template-columns:1fr}}
.contact-card{background:#1c1c1e; border-radius:18px; padding:32px 28px; text-align:left; transition:all 0.4s var(--ease); display:block; color:var(--text-on-dark)}
.contact-card:hover{background:#2c2c2e; transform:translateY(-4px)}
.contact-card-h{font-size:12px; color:var(--muted-on-dark); margin-bottom:8px}
.contact-card h3{font-size:22px; font-weight:600; letter-spacing:-0.022em; margin-bottom:8px}
.contact-card p{font-size:14.5px; color:var(--muted-on-dark); margin:0; line-height:1.5}

/* ==========================================================
   FOOTER
   ========================================================== */
footer{padding:48px 22px 28px; background:var(--surface-soft); font-size:13px; color:var(--muted)}
.footer-inner{max-width:var(--max); margin:0 auto}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:36px}
@media (max-width:780px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer-brand{display:flex; align-items:center; gap:8px; font-size:15px; color:var(--text); font-weight:500; margin-bottom:10px}
.footer-brand svg{width:20px; height:20px}
.footer-h{font-size:12px; color:var(--text); font-weight:600; margin-bottom:14px}
footer a{display:block; padding:4px 0; color:var(--muted); transition:color 0.2s var(--ease)}
footer a:hover{color:var(--text)}
.footer-bottom{padding-top:22px; border-top:1px solid var(--border-soft); font-size:12px; line-height:1.6; text-align:center}
.footer-bottom a{display:inline; padding:0; color:var(--muted)}
.footer-bottom a:hover{color:var(--text)}

/* ==========================================================
   DEMO MODAL
   ========================================================== */
.demo-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,0); backdrop-filter:blur(0);
  z-index:1000; display:none; align-items:center; justify-content:center; padding:24px;
  transition:background 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.demo-overlay.open{display:flex; background:rgba(0,0,0,0.55); backdrop-filter:blur(20px)}
.demo-modal{
  background:var(--bg); border-radius:22px; max-width:920px; width:100%;
  max-height:88vh; overflow:hidden; display:flex; flex-direction:column;
  transform:scale(0.95) translateY(20px); opacity:0;
  transition:transform 0.4s var(--ease), opacity 0.4s var(--ease);
  box-shadow:0 40px 80px -20px rgba(0,0,0,0.4);
}
.demo-overlay.open .demo-modal{transform:scale(1) translateY(0); opacity:1}
.demo-head{
  padding:22px 28px; border-bottom:1px solid var(--border-soft);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0;
}
.demo-head-left{display:flex; align-items:center; gap:12px; min-width:0}
.demo-tag{font-size:11px; padding:4px 10px; border-radius:980px; background:var(--accent); color:#fff; font-weight:500; flex-shrink:0}
.demo-title{font-size:17px; font-weight:600; letter-spacing:-0.022em}
.demo-close{
  width:32px; height:32px; border-radius:50%; background:var(--surface-soft); color:var(--text);
  display:grid; place-items:center; font-size:18px; transition:background 0.3s var(--ease); flex-shrink:0;
}
.demo-close:hover{background:var(--border-soft)}
.demo-body{padding:28px; overflow-y:auto; flex:1}
.demo-foot{
  padding:16px 28px; border-top:1px solid var(--border-soft); background:var(--surface-soft);
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-shrink:0; flex-wrap:wrap;
}
.demo-foot-text{font-size:12.5px; color:var(--muted); line-height:1.5}
.demo-foot-cta{padding:9px 18px; background:var(--accent); color:#fff; border-radius:980px; font-size:13.5px; font-weight:500; transition:background 0.3s var(--ease)}
.demo-foot-cta:hover{background:var(--accent-hover)}

/* Demo: split-pane layout */
.demo-split{display:grid; grid-template-columns:1fr 1fr; gap:18px}
@media (max-width:680px){.demo-split{grid-template-columns:1fr}}
.demo-pane{background:var(--surface-soft); border-radius:14px; padding:18px}
.demo-pane-head{
  font-size:11px; color:var(--muted); margin-bottom:12px; display:flex; justify-content:space-between; align-items:center;
  font-weight:500;
}
.demo-pane-live{font-size:10px; color:var(--green); display:flex; align-items:center; gap:5px}
.demo-pane-live::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--green); animation:blink 1.4s infinite}
@keyframes blink{50%{opacity:0.3}}

/* Demo: WhatsApp-stijl chat */
.chat{display:flex; flex-direction:column; gap:8px; min-height:280px; max-height:380px; overflow-y:auto; padding-right:4px}
.msg{max-width:84%; padding:9px 13px; border-radius:14px; font-size:14px; line-height:1.45; animation:msgIn 0.4s var(--ease) both}
@keyframes msgIn{from{opacity:0; transform:translateY(8px)}to{opacity:1; transform:translateY(0)}}
.msg-u{align-self:flex-end; background:#dcf8c6; color:#1a3d1a; border-bottom-right-radius:4px}
.msg-b{align-self:flex-start; background:var(--surface); border:1px solid var(--border-soft); border-bottom-left-radius:4px}
.msg-time{font-size:10px; color:var(--muted); margin-top:2px}
.typing{align-self:flex-start; padding:11px 14px; background:var(--surface); border:1px solid var(--border-soft); border-radius:14px; border-bottom-left-radius:4px; display:flex; gap:4px}
.typing span{width:6px; height:6px; border-radius:50%; background:var(--muted); animation:typing 1.2s infinite}
.typing span:nth-child(2){animation-delay:0.2s}
.typing span:nth-child(3){animation-delay:0.4s}
@keyframes typing{0%,60%,100%{opacity:0.3}30%{opacity:1}}

/* Demo: dashboard fields */
.dash-row{display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px dashed var(--border-soft); font-size:13.5px}
.dash-row:last-child{border-bottom:none}
.dash-label{color:var(--muted); font-size:12.5px}
.dash-val{font-weight:500; text-align:right}
.dash-empty{color:var(--muted); font-style:italic; font-weight:400}
.pulse{animation:pulseBg 1.4s ease-out}
@keyframes pulseBg{0%{background-color:#FAEEDA}100%{background-color:transparent}}

/* Demo: form */
.demo-form .row{display:flex; gap:8px; margin-bottom:10px; flex-wrap:wrap}
.demo-form .field{flex:1 1 140px; display:flex; flex-direction:column; gap:4px}
.demo-form label{font-size:11px; color:var(--muted); font-weight:500}
.demo-form input,.demo-form select,.demo-form textarea{
  font-family:inherit; font-size:13.5px; padding:9px 11px;
  border:1px solid var(--border-soft); border-radius:8px;
  background:var(--bg); color:var(--text); width:100%;
  transition:border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.demo-form input:focus,.demo-form select:focus,.demo-form textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(0,102,204,0.1);
}
.demo-form textarea{resize:vertical; min-height:80px}
.demo-btn{
  background:var(--text); color:var(--bg); padding:10px 18px; border-radius:980px;
  font-size:13.5px; font-weight:500; border:none; cursor:pointer; font-family:inherit;
  transition:background 0.3s var(--ease);
}
.demo-btn:hover{background:#404043}
.demo-btn:disabled{opacity:0.5; cursor:not-allowed}

/* Demo: language output blocks */
.lang-out{margin-bottom:14px; padding:14px; background:var(--bg); border-radius:10px; border:1px solid var(--border-soft); font-size:13.5px; line-height:1.6}
.lang-out:last-child{margin-bottom:0}
.lang-tag{display:inline-block; font-size:10px; padding:2px 8px; background:var(--accent); color:#fff; border-radius:980px; margin-bottom:8px; font-weight:500; letter-spacing:0.04em}

/* OCR upload zone */
.ocr-zone{
  background:var(--surface); border:2px dashed var(--border); border-radius:12px;
  padding:32px 20px; text-align:center; cursor:pointer; transition:all 0.3s var(--ease);
}
.ocr-zone:hover{border-color:var(--accent); background:var(--accent-bg, rgba(0,102,204,0.04))}
.ocr-zone-icon{font-size:32px; opacity:0.5; margin-bottom:8px}
.ocr-zone-text{font-size:14px; color:var(--muted); margin-bottom:4px}
.ocr-zone-sub{font-size:11.5px; color:var(--muted); opacity:0.7}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important}
  .reveal,.stagger > *{opacity:1; transform:none}
}

.spin{transform-origin:center; animation:slowSpin 28s linear infinite}
@keyframes slowSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
