/* ── Bloom – bloomsourdough.com ── */

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

:root {
  --bg:           #F0EBE3;
  --card:         #FFFFFF;
  --text:         #1A1208;
  --text-2:       #8A7968;
  --accent:       #D4721A;
  --black:        #1C1C1E;
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    32px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Language switcher ── */
.lang-nl [data-lang="en"] { display: none; }
.lang-en [data-lang="nl"] { display: none; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 235, 227, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.nav-logo-tag {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 400;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Lang button ── */
.lang-btn {
  background: rgba(0,0,0,0.07);
  border: none;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.lang-btn:hover { background: rgba(0,0,0,0.12); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: none;
}
.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover { background: #2c2c2e; transform: translateY(-1px); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ── Officiële App Store badge stijl ── */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #555;
  transition: all 0.18s ease;
}
.appstore-badge:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.appstore-apple { width: 28px; height: 28px; fill: #fff; flex-shrink: 0; }
.appstore-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.appstore-badge-small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  opacity: 0.9;
}
.appstore-badge-large {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

/* ── About sectie ── */
.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #E8E0D4;
  flex-shrink: 0;
  margin: 0 auto;
  font-size: 0; /* verberg alt-tekst als foto niet laadt */
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  font-size: 0;
}
.about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.about-text h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.about-text p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 540px;
}
.about-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.about-link:hover { text-decoration: underline; }

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 28px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-brand-name {
  font-size: clamp(80px, 10vw, 130px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-appsubtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 0;
}
.hero-headline {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 20px;
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 420px;
}
.platform-note {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 14px;
}

/* ── Hero phones ── */
.hero-screens {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
}
.phone-frame {
  border-radius: 38px;
  border: 7px solid #1C1C1E;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
  background: #1C1C1E;
}
.phone-frame img { width: 100%; display: block; }
.phone-frame.w220 { width: 220px; }
.phone-frame.w200 { width: 200px; }
.phone-frame.offset { margin-bottom: 0; }

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  max-width: 900px;
  white-space: nowrap;
  margin: 0 auto 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 28px 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px;
}
.feature-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-card p { font-size: 15px; color: var(--text-2); line-height: 1.5; }

/* ── Screenshots strip ── */
.screenshots { padding: 0 0 80px; }
.screenshots .section-header { padding: 0 28px; }
.screens-scroll {
  display: flex;
  gap: 20px;
  padding: 8px 28px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
}
.screens-scroll::-webkit-scrollbar { display: none; }
.screen-item { flex-shrink: 0; scroll-snap-align: start; }
.screen-item .phone-frame { width: 240px; }
.screen-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

/* ── Privacy strip (subtiel) ── */
.privacy-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.privacy-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  padding: 20px 28px;
}
.privacy-strip-icon { font-size: 24px; flex-shrink: 0; }
.privacy-strip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.privacy-strip-text strong {
  font-weight: 700;
  color: var(--text);
}
.privacy-strip-text span {
  color: var(--text-2);
  font-size: 14px;
}

/* ── FAQ ── */
.faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 100px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-2);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 20px;
}
.faq-item.open .faq-a { display: block; }
.faq-a p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}
.faq-a a { color: var(--accent); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img { width: 28px; height: auto; opacity: 0.6; mix-blend-mode: multiply; }
footer p, footer a, .footer-logo span {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
footer a:hover { color: var(--accent); }

/* ── Legal pages ── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 28px 100px;
}
.legal-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-section { margin-bottom: 32px; }
.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.legal-section p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}
.legal-version {
  font-size: 13px;
  color: var(--text-2);
  opacity: 0.6;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 40px;
}
.legal-back:hover { opacity: 0.75; }

/* ── Responsive ── */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 48px;
    gap: 48px;
    text-align: center;
  }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; text-align: center; }
  .about-text p { max-width: 100%; }
  .about-link { margin: 0 auto; }
  .hero-content { align-items: center; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-logo { max-width: min(320px, 75vw); }
  .section-header h2 { white-space: normal; font-size: clamp(22px, 5vw, 28px); }
  .hero-screens { justify-content: center; }
  .phone-frame.w220 { width: 170px; }
  .phone-frame.w200 { width: 155px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .privacy-strip-inner { flex-direction: column; text-align: center; gap: 10px; }
  footer { flex-direction: column; align-items: flex-start; }
  .screens-scroll { justify-content: flex-start; }
  .nav-logo-tag { display: none; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}
