/* ==========================================================
   AI Frame — Homepage onepager v3.0
   1:1 omzetting van het Claude Design-ontwerp (Starting Point).
   Header/logo/knoppen/grain: gedeeld in guest-header.css.
   Design tokens: AI-FRAME-DESIGN-SYSTEM.md v6.0
   ========================================================== */

.af-page,
.af-page *,
.af-page *::before,
.af-page *::after { box-sizing: border-box; }

.af-page a { text-decoration: none; color: inherit; }

.af-page {
  --af-ink:        #1E1C19;
  --af-bg:         #FAFAF7;
  --af-bg-2:       #F5F3EF;
  --af-line:       #E8E3DB;
  --af-line-2:     #DDD8D0;
  --af-accent:     #C8A24B;
  --af-accent-dim: #B49A3E;
  --af-header-h:   64px;
  position: relative;
  min-height: 100vh;
  color: var(--af-ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--af-bg);
}

/* Grain, header, logo-woordmerk, nav en mobiel overlay: gedeeld in guest-header.css */

/* ── Hero — donkere banner (design: homepage-standalone) ── */
.af-hero { position: relative; min-height: 100vh; overflow: hidden; }
.af-hero--dark { background: #14140F; }

/* Warme ambient glows */
.af-hero-glows { position: absolute; inset: 0; pointer-events: none; }
.af-hero-glow { position: absolute; border-radius: 50%; display: block; }
.af-hero-glow-tl {
  top: -20%; left: -10%; width: 70%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(200,162,75,0.12), transparent 60%);
}
.af-hero-glow-br {
  bottom: -30%; right: -15%; width: 60%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(200,162,75,0.06), transparent 60%);
}

