/* ============================================================
   FlatChat360 - Marketing Site Styles
   flatchat360.com

   Tokens komen uit: packages/tokens/tokens.ts
   Dit bestand bevat UITSLUITEND marketing-specifieke stijlen.
   ============================================================ */

/* === TOKENS === */
/* Poppins wordt geladen via <link> in de HTML - geen @import nodig */

/* Inline tokens zodat het bestand zelfstandig werkt (identiek aan gegenereerde tokens.css) */
:root {
  --c-primary: #1E293B;
  --c-accent: #7732FF;
  --c-accent-hover: #6228D0;
  --c-accent-subtle: #EDE6FF;
  --c-highlight: #38BDF8;
  --c-bg-app: #F1F5F9;
  --c-bg-surface: #FFFFFF;
  --c-text-head: #0F172A;
  --c-text-body: #475569;
  --c-text-muted: #94A3B8;
  --c-border: #E2E8F0;
  --c-separator: #F8FAFC;
  --c-success: #10B981;
  --c-success-bg: #ECFDF5;
  --c-warning: #F59E0B;
  --c-warning-bg: #FFFBEB;
  --c-error: #EF4444;
  --c-error-bg: #FEF2F2;
  --c-info: #3B82F6;
  --c-info-bg: #EFF6FF;
  --c-chat-bg: #EFEAE2;
  --r-pill: 9999px;
  --r-card: 16px;
  --r-nav: 12px;
  --r-modal: 16px;
  --r-bottom-sheet: 20px;
  --r-organic: 4px;
  --r-feature-card: 24px;
  --z-header: 50;
  --z-dropdown: 100;
  --z-toast: 999;
  --font-ui: 'Poppins', sans-serif;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --gradient-brand: linear-gradient(135deg, #20f6ff 0%, #7732ff 100%);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--c-text-body);
  background: var(--c-bg-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Voorkomt CLS door icon-font fallback-tekst: altijd 1em × 1em gereserveerd */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  flex-shrink: 0;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-9);
}

/* ============================================================
   SECTIE ACHTERGRONDEN - afwisselend wit / lichtgrijs
   Hero altijd: #fff

   Resident: trustbar→grijs, features→wit, how→grijs, over→wit
   Manager:  trustbar→grijs, problem→wit, features→grijs,
             how→wit, pricing→grijs, social→wit,
             demo→grijs, trust→wit
   ============================================================ */
.trustbar {
  background: var(--c-bg-app);
}
/* Resident: how-sectie is de tweede grijze sectie */
.page-resident .how-section {
  background: var(--c-bg-app);
}
/* Manager: features, pricing en demo zijn de grijze secties */
.page-manager .features-section,
.pricing-section,
.demo-section {
  background: var(--c-bg-app);
}

.section {
  padding: var(--sp-10) 0;
}

/* === BUTTONS (gekopieerd uit styleguide) === */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px var(--sp-6);
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.fc-btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.fc-btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.fc-btn-primary:hover { background: var(--c-accent-hover); color: #fff; }

.fc-btn-secondary {
  background: var(--c-bg-surface);
  color: var(--c-text-head);
  border: 1px solid var(--c-border);
}
.fc-btn-secondary:hover {
  background: var(--c-bg-app);
  border-color: var(--c-text-muted);
}

.fc-btn-icon {
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  background: transparent;
  color: var(--c-text-head);
}
.fc-btn-icon:hover { background: var(--c-bg-app); }

.fc-btn-sm { padding: 7px var(--sp-4); font-size: 0.8rem; }
.fc-btn-lg { padding: 14px var(--sp-7); font-size: 0.95rem; }

/* === ICON BOX (gekopieerd uit styleguide) === */
.fc-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-organic);
  transform: rotate(-2deg);
}
.fc-icon-box .icon {
  transform: rotate(2deg);
  font-size: 20px;
}
.fc-icon-box.accent  { background: var(--c-accent-subtle); }
.fc-icon-box.accent  .icon { color: var(--c-accent); }
.fc-icon-box.success { background: var(--c-success-bg); }
.fc-icon-box.success .icon { color: var(--c-success); }
.fc-icon-box.warning { background: var(--c-warning-bg); }
.fc-icon-box.warning .icon { color: var(--c-warning); }
.fc-icon-box.info    { background: var(--c-info-bg); }
.fc-icon-box.info    .icon { color: var(--c-info); }

