/* ============================================================
 * Features + Reviews — Warm Sand content bands.
 * A slightly lighter pearl tone than the body sand differentiates
 * these sections; gold accents + ink text match the app.
 * Loaded AFTER midnight-glass.css.
 * ============================================================ */

#features,
#review {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(168, 150, 95, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 95% 100%, rgba(47, 184, 196, 0.08), transparent 60%),
    linear-gradient(180deg, #FBF8F1 0%, #ECE5D8 100%) !important;
  color: #2A2722 !important;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Dot grid texture — full coverage, no edge fade. */
#features::before,
#review::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(42, 39, 34, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: -1;
  pointer-events: none;
}

/* ---- Section headings ---- */
#features h2,
#features h2.title,
#review h2,
#review h2.title {
  background: none !important;
  -webkit-text-fill-color: #2A2722 !important;
  color: #2A2722 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

#features .intro h2::after,
#review .intro h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 1.25rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #A8965F, #8A7A4F);
}

#features .intro p,
#review .intro p {
  color: #6E685C !important;
}

/* ---- Equal-height cards: stretch columns (markup uses align-items-center,
   which centers and exposes the height differences). Make each column a flex
   item and let the card fill it, then vertically center the card content. ---- */
#features .row.items,
#review .row.items {
  align-items: stretch !important;
}
#features .row.items > .item,
#review .row.items > .item {
  display: flex;
}

/* ---- Feature cards ---- */
#features .image-box,
#features .image-box.layout-2 {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 22px !important;
  padding: 2.5rem 2rem !important;
  margin-bottom: 1.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 12px 32px -14px rgba(42, 39, 34, 0.16);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

#features .image-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(168, 150, 95, 0.40);
  border-color: rgba(168, 150, 95, 0.55) !important;
}

#features .image-box .icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 1.75rem !important;
  /* base style.css の `.icon { margin: auto }` を上書き。flex カラム内で
     margin-top:auto が上部の余白を吸収しコンテンツを下端へ押し下げる
     (= justify-content が無効化される) 問題を解消。横中央寄せの auto は維持。 */
  margin: 0 auto 1.25rem !important;
  background: linear-gradient(135deg, rgba(168, 150, 95, 0.20), rgba(168, 150, 95, 0.06)) !important;
  color: #8A7A4F !important;
  -webkit-text-fill-color: #8A7A4F !important;
  border: 1px solid rgba(168, 150, 95, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.35s ease;
}

#features .image-box:hover .icon {
  transform: scale(1.08) rotate(-3deg);
}

#features .image-box .content {
  padding: 0 0.5rem;
}

#features .image-box h4,
#features .image-box .content h4 {
  color: #2A2722 !important;
  -webkit-text-fill-color: #2A2722 !important;
  font-weight: 700 !important;
  background: none !important;
}

#features .image-box p {
  color: #6E685C !important;
  line-height: 1.7;
}

/* ---- Review cards ---- */
#review .reviews,
#review .reviews.card,
#review .card {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 22px !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px -14px rgba(42, 39, 34, 0.16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Review body grows so the gold meta bar lines up at the bottom of every card */
#review .reviews .content {
  flex: 1 1 auto;
}

#review .reviews p,
#review .card p {
  color: #6E685C !important;
}

#review .review-icon,
#review .review-icon i {
  color: #A8965F !important;
}

#review .review-meta,
#review .review-meta.primary-bg {
  background: linear-gradient(135deg, #A8965F 0%, #8A7A4F 100%) !important;
}

#review .review-meta .reviewer-name,
#review .review-meta h6,
#review .review-meta span,
#review .review-meta * {
  color: #fff !important;
}

/* ---- Hero shape-bottom: hide entirely for a clean flat boundary. ---- */
.hero-section .shape-bottom {
  display: none !important;
}

/* ---- Screenshots: transparent, sits on the body sand ---- */
#screenshots {
  position: relative;
  background: transparent !important;
}

/* Reviews → Download transition: soft warm taper at top */
.download-area {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 150, 95, 0.10), transparent 70%) !important;
}