/* Subtiel goud gridpatroon */
.af-hero-grid {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background:
    linear-gradient(rgba(200,162,75,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,162,75,0.4) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Losstaand frame: onder de header (design: top 88px), rand op donker */
.af-hero-frame {
  position: absolute;
  top: calc(var(--af-header-h) + 24px);
  left: clamp(16px, 2.5vw, 32px);
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  border: 1px solid rgba(200,162,75,0.15);
  pointer-events: none; z-index: 2;
  animation: afCropIn 1s 0.2s both cubic-bezier(0.16,1,0.3,1);
}
.af-hero-frame .af-frame-corner { width: 36px; height: 36px; border-radius: 0 !important; }

.af-hero-content {
  position: relative; z-index: 3; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(100px, 14vh, 160px) clamp(48px, 8vw, 100px) clamp(48px, 8vh, 80px);
  text-align: center;
}
.af-hero-text { animation: afTextIn 0.8s 0.6s both; }
.af-hero-kicker {
  display: block; margin-bottom: 20px;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--af-accent);
}
.af-hero-h1 {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: clamp(40px, 7vw, 88px); color: #F4F1EC;
  line-height: 1.02; letter-spacing: -0.03em;
  max-width: 820px; margin: 0 auto;
}
.af-hero-h1 em { font-style: italic; color: var(--af-accent); }
.af-hero-sub {
  font-size: clamp(15px, 1.8vw, 19px); color: rgba(244,241,236,0.5);
  margin: 24px auto 0; max-width: 520px; line-height: 1.6;
}
.af-hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.af-btn-gold {
  font-size: 15px; font-weight: 600; color: #14140F;
  background: var(--af-accent); padding: 14px 32px; border-radius: 8px;
  text-decoration: none; transition: background .2s;
}
.af-btn-gold:hover { background: #d4af5a; }
.af-btn-ghost-light {
  font-size: 15px; font-weight: 500; color: #F4F1EC;
  padding: 14px 32px; border-radius: 8px;
  border: 1px solid rgba(244,241,236,0.15);
  background: rgba(244,241,236,0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; transition: border-color .2s;
}
.af-btn-ghost-light:hover { border-color: var(--af-accent); }
.af-hero-meta { margin-top: 32px; animation: afMetaIn 1s 1.2s both; }
.af-hero-meta span {
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: rgba(200,162,75,0.6); letter-spacing: 0.12em;
}

/* Scroll hint */
.af-hero-scroll {
  position: absolute; bottom: clamp(24px, 4vh, 40px); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: afTextIn 1s 1.6s both;
}
.af-hero-scroll span {
  font-family: 'Space Mono', monospace; font-size: 10px;
  color: rgba(244,241,236,0.3); letter-spacing: 0.1em; text-transform: uppercase;
}
.af-hero-scroll-line {
  display: block; width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(200,162,75,0.4), transparent);
}

/* ── Marquee + stats ── */
.af-marquee-band {
  border-top: 1px solid var(--af-line); border-bottom: 1px solid var(--af-line);
  padding: 24px 0; overflow: hidden; background: var(--af-bg-2);
}
.af-marquee-track { display: flex; gap: 20px; animation: afMarquee 55s linear infinite; width: max-content; }
.af-marquee-card {
  height: 280px; flex-shrink: 0;
  background: linear-gradient(135deg, #EDEAE4 25%, #E8E4DD 25%, #E8E4DD 50%, #EDEAE4 50%, #EDEAE4 75%, #E8E4DD 75%);
  background-size: 28px 28px;
  border: 1px solid var(--af-line-2); border-radius: 6px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.af-marquee-label {
  font-family: 'Space Mono', monospace; font-size: 10px;
  color: rgba(180,154,62,0.6); letter-spacing: 0.08em; text-transform: uppercase;
}
.af-stats { display: flex; justify-content: center; gap: clamp(32px, 6vw, 80px); padding: clamp(32px, 5vw, 56px) 20px; flex-wrap: wrap; }
.af-stat { text-align: center; }
.af-stat-num { font-family: 'Space Mono', monospace; font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--af-accent-dim); }
.af-stat-label { font-size: 13px; color: rgba(30,28,25,0.4); margin-top: 6px; }

/* ── Secties (algemeen) ── */
.af-section { padding: clamp(60px, 10vw, 120px) clamp(20px, 4vw, 48px); }
.af-section-alt { background: var(--af-bg-2); }
.af-section-inner { max-width: 1200px; margin: 0 auto; }
.af-section-inner-md { max-width: 1100px; margin: 0 auto; }
.af-section-inner-sm { max-width: 960px; margin: 0 auto; text-align: center; }
.af-kicker {
  font-family: 'Space Mono', monospace; font-size: 12px;
  color: var(--af-accent-dim); letter-spacing: 0.15em; text-transform: uppercase;
}
.af-h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 48px); color: var(--af-ink);
  margin: 12px 0 0; letter-spacing: -0.01em;
}
.af-section-lede {
  font-size: clamp(15px, 1.5vw, 18px); color: rgba(30,28,25,0.5);
  margin-top: 12px; max-width: 560px; line-height: 1.6;
}
.af-section-inner-sm .af-section-lede { max-width: none; }

/* ── Hoe het werkt (stappen) ── */
.af-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
.af-step-card {
  position: relative; background: #FFFFFF;
  border: 1px solid var(--af-line); border-radius: 8px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 16px rgba(0,0,0,0.02);
}
.af-step-corner { position: absolute; width: 16px; height: 16px; }
.af-step-corner-tl { top: -1px; left: -1px;  border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor;  border-radius: 8px 0 0 0; }
.af-step-corner-tr { top: -1px; right: -1px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; border-radius: 0 8px 0 0; }
.af-step-cool { color: #7FB0C4; }
.af-step-gold { color: var(--af-accent); }
.af-step-num { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; }
.af-step-num-cool { color: #7FB0C4; }
.af-step-num-gold { color: var(--af-accent); }
.af-step-preview { aspect-ratio: 4/3; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.af-step-preview-cool { background: linear-gradient(155deg, #ECF0F4, #E4EAF0); border: 1px dashed rgba(127,176,196,0.2); }
.af-step-preview-gold { background: linear-gradient(155deg, #F5F0E4, #EFE9DA); border: 1px solid rgba(200,162,75,0.12); }
.af-step-preview-label { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; }
.af-step-preview-cool .af-step-preview-label { color: rgba(100,140,160,0.5); }
.af-step-preview-gold .af-step-preview-label { color: rgba(180,154,62,0.5); }
.af-h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; color: var(--af-ink); margin: 0; }
.af-card-text { font-size: 14px; color: rgba(30,28,25,0.5); line-height: 1.6; margin: 0; }

/* ── Modules ── */
.af-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: clamp(40px, 6vw, 56px); }
.af-module-card {
  background: #FFFFFF; border: 1px solid var(--af-line); border-radius: 8px;
  padding: 28px; position: relative;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.af-module-corner {
  position: absolute; top: -1px; right: -1px; width: 12px; height: 12px;
  border-top: 2px solid var(--af-accent); border-right: 2px solid var(--af-accent);
  border-radius: 0 8px 0 0;
}
.af-module-icon {
  width: 40px; height: 40px; border: 1px solid var(--af-line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.af-module-glyph { font-family: 'Space Mono', monospace; font-size: 18px; color: var(--af-accent); }
.af-module-h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; color: var(--af-ink); margin: 0; }
.af-card-hover { transition: border-color .3s, box-shadow .3s; }
.af-card-hover:hover { border-color: var(--af-accent) !important; box-shadow: 0 4px 20px rgba(200,162,75,0.08); }

/* ── Showcase / before-after slider ── */
#af-slider {
  position: relative; width: 100%; aspect-ratio: 16/10;
  margin-top: clamp(40px, 6vw, 56px);
  cursor: ew-resize; overflow: hidden;
  border: 1px solid var(--af-line-2); border-radius: 8px;
  touch-action: none; user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.03);
}
.af-slider-after {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #F5F0E4 0%, #EFE9DA 50%, #EAE3D2 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
#af-slider-before {
  position: absolute; inset: 0; clip-path: inset(0 50% 0 0);
  background: linear-gradient(155deg, #ECF0F4 0%, #E4EAF0 50%, #DEE5ED 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
.af-slider-thumb { width: 140px; height: 180px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.af-slider-thumb-after { border: 1px solid rgba(200,162,75,0.15); }
.af-slider-thumb-before { border: 1px dashed rgba(127,176,196,0.25); }
.af-slider-tag { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; }
.af-slider-tag-after { color: rgba(180,154,62,0.55); }
.af-slider-tag-before { color: rgba(100,140,160,0.55); }
.af-slider-caption { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.af-slider-caption-after { color: rgba(180,154,62,0.4); }
.af-slider-caption-before { color: rgba(100,140,160,0.4); }
#af-slider-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--af-accent); pointer-events: none;
  transform: translateX(-1px); z-index: 2;
}
.af-slider-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--af-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(200,162,75,0.3);
}
.af-slider-handle span { font-size: 16px; color: var(--af-bg); line-height: 1; }
.af-slider-corner { position: absolute; width: 20px; height: 20px; pointer-events: none; z-index: 3; }
.af-slider-corner.af-frame-tl,
.af-slider-corner.af-frame-tr,
.af-slider-corner.af-frame-bl,
.af-slider-corner.af-frame-br { width: 20px; height: 20px; }
.af-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.af-gallery-tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #F0EDE7 25%, #EBE7E0 25%, #EBE7E0 50%, #F0EDE7 50%, #F0EDE7 75%, #EBE7E0 75%);
  background-size: 20px 20px;
  border: 1px solid var(--af-line-2); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.af-gallery-label {
  font-family: 'Space Mono', monospace; font-size: 9px;
  color: rgba(180,154,62,0.45); text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Brand Kit spotlight ── */
.af-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 56px); }
.af-brand-card { background: #FFFFFF; border: 1px solid var(--af-line); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.af-brand-head { padding: 14px 20px; border-bottom: 1px solid var(--af-line); display: flex; align-items: center; gap: 10px; }
.af-brand-avatar { width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.af-brand-avatar-a { background: var(--af-accent); }
.af-brand-avatar-b { background: #7FB0C4; }
.af-brand-avatar span { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--af-bg); font-weight: 700; }
.af-brand-name { font-family: 'Space Mono', monospace; font-size: 11px; color: rgba(30,28,25,0.4); letter-spacing: 0.05em; }
.af-brand-preview { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.af-brand-preview-a { background: linear-gradient(155deg, #F5F0E4, #EFE9DA); }
.af-brand-preview-b { background: linear-gradient(155deg, #ECF0F4, #E4EAF0); }
.af-brand-preview-label { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; }
.af-brand-preview-a .af-brand-preview-label { color: rgba(180,154,62,0.4); }
.af-brand-preview-b .af-brand-preview-label { color: rgba(100,140,160,0.4); }

/* ── Tokens / pricing ── */
.af-tiers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: clamp(40px, 5vw, 56px); text-align: left;
}
.af-tier {
  background: #FFFFFF; border: 1px solid var(--af-line); border-radius: 8px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.af-tier.af-tier-hl { border: 2.5px solid var(--af-accent); box-shadow: 0 4px 20px rgba(200,162,75,0.1); }
.af-tier-corner { position: absolute; width: 14px; height: 14px; }
.af-tier-name { font-family: 'Space Mono', monospace; font-size: 11px; color: rgba(30,28,25,0.35); letter-spacing: 0.08em; text-transform: uppercase; }
.af-tier-hl .af-tier-name { color: var(--af-accent-dim); }
.af-tier-amount { display: flex; align-items: baseline; gap: 6px; }
.af-tier-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 36px; color: var(--af-ink); }
.af-tier-unit { font-family: 'Space Mono', monospace; font-size: 13px; color: rgba(30,28,25,0.35); }
.af-tier-price { font-family: 'Space Mono', monospace; font-size: 14px; color: var(--af-accent-dim); }
.af-tier-per { font-size: 13px; color: rgba(30,28,25,0.35); }
.af-tokens-cta { display: inline-block; margin-top: 36px; padding: 14px 32px; }

/* ── Social proof ── */
.af-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: clamp(32px, 5vw, 48px); }
.af-review {
  background: #FFFFFF; border: 1px solid var(--af-line); border-radius: 8px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.af-review-quote { font-size: 15px; color: rgba(30,28,25,0.6); line-height: 1.65; font-style: italic; margin: 0; }
.af-review-meta { display: flex; flex-direction: column; gap: 2px; }
.af-review-name { font-size: 14px; font-weight: 600; color: var(--af-ink); }
.af-review-role { font-size: 13px; color: rgba(30,28,25,0.35); }

/* ── Slot CTA ── */
.af-cta-section { padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 48px); }
.af-cta-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.af-cta-frame {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border: 1px solid var(--af-line-2); border-radius: 10px;
  background: linear-gradient(155deg, #F5F3EF 0%, #F0EBDF 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.af-cta-frame .af-frame-corner { width: 28px; height: 28px; }
.af-cta-frame .af-frame-tl { border-radius: 10px 0 0 0; }
.af-cta-frame .af-frame-tr { border-radius: 0 10px 0 0; }
.af-cta-frame .af-frame-bl { border-radius: 0 0 0 10px; }
.af-cta-frame .af-frame-br { border-radius: 0 0 10px 0; }
.af-cta-kicker {
  font-family: 'Space Mono', monospace; font-size: 12px;
  color: rgba(180,154,62,0.5); letter-spacing: 0.15em; text-transform: uppercase;
}
.af-cta-h2 {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: clamp(28px, 5vw, 56px); color: var(--af-ink);
  max-width: 480px; line-height: 1.1; margin: 0;
}
.af-cta-btn { font-size: 16px; padding: 14px 36px; }

/* ── Footer ── */
.af-footer { padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px); border-top: 1px solid var(--af-line); background: var(--af-bg-2); }
.af-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.af-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.af-footer-tag { font-size: 13px; color: rgba(30,28,25,0.3); }
.af-footer-cols { display: flex; gap: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.af-footer-col { display: flex; flex-direction: column; gap: 10px; }
.af-footer-col-title {
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: rgba(30,28,25,0.25); letter-spacing: 0.1em; text-transform: uppercase;
}
.af-footer-bottom {
  max-width: 1200px; margin: 28px auto 0; padding-top: 20px;
  border-top: 1px solid var(--af-line-2);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.af-footer-copy { font-family: 'Space Mono', monospace; font-size: 11px; color: rgba(30,28,25,0.2); }
.af-footer-loc  { font-family: 'Space Mono', monospace; font-size: 11px; color: rgba(30,28,25,0.15); }

/* ── Reveal ── */
.af-reveal { opacity: 0; filter: blur(8px); transform: translateY(24px); transition: opacity .9s ease, filter .9s ease, transform .9s ease; }
.af-reveal.af-in { opacity: 1; filter: none; transform: none; }

/* ── Animaties ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes afCropIn    { 0% { transform: scale(1.25); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
  @keyframes afTextIn    { 0% { opacity: 0; transform: translateY(24px); filter: blur(6px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
  @keyframes afMetaIn    { 0% { opacity: 0; letter-spacing: 0.3em; } 100% { opacity: 1; letter-spacing: 0.08em; } }
  @keyframes afMarquee   { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .af-page * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .af-reveal { opacity: 1; filter: none; transform: none; }
}