.fc-icon-box-lg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-organic);
  transform: rotate(-3deg);
  margin-bottom: var(--sp-4);
}
.fc-icon-box-lg .icon {
  transform: rotate(3deg);
  font-size: 28px;
}
.fc-icon-box-lg.accent { background: var(--c-accent-subtle); }
.fc-icon-box-lg.accent .icon { color: var(--c-accent); }
.fc-icon-box-lg.success { background: var(--c-success-bg); }
.fc-icon-box-lg.success .icon { color: var(--c-success); }
.fc-icon-box-lg.warning { background: var(--c-warning-bg); }
.fc-icon-box-lg.warning .icon { color: var(--c-warning); }
.fc-icon-box-lg.info { background: var(--c-info-bg); }
.fc-icon-box-lg.info .icon { color: var(--c-info); }

/* === BADGES === */
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.fc-badge-accent {
  background: var(--c-accent-subtle);
  color: var(--c-accent);
}
.fc-badge-accent .material-symbols-rounded { font-size: 14px; }

/* === FORM ELEMENTS === */
.fc-input {
  width: 100%;
  padding: 10px var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--c-text-head);
  background: var(--c-bg-app);
  outline: none;
}
.fc-input::placeholder { color: var(--c-text-muted); }
.fc-input:focus {
  border-color: var(--c-accent);
  background: var(--c-bg-surface);
  box-shadow: 0 0 0 3px var(--c-accent-subtle);
}

.fc-select {
  width: 100%;
  padding: 10px var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--c-text-head);
  background: var(--c-bg-app);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2394A3B8' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-8);
  cursor: pointer;
}
.fc-select:focus {
  border-color: var(--c-accent);
  background: var(--c-bg-surface);
  box-shadow: 0 0 0 3px var(--c-accent-subtle);
}

.fc-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);      /* 16px - niet pill, zijkanten lopen recht af */
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--c-text-head);
  background: var(--c-bg-app);
  outline: none;
  resize: vertical;
  min-height: 100px;
}
.fc-textarea::placeholder { color: var(--c-text-muted); }
.fc-textarea:focus {
  border-color: var(--c-accent);
  background: var(--c-bg-surface);
  box-shadow: 0 0 0 3px var(--c-accent-subtle);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-head);
  margin-bottom: var(--sp-2);
}
.form-label span[aria-hidden] { color: var(--c-error); }

/* === TOAST (gekopieerd uit styleguide) === */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  z-index: var(--z-toast);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-card);
  background: var(--c-text-head);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 280px;
  max-width: 380px;
  animation: toastIn 0.3s ease forwards;
}
.toast.success { background: var(--c-success); }
.toast.error   { background: var(--c-error); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === SETTINGS DROPDOWN (taal + thema) === */
.fc-settings-trigger {
  flex-shrink: 0;
  color: var(--c-text-head);
}
.fc-dropdown.open .fc-settings-trigger {
  background: var(--c-bg-app);
  color: var(--c-text-head);
}
.fc-settings-menu {
  min-width: 220px;
  padding: var(--sp-2) 0;
}

/* Thema toggle rij bovenaan */
.fc-settings-theme-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.875rem;
  color: var(--c-text-body);
}
.fc-settings-theme-label { flex: 1; font-weight: 500; color: var(--c-text-head); }
.fc-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-bg-app);
  cursor: pointer;
  color: var(--c-text-muted);
}
.fc-theme-toggle:hover { border-color: var(--c-accent); color: var(--c-accent); }
.fc-theme-toggle .material-symbols-rounded { font-size: 18px; }

/* Divider tussen thema en taal */
.fc-settings-divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-2) 0;
}

