/* StreetCrux — landingspagina
   Tokens RECHTSTREEKS uit de app (tokens.css, Topo Round).
   Brand-stem Engels, functionele laag vertaald via data-i18n. */

:root {
  /* Colors — exact uit de app */
  --primary:        #F2E500;
  --primary-dark:   #C9BD00;
  --surface:        #0e1114;
  --surface-2:      #161a1f;
  --surface-3:      #1e232a;
  --surface-4:      #2a3038;
  --border:         #2d343d;
  --border-strong:  #3c4452;
  --text:           #eef1f5;
  --text-muted:     #8a94a3;
  --error:          #FF4D4D;
  --success:        #4CAF50;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 22px; --radius-2xl: 28px; --radius-full: 9999px;

  --shadow-md: 0 6px 16px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 30px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.4);
  --shadow-fab-primary: 0 8px 22px rgba(242,229,0,.32),
                        inset 0 2px 0 rgba(255,255,255,.4),
                        0 2px 4px rgba(0,0,0,.5);

  --transition-fast: 140ms cubic-bezier(.4,0,.2,1);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--font-mono); letter-spacing: .03em; }
.accent { color: var(--primary); }
.center { text-align: center; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }
.container.narrow { max-width: 720px; }

.section { padding: var(--space-20) 0; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), filter var(--transition-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--surface);
  box-shadow: var(--shadow-fab-primary);
  border: 1px solid rgba(0,0,0,.35);
}
.btn-primary:hover  { filter: brightness(1.05); }
.btn-primary:active { transform: scale(.97); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 17px; }

/* Secundaire knop (iPhone → browser) */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover  { background: var(--surface-3); border-color: var(--text-muted); }
.btn-ghost:active { transform: scale(.97); }

/* Twee knoppen naast elkaar (Android primair + iPhone secundair) */
.cta-pair { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.cta-pair--center { justify-content: center; }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: rgba(14,17,20,.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-weight: 700; font-size: 16px; letter-spacing: .12em;
}
.topbar-right { display: flex; align-items: center; gap: var(--space-3); }

.lang { display: inline-flex; gap: 2px; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 3px; }
.lang-btn {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .05em; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: 4px 9px; border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--primary); color: var(--surface); font-weight: 700; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;   /* video vult de hele eerste pagina */
  display: flex; align-items: center;
  padding: var(--space-16) 0;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--surface); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video--mobile { display: none; }

/* Placeholder-gradient + topo-grid tot de video's geladen zijn */
.hero-media {
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(242,229,0,.10), transparent 55%),
    radial-gradient(100% 100% at 20% 90%, rgba(79,141,235,.10), transparent 50%),
    linear-gradient(180deg, #11151a 0%, #0e1114 60%, #0b0e11 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .35;
  background-image:
    linear-gradient(rgba(60,68,82,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,68,82,.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 80% at 50% 40%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, black, transparent 85%);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(14,17,20,.2) 0%, rgba(14,17,20,.55) 70%, var(--surface) 100%);
}
.hero-content { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }
.hero-title {
  font-size: clamp(2.8rem, 9vw, 6rem); font-weight: 700; line-height: 1.02;
  letter-spacing: -0.02em; margin-bottom: var(--space-5);
}
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--text-muted);
  max-width: 540px; margin-bottom: var(--space-8);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.hero-meta { font-size: 13px; color: var(--text-muted); }

/* ── Promise ────────────────────────────────────────────────────────────── */
.promise { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promise-title { font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--space-5); }
.promise-body { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text-muted); }

/* ── Pillars ────────────────────────────────────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.pillar {
  background: var(--surface-3); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); padding: var(--space-8);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.pillar:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.pillar-icon { font-size: 32px; display: block; margin-bottom: var(--space-4); }
.pillar-title { font-size: 1.35rem; font-weight: 700; margin-bottom: var(--space-3); }
.pillar p { color: var(--text-muted); font-size: 1rem; }

/* ── How it works ───────────────────────────────────────────────────────── */
.how-title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; letter-spacing: -.02em; text-align: center; margin-bottom: var(--space-12); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step { position: relative; padding-top: var(--space-6); border-top: 2px solid var(--border-strong); }
.step-num { display: block; color: var(--primary); font-size: 14px; font-weight: 700; margin-bottom: var(--space-3); }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--space-2); }
.step-desc { color: var(--text-muted); }

/* ── Community ──────────────────────────────────────────────────────────── */
.community { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.community-title { font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--space-5); }
.community-body { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text-muted); margin-bottom: var(--space-8); }

/* ── Start ──────────────────────────────────────────────────────────────── */
.section-title { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; text-align: center; margin-bottom: var(--space-3); }
.section-intro { text-align: center; color: var(--text-muted); margin-bottom: var(--space-10); }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.start-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); }
.start-card h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--space-3); }
.start-card p { color: var(--text-muted); font-size: .95rem; }
.start-card a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--primary);
  transition: color var(--transition-fast);
}
.start-card a:hover { color: var(--primary); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 22px; font-weight: 400; transition: transform var(--transition-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); margin-top: var(--space-3); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: var(--space-12) 0 var(--space-16); background: var(--surface); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-5); margin-bottom: var(--space-8); }
.footer-links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--primary); }
.footer-tagline { color: var(--text-muted); font-size: 14px; }
.heart { filter: saturate(1.2); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pillar-grid, .steps, .start-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
  .brand-name { font-size: 15px; }
}

@media (max-width: 560px) {
  /* Mobiel: toon de 9:16 verticale hero-video i.p.v. de 16:9 */
  .hero-video--desktop { display: none; }
  .hero-video--mobile  { display: block; }
  .topbar { padding: var(--space-2) var(--space-4); }
  .lang-btn { padding: 4px 7px; }
  .btn-lg { padding: 13px 24px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none !important; }
}
