/* ============================================================
   FamHub — landing styles, minder template-y
============================================================ */
:root {
  --bg: #fdfcfb;
  --surface: #ffffff;
  --surface-2: #f7f6f3;
  --border: #ececea;
  --border-soft: #f3f2ee;
  --border-strong: #d8d7d3;
  --text: #1a1a1f;
  --text-soft: #4a4a55;
  --text-dim: #777783;
  --text-mute: #aaaaaf;
  --purple: #8b5cf6;
  --purple-2: #7c3aed;
  --purple-soft: #f3eefe;
  --cyan: #14b8a6;
  --green: #10b981;
  --orange: #f59e0b;
  --coral: #fb7185;
  --yellow: #fbbf24;
  --logo-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(16, 16, 32, 0.04);
  --shadow: 0 8px 24px rgba(16, 16, 32, 0.06);
  --shadow-lg: 0 24px 60px rgba(16, 16, 32, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; }

.lp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}
.hidden { display: none !important; }
.grad {
  background: var(--logo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====== BRAND ====== */
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.30), transparent 55%),
    linear-gradient(135deg, #4f46e5 0%, #8b5cf6 50%, #c026d3 100%);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 8px 18px rgba(139, 92, 246, 0.32),
    0 2px 4px rgba(79, 70, 229, 0.20);
}
.brand-logo svg {
  width: 64%; height: 64%;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12));
}
.brand-logo::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--text);
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

