/* Peakclip ontwerp
   Gedeeld door logo.html, kleuren.html en website.html.
   1. Drie kleurrichtingen: zet data-thema="a", "b" of "c" op een element.
   2. Logo
   3. UI-onderdelen (knoppen, invoer, voortgang, clip-kaart, nep-clip)
   4. Opmaak van de ontwerp-pagina's zelf (logo.html en kleuren.html)
*/

/* 1. Kleurrichtingen ---------------------------------------------------- */

/* A · Nachtlime: bijna zwart, fel lime, beetje paars */
[data-thema="a"] {
  --bg: #0A0A0F; --surface: #13131B; --surface-2: #1C1C28; --line: #2A2A3A;
  --text: #F4F4F7; --muted: #9A9AAE;
  --accent: #C6FF33; --on-accent: #0A0A0F;
  --accent-2: #8B6CFF; --on-accent-2: #0A0A0F;
  --cap-hl: #C6FF33;
  --acc-dark: #C6FF33; --acc-light: #0A0A0F;
  --icon-bg: #0A0A0F; --icon-ink: #FFFFFF; --icon-acc: #C6FF33;
  --radius: 16px; --radius-sm: 10px; --radius-btn: 12px; --radius-chip: 999px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --display-weight: 700; --display-case: none; --display-track: -0.035em;
  --display-leading: 1; --display-scale: 1;
  --font-body: 'Inter', system-ui, sans-serif;
  --btn-case: none; --btn-track: 0;
  --glow: radial-gradient(50% 55% at 78% 30%, rgba(198,255,51,.13), transparent 70%),
          radial-gradient(45% 50% at 8% 10%, rgba(139,108,255,.16), transparent 70%);
  --shadow: 0 24px 70px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* B · Hittegolf: warm zwart, oranje en geel, grote hoofdletters */
[data-thema="b"] {
  --bg: #0F0B09; --surface: #1A1411; --surface-2: #261D18; --line: #3C2E26;
  --text: #FFF4EC; --muted: #BCA595;
  --accent: #FF5B1F; --on-accent: #140A05;
  --accent-2: #FFC233; --on-accent-2: #140A05;
  --cap-hl: #FFC233;
  --acc-dark: #FF5B1F; --acc-light: #FF5B1F;
  --icon-bg: #FF5B1F; --icon-ink: #140A05; --icon-acc: #FFF4EC;
  --radius: 8px; --radius-sm: 5px; --radius-btn: 4px; --radius-chip: 3px;
  --font-display: 'Anton', Impact, sans-serif;
  --display-weight: 400; --display-case: uppercase; --display-track: 0.005em;
  --display-leading: .94; --display-scale: 1.12;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --btn-case: uppercase; --btn-track: .05em;
  --glow: radial-gradient(50% 55% at 80% 25%, rgba(255,91,31,.22), transparent 70%),
          radial-gradient(40% 45% at 5% 15%, rgba(255,194,51,.10), transparent 70%);
  --shadow: 0 24px 70px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* C · Studio: licht, helder blauw, ronde knoppen */
[data-thema="c"] {
  --bg: #F5F6F8; --surface: #FFFFFF; --surface-2: #ECEEF3; --line: #DFE2E9;
  --text: #0E0F14; --muted: #5C6070;
  --accent: #2F54FF; --on-accent: #FFFFFF;
  --accent-2: #00B37E; --on-accent-2: #FFFFFF;
  --cap-hl: #FFE14D;
  --acc-dark: #6A86FF; --acc-light: #2F54FF;
  --icon-bg: #2F54FF; --icon-ink: #FFFFFF; --icon-acc: #FFFFFF;
  --radius: 22px; --radius-sm: 14px; --radius-btn: 999px; --radius-chip: 999px;
  --font-display: 'Sora', system-ui, sans-serif;
  --display-weight: 700; --display-case: none; --display-track: -0.045em;
  --display-leading: 1.02; --display-scale: .9;
  --font-body: 'Inter', system-ui, sans-serif;
  --btn-case: none; --btn-track: 0;
  --glow: radial-gradient(55% 60% at 80% 20%, rgba(47,84,255,.13), transparent 70%),
          radial-gradient(40% 45% at 5% 10%, rgba(0,179,126,.07), transparent 70%);
  --shadow: 0 24px 60px rgba(17,24,48,.12);
  color-scheme: light;
}

/* 2. Logo --------------------------------------------------------------- */

.pc-mark { display: block; width: 100%; height: 100%; overflow: visible; }
.pc-lockup { display: inline-flex; align-items: center; gap: .4em; line-height: 1; white-space: nowrap; color: inherit; text-decoration: none; }
.pc-lockup .pc-mark { width: 1.3em; height: 1.3em; flex: none; }
.pc-lockup--2 { gap: .3em; }
.pc-word--1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.045em; }
.pc-word--1 span { font-weight: 400; }
.pc-word--2 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .045em; font-size: 1.02em; }
.pc-word--3 { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -.055em; }

/* 3. UI-onderdelen ------------------------------------------------------ */

.disp {
  font-family: var(--font-display); font-weight: var(--display-weight);
  text-transform: var(--display-case); letter-spacing: var(--display-track);
  line-height: var(--display-leading); margin: 0; text-wrap: balance;
}
.disp em { font-style: normal; color: var(--accent); }
.kicker { margin: 0 0 16px; font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-transform: var(--btn-case); letter-spacing: var(--btn-track);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }

.paste {
  display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius-btn) + 7px); box-shadow: var(--shadow); transition: border-color .2s;
}
.paste:focus-within { border-color: var(--accent); }
.paste > svg { flex: none; color: var(--muted); }
.paste input { flex: 1; min-width: 0; height: 48px; background: none; border: 0; outline: 0; color: var(--text); font: 500 16px var(--font-body); }
.paste input::placeholder { color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px;
  border-radius: var(--radius-chip); background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); font: 500 14px/1 var(--font-body);
}
.chip.on { background: color-mix(in srgb, var(--accent) 15%, transparent); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.chip.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; }

