/* ===== ماما صحتي — بكج بيلاتس ما بعد الولادة ===== */

:root {
  --green: #2f4a3d;
  --green-dark: #83917a;
  --green-light: #e7efe9;
  --green-mid: #4c7060;
  --check-green: #1f9d55;

  --red: #e0483d;
  --red-dark: #c53a30;

  --gold: #d9a441;
  --gold-light: #f7e9c9;

  --bg: #f7f6f3;
  --white: #ffffff;
  --ink: #201f1c;
  --ink-muted: #6b6f6c;
  --ink-soft: #93968f;
  --border: #e8e5de;

  --font-heading: "Cairo", sans-serif;
  --font-body: "Tajawal", sans-serif;

  --radius: 1rem;
  --shadow: 0 4px 20px -6px rgba(32, 31, 28, 0.1);
  --shadow-lg: 0 14px 34px -10px rgba(47, 74, 61, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.75rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; }
::selection { background: var(--gold-light); color: var(--green-dark); }

.container { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 3.25rem; }
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
}
.section-sub {
  text-align: center;
  color: var(--ink-muted);
  max-width: 34rem;
  margin: 0.6rem auto 0;
  line-height: 1.7;
}

/* ---- header ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.brand-logo {
  height: 3rem;
  width: auto;
}
.site-header .brand-logo {
  height: 5.5rem;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(0); }
.btn-order {
  background: var(--green);
  color: #fff;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
}
.btn-order:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-order .old-price {
  text-decoration: line-through;
  opacity: 0.65;
  font-weight: 500;
  font-size: 0.9rem;
}
.btn-block { width: 100%; }
.btn-outline {
  border: 2px solid var(--green);
  color: var(--green-dark);
  padding: 0.9rem 1.6rem;
}

/* ---- hero ---- */
.hero { padding-block: 2.25rem 1.5rem; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.35rem;
}
.hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 36rem;
  margin-inline: auto;
}
.hero p.sub {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-inline: auto;
  line-height: 1.75;
}
.hero-cta { margin-top: 1.75rem; }
.trust-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.35rem; }
.trust-row svg { width: 15px; height: 15px; color: var(--green-mid); }

/* ---- bundle banner ---- */
.bundle-banner {
  position: relative;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}
/* ---- file cards grid ---- */
.files-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .files-grid { gap: 1.25rem; margin-top: 2.5rem; }
}
.file-card {
  position: relative;
  background: var(--white);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
@media (min-width: 640px) {
  .file-card { border-radius: var(--radius); }
}
.file-cover {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 2px dashed var(--border);
}
.file-cover svg { width: 22px; height: 22px; }
.file-cover span { font-size: 0.62rem; font-weight: 700; }
.file-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) {
  .file-cover svg { width: 30px; height: 30px; }
  .file-cover span { font-size: 0.75rem; }
}
.file-ribbon {
  position: absolute;
  top: 0.5rem; inset-inline-start: 0.5rem;
  background: rgba(255,255,255,0.92);
  color: var(--green-dark);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
@media (min-width: 640px) {
  .file-ribbon { top: 0.75rem; inset-inline-start: 0.75rem; font-size: 0.72rem; padding: 0.25rem 0.65rem; }
}
.file-body { padding: 0.7rem 0.7rem 0.85rem; }
.file-body h3 { font-size: 0.78rem; font-weight: 700; line-height: 1.45; }
@media (min-width: 640px) {
  .file-body { padding: 1rem 1.1rem 1.2rem; }
  .file-body h3 { font-size: 1rem; line-height: 1.5; }
}
.file-tag {
  display: inline-block;
  margin-top: 0.45rem;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
@media (min-width: 640px) {
  .file-tag { margin-top: 0.6rem; font-size: 0.78rem; padding: 0.25rem 0.7rem; }
}

/* ---- stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 26rem;
  margin-inline: auto;
  text-align: center;
}
.stats-bar .stat svg { width: 26px; height: 26px; color: var(--green); margin-inline: auto; }
.stats-bar .stat .num {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--green-dark);
}
.stats-bar .stat .label { margin-top: 0.2rem; font-size: 0.82rem; color: var(--ink-muted); }

/* ---- feature + social-proof flow (interleaved, multi-column) ---- */
.flow-grid {
  columns: 1;
  column-gap: 1.1rem;
  margin-top: 2.25rem;
  max-width: 34rem;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .flow-grid { columns: 2; max-width: none; }
}
@media (min-width: 900px) {
  .flow-grid { columns: 3; }
}
.flow-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}
.feature-card .ic {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.feature-card .ic svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; }
.feature-card p { margin-top: 0.3rem; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.6; }

/* ---- feature pairs (section B) ---- */
.feature-pairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
}
@media (min-width: 640px) {
  .feature-pairs { grid-template-columns: repeat(2, 1fr); }
}
.feature-pair {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
}
.feature-pair .ic {
  width: 4rem; height: 4rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem;
  line-height: 1;
}
.feature-pair .ic img { width: 100%; height: 100%; object-fit: contain; }
.feature-pair .text { min-width: 0; }
.feature-pair h3 { font-size: 1rem; font-weight: 700; }
.feature-pair p { margin-top: 0.25rem; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.6; }

