:root {
  --bg: #f5f3ef;
  --bg-alt: #ebe6dc;
  --surface: #ffffff;
  --text: #1a1f1c;
  --text-muted: #5c635e;
  --green-dark: #1a3d2e;
  --green-mid: #2d5240;
  --green-deep: #0f2818;
  --gold: #c9a227;
  --gold-light: #e8d48a;
  --gold-dark: #9a7b1a;
  --accent-soft: #edf2ee;
  --border: #d9d4c8;
  --shadow: 0 16px 48px rgba(15, 40, 24, 0.12);
  --radius: 16px;
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 92vw);
}

.center {
  text-align: center;
}

a {
  color: var(--gold-dark);
}

/* Top bar */
.top-bar {
  background: var(--green-deep);
  color: white;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.brand-mark {
  font-size: 1.1rem;
  color: var(--gold);
}

.social-proof-pill {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-light);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(165deg, var(--green-deep) 0%, var(--green-dark) 45%, var(--green-mid) 100%);
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.25rem;
  font-weight: 400;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hero-benefits li {
  padding: 0.4rem 0;
  padding-inline-start: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.hero-benefits li::before {
  content: "✦";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.price-old {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  font-size: 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Book cover */
.book-showcase {
  display: flex;
  justify-content: center;
}

.book-cover-img {
  width: min(320px, 85vw);
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--green-deep);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--green-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: white;
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
}

.section-title .accent {
  color: var(--gold-dark);
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.results-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-top: 2rem;
  border-top: 3px solid var(--gold);
}

.results-card h3 {
  margin-top: 0;
  color: var(--green-dark);
}

.results-card ul {
  padding-inline-start: 1.25rem;
}

.results-card li {
  margin-bottom: 0.5rem;
}

.soft-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-style: italic;
}

/* Week tabs */
.week-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.week-tab {
  font-family: inherit;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: var(--text);
}

.week-tab.active,
.week-tab:hover {
  background: var(--green-dark);
  color: var(--gold-light);
  border-color: var(--green-dark);
}

.week-panels {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  max-width: 640px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}

.week-panel {
  display: none;
}

.week-panel.active {
  display: block;
}

.week-panel h3 {
  margin-top: 0;
  color: var(--green-dark);
}

.cta-wrap {
  margin-top: 2rem;
}

/* Author */
.author-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.author-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--gold);
}

.author-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-banner {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  color: white;
}

.pricing-banner p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-banner strong {
  color: var(--gold-light);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  border-inline-start: 3px solid var(--gold);
}

.testimonial p {
  margin: 0 0 1rem;
  font-style: italic;
}

.testimonial footer {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--green-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: inline-start;
  margin-inline-end: 0.75rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--accent-soft) 100%);
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--green-dark);
}

.cta-book-thumb {
  width: 120px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.checkout-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  text-align: center;
}

.disclaimer,
.disclaimer-en {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links a {
  color: var(--gold-light);
}

.copyright {
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid,
  .author-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .author-photo-wrap {
    max-width: 280px;
    margin-inline: auto;
  }
}