/* Taalitems */
.fc-lang-item {
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.875rem;
  color: var(--c-text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  white-space: nowrap;
}
.fc-lang-item:hover { background: var(--c-bg-app); }
.fc-lang-item.active { color: var(--c-accent); font-weight: 600; }
.fc-lang-flag { font-size: 1.2rem; width: 24px; text-align: center; flex-shrink: 0; }
.fc-lang-name { flex: 1; }
.fc-lang-check { display: none; font-size: 16px; color: var(--c-accent); margin-left: auto; }
.fc-lang-item.active .fc-lang-check { display: flex; }

/* Bestaand fc-dropdown + fc-select-menu patroon */
.fc-dropdown { position: relative; display: inline-block; }
.fc-select-menu {
  position: absolute;
  top: calc(100% + var(--sp-1));
  left: 0;
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-nav);
  padding: var(--sp-2) 0;
  min-width: 220px;
  z-index: var(--z-dropdown);
  display: none;
}
.fc-dropdown.open .fc-select-menu { display: block; }
.fc-select-menu.right { left: auto; right: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  height: 80px;
  background: var(--c-bg-surface);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.navbar-logo-img {
  height: 36px;
  width: 36px;
  border-radius: var(--r-nav);
  display: block;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-head);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}
.navbar-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-body);
}
.navbar-nav a:hover { color: var(--c-accent); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hamburger {
  display: none;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--c-bg-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-5) var(--sp-6);
  z-index: var(--z-dropdown);
}
.mobile-menu.open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}
.mobile-nav-link {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-head);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0;
  background: var(--c-bg-surface);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.hero-eyebrow { margin-bottom: var(--sp-5); }

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--c-text-head);
  line-height: 1.25;
  margin-bottom: var(--sp-5);
}

/* Paint stroke - marketing ONLY, nergens anders gebruiken */
.paint-stroke {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.paint-stroke::before {
  content: '';
  position: absolute;
  background-color: var(--c-highlight);
  width: 110%;
  height: 80%;
  left: -5%;
  top: 10%;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-2deg) scaleX(0);
  transform-origin: left;
  animation: paintStroke 0.8s ease 0.5s forwards;
}
@keyframes paintStroke {
  to { transform: rotate(-2deg) scaleX(1); }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  max-width: 500px;
  margin-bottom: var(--sp-7);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.hero-fine {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* Dashboard mock */
.hero-visual {
  position: relative;
}

.hero-dashboard-mock {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-feature-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: 36px 1fr;
  height: 300px;
}

.mock-header {
  grid-column: 1 / -1;
  background: var(--c-bg-app);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 var(--sp-4);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
}

.mock-sidebar {
  background: var(--c-bg-surface);
  border-right: 1px solid var(--c-border);
  padding: var(--sp-3) var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
}
.mock-nav-item {
  width: 32px;
  height: 32px;
  border-radius: var(--r-nav);
  background: var(--c-bg-app);
}
.mock-nav-item.active { background: var(--c-accent-subtle); }

.mock-content {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.mock-kpi {
  height: 40px;
  border-radius: var(--r-card);
  background: var(--c-bg-app);
  border: 1px solid var(--c-border);
}
.mock-kpi.accent { background: var(--c-accent-subtle); border-color: var(--c-accent-subtle); }

.mock-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.mock-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-nav);
  background: var(--c-bg-app);
}
.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-accent-subtle);
  flex-shrink: 0;
}
.mock-avatar.green { background: var(--c-success-bg); }
.mock-avatar.blue  { background: var(--c-info-bg); }

.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--c-border);
}
.mock-line.w80 { width: 80%; }
.mock-line.w70 { width: 70%; }
.mock-line.w55 { width: 55%; }
.mock-line.w50 { width: 50%; }
.mock-line.w45 { width: 45%; }
.mock-line.w35 { width: 35%; }
.mock-line.muted { opacity: 0.6; }

.mock-badge {
  width: 40px;
  height: 16px;
  border-radius: var(--r-pill);
  background: var(--c-accent-subtle);
  flex-shrink: 0;
}
.mock-badge.warning { background: var(--c-warning-bg); }

/* Floating badges op hero */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-head);
  white-space: nowrap;
  z-index: 20;
}
.float-icon { font-size: 16px; color: var(--c-success); }
.float-1 { bottom: -16px; left: -24px; }
.float-2 { top: -16px; right: -24px; }
.float-2 .float-icon { color: var(--c-accent); }

/* ============================================================
   TRUSTBAR
   ============================================================ */
