/* ============================================
   Homepage — App Sections
   ============================================ */
.app-section {
  padding: 24px 24px;
}

/* Wise Camera & Wise Photos — subtle purple gradient */
#wise-camera,
#wise-camera-hero,
#wise-photos,
#wise-photos-hero {
  background: linear-gradient(to bottom, #E8E0F0, #F3EEF8);
}

/* DIGIX AMR1 — subtle gray gradient */
#digix-amr1,
#digix-amr1-hero {
  background: linear-gradient(180deg, #E3E3E3 0%, #FFFFFF 60%);
}

.app-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.app-section__title {
  text-align: center;
  margin-bottom: 4px;
}

.app-section__title--brand {
  font-family: var(--font-body);
  font-size: 52px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 2px;
}

.app-section__title--teko {
  font-family: var(--font-teko);
  font-size: 80px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 3px;
  line-height: 1;
}

.app-section__title--zendlove {
  font-family: var(--font-lobster);
  font-size: 80px;
  font-weight: 400;
  letter-spacing: 1px;
}

.zl-z { color: #F845A0; }
.zl-e1 { color: #F89495; }
.zl-n { color: #F1B866; }
.zl-d { color: #CCDE93; }
.zl-l { color: #A6C5C5; }
.zl-o { color: #63BA78; }
.zl-v { color: #56B4F0; }
.zl-e2 { color: #4865D7; }

.app-section__subtitle--cursive {
  font-family: var(--font-cursive);
  font-size: 42px;
  color: var(--color-brand);
  text-align: center;
  margin-bottom: 32px;
}

/* ============================================
   Wise Camera & Wise Photos — all-purple text
   ============================================ */
#wise-camera .app-section__text,
#wise-camera .app-section__text--centered,
#wise-photos .app-section__text,
#wise-photos .app-section__text--centered {
  color: var(--color-brand);
}

#wise-camera .app-section__link,
#wise-photos .app-section__link {
  color: var(--color-brand);
  text-decoration: underline;
}

#wise-camera .reviews__text,
#wise-camera .reviews__author,
#wise-photos .reviews__text,
#wise-photos .reviews__author {
  color: var(--color-brand);
}

/* Purple divider for Wise sections */
#wise-camera .app-section__download,
#wise-photos .app-section__download {
  border-top-color: rgba(55, 51, 198, 0.18);
}

/* Split layout: screenshots left, text right */
.app-section__content--split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.app-section__screenshots--wise-camera {
  flex: 0 0 45%;
}

.app-section__screenshot--hero {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.app-section__screenshot-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.app-section__screenshot--small {
  width: calc(50% - 8px);
  height: auto;
  border-radius: var(--radius);
}

.app-section__text {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.app-section__text p {
  margin-bottom: 16px;
}

.app-section__text--centered {
  max-width: 680px;
  margin: 32px auto;
  text-align: left;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.app-section__text--centered p {
  margin-bottom: 16px;
}

.app-section__link {
  color: var(--color-cta);
  text-decoration: underline;
  transition: color var(--transition);
}

.app-section__link:hover {
  color: var(--color-cta-hover);
}

/* Row of screenshots */
.app-section__screenshots--row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 8px;
}

.app-section__screenshots--row .app-section__screenshot {
  width: auto;
  max-width: 170px;
  height: auto;
  max-height: 360px;
  border-radius: var(--radius);
}

.app-section__screenshots--row .app-section__screenshot--large {
  max-width: 220px;
  max-height: 410px;
}

.app-section__screenshot-wrap {
  position: relative;
}

.app-section__screenshots--row .app-section__screenshot--ipad {
  max-width: 425px;
  border-radius: 0;
}

.app-section__badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 99px;
  height: 99px;
  object-fit: contain;
}

/* Download area inside each app section */
.app-section__download {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 32px;
  padding-top: 24px;
}

/* ZendLove gradient section */
.app-section--zendlove {
  background: linear-gradient(to bottom, #7DA9A7, #B7D8D6);
}

.app-section--zendlove .app-section__subtitle--cursive {
  color: #fff;
}

.app-section--zendlove .app-section__text--centered {
  color: #fff;
}

.app-section--zendlove .app-section__link {
  color: #fff;
  font-weight: 600;
}

/* ZendLove download area inherits white text from .app-section--zendlove */
.app-section--zendlove .app-section__download {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.app-section--zendlove .reviews__text,
.app-section--zendlove .reviews__author {
  color: #fff;
}

.app-section--zendlove .reviews__stars {
  color: #FFE066;
}

.app-section--zendlove .download-block__label,
.app-section--zendlove .download-block__qr-label {
  color: #fff;
}

.app-section__screenshots--zendlove .app-section__screenshot {
  max-width: 150px;
  border-radius: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.16));
}

.app-section__subtitle--zendlove {
  color: #fff;
}

/* ============================================
   Homepage — Download Block
   ============================================ */
.download-block {
  padding: 24px 32px 8px;
  max-width: 560px;
  margin: 0 auto 4px;
  text-align: center;
}

.download-block__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.download-block__btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
  text-decoration: none;
  white-space: nowrap;
  margin-top: 19px; /* (80px icon − 42px btn) ÷ 2 */
}

.download-block__btn:hover {
  background: var(--color-cta-hover);
}

.download-block__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.download-block__icon {
  width: 80px;
  height: 80px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.download-block__label {
  font-size: 12px;
  color: var(--color-text-light);
}

.download-block__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.download-block__qr img {
  width: 80px;
  height: 80px;
}

.download-block__qr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text);
}

.download-block__store {
  display: inline-block;
  margin-top: 20px; /* (80px icon − 40px badge) ÷ 2 */
}

.download-block__store-badge {
  height: 40px;
  width: auto;
}

/* ============================================
   Wellness / Health Notice callout
   — shared by focus-on-five.html and no-dont-do-it.html
   ============================================ */
.fof-wellness {
  background: #FFF9C4;
  padding: 32px 24px;
  border-radius: var(--radius);
  max-width: 700px;
  margin: 0 auto 40px;
}

.fof-wellness__inner {
  max-width: 700px;
  margin: 0 auto;
}

.fof-wellness__title {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  text-align: center;
}

.fof-wellness p {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.fof-wellness__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.fof-wellness__link:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   Page Video Section (YouTube embed)
   — shared by digix-amr1.html and zendlove.html
   ============================================ */
.video-section {
  background: #000000;
  padding: 40px 24px;
  text-align: center;
}

.video-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-section__player {
  position: relative;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-section--vertical .video-section__player {
  max-width: 320px;
  aspect-ratio: 9 / 16;
}

.video-section__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* ============================================
   Homepage — Reviews
   ============================================ */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 8px;
}

.reviews__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  line-height: 1.2;
}

.reviews__stars {
  color: #FF9800;
  font-size: 12px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.reviews__text {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.2;
}

.reviews__author {
  color: var(--color-text-light);
  font-size: 10px;
  font-style: italic;
  line-height: 1.2;
}

/* ============================================
   Homepage — Poster Section (Etsy)
   ============================================ */
.poster-section {
  background: #F0ADA0;
  padding: 48px 24px;
}

.poster-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.poster-section__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.poster-section__image-side {
  flex: 0 0 45%;
}

.poster-section__heading {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.poster-section__image {
  width: 100%;
  height: auto;
}

.poster-section__text-side {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
  color: #fff;
}

.poster-section__text-side p {
  margin-bottom: 16px;
}

.poster-section__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 12px;
}

.poster-section__etsy-logo {
  width: 50px;
  height: auto;
}

.poster-section__btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
  text-decoration: none;
}

.poster-section__btn:hover {
  background: var(--color-cta-hover);
}

.poster-section__note {
  font-size: 13px;
  opacity: 0.85;
  font-style: italic;
}

/* ============================================
   Homepage — Camera Showcase (DIGIX AMR1)
   ============================================ */
.camera-showcase {
  max-width: 680px;
  margin: 0 auto 32px;
}

.camera-showcase__block {
  margin-bottom: 40px;
  text-align: center;
}

#digix-amr1 .app-section__subtitle--cursive {
  color: var(--color-text-light);
}

.camera-showcase__heading {
  font-family: var(--font-teko);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}

.camera-showcase__sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.camera-showcase__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ============================================
   Gallery Section (Photo Gallery strip)
   ============================================ */
.gallery-section {
  background: #1a1a1a;
  padding: 40px 0;
}

.gallery-section__header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 28px;
}

.gallery-section__title {
  font-family: var(--font-cursive);
  font-size: 32px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.gallery-section__subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.gallery-section__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.gallery-section__link:hover {
  color: var(--color-cta-hover);
}

.gallery-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 24px;
}

.gallery-section__photo {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
}

/* ============================================
   Compositions Section (Rule Grid)
   ============================================ */
.compositions-section {
  padding: 48px 24px;
  background: linear-gradient(to bottom, #E8E0F0, #F3EEF8);
}

.compositions-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.compositions-section__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.compositions-section__intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 680px;
  margin: 0 auto 28px;
}

.compositions-section__note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.compositions-section__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.compositions-section__link:hover {
  color: var(--color-cta-hover);
}

.compositions-section__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.compositions-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compositions-section__item img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.compositions-section__item span {
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

.compositions-section__footer {
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  padding: 48px 24px;
  background: var(--color-bg);
}

.faq-section__inner {
  max-width: 740px;
  margin: 0 auto;
}

.faq-section__title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 24px;
}

.faq-section__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-section__item {
  border-bottom: 1px solid var(--color-border);
}

.faq-section__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-section__question {
  display: block;
  padding: 16px 32px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.5;
}

.faq-section__question::-webkit-details-marker {
  display: none;
}

.faq-section__question::marker {
  display: none;
  content: "";
}

.faq-section__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-text-light);
  transition: transform var(--transition);
}