/* ====== NAV ====== */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 251, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { padding: 9px 16px; font-size: 14px; }
.mobile-nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
}
.mobile-menu {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.mobile-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 6px; }
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover { background: #000; text-decoration: none; }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-xl { padding: 14px 26px; font-size: 15px; }

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 80px;
  min-height: 620px;
  background-image:
    linear-gradient(110deg,
      rgba(253, 252, 251, 0.96) 0%,
      rgba(253, 252, 251, 0.88) 28%,
      rgba(253, 252, 251, 0.50) 50%,
      rgba(253, 252, 251, 0.38) 70%,
      rgba(253, 252, 251, 0.45) 100%),
    url("/img/family-hero-lg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-blob-1 {
  width: 360px; height: 360px;
  background: rgba(139, 92, 246, 0.25);
  top: -100px; left: 5%;
}
.hero-blob-2 {
  width: 280px; height: 280px;
  background: rgba(251, 113, 133, 0.18);
  bottom: -60px; right: 10%;
}
.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 480px;
}
.hero-text {
  max-width: 540px;
  position: relative;
  z-index: 2;
}
.hero h1, .hero-lead, .hero-foot {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.hero h1 {
  font-size: 58px;
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 22px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 28px;
}
.hero-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-foot {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* Phone mockup — drijft rechts naast/boven de familie-foto */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.phone-frame {
  width: 290px;
  background: #1a1a1f;
  border-radius: 36px;
  padding: 9px;
  box-shadow:
    var(--shadow-lg),
    0 30px 80px rgba(15, 15, 30, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: rotate(-2deg);
  transition: transform .4s;
}
.phone-frame:hover { transform: rotate(0deg); }
.phone-screen {
  background: linear-gradient(180deg, #fdf4ed 0%, #ffe4e6 100%);
  border-radius: 28px;
  padding: 16px 12px;
  min-height: 540px;
  overflow: hidden;
}
.ph-status {
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text);
}
.ph-hero {
  background: rgba(255, 255, 255, 0.75);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 12px;
}
.ph-greet {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--purple);
  background: #fff;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.ph-hero h3 {
  font-size: 16px; font-weight: 800;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
}
.ph-hero p { font-size: 12px; color: var(--text-soft); margin: 0; }
.ph-family {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.ph-mem {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.ph-mem i { color: #fff; }
.vis-av { color: #fff; }
.vis-av i { font-size: 12px; color: #fff; }
.problem-emoji i { color: var(--purple); }
.ph-task {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.ph-task.done { opacity: 0.7; }
.ph-task-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ph-task div { flex: 1; min-width: 0; }
.ph-task-title { font-size: 13px; font-weight: 700; }
.ph-task small { font-size: 11px; color: var(--text-dim); }
.ph-pts {
  background: var(--purple); color: #fff;
  padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700;
}

@media (max-width: 880px) {
  .hero {
    padding: 36px 0 50px;
    min-height: 0;
    background-image:
      linear-gradient(180deg,
        rgba(253, 252, 251, 0.97) 0%,
        rgba(253, 252, 251, 0.94) 38%,
        rgba(253, 252, 251, 0.55) 58%,
        rgba(253, 252, 251, 0.15) 100%),
      url("/img/family-hero-md.jpg");
    background-position: center bottom;
  }
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .phone-frame { width: 260px; transform: rotate(0deg); }
}

/* ====== PROBLEM SECTION ====== */
.problem {
  padding: 70px 0;
  border-top: 1px solid var(--border-soft);
}
.problem-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.problem h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-list li {
  font-size: 16px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.problem-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-mute);
}
.problem-list li em {
  font-style: italic;
  font-weight: 600;
}
.problem-out {
  font-size: 15px;
  color: var(--text-soft);
  border-left: 3px solid var(--purple);
  padding-left: 14px;
  margin: 0;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.problem-emoji {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--purple-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.problem-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-weight: 700;
}
.problem-card p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 760px) {
  .problem { padding: 50px 0; }
  .problem-wrap { grid-template-columns: 1fr; gap: 30px; }
  .problem h2 { font-size: 26px; }
}

/* ====== HOW IT WORKS — asymmetric rows ====== */
.how {
  padding: 80px 0;
  background: var(--surface-2);
}
.how-h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}
.how-sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 50px;
  font-style: italic;
}
.how-rows {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.how-row {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
.how-row.reverse {
  grid-template-columns: auto 1fr 1.2fr;
}
.how-row.reverse .how-vis {
  order: -1;
}
.how-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 4px;
}
.how-body h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.how-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 10px;
}
.how-body em { font-style: normal; font-weight: 700; color: var(--purple); }
.how-note {
  font-size: 13px;
  background: var(--purple-soft);
  color: var(--purple-2);
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-block;
}
.how-vis {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.vis-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-weight: 600;
}
.vis-members {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.vis-members span {
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
}
.vis-task {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.vis-task:last-child { margin-bottom: 0; }
.vis-task-i {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.vis-task div { flex: 1; min-width: 0; }
.vis-task strong { display: block; font-size: 14px; font-weight: 700; }
.vis-task small { display: block; font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.vis-pts {
  background: var(--green); color: #fff;
  padding: 4px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
}
.vis-board { display: flex; flex-direction: column; gap: 8px; }
.vis-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--surface-2);
  border-radius: 10px;
  font-size: 13px;
}
.vis-row:first-child {
  background: linear-gradient(135deg, #fef3c7, #fff5e6);
}
.vis-rank {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px;
}
.vis-row:first-child .vis-rank { background: #fbbf24; color: #fff; }
.vis-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.vis-row span:not(.vis-rank):not(.vis-av) { flex: 1; font-weight: 600; }
.vis-row strong { font-size: 13px; }
.vis-reward {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px;
  display: flex; align-items: center; gap: 12px;
}
.vis-r-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.vis-reward div { flex: 1; min-width: 0; }
.vis-reward strong { display: block; font-size: 14px; }
.vis-reward small { font-size: 12px; color: var(--text-dim); }
.vis-redeem {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .how { padding: 50px 0; }
  .how-h2 { font-size: 28px; }
  .how-row, .how-row.reverse {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how-row.reverse .how-vis { order: 0; }
  .how-num { font-size: 28px; }
  .how-body h3 { font-size: 19px; }
}

/* ====== GRID-FEAT — mixed sizes ====== */
.grid-feat {
  padding: 80px 0;
}
.grid-h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}
.grid-sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 40px;
  font-style: italic;
}
.grid-feat-rows {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gf-big, .gf-small {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .15s;
  box-shadow: var(--shadow-sm);
}
.gf-big:hover, .gf-small:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gf-big {
  grid-column: span 1;
  grid-row: span 1;
}
.grid-feat-rows .gf-big:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.grid-feat-rows .gf-big.alt {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  background: linear-gradient(135deg, #ffe4e6 0%, #fff5e6 100%);
}
.gf-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.gf-big h3, .gf-small h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.gf-big p, .gf-small p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 880px) {
  .grid-feat { padding: 50px 0; }
  .grid-h2 { font-size: 26px; }
  .grid-feat-rows {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .grid-feat-rows .gf-big,
  .grid-feat-rows .gf-big.alt,
  .grid-feat-rows .gf-small {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* ====== WHY BLOCK ====== */
.why-block {
  padding: 80px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-text h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.why-text p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 16px;
}
.why-text p:last-child { margin-bottom: 0; }
.why-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why-point {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}
.why-bullet {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.why-bullet i { font-size: 20px; }
.why-point strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.why-point p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 880px) {
  .why-block { padding: 50px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-text h2 { font-size: 26px; }
}

/* ====== FAQ ====== */
.faq { padding: 80px 0; }
.faq-wrap { max-width: 720px; }
.faq h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 30px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--text-dim);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 12px 0 4px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item em { color: var(--purple); font-style: normal; font-weight: 600; }
@media (max-width: 640px) {
  .faq { padding: 50px 0; }
  .faq h2 { font-size: 26px; }
}

/* ====== FINAL ====== */
.final {
  padding: 90px 0 100px;
  text-align: center;
}
.final-wrap { max-width: 600px; margin: 0 auto; }
.final h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.final p {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 28px;
}
@media (max-width: 640px) {
  .final { padding: 50px 0 70px; }
  .final h2 { font-size: 26px; }
}

/* ====== FOOTER ====== */
.lp-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-meta a { color: var(--text-soft); }
@media (max-width: 560px) {
  .footer-wrap { flex-direction: column; gap: 12px; }
}