.trustbar {
  padding: var(--sp-6) 0;
}
.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.trustbar-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
}
.trustbar-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.trustbar-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trustbar-stat strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text-head);
  white-space: nowrap;
}
.trustbar-stat span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}
.trustbar-divider {
  width: 1px;
  height: 32px;
  background: var(--c-border);
}

/* ============================================================
   SECTION HEADER (gedeeld patroon)
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-9);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.section-eyebrow.accent { color: var(--c-accent); }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-text-head);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ============================================================
   PROBLEEM → OPLOSSING
   ============================================================ */
/* .problem-section - achtergrond via globale sectie-regel bovenaan */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
}

.problem-side h2,
.solution-side h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-text-head);
  margin: var(--sp-3) 0 var(--sp-4);
  line-height: 1.3;
}

.problem-side p,
.solution-side p {
  color: var(--c-text-body);
  margin-bottom: var(--sp-5);
}

.problem-list,
.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.problem-list li,
.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.95rem;
  color: var(--c-text-body);
}

.problem-icon {
  font-size: 18px;
  color: var(--c-error);
  flex-shrink: 0;
  margin-top: 1px;
}
.solution-icon {
  font-size: 18px;
  color: var(--c-success);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-7);
}

/* Feature card (gekopieerd uit styleguide) */
.feature-card-marketing {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-feature-card);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.feature-card-marketing:hover {
  border-color: var(--c-accent);
}
.feature-card-marketing .feat-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-3);
}
.feature-card-marketing .fc-icon-box {
  flex-shrink: 0;
}
.feature-card-marketing h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-head);
  margin-bottom: 0;
}
.feature-card-marketing p {
  font-size: 0.9rem;
  color: var(--c-text-body);
  line-height: 1.55;
}

/* ============================================================
   HOE HET WERKT - STAPPEN
   ============================================================ */
/* .how-section - achtergrond via globale sectie-regel bovenaan */

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 var(--sp-6);
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text-head);
  margin-bottom: var(--sp-3);
}
.step p {
  font-size: 0.95rem;
  color: var(--c-text-body);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--c-border);
  flex-shrink: 0;
  margin-top: 28px;
}

/* ============================================================
   PRIJZEN
   ============================================================ */
.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  background: var(--c-bg-surface);
  border: 2px solid var(--c-accent);
  border-radius: var(--r-feature-card);
  padding: var(--sp-9);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-price {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.price-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--c-text-head);
  line-height: 1;
  flex-shrink: 0;
}
.price-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-body);
  white-space: nowrap;
}
.price-period {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.pricing-desc {
  font-size: 1rem;
  color: var(--c-text-body);
  line-height: 1.6;
  margin-bottom: var(--sp-7);
}

.pricing-fine {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-3);
}

.pricing-features h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--c-text-body);
}
.pricing-list .material-symbols-rounded {
  font-size: 18px;
  color: var(--c-success);
  flex-shrink: 0;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: 900px;
  margin: var(--sp-6) auto 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-info-bg);
  border-radius: var(--r-card);
  font-size: 0.875rem;
  color: var(--c-info);
}
.pricing-note .material-symbols-rounded {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   EARLY ADOPTERS
   ============================================================ */
.early-adopter-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
}
.early-adopter-text {
  font-size: 1.05rem;
  color: var(--c-text-body);
  line-height: 1.75;
}
.early-adopter-benefits {
  display: flex;
  gap: var(--sp-9);
  flex-wrap: wrap;
  justify-content: center;
}
.early-adopter-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-head);
}
.early-adopter-benefit .fc-icon-box {
  flex-shrink: 0;
}

/* ============================================================
   DEMO FORM
   ============================================================ */
/* .demo-section - wit (geen achtergrond override) */

.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-10);
  align-items: start;
}

.demo-copy h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-text-head);
  margin: var(--sp-3) 0 var(--sp-4);
  line-height: 1.2;
}
.demo-copy p {
  color: var(--c-text-body);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.demo-promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.demo-promises li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  color: var(--c-text-body);
  font-weight: 500;
}
.demo-promises .material-symbols-rounded {
  font-size: 20px;
  color: var(--c-accent);
}

.demo-form {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-feature-card);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.demo-submit { width: 100%; }

.form-fine {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: calc(var(--sp-3) * -1);
}
.form-fine a { color: var(--c-accent); }