.job { display: grid; gap: 12px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.job-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.job-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-src, .job-pct { font: 500 13px/1 'JetBrains Mono', monospace; color: var(--muted); flex: none; }
.job-pct { margin-left: auto; color: var(--accent); font-weight: 600; }
.job-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.job-steps span { display: inline-flex; align-items: center; gap: 7px; }
.job-steps span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.job-steps .done { color: var(--text); }
.job-steps .done::before { background: var(--accent); }
.job-steps .now { color: var(--text); }
.job-steps .now::before { background: var(--accent); animation: pc-pulse 1s ease-in-out infinite; }
@keyframes pc-pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); } }

.clipcard {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: opacity .45s ease, transform .45s ease;
}
.clipcard .clip { border-radius: var(--radius-sm); }
.cc-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 4px 4px 2px 0; }
.cc-meta { display: flex; align-items: center; gap: 10px; font: 500 12px/1 'JetBrains Mono', monospace; color: var(--muted); }
.score { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: var(--radius-chip); background: var(--accent); color: var(--on-accent); font: 700 12px/1 var(--font-body); }
.score svg { width: 12px; height: 12px; }
.cc-hook { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.35; }
.cc-why { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* Nep-clip (9:16): facecam boven, game onder, hook, ondertitel, watermerk.
   Maten in cqw, dus alles schaalt mee met de breedte van de clip. */
.clip { position: relative; aspect-ratio: 9 / 16; overflow: hidden; container-type: inline-size; background: #000; color: #fff; isolation: isolate; border-radius: inherit; }
.clip .scene { position: absolute; left: 0; width: 100%; display: block; }
.clip .scene.cam { top: 0; height: 42%; }
.clip .scene.game { top: 42%; height: 58%; }
.clip-split { position: absolute; left: 0; right: 0; top: 42%; height: .8cqw; margin-top: -.4cqw; background: #000; opacity: .7; z-index: 1; }
.clip-hook { position: absolute; z-index: 2; top: var(--hook-top, 7cqw); left: 8cqw; right: 8cqw; text-align: center; line-height: 1.55; }
.clip-hook span {
  background: #fff; color: #0B0B0B; font: 800 5.8cqw/1.55 'Montserrat', 'Inter', sans-serif;
  padding: .8cqw 2.6cqw; border-radius: 1.8cqw; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.clip-cap {
  position: absolute; z-index: 2; left: 4cqw; right: 4cqw; top: 50%; text-align: center;
  font: 800 11.5cqw/1 'Montserrat', 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -.01em; color: #fff;
  text-shadow: 0 0 .3cqw #000, .7cqw .7cqw 0 #000, -.7cqw .7cqw 0 #000, .7cqw -.7cqw 0 #000, -.7cqw -.7cqw 0 #000, 0 1.6cqw 2.4cqw rgba(0,0,0,.55);
}
.clip-cap .hl { color: var(--cap-hl, #FFE14D); }
.clip-wm {
  position: absolute; z-index: 2; right: 5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 1.4cqw;
  color: #fff; font: 700 4.2cqw/1 'Inter', sans-serif; letter-spacing: -.01em; opacity: .88;
  text-shadow: 0 .3cqw 1.2cqw rgba(0,0,0,.6);
}
.clip-wm .pc-mark { width: 5.2cqw; height: 5.2cqw; filter: drop-shadow(0 .3cqw .8cqw rgba(0,0,0,.5)); }

/* 4. Ontwerp-pagina's (logo.html en kleuren.html) ------------------------ */

.od { margin: 0; background: #0C0C11; color: #ECECF1; font: 16px/1.55 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.od *, .od *::before, .od *::after { box-sizing: border-box; }
.od-top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  min-height: 60px; padding: 10px 28px; background: rgba(12,12,17,.86); backdrop-filter: blur(14px); border-bottom: 1px solid #20202A;
}
.od-brand { font-weight: 700; letter-spacing: -.01em; }
.od-brand span { color: #8A8A99; font-weight: 500; margin-left: 4px; }
.od-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.od-tabs a { color: #9A9AA9; text-decoration: none; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.od-tabs a:hover { color: #fff; }
.od-tabs a[aria-current="page"] { background: #1E1E28; color: #fff; }
.od-main { max-width: 1240px; margin: 0 auto; padding: 48px 28px 120px; }
.od-intro { max-width: 780px; margin-bottom: 36px; }
.od-intro h1 { font: 700 40px/1.1 'Inter', sans-serif; letter-spacing: -.035em; margin: 0 0 14px; }
.od-intro p { color: #A3A3B2; font-size: 17px; margin: 0; }
.od-toggle { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.od-toggle > span { color: #8A8A99; font-size: 13px; margin-right: 6px; }
.od-toggle button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid #2A2A36; color: #C9C9D3; font: 500 14px/1 'Inter', sans-serif;
}
.od-toggle button:hover { border-color: #44444F; color: #fff; }
.od-toggle button[aria-pressed="true"] { background: #ECECF1; border-color: #ECECF1; color: #0B0B10; }
.od-toggle i { width: 10px; height: 10px; border-radius: 50%; }
.od-advies {
  display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 8px; border-radius: 6px;
  background: #ECECF1; color: #0B0B10; font: 600 11px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}
@media (max-width: 640px) {
  .od-main { padding: 32px 16px 100px; }
  .od-top { padding: 10px 16px; gap: 12px; }
  .od-intro h1 { font-size: 30px; }
}