.faq-section__item[open] .faq-section__question::after {
  content: '\2212';
}

.faq-section__answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.faq-section__answer p {
  margin-bottom: 12px;
}

.faq-section__answer p:last-child {
  margin-bottom: 0;
}

.faq-section__answer a {
  color: var(--color-cta);
  text-decoration: underline;
}

.faq-section__answer a:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   Media Queries — 900px
   ============================================ */
@media (max-width: 900px) {
  .app-section__content--split {
    flex-direction: column;
    gap: 24px;
  }

  .app-section__screenshots--wise-camera {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .poster-section__content {
    flex-direction: column;
    gap: 24px;
  }

  .poster-section__image-side {
    flex: none;
    max-width: 400px;
    margin: 0 auto;
  }

  .camera-showcase__image {
    max-width: 100%;
  }

  .gallery-section__photo {
    border-radius: var(--radius);
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
}

/* ============================================
   Media Queries — 768px (Mobile)
   ============================================ */
@media (max-width: 768px) {
  .app-section {
    padding: 36px 16px;
  }

  .app-section__title--brand {
    font-size: 38px;
  }

  .app-section__title--teko {
    font-size: 56px;
  }

  .app-section__title--zendlove {
    font-size: 56px;
  }

  .app-section__subtitle--cursive {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .app-section__screenshots--row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .app-section__screenshots--row .app-section__screenshot {
    max-width: 160px;
    max-height: 320px;
  }

  .app-section__screenshots--row .app-section__screenshot--ipad {
    max-width: 520px;
  }

  .app-section__screenshots--row:has(.app-section__screenshot-wrap) {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 12px;
    row-gap: 24px;
    justify-content: center;
    align-items: start;
  }

  .app-section__screenshots--row .app-section__screenshot-wrap {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .app-section__screenshots--zendlove .app-section__screenshot {
    max-width: 140px;
  }

  .download-block {
    padding: 20px 16px;
    max-width: 100%;
  }

  .download-block__btn,
  .download-block__store {
    margin-top: 0;
  }

  .download-block__row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .camera-showcase__sub {
    margin-bottom: 12px;
  }

  .gallery-section {
    padding: 32px 0;
  }

  .gallery-section__title {
    font-size: 26px;
  }

  .compositions-section {
    padding: 36px 16px;
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .faq-section {
    padding: 36px 16px;
  }

  .faq-section__question {
    font-size: 14px;
  }

  .faq-section__answer {
    font-size: 14px;
  }

  .poster-section {
    padding: 36px 16px;
  }

  .poster-section__heading {
    font-size: 16px;
  }

  .reviews__item {
    font-size: 12px;
  }
}

/* ============================================
   Media Queries — 480px (Small Mobile)
   ============================================ */
@media (max-width: 480px) {
  .app-section__screenshots--row .app-section__screenshot {
    max-width: 130px;
    max-height: 260px;
  }

  .app-section__screenshots--row .app-section__screenshot--ipad {
    max-width: min(400px, 92vw);
  }

  .app-section__screenshots--zendlove .app-section__screenshot {
    max-width: 110px;
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
  }

  .compositions-section__item span {
    font-size: 11px;
  }

  .download-block__icon {
    width: 64px;
    height: 64px;
  }

  .download-block__qr {
    display: none;
  }
}