/* ============================================================
   TRUST / AVG SECTIE
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-7);
  text-align: center;
}
.trust-item .fc-icon-box-lg {
  margin: 0 auto var(--sp-4);
}
.trust-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-text-head);
  margin-bottom: var(--sp-3);
}
.trust-item p {
  font-size: 0.95rem;
  color: var(--c-text-body);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-text-head);
  color: var(--c-text-muted);
  padding-top: var(--sp-10);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--sp-4);
  color: var(--c-text-muted);
}
.footer-contact { margin-top: var(--sp-3); }
.footer-contact a {
  color: var(--c-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.footer-contact a:hover { color: #fff; }

.footer-logo .logo-text { color: #fff; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-5) 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* ============================================================
   SCROLL REVEAL (gekopieerd uit styleguide)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.8rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { gap: var(--sp-8); }
  .pricing-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-5); }
  .section { padding: var(--sp-8) 0; }

  .navbar-nav { display: none; }
  .navbar-actions .fc-btn:not(.hamburger):not(.fc-settings-trigger) { display: none; }
  .hamburger { display: flex; }

  .hero { padding: var(--sp-9) 0; }
  .hero-content { text-align: center; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; margin-left: auto; margin-right: auto; }
  .hero-eyebrow { display: flex; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .fc-btn { text-align: center; justify-content: center; }
  .hero-fine { text-align: center; }

  .section-title { font-size: 1.9rem; }

  .trustbar-inner { flex-direction: column; text-align: center; }
  .trustbar-stat strong { font-size: 1rem; }
  .trustbar-stats { gap: var(--sp-4); }

  .features-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; margin: 0; }

  .early-adopter-benefits { flex-direction: column; align-items: center; gap: var(--sp-5); }
  .early-adopter-benefit { flex-direction: row; align-items: center; gap: var(--sp-4); }

  .pricing-card { padding: var(--sp-6); }

  .demo-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .demo-form { padding: var(--sp-5); }

  .trust-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: var(--sp-3); text-align: center; }
}

/* ============================================================
   NAVBAR AUDIENCE SWITCH LINK
   ============================================================ */
.navbar-nav .navbar-audience-link {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.navbar-nav .navbar-audience-link:hover {
  color: var(--c-accent);
}

/* ============================================================
   SPLITTER / AUDIENCE CHOOSER
   ============================================================ */
.splitter-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-surface);
}
.splitter-page .navbar {
  border-bottom: 1px solid var(--c-border);
}
.splitter-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--sp-12) var(--sp-5);
}
.splitter-main .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-10);
  width: 100%;
}
.splitter-head {
  text-align: center;
}
.splitter-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--c-text-head);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}
.splitter-head p {
  font-size: 1.2rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  width: 100%;
  max-width: 840px;
}
.audience-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-9);
  background: var(--c-bg-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--r-feature-card);
  text-decoration: none;
  color: inherit;
}
.audience-card:hover {
  border-color: var(--c-accent);
}
.audience-card-role {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text-head);
}
.audience-card-desc {
  font-size: 0.95rem;
  color: var(--c-text-body);
  line-height: 1.6;
  margin: 0;
}
.audience-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.audience-card-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--c-text-body);
}
.audience-card-feature .material-symbols-rounded {
  font-size: 1rem;
  color: var(--c-success);
  flex-shrink: 0;
}
.audience-card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}
.audience-card-actions .fc-btn {
  justify-content: center;
  text-align: center;
}
.audience-card-login {
  text-align: center;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  text-decoration: none;
}
.audience-card-login:hover {
  color: var(--c-accent);
}

/* Splitter footer */
.splitter-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-5) 0;
}
.splitter-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.splitter-footer-links {
  display: flex;
  gap: var(--sp-6);
}
.splitter-footer-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}
.splitter-footer-links a:hover {
  color: var(--c-text-body);
}

/* ============================================================
   PHONE MOCK - Realistisch iPhone-design (bewoner hero & app CTA)
   ============================================================ */
