/* ==========================================================================
   LOCALCUE SCALE-UP DESIGN SYSTEM: MOBILE-FIRST STRICT (360px - 430px BASE)
   ========================================================================== */

:root {
  /* Kleurpalet */
  --canvas: #0B0F19;
  --bg-app: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  
  --ink-primary: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #64748B;
  
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-light: #EFF6FF;
  
  --signal-green: #10B981;
  --signal-green-dark: #059669;
  --signal-green-light: #ECFDF5;
  
  --border-subtle: #E2E8F0;
  --border-active: #94A3B8;

  /* Typografie & Radius */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Touch & Safe Areas */
  --min-touch: 48px;
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-app);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ==========================================================================
   1. HEADER / NAVBAR (Duimvriendelijk & Compact)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}

.brand-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-blue), #1E40AF);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink-primary);
}
.brand-name span { color: var(--brand-blue); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-selector {
  display: flex;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  border: none;
  background: none;
  padding: 0.25rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-radius: 6px;
  cursor: pointer;
}
.lang-btn.active {
  background: #FFFFFF;
  color: var(--ink-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.btn-login-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--signal-green-light);
  border: 1px solid #A7F3D0;
  color: var(--signal-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--signal-green);
  border-radius: 50%;
}

.btn-logout-x {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #DC2626;
  cursor: pointer;
  line-height: 1;
}

/* Screens Switcher */
.view-screen { display: none; }
.view-screen.active-screen { display: block; }

/* ==========================================================================
   2. HERO OPPERVLAK & LIVE REACH RADAR
   ========================================================================== */
.app-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1rem 6rem;
}

.badge-status-wrap {
  margin-bottom: 0.85rem;
}

.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1.15;
  color: var(--ink-primary);
  letter-spacing: -0.6px;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

/* Primary Hero Button */
.hero-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  width: 100%;
  min-height: 56px;
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-hero-primary:active {
  transform: scale(0.98);
}

.trust-pill-row {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

/* Reach Radar Card (Visuele Hook) */
.reach-radar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.reach-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.radar-ping {
  width: 28px;
  height: 28px;
  background: var(--signal-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-dot {
  width: 10px;
  height: 10px;
  background: var(--signal-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.radar-meta {
  flex: 1;
}
.radar-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-primary);
}
.radar-meta small {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.reach-counter {
  background: var(--signal-green-light);
  color: var(--signal-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.news-preview-pill {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 1rem;
  border-left: 3px solid var(--brand-blue);
}

.preview-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--brand-blue);
  margin-bottom: 0.3rem;
}

.preview-headline {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.media-target-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-secondary);
}
.channel-chip svg { color: var(--signal-green); }

/* Feature Stack (Mobile Lijst) */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-num {
  width: 28px;
  height: 28px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}
.feature-content p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==========================================================================
   3. STICKY DOCK VOOR MOBIEL (Vast onderaan scherm)
   ========================================================================== */
.sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem var(--safe-bottom);
  z-index: 55;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.btn-dock-action {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  min-height: 52px;
  background: var(--ink-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-dock-action:active {
  transform: scale(0.98);
}

/* ==========================================================================
   4. INTAKEFORMULIER (Touch-vriendelijk)
   ========================================================================== */
.form-navigation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.time-est-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--surface-alt);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.intake-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.card-step-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.step-circle {
  width: 24px;
  height: 24px;
  background: var(--ink-primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-step-row h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.form-field {
  margin-bottom: 0.85rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
}

.app-input, .app-select {
  width: 100%;
  min-height: var(--min-touch);
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-primary);
  background: #FFFFFF;
  transition: border-color 0.15s ease;
}
.app-input:focus, .app-select:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.app-textarea {
  min-height: 80px;
  resize: vertical;
}

.confidential-callout {
  background: var(--brand-blue-light);
  border-left: 3px solid var(--brand-blue);
  padding: 0.75rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
}

.touch-dropzone {
  border: 2px dashed var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  background: #FAFAFA;
  cursor: pointer;
}
.touch-dropzone input { display: none; }

.camera-icon {
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.dropzone-text {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-primary);
}
.dropzone-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.btn-crop-confirm {
  width: 100%;
  min-height: var(--min-touch);
  background: var(--ink-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-top: 0.75rem;
  cursor: pointer;
}

.custom-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.custom-checkbox-row input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.submit-bar-dock {
  margin-top: 1.5rem;
}

/* ==========================================================================
   5. BOTTOM SHEETS & MODALS (Native iOS/Android App Look)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
}

.modal-bottom-sheet {
  background: #FFFFFF;
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem 1.25rem var(--safe-bottom);
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.sheet-drag-handle {
  width: 38px;
  height: 4px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  margin: -0.5rem auto 1rem;
}

.btn-sheet-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.sheet-lead {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.sms-input {
  letter-spacing: 6px;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 800;
}

/* Krantenpreview Bottom Sheet */
.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.preview-overlay[aria-hidden="false"] { visibility: visible; }

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(4px);
}

.preview-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 92vh;
  background: #FFFFFF;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
}

.preview-head {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-preview-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.preview-scroll {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.press-release-layout {
  border-left: 3px solid var(--brand-blue);
  padding-left: 1rem;
}

.press-rubriek {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.press-headline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink-primary);
  margin: 0.4rem 0 0.75rem;
}

.press-lead-text {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.press-photo {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

.press-credit-text {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

.press-body-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.press-notes-section {
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.press-audit-line {
  margin-top: 0.35rem;
  font-style: italic;
  font-size: 0.74rem;
}

.preview-foot {
  padding: 0.85rem 1.25rem var(--safe-bottom);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   6. RESPONSIVE SCALE-UP (Alleen voor tablets en groter, min-width: 600px+)
   ========================================================================== */
@media (min-width: 600px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-backdrop {
    align-items: center;
    justify-content: center;
  }
  .modal-bottom-sheet {
    max-width: 440px;
    border-radius: var(--radius-lg);
    padding: 2rem;
  }
  .sheet-drag-handle { display: none; }
  .preview-container {
    max-width: 640px;
    margin: 0 auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* RTL Support voor Arabisch */
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .press-release-layout {
  border-left: none;
  border-right: 3px solid var(--brand-blue);
  padding-left: 0;
  padding-right: 1rem;
}