/* ============================================================
   LEAFBOOK — Website Styles
   ============================================================ */

/* ————————————————————————————————
   1. CUSTOM PROPERTIES
   ———————————————————————————————— */
:root {
  /* Brand colors */
  --c-dark:         #013D31;
  --c-dark-2:       #014D3E;
  --c-dark-3:       #01604D;
  --c-accent:       #52BE95;
  --c-accent-light: #9DDDBF;
  --c-cream:        #F0EDE7;
  --c-cream-2:      #E8E4DC;
  --c-text:         #1C1C1E;
  --c-text-muted:   #6B7280;
  --c-white:        #FFFFFF;

  /* Typography */
  --f-sans:  'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ————————————————————————————————
   2. RESET & BASE
   ———————————————————————————————— */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background: var(--c-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; background: none; font: inherit; }

/* ————————————————————————————————
   3. NAVIGATION
   ———————————————————————————————— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(1, 61, 49, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.nav__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--c-accent);
  display: block;
  object-fit: contain;
}

.nav__logo-text {
  font-family: var(--f-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-white);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav__cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* ————————————————————————————————
   4. HERO
   ———————————————————————————————— */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Radial glow in the center — parallax layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(82,190,149,0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translateY(calc(var(--hero-bg-y, 0) * 0.15px));
  transition: transform 0.1s linear;
}

/* Subtle dot-grid texture — parallax layer */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  transform: translateY(calc(var(--hero-bg-y, 0) * 0.4px));
  transition: transform 0.1s linear;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 680px;
}

.hero__logo {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  font-family: var(--f-sans);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 400;
  color: var(--c-white);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(24px);
}

.hero__subtitle {
  font-family: var(--f-sans);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--c-accent-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: scrollBounce 2s ease-in-out 1.6s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.0), rgba(255,255,255,0.35));
}

.hero__scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ————————————————————————————————
   5. BUTTONS & STORE BADGES
   ———————————————————————————————— */