.hero-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Titanium/Space Black iPhone frame */
.hero-phone {
  width: 250px;
  background: linear-gradient(160deg, #2D2D2F 0%, #1C1C1E 55%, #252527 100%);
  border-radius: 20px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
  /* Subtiele metallic edge + diepe schaduw */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1.5px #0A0A0A,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Volume-knoppen + Action Button (linker zijkant) */
.hero-phone::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 80px;
  width: 3px;
  height: 20px;
  background: #2A2A2C;
  border-radius: 2px 0 0 2px;
  /* vol-omhoog, vol-omlaag, action knop */
  box-shadow: 0 34px 0 #2A2A2C, 0 68px 0 #2A2A2C;
}

/* Slaap/waak-knop (rechter zijkant) */
.hero-phone::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 98px;
  width: 3px;
  height: 52px;
  background: #2A2A2C;
  border-radius: 0 2px 2px 0;
}

/* Dynamic Island */
.phone-di {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
}

/* iOS-wit scherm, scherpe hoeken gelijk aan frame */
.phone-screen {
  background: var(--c-bg-surface);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-app-bar {
  background: var(--c-bg-surface);
  padding: 9px 9px 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-head);
  flex-shrink: 0;
}
.phone-app-bar .material-symbols-rounded {
  font-size: 16px;
  color: var(--c-accent);
}

.phone-feed {
  display: flex;
  flex-direction: column;
  background: var(--c-bg-app);
}
.phone-post {
  background: var(--c-bg-surface);
  padding: 9px 9px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.phone-post-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-accent-subtle);
  color: var(--c-accent);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-post-av.green  { background: var(--c-success-bg); color: var(--c-success); }
.phone-post-av.orange { background: var(--c-warning-bg); color: var(--c-warning); }
.phone-post-body { flex: 1; min-width: 0; }
.phone-post-name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-text-head);
}
.phone-post-text {
  font-size: 0.62rem;
  color: var(--c-text-body);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0;
}
.phone-post-pill {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.53rem;
  background: var(--c-bg-app);
  color: var(--c-text-muted);
  border-radius: var(--r-pill);
  padding: 1px 6px;
}

/* ============================================================
   APP CTA SECTIE (bewoner pagina)
   ============================================================ */
/* .section-app-cta verwijderd uit HTML - geen CSS nodig */

.app-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-10);
  align-items: center;
}

.app-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--c-text-head);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.app-cta-sub {
  font-size: 1.05rem;
  color: var(--c-text-body);
  line-height: 1.7;
  margin-bottom: var(--sp-7);
  max-width: 480px;
}

/* App store knoppen - gestileerd als echte store badges */
.app-store-wrap {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--c-text-head);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-5);
  text-decoration: none;
  min-width: 148px;
}
.app-store-btn:hover { background: #1E293B; }
.app-store-btn .material-symbols-rounded {
  font-size: 28px;
  flex-shrink: 0;
}
.app-store-btn-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-store-btn-text small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1;
}
.app-store-btn-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.app-store-btn-android {
  background: #1A1A2E;
}
.app-store-btn-android:hover { background: #0D0D1A; }

.app-cta-portal {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-7);
}
.app-cta-portal a {
  color: var(--c-accent);
  font-weight: 500;
  text-decoration: none;
}
.app-cta-portal a:hover { text-decoration: underline; }

/* Feature checklist */
.app-cta-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.app-cta-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  color: var(--c-text-body);
  font-weight: 500;
}
.app-cta-features li .material-symbols-rounded {
  color: var(--c-success);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.app-cta-coming {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-style: italic;
}

/* Phone visual rechts */
.app-cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-phone {
  width: 230px;
}

/* ============================================================
   RESPONSIVE - splitter / phone mock / bewoner cta
   ============================================================ */
@media (max-width: 900px) {
  .hero-phone-wrap { display: none; }
  .app-cta-inner { grid-template-columns: 1fr; }
  .app-cta-visual { display: none; }
}
@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
  .splitter-main { padding: var(--sp-8) var(--sp-5); }
  .splitter-head h1 { font-size: 2rem; }
  .splitter-footer-inner { flex-direction: column; align-items: flex-start; }
  .app-store-wrap { flex-direction: column; }
}

/* ============================================================
   HERO DUAL PREVIEW (bewoner pagina: portal + telefoon)
   ============================================================ */
.hero-dual-preview {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-4);
  position: relative;
}