/* ---- quote block ---- */
.quote-block { text-align: center; padding-block: 1rem; }
.quote-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.quote-row .quote-mark:last-child { transform: scaleX(-1); }
.quote-block h2 { font-size: clamp(1.8rem, 4.2vw, 2.5rem); font-weight: 800; }
.quote-block p { margin-top: 0.75rem; color: var(--ink-muted); font-size: 1.05rem; max-width: 30rem; margin-inline: auto; line-height: 1.7; }

/* ---- detailed files (cover-card style, covers provided by user) ---- */
.detail-files {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .detail-files { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.cover-card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.cover-card-head { display: flex; align-items: center; gap: 0.5rem; }
.cover-ribbon {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.cover-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.cover-card h3 { margin-top: 0.5rem; font-size: 0.85rem; font-weight: 700; line-height: 1.45; }
.cover-slot {
  margin-top: 0.75rem;
  aspect-ratio: 3 / 4;
  border-radius: 0.6rem;
  border: 2px dashed var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--ink-soft);
  overflow: hidden;
}
.cover-slot svg { width: 22px; height: 22px; }
.cover-slot span { font-size: 0.6rem; font-weight: 700; text-align: center; padding: 0 0.4rem; }
.cover-slot img { width: 100%; height: 100%; object-fit: cover; }
.cover-card .file-tag { margin-top: 0.65rem; }
.cover-card p { margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.75rem; line-height: 1.6; }

/* ---- testimonials (social screenshot style) ---- */
.social-card {
  background: var(--white);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}
.social-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.social-who { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.social-avatar {
  position: relative;
  width: 2.6rem; height: 2.6rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  overflow: hidden;
}
.social-avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.social-who .who-text { min-width: 0; }
.social-who strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; }
.social-who small { display: block; color: var(--ink-soft); font-size: 0.75rem; direction: ltr; text-align: right; }
.rating-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.35rem 0.5rem;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.rating-badge svg { width: 11px; height: 11px; }
.social-text { margin-top: 0.85rem; color: var(--ink); font-size: 0.92rem; line-height: 1.8; }

/* ---- comparison table ---- */
.table-wrap { overflow-x: auto; margin-top: 2.25rem; }
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
}
.compare-table th {
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
}
.compare-table td {
  padding: 0.9rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table td.label-cell { text-align: start; font-weight: 700; color: var(--ink); }
.mark-icon { display: inline-flex; width: 1.6rem; height: 1.6rem; align-items: center; justify-content: center; }
.mark-icon.yes { color: var(--check-green); }
.mark-icon.no { color: var(--red); }
.mark-icon svg { width: 22px; height: 22px; }

/* ---- FAQ ---- */
.accordion-item { background: var(--white); border-radius: 0.9rem; box-shadow: var(--shadow); margin-bottom: 0.7rem; overflow: hidden; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-align: start;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.accordion-trigger .plus {
  width: 1.6rem; height: 1.6rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease;
}
.accordion-trigger .plus svg { width: 14px; height: 14px; }
.accordion-item.open .accordion-trigger .plus { transform: rotate(135deg); background: var(--gold-light); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-panel p { padding: 0 1.2rem 1.1rem; color: var(--ink-muted); line-height: 1.7; font-size: 0.92rem; }

/* ---- order box ---- */
.order-box {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.order-box h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.order-box p { margin-top: 0.6rem; color: rgba(255,255,255,0.85); max-width: 28rem; margin-inline: auto; line-height: 1.7; }
.order-box .price-line { margin-top: 1.25rem; display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; }
.order-box .price-line .new { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; }
.order-box .price-line .old { text-decoration: line-through; opacity: 0.6; font-size: 1.1rem; }
.order-box .btn-order-white {
  margin-top: 1.5rem;
  background: #fff;
  color: var(--green-dark);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35);
}

/* ---- footer ---- */
.site-footer { text-align: center; padding-block: 2.25rem; color: var(--ink-soft); font-size: 0.85rem; }
.site-footer .brand-lockup { margin-bottom: 0.75rem; }
.site-footer p { margin-top: 0.35rem; }

/* ---- sticky bar + whatsapp ---- */
.sticky-bar {
  position: fixed;
  bottom: 0; inset-inline: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px -8px rgba(0,0,0,0.15);
  padding: 0.65rem 1rem;
}
.sticky-bar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1080px;
  margin-inline: auto;
}
.sticky-bar .offer-badge {
  position: absolute;
  top: -0.6rem;
  inset-inline-start: 1.25rem;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}
.sticky-bar .prices { display: flex; flex-direction: column; }
.sticky-bar .prices .old { text-decoration: line-through; color: var(--ink-soft); font-size: 0.78rem; }
.sticky-bar .prices .new { font-family: var(--font-heading); font-weight: 800; color: var(--green-dark); font-size: 1.05rem; }
.btn-urgent {
  background: var(--red);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -6px rgba(224, 72, 61, 0.5);
}
.btn-urgent:hover { background: var(--red-dark); }

.instagram-btn {
  position: fixed;
  bottom: 5.25rem; inset-inline-end: 1rem;
  z-index: 41;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.instagram-btn svg { width: 24px; height: 24px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