/* Official App Store / Google Play badges (Apple & Google guidelines) */
.store-badge {
  display: inline-block;
  width: auto;
  height: 60px;
  margin: 6px;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.store-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.store-badge:active { transform: translateY(0); }

.store-badge__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Gelijk formaat voor App Store en Google Play (guidelines) */
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-store:active { transform: translateY(0); }

.btn-store--light {
  background: var(--c-white);
  color: var(--c-dark);
}

.btn-store--light:hover { background: #f5f5f5; }

.btn-store--dark {
  background: rgba(255,255,255,0.12);
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-store--dark:hover {
  background: rgba(255,255,255,0.2);
}

.btn-store__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-store__text { line-height: 1.2; }
.btn-store__label { font-size: 10px; font-weight: 400; opacity: 0.7; display: block; letter-spacing: 0.05em; }
.btn-store__name { display: block; }

/* Primary large button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 100px;
  background: var(--c-accent);
  color: var(--c-dark);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: #60d4a8;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(82,190,149,0.4);
}

/* ————————————————————————————————
   6. QUOTE SECTION
   ———————————————————————————————— */
.section-quote {
  position: relative;
  min-height: 100vh;
  background: var(--c-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

/* Ambient light from top — parallax */
.section-quote::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(82,190,149,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(calc(-50% + var(--quote-bg-x, 0px)), var(--quote-bg-y, 0px));
  transition: transform 0.12s ease-out;
}

.quote-inner {
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 1;
  transform: translateY(var(--quote-content-y, 0px));
  transition: transform 0.15s ease-out;
}

.quote-mark {
  font-family: var(--f-sans);
  font-size: 120px;
  line-height: 0.6;
  color: var(--c-accent);
  opacity: 0.2;
  display: block;
  margin-bottom: 16px;
  user-select: none;
}

.quote-text {
  font-family: var(--f-sans);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  font-style: italic;
  color: var(--c-white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.quote-author {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-style: normal;
}

/* ————————————————————————————————
   7. FEATURES
   ———————————————————————————————— */
.feature {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature--cream { background: var(--c-cream); }
.feature--dark  { background: var(--c-dark); }

/* Parallax background layer on dark features */
.feature--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  transform: translateY(var(--parallax-y, 0));
  transition: transform 0.15s ease-out;
}

/* Parallax on cream feature glow */
.feature--cream .phone-wrap::before {
  transform: translate(var(--feature-glow-x, 0), var(--feature-glow-y, 0));
  transition: transform 0.2s ease-out;
}

.feature__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature--reverse .feature__container {
  direction: rtl;
}
.feature--reverse .feature__container > * {
  direction: ltr;
}

.feature__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.feature__number {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.feature__divider {
  width: 32px;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.5;
}

.feature__tag {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  opacity: 0.75;
}

.feature__title {
  font-family: var(--f-sans);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.feature--cream .feature__title { color: var(--c-dark); }
.feature--dark  .feature__title { color: var(--c-white); }

.feature__body {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 420px;
}

.feature--cream .feature__body { color: var(--c-text-muted); }
.feature--dark  .feature__body { color: rgba(255,255,255,0.55); }

/* ————————————————————————————————
   8. PHONE MOCKUP
   ———————————————————————————————— */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Soft glow behind phone */
.phone-wrap::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(rgba(82,190,149,0.18), transparent 70%);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 260px;
  height: 530px;
  background: #1A1A1A;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 1px #2C2C2E,
    0 0 0 3px #111,
    0 40px 80px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.07);
}

/* Dynamic island */
.phone::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.phone__screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ————
   Phone Screen: HOME
   ———— */
.screen-home {
  background: #F0EDE7;
  padding: 56px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  overflow: hidden;
}

.screen-home__welcome {
  font-size: 11px;
  color: #8E8E93;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 0 4px;
}

.screen-home__section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1E;
  padding: 0 4px;
  margin-bottom: -8px;
}

.screen-home__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.screen-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
}

.screen-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}

.screen-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
}

.screen-card__name {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.screen-card__sub {
  font-size: 8px;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-top: 1px;
}

/* Fake collection card for dark bg */
.screen-card--dark-1 {
  background: linear-gradient(135deg, #2D5A3D 0%, #1A3829 100%);
}
.screen-card--dark-1::before {
  content: '🔧';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 20px;
}

.screen-card--dark-2 {
  background: linear-gradient(135deg, #8B9EB5 0%, #5C6F85 100%);
}
.screen-card--dark-2::before {
  content: '🏜️';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 20px;
}

.screen-card--warm {
  background: linear-gradient(135deg, #E8821A 0%, #C4590A 100%);
}
.screen-card--warm::before {
  content: '🌅';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 20px;
}

.screen-card--pizza {
  background: linear-gradient(135deg, #C87941 0%, #8B4F1A 100%);
}
.screen-card--pizza::before {
  content: '🍕';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 20px;
}

/* Bottom tab bar */
.screen-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(240,237,231,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 0 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 0.5px solid rgba(0,0,0,0.1);
}

.screen-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.screen-tabbar__icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #8E8E93;
}

.screen-tabbar__icon--active {
  background: var(--c-dark);
}

.screen-tabbar__add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  margin-top: -10px;
  box-shadow: 0 4px 12px rgba(1,61,49,0.4);
}

.screen-tabbar__label {
  font-size: 7px;
  color: #8E8E93;
}
.screen-tabbar__label--active {
  color: var(--c-dark);
  font-weight: 600;
}

/* ————
   Phone Screen: CARD (Pak een kaart)
   ———— */
.screen-card-pick {
  background: var(--c-cream);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 18px 24px;
  position: relative;
  overflow: hidden;
}

/* Stack of cards behind */
.screen-card-pick__stack {
  position: absolute;
  width: 195px;
  height: 130px;
}

.screen-card-pick__back-2 {
  position: absolute;
  width: 190px;
  height: 128px;
  background: var(--c-dark-2);
  border-radius: 18px;
  top: 8px;
  left: 3px;
  transform: rotate(-4deg);
}

.screen-card-pick__back-1 {
  position: absolute;
  width: 190px;
  height: 128px;
  background: var(--c-dark-3);
  border-radius: 18px;
  top: 4px;
  left: 1px;
  transform: rotate(-1.5deg);
}

.screen-card-pick__card {
  position: relative;
  width: 200px;
  min-height: 135px;
  background: var(--c-cream-2);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin-top: 60px;
}

.screen-card-pick__quote-open {
  font-size: 22px;
  color: var(--c-dark-2);
  line-height: 1;
  font-family: var(--f-sans);
  font-style: italic;
}

.screen-card-pick__question {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.4;
  text-align: center;
  padding: 8px 0;
}

.screen-card-pick__quote-close {
  font-size: 22px;
  color: var(--c-dark-2);
  line-height: 1;
  font-family: var(--f-sans);
  font-style: italic;
  text-align: right;
}

.screen-card-pick__mic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 14px auto 0;
}

/* ————
   Phone Screen: TIMELINE
   ———— */
.screen-timeline {
  background: var(--c-dark-2);
  height: 100%;
  padding: 56px 14px 14px;
  overflow: hidden;
}

.screen-timeline__header {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding: 0 4px;
}

.timeline-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.timeline-item__dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  min-width: 14px;
}

.timeline-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}

.timeline-item__line {
  width: 1px;
  height: 30px;
  background: rgba(82,190,149,0.25);
  margin-top: 3px;
}

.timeline-item__content {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 8px 10px;
}

.timeline-item__date {
  font-size: 8px;
  color: var(--c-accent);
  margin-bottom: 3px;
  letter-spacing: 0.08em;
}

.timeline-item__title {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.timeline-item__text {
  font-size: 8px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.timeline-item__thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.timeline-item__thumb--green { background: linear-gradient(135deg, #2D8B5C, #1A5C38); }
.timeline-item__thumb--warm  { background: linear-gradient(135deg, #E8821A, #C4590A); }
.timeline-item__thumb--blue  { background: linear-gradient(135deg, #4A8FB5, #2C6A8C); }

/* ————
   Phone Screen: SHARED
   ———— */
.screen-shared {
  background: #fff;
  height: 100%;
  padding: 56px 14px 60px;
  overflow: hidden;
}

.screen-shared__header {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 14px;
  padding: 0 4px;
}

.shared-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #F5F5F7;
  margin-bottom: 8px;
}

.shared-item__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.shared-item__avatar--green { background: var(--c-dark); color: var(--c-accent); }
.shared-item__avatar--warm  { background: #FDE8D0; }
.shared-item__avatar--blue  { background: #D0E8FD; }

.shared-item__info { flex: 1; }
.shared-item__name { font-size: 10px; font-weight: 600; color: #1C1C1E; }
.shared-item__desc { font-size: 8px; color: #8E8E93; margin-top: 1px; }

.shared-item__badge {
  font-size: 8px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 100px;
  background: var(--c-accent);
  color: var(--c-dark);
}

/* ————————————————————————————————
   9. CARD FEATURE SECTION (special layout)
   ———————————————————————————————— */
.feature-card-section {
  position: relative;
  min-height: 100vh;
  background: var(--c-cream);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 48px;
}

.feature-card-section__bg-text {
  position: absolute;
  font-family: var(--f-sans);
  font-size: clamp(120px, 20vw, 220px);
  font-weight: 400;
  color: rgba(1,61,49,0.04);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  bottom: -20px;
  left: -20px;
  line-height: 1;
}

.feature-card-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* 3 stacked cards decoration */
.card-stack {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-stack__card {
  position: absolute;
  width: 320px;
  height: 200px;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-stack__card--back-2 {
  background: var(--c-dark-2);
  transform: rotate(-6deg) translateY(16px);
  opacity: 0.55;
}

.card-stack__card--back-1 {
  background: var(--c-dark-3);
  transform: rotate(-2.5deg) translateY(8px);
  opacity: 0.75;
}

.card-stack__card--front {
  background: var(--c-cream-2);
  transform: rotate(0deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 3;
}

.card-stack__quote-mark {
  font-family: var(--f-sans);
  font-size: 40px;
  color: var(--c-dark-2);
  line-height: 0.8;
  font-style: italic;
}

.card-stack__text {
  font-family: var(--f-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.35;
  text-align: center;
  padding: 0 12px;
}

.card-stack__mic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(1,61,49,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ————————————————————————————————
   10. DOWNLOAD CTA SECTION
   ———————————————————————————————— */
.section-download {
  position: relative;
  min-height: 80vh;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.section-download::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(82,190,149,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.download-inner {
  max-width: 640px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.download-logo {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  margin: 0 auto 24px;
  opacity: 0.95;
}

.download-title {
  font-family: var(--f-sans);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.download-sub {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ————————————————————————————————
   11. FOOTER
   ———————————————————————————————— */
.footer {
  background: #010F0B;
  padding: 48px 32px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
}

.footer__brand-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer__brand-name {
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.footer__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer__nav a {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer__nav a:hover { color: rgba(255,255,255,0.8); }

.footer__copy {
  font-family: var(--f-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ————————————————————————————————
   12. SUBPAGE (Privacy / Terms)
   ———————————————————————————————— */
.subpage {
  background: var(--c-dark);
  min-height: 100vh;
  padding-top: 80px;
}

.subpage__hero {
  background: var(--c-dark);
  width: 100%;
  padding: 96px 32px 72px;
  text-align: center;
}

.subpage__label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.subpage__title {
  font-family: var(--f-sans);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.1;
}

.subpage__date {
  font-family: var(--f-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

.subpage__body {
  background: var(--c-cream);
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

.subpage__body h2 {
  font-family: var(--f-sans);
  font-size: 28px;
  font-weight: 500;
  color: var(--c-dark);
  margin: 48px 0 16px;
}

.subpage__body h3 {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-dark);
  margin: 28px 0 10px;
}

.subpage__body p {
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #3A3A3A;
  margin-bottom: 16px;
}

.subpage__body ul, .subpage__body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.subpage__body li {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  color: #3A3A3A;
  margin-bottom: 6px;
}

.subpage__body a {
  color: var(--c-dark-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subpage__body a:hover { color: var(--c-accent); }

.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-accent);
  margin-bottom: 12px;
  transition: gap 0.2s ease;
}

.subpage-back:hover { gap: 12px; }

/* ————————————————————————————————
   13. ANIMATION CLASSES (JS-driven)
   ———————————————————————————————— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* ————————————————————————————————
   14. SMOOTH SECTION TRANSITIONS
   ———————————————————————————————— */
.section-transition {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.section-transition.section-inview {
  opacity: 1;
  transform: none;
}

/* ————————————————————————————————
   15. PARALLAX STRIP (between sections)
   ———————————————————————————————— */
.strip {
  position: relative;
  height: 1px;
  overflow: visible;
}

/* ————————————————————————————————
   16. RESPONSIVE
   ———————————————————————————————— */
@media (max-width: 900px) {
  .feature__container,
  .feature-card-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 28px;
    text-align: center;
  }

  .feature--reverse .feature__container {
    direction: ltr;
  }

  .feature__body { max-width: 100%; }

  .phone-wrap { order: -1; }

  .feature-card-section__bg-text { font-size: 80px; }

  .card-stack { height: 220px; }
  .card-stack__card { width: 260px; height: 165px; }
  .card-stack__text { font-size: 16px; }

  .nav__cta { display: none; }
}

@media (max-width: 600px) {
  .feature__container { padding: 60px 20px; }
  .feature-card-section { padding: 60px 20px; }
  .section-download { padding: 60px 20px; }

  .section-transition { transform: translateY(18px); }
  .section-transition.section-inview { transform: none; }

  .hero__buttons { flex-direction: column; align-items: center; }

  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 20px; }

  .card-stack__card { width: 240px; height: 155px; }

  .subpage__body { padding: 48px 20px 80px; }
}

/* Reduce motion: disable parallax and heavy transitions */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .section-quote::before,
  .quote-inner,
  .feature--dark::after,
  .feature--cream .phone-wrap::before {
    transform: none !important;
    transition: none !important;
  }
  .section-transition {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ————————————————————————————————
   17. HERO LOADED STATE
   ———————————————————————————————— */
.hero.loaded .hero__logo {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero.loaded .hero__title {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out) 0.15s, transform 0.8s var(--ease-out) 0.15s;
}

.hero.loaded .hero__subtitle {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out) 0.3s, transform 0.8s var(--ease-out) 0.3s;
}

.hero.loaded .hero__buttons {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out) 0.45s, transform 0.8s var(--ease-out) 0.45s;
}

.hero.loaded .hero__scroll {
  opacity: 0.6;
  transition: opacity 0.8s ease 1s;
  animation: scrollBounce 2s ease-in-out 1.6s infinite;
}