.hero-portal-mock {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-feature-card);
  overflow: hidden;
  width: 300px;
  flex-shrink: 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.portal-mock-bar {
  background: var(--c-bg-app);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--c-border);
}

.portal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.portal-dot:nth-child(1) { background: #FF5F57; }
.portal-dot:nth-child(2) { background: #FFBD2E; }
.portal-dot:nth-child(3) { background: #28C840; }

.portal-mock-url {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 2px 10px;
  font-size: 0.6rem;
  color: var(--c-text-muted);
  flex: 1;
  text-align: center;
}

.portal-mock-body {
  display: flex;
  height: 230px;
}

.portal-mock-sidebar {
  width: 44px;
  background: var(--c-text-head);
  padding: var(--sp-3) var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
  flex-shrink: 0;
}
.portal-mock-sidebar .mock-nav-item {
  background: rgba(255, 255, 255, 0.1);
}
.portal-mock-sidebar .mock-nav-item.active {
  background: var(--c-accent);
}

.portal-mock-feed {
  flex: 1;
  background: var(--c-bg-app);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  overflow: hidden;
}

.portal-mock-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-1);
}

.portal-mock-badge {
  width: 36px;
  height: 14px;
  border-radius: var(--r-pill);
  background: var(--c-accent-subtle);
  flex-shrink: 0;
}

/* Schaal phone kleiner in dual context */
.hero-dual-preview .hero-phone {
  width: 180px;
}

/* iOS-stijl Status Bar (boven Dynamic Island) */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 3px;
  background: var(--c-bg-surface);
  flex-shrink: 0;
}
.phone-status-time {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--c-text-head);
  font-family: 'JetBrains Mono', monospace;
}
.phone-status-right {
  display: flex;
  align-items: center;
  gap: 1px;
}
.phone-status-right .material-symbols-rounded {
  font-size: 10px;
  color: var(--c-text-head);
}

/* Notificatie-icoon rechts in app-bar */
.phone-app-bar {
  justify-content: space-between;
}
.phone-app-bar-notif {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-left: auto;
}

/* Post meta-row: naam + tijdstip naast elkaar */
.phone-post-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}
.phone-post-time {
  font-size: 0.5rem;
  color: var(--c-text-muted);
  font-weight: 400;
  flex-shrink: 0;
}

/* Dikke feed-separator zoals in echte app */
.phone-post-sep {
  height: 6px;
  background: var(--c-bg-app);
  flex-shrink: 0;
}

/* Vervanging van phone-bottom-bar pips door echte iOS tab-bar */
.phone-tab-bar {
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 4px 8px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  flex-shrink: 0;
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--c-text-muted);
}
.phone-tab .material-symbols-rounded {
  font-size: 15px;
}
.phone-tab-label {
  font-size: 0.42rem;
  font-weight: 500;
}
.phone-tab.active {
  color: var(--c-accent);
}

/* Portal sidebar brand dot */
.portal-mock-brand-dot {
  width: 22px;
  height: 22px;
  border-radius: var(--r-md);
  background: var(--c-accent);
  flex-shrink: 0;
}
.portal-mock-nav-sep {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: var(--sp-1) 0;
}

/* Klein avatar-plaatje in portal feed header */
.portal-mock-avatar-sm {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-accent-subtle);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-dual-preview { display: none; }
}

/* ============================================================
   SPLITTER V2 - Minimalistisch schermvullend
   ============================================================ */
.splitter-fs {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-surface);
}

.splitter-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-8);
}

.splitter-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  gap: var(--sp-7);
}

.splitter-headline {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--c-text-head);
  line-height: 1.1;
}

