/* ======================================
   TIJDVERDRIJF - APP LANDING PAGE (/app)
   ====================================== */

.app-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero --- */

.app-hero {
  text-align: center;
  padding: 56px 0 40px;
}

.app-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.app-hero-subtitle {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.5;
}

/* --- Alternating feature sections --- */

.app-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 0 24px;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  position: relative;
  margin-bottom: -64px;
}

.app-feature:last-child {
  margin-bottom: 0;
}

/* Sections 2 & 4: media on the right (desktop). DOM order stays
   media-first so the mobile column stack puts the screenshot on top. */
.app-feature.reverse {
  flex-direction: row-reverse;
}

.app-feature-media {
  flex: 0 0 26%;
  max-width: 300px;
  display: flex;
  justify-content: center;
}

.app-feature-text {
  flex: 1 1 0;
  min-width: 0;
}

.app-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.app-feature-body {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  max-width: 48ch;
}

/* Portrait phone screenshot (1242x2688). Rounded corners + subtle frame
   + drop shadow so it reads as an intentional device shot, not a crop. */
.app-shot {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* --- Community manifesto --- */

.app-manifesto {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 40px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
}

/* --- Invite-only callout --- */

.app-invite {
  margin: 8px 0 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
}

.app-invite-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.app-invite-body {
  color: var(--text-secondary);
  line-height: 1.6;
}

.app-invite-body a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Download buttons --- */

.app-download {
  text-align: center;
  padding: 8px 0 72px;
}

.app-download-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 24px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.app-badge {
  display: inline-flex;
}

.app-badge img {
  width: auto;
  display: block;
}

/* Google's badge PNG has ~16% transparent padding top+bottom; 68px total
   renders the visible button at ~46px, matching the tight Apple SVG. */
.app-badge-apple img {
  height: 46px;
}

.app-badge-google img {
  height: 68px;
}

/* --- Mobile: stack screenshot above text for every section --- */

@media (max-width: 768px) {
  .app-feature,
  .app-feature.reverse {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    margin-bottom: 0;
  }

  .app-feature-media {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }

  .app-shot {
    max-width: 240px;
    margin: 0 auto;
  }

  .app-feature-body {
    max-width: none;
  }

  .app-badges {
    flex-direction: column;
  }
}
