/* Dunaflex — site styles */

:root {
  --navy: #102a5c;
  --navy-deep: #0b1e44;
  --navy-line: #24406f;
  --red: #c8253a;
  --red-soft: #e0485b;
  --ink: #142142;
  --text: #3d4659;
  --muted: #6b7386;
  --paper: #f8f7f4;
  --white: #ffffff;
  --line: #e4e1da;
  --on-navy: #e8edf6;
  --on-navy-muted: #a9b6cf;
  --misnixx: #e8405a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.5em; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, transform .2s;
}
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover { background: var(--navy-deep); }
.btn:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(248 247 244 / .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: .45em .8em; border-radius: 999px; transition: background-color .2s, color .2s;
}
.site-nav a:hover { color: var(--navy); background: rgb(16 42 92 / .06); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 130px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.7rem); }
.lead { font-size: clamp(1.06rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 32em; margin-bottom: 2rem; }

/* Hero visual */
.hero-visual { position: relative; padding: 36px 0 48px; }
.editor {
  background: var(--navy-deep); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgb(11 30 68 / .28), 0 0 0 1px rgb(255 255 255 / .04) inset;
  max-width: 470px; margin-left: auto;
}
.editor-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--navy-line); }
.editor-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a4372; }
.editor-bar span { margin-left: 10px; font: 500 .75rem var(--sans); color: var(--on-navy-muted); }
.code {
  margin: 0; padding: 20px 22px 76px;
  font: .84rem/1.75 ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
  color: #d5deee; white-space: pre; overflow: hidden;
}
.code .k { color: #8fb4ff; }
.code .f { color: #f2c27b; }
.code .s { color: #f08a98; }
.code .c { color: #6f84a8; font-style: italic; }
.hv-card {
  position: absolute; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 44px rgb(11 30 68 / .18); font-size: .84rem; color: var(--ink);
  animation: float 7s ease-in-out infinite;
}
.hv-card small { color: var(--muted); font-size: .76rem; }
.hv-card strong { display: block; font-weight: 600; }
.hv-build { top: 0; right: -10px; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; }
.ok { width: 28px; height: 28px; border-radius: 50%; flex: none; background: #e6f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.hv-stores { left: 0; bottom: 0; padding: 14px 18px; display: grid; gap: 6px; min-width: 210px; animation-delay: -3.5s; }
.store-row { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.store-row em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 600; color: #1f8a5b; background: #e6f4ec; padding: 1px 8px; border-radius: 999px; }
.store-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 640px; }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillars li { border-top: 1px solid var(--line); padding-top: 28px; }
.num { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--red); margin-bottom: 14px; }
.pillars p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Showcase */
.section-navy {
  background:
    radial-gradient(700px 420px at 85% 30%, rgb(232 64 90 / .16), transparent 65%),
    var(--navy);
  color: var(--on-navy-muted);
}
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: var(--red-soft); }
.showcase { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.showcase > * { min-width: 0; }
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.app-id img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.app-id h2 { margin: 0; }
.app-id p { margin: 2px 0 0; color: var(--on-navy); font-size: .95rem; }
.features { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.features li { display: flex; align-items: center; gap: 12px; color: var(--on-navy); font-size: .96rem; }
.features li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-soft); flex: none; }

.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgb(255 255 255 / .18);
  transition: transform .2s, border-color .2s;
}
.store:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / .4); }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store span { display: grid; line-height: 1.15; font-weight: 600; font-size: 1.02rem; }
.store small { font-weight: 400; font-size: .68rem; opacity: .85; }
.text-link { color: var(--on-navy); font-size: .93rem; }
.text-link:hover { color: #fff; }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  position: relative;
  width: 290px; aspect-ratio: 9 / 19;
  background: #0a0f1c; border-radius: 44px; padding: 11px;
  box-shadow: 0 0 0 1.5px #2b3550, 0 40px 80px rgb(0 0 0 / .45);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #0a0f1c; z-index: 2; }
.app { height: 100%; border-radius: 34px; overflow: hidden; background: #f6f4f5; display: flex; flex-direction: column; font-size: 12px; color: #1d1d27; }
.app-top { display: flex; align-items: center; gap: 10px; padding: 52px 18px 14px; background: var(--misnixx); color: #fff; }
.app-top strong { display: block; font-size: 15px; line-height: 1.1; }
.app-top small { opacity: .85; font-size: 11px; }
.pin { width: 26px; height: 26px; background: #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); flex: none; position: relative; }
.pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--misnixx); }
.chips { display: flex; gap: 6px; padding: 12px 14px; overflow: hidden; }
.chips span { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #e7e2e4; font-weight: 600; font-size: 11px; white-space: nowrap; }
.chips .on { background: #1d1d27; color: #fff; border-color: #1d1d27; }
.feed { flex: 1; padding: 0 14px; display: grid; gap: 9px; align-content: start; }
.post { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.post strong { font-size: 13px; }
.post small { color: #7a7680; font-size: 11px; }
.cat { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--misnixx); }
.cat.deal { color: #1f8a5b; }
.tabbar { display: flex; justify-content: space-around; padding: 12px 20px 20px; background: #fff; border-top: 1px solid #eee; }
.tabbar i { width: 20px; height: 20px; border-radius: 6px; background: #dcd8db; }
.tabbar i.on { background: var(--misnixx); }

.push {
  position: absolute; top: 90px; right: max(0px, calc(50% - 230px));
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgb(255 255 255 / .94); color: #1d1d27; font-size: 12px;
  box-shadow: 0 16px 40px rgb(0 0 0 / .3);
  animation: float 6s ease-in-out infinite;
}
.push strong { display: block; font-size: 12px; }
.push small { color: #6b6773; }
.push-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--misnixx) url("../img/misnixx-icon.png") center / cover; flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.footer-grid img { width: 150px; height: auto; }
.legal { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 28px; }
.legal dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.legal dd { margin: 0; color: var(--ink); }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.copy p { margin: 0; }
.copy nav { display: flex; gap: 20px; }
.copy a { color: var(--ink); text-decoration: none; }
.copy a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .showcase, .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .editor { margin-left: 0; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillars li { padding: 26px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 132px; }
  .site-nav a { padding: .4em .5em; font-size: .86rem; }
  .site-nav a[href="#gegevens"] { display: none; }
  .push { display: none; }
  .hero-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .push, .hv-card { animation: none; }
}