.splitter-desc {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.splitter-btns {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}

.splitter-fine {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.splitter-login-link {
  font-size: 0.875rem;
  color: var(--c-accent);
  font-weight: 500;
  text-decoration: none;
  margin-top: calc(var(--sp-3) * -1);
}
.splitter-login-link:hover { text-decoration: underline; }

.splitter-bottom {
  padding: var(--sp-5) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.splitter-bottom a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.splitter-bottom a:hover { color: var(--c-text-body); }

.splitter-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

@media (max-width: 640px) {
  .splitter-topbar { padding: var(--sp-4) var(--sp-5); }
  .splitter-center { gap: var(--sp-6); }
  .splitter-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .splitter-btns .fc-btn { justify-content: center; }
  .splitter-bottom {
    flex-direction: column;
    gap: var(--sp-3);
    text-align: center;
  }
  .splitter-bottom-links { gap: var(--sp-4); }
}

/* ============================================================
   LOGIN / AANMELD PAGINA
   Gecentreerd formulier op --c-bg-app achtergrond.
   Kaart gebruikt --c-bg-surface + border --c-border (feature-card radius).
   Alle tokens uit packages/tokens/tokens.ts - geen hardcoded waarden.
   ============================================================ */
.page-login {
  min-height: 100vh;
  background: var(--c-bg-app);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) var(--sp-5);
}

/* Terug-link boven de kaart */
.login-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  margin-bottom: var(--sp-6);
  align-self: flex-start;
  max-width: 480px;
  width: 100%;
}

.login-back-link:hover {
  color: var(--c-text-head);
}

.login-back-link .material-symbols-rounded {
  font-size: 18px;
}

/* Kaart */
.login-wrap {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login-card {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-feature-card);
  padding: var(--sp-9);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Logo bovenin kaart */
.login-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.login-logo .logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-head);
}

/* Kop-blok */
.login-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.login-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text-head);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.login-sub {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Formulier */
.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.login-submit {
  width: 100%;
  justify-content: center;
}

.login-fine {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  text-align: center;
}

.login-fine a {
  color: var(--c-accent);
  text-decoration: none;
}

.login-fine a:hover {
  text-decoration: underline;
}

/* Footer noot onder kaart */
.login-footer-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-6);
}

/* Responsive */
@media (max-width: 540px) {
  .login-card {
    padding: var(--sp-6) var(--sp-5);
    border-radius: var(--r-card);
  }
}

/* ============================================================
   DARK MODE
   Automatisch actief bij prefers-color-scheme: dark,
   tenzij [data-theme="light"] op <html> staat.
   Handmatig donker: [data-theme="dark"] op <html>.
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg-app:       #0F172A;
    --c-bg-surface:   #0B111A;
    --c-text-head:    #F8FAFC;
    --c-text-body:    #CBD5E1;
    --c-text-muted:   #64748B;
    --c-border:       #334155;
    --c-separator:    #1E293B;
    --c-accent:       #9B6BFF;
    --c-accent-hover: #B794FF;
    --c-accent-subtle:#2D1B69;
    --c-success-bg:   #022C22;
    --c-warning-bg:   #431407;
    --c-error-bg:     #450A0A;
    --c-info-bg:      #172554;
    --c-chat-bg:      #1C1F23;
  }
  :root:not([data-theme="light"]) .navbar {
    background: #0B111A;
  }
  :root:not([data-theme="light"]) .mobile-menu {
    background: #0B111A;
  }
  :root:not([data-theme="light"]) .footer {
    background: #0B111A;
  }
  :root:not([data-theme="light"]) .footer-bottom {
    border-top-color: var(--c-border);
  }
}
[data-theme="dark"] {
  --c-bg-app:       #0F172A;
  --c-bg-surface:   #0B111A;
  --c-text-head:    #F8FAFC;
  --c-text-body:    #CBD5E1;
  --c-text-muted:   #64748B;
  --c-border:       #334155;
  --c-separator:    #1E293B;
  --c-accent:       #9B6BFF;
  --c-accent-hover: #B794FF;
  --c-accent-subtle:#2D1B69;
  --c-success-bg:   #022C22;
  --c-warning-bg:   #431407;
  --c-error-bg:     #450A0A;
  --c-info-bg:      #172554;
  --c-chat-bg:      #1C1F23;
}
[data-theme="dark"] .navbar,
[data-theme="dark"] .mobile-menu {
  background: #0B111A;
}
[data-theme="dark"] .footer {
  background: #0B111A;
}
[data-theme="dark"] .footer-bottom {
  border-top-color: var(--c-border);
}
[data-theme="dark"] .section:nth-child(even) {
  background: var(--c-bg-app);
}
[data-theme="dark"] .section:nth-child(odd) {
  background: var(--c-bg-surface);
}
