/* ============================================================
   Amal — أمل — Marketing Website Styles
   Organised by: base → typography → layout → components → sections → pages → utilities
   ============================================================ */

/* ── Google Fonts (imported via <link> in HTML) ──────────────────────────── */

/* ── CSS Custom Properties ───────────────────────────────────────────────── */
:root {
  /* Colours */
  --teal:         #1A7A62;
  --teal-dark:    #155f4d;
  --teal-light:   #E0F4EE;
  --purple:       #7C5CBF;
  --purple-light: #EDE8F8;
  --cream:        #F5F4F0;
  --white:        #FFFFFF;
  --navy:         #1B2A4A;
  --gold:         #C9A84C;
  --text:         #1A1A1A;
  --text-muted:   #888780;
  --border:       #E2E0DA;
  --error:        #C0392B;
  --coral-soft:   #FFF0ED;
  --coral-border: #E8B4AA;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic:  'Noto Naskh Arabic', 'Arial', sans-serif;

  /* Spacing */
  --section-pad:  5rem 1.5rem;
  --section-pad-sm: 3.5rem 1.5rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);

  /* Transitions */
  --transition: 0.25s ease;
}

/* ── 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(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-dark);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.lead {
  font-size: 1.175rem;
  line-height: 1.7;
  color: #3a3a38;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Arabic text */
.arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  line-height: 2;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-pad);
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--teal);
}

.nav__cta {
  background: var(--teal);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav__cta:hover {
  background: var(--teal-dark) !important;
  color: white !important;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,122,98,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn--outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: #b8943f;
  border-color: #b8943f;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero__arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.hero__body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3a3a38;
  margin-bottom: 1rem;
}

.hero__subtext {
  font-size: 0.975rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero__trust {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Botanical SVG illustration */
.hero__botanical {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.botanical-sprig {
  animation: botanicalSway 6s ease-in-out infinite;
  transform-origin: 50% 95%;
}

@keyframes botanicalSway {
  0%   { transform: rotate(-2deg); }
  50%  { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}

/* Background decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,122,98,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── How It Works ────────────────────────────────────────────────────────── */
.how-it-works {
  background: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.875rem;
}

.section-heading {
  margin-bottom: 0.75rem;
}

.section-subheading {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 540px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}

.step-card p {
  font-size: 0.975rem;
  color: #5a5a58;
  line-height: 1.65;
}

/* ── Why Amal ────────────────────────────────────────────────────────────── */
.why-amal {
  background: var(--purple-light);
  padding: var(--section-pad);
}

.why-amal__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.why-amal h2 {
  margin-bottom: 1.25rem;
}

.why-amal .lead {
  margin-bottom: 1.5rem;
}

.why-amal .arabic {
  text-align: center;
  font-size: 1rem;
  color: var(--purple);
  margin-top: 1rem;
}

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-meta .location {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: #3a3a38;
  position: relative;
  padding-left: 1rem;
}

.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  left: -0.125rem;
  top: -0.25rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--teal-light);
  line-height: 1;
}

/* ── Founder Credibility Strip ───────────────────────────────────────────── */
.founder-strip {
  background: var(--cream);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
}

.founder-strip__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 3.5rem;
  align-items: center;
}

/* CSS Book Cover Card */
.book-cover-card {
  width: 160px;
  height: 220px;
  flex-shrink: 0;
  background: #FAF8F3;
  border-radius: var(--radius-sm);
  box-shadow: 4px 6px 20px rgba(0,0,0,0.18), -1px 0 0 rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0.75rem;
  position: relative;
  overflow: hidden;
}

/* Grid + flow lines SVG area at top of card */
.book-cover-card__art {
  width: 100%;
  height: 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.book-cover-card__title-block {
  width: 100%;
  text-align: center;
  padding: 0.375rem 0;
}

.book-cover-card__rule {
  width: 100%;
  height: 1px;
  background: var(--gold);
  display: block;
  margin: 0.3rem 0;
}

.book-cover-card__title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.book-cover-card__subtitle {
  font-size: 0.42rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.4;
  margin-top: 0.2rem;
  opacity: 0.8;
}

.book-cover-card__author {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: auto;
}

.founder-strip__text {
  flex: 1;
}

.founder-strip__text h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.founder-strip__text p {
  color: #4a4a48;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.founder-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.925rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.founder-strip__link:hover {
  color: #b8943f;
  border-color: #b8943f;
}

/* ── Page Intro (about page) ────────────────────────────────────────────── */
.page-intro {
  background: var(--teal-light);
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid rgba(26,122,98,0.15);
}

.page-intro p {
  font-size: 1.075rem;
  color: #2a5a4a;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.page-intro h2 {
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── The Gap Section ─────────────────────────────────────────────────────── */
.gap-section {
  background: var(--purple-light);
  padding: var(--section-pad);
}

.gap-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.gap-col {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.gap-col--highlight {
  border: 2px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(124,92,191,0.08);
}

.gap-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.gap-col p {
  font-size: 0.975rem;
  color: #5a5a58;
  line-height: 1.7;
}

.gap-tagline {
  text-align: center;
  padding-top: 1rem;
}

.gap-tagline p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.gap-tagline .arabic {
  font-size: 1rem;
  color: var(--purple);
  text-align: center;
}

/* ── Stepping Stone Section ──────────────────────────────────────────────── */
.stepping-stone {
  background: var(--white);
  padding: var(--section-pad);
}

.stepping-stone__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stepping-stone__inner .section-heading {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.stepping-stone__body {
  font-size: 1.05rem;
  color: #4a4a48;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.outcome-card {
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.outcome-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

.outcome-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.625rem;
  color: var(--teal-dark);
}

.outcome-card p {
  font-size: 0.925rem;
  color: #3a5a4a;
  line-height: 1.65;
}

.stepping-stone__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ── Who Section (about page) ────────────────────────────────────────────── */
.who-section {
  background: var(--cream);
  padding: var(--section-pad);
}

.who-row {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.who-row:last-child {
  border-bottom: 1px solid var(--border);
}

.who-lead {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.who-row p:not(.who-lead) {
  font-size: 0.975rem;
  color: #5a5a58;
  line-height: 1.7;
  max-width: 580px;
}

/* ── Is Amal For Me page ─────────────────────────────────────────────────── */
.fit-section {
  padding: 4rem 1.5rem;
}

.fit-section--yes {
  background: var(--white);
}

.fit-section--maybe {
  background: var(--cream);
}

.fit-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 680px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
}

.checklist-item--yes {
  background: var(--teal-light);
}

.checklist-item--warn {
  background: #FFF8EC;
  border: 1px solid #E8D4A0;
}

.checklist-icon {
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 20px;
}

.checklist-item--yes .checklist-icon {
  color: var(--teal);
}

.checklist-item--warn .checklist-icon {
  color: #B8860B;
}

.checklist-item p {
  font-size: 1rem;
  color: #3a3a38;
  line-height: 1.6;
  margin: 0;
}

.support-signpost {
  margin-top: 2.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  max-width: 680px;
}

.support-signpost p {
  font-size: 0.975rem;
  color: #4a4a48;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.support-signpost p:last-child {
  margin-bottom: 0;
}

.honest-truth {
  background: var(--purple-light);
  padding: 5rem 1.5rem;
  text-align: center;
}

.honest-truth h2 {
  margin-bottom: 2rem;
}

.honest-truth__body {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.175rem;
  color: #3a3050;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fit-cta {
  background: var(--teal-light);
  padding: 5rem 1.5rem;
}

.fit-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.fit-cta p {
  color: var(--text-muted);
  font-size: 1rem;
}

.fit-cta__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.875rem !important;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: var(--teal);
  position: relative;
  box-shadow: 0 0 0 4px rgba(26,122,98,0.08);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card__price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: #5a5a58;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.pricing-cancel {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ── Signup Form ─────────────────────────────────────────────────────────── */
.signup {
  background: var(--teal-light);
  padding: var(--section-pad);
}

.signup__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.signup h2 {
  margin-bottom: 0.5rem;
}

.signup .arabic {
  text-align: center;
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 2.25rem;
}

/* Form */
.signup-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group .optional-label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888780' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,122,98,0.12);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--error);
}

.field-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-submit-btn {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  line-height: 1.5;
}

.form-error {
  background: #fdf2f2;
  border: 1px solid #f0c0bc;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--error);
  margin-top: 1rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Success state */
.signup-success {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.signup-success.visible {
  display: block;
}

.signup-success .success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.signup-success h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--teal);
}

.signup-success p {
  color: #4a4a48;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.signup-success .whatsapp-number {
  font-weight: 700;
  color: var(--teal);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand .logo-mark {
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.15);
}

.footer__tagline {
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}

.footer__col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: white;
}

.footer__bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── About Page ──────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--cream);
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.page-hero h1 {
  max-width: 720px;
  margin: 0 auto 1rem;
}

.page-hero .lead {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Founder story prose */
.founder-story {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.founder-story__inner {
  max-width: 680px;
  margin: 0 auto;
}

.founder-story p {
  font-size: 1.075rem;
  line-height: 1.85;
  color: #3a3a38;
  margin-bottom: 1.5rem;
}

.founder-story__signature {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--teal);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* About book section */
.about-book {
  background: var(--cream);
  padding: var(--section-pad);
}

.about-book__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-book__text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.about-book__text .subtitle {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.925rem;
  margin-bottom: 0.375rem;
}

.about-book__text .author {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.about-book__text p {
  font-size: 0.975rem;
  color: #5a5a58;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* What Amal is/isn't */
.is-isnt {
  background: var(--white);
  padding: var(--section-pad);
}

.is-isnt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.is-isnt__col {
  border-radius: var(--radius-md);
  padding: 2rem;
}

.is-isnt__col--is {
  background: var(--teal-light);
}

.is-isnt__col--isnt {
  background: #f2f2f0;
}

.is-isnt__col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.is-isnt__col--is h3 {
  color: var(--teal);
}

.is-isnt__col--isnt h3 {
  color: var(--text-muted);
}

.is-isnt__col li {
  font-size: 0.975rem;
  color: #3a3a38;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.is-isnt__col li::before {
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

.is-isnt__col--is li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.is-isnt__col--isnt li::before {
  content: '✕';
  color: var(--text-muted);
}

/* Crisis box */
.crisis-box {
  max-width: 800px;
  margin: 3rem auto 0;
  background: var(--coral-soft);
  border: 1px solid var(--coral-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.crisis-box__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.crisis-box p {
  font-size: 0.95rem;
  color: #6b3530;
  line-height: 1.65;
}

.crisis-box strong {
  color: #5a2820;
}

/* ── Privacy Page ────────────────────────────────────────────────────────── */
.privacy-content {
  padding: 4rem 1.5rem 5rem;
  background: var(--white);
}

.privacy-content__inner {
  max-width: 700px;
  margin: 0 auto;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.privacy-section p {
  color: #4a4a48;
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 0.875rem;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section ul {
  margin: 0.75rem 0;
  padding-left: 0;
}

.privacy-section li {
  font-size: 0.975rem;
  color: #4a4a48;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.privacy-section li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ── Scroll Reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Hamburger nav ───────────────────────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Signup subtext */
.signup__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ── Pilot Feedback ─────────────────────────────────────────────────────────── */

.pilot-feedback {
  padding: var(--section-pad-sm);
  background: var(--purple-light);
}

.pilot-feedback__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.pilot-feedback__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.pilot-feedback__body {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.pilot-feedback__body:last-child {
  margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pricing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero__arabic {
    text-align: center;
  }

  .hero__subtext {
    text-align: left;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__botanical {
    order: -1;
    max-height: 240px;
    overflow: hidden;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .founder-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .is-isnt__grid {
    grid-template-columns: 1fr;
  }

  .about-book__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 3.25rem 1.25rem;
  }

  /* ── Mobile nav ── */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links li:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
  }

  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text);
  }

  .nav__cta {
    display: block !important;
    text-align: center;
    padding: 0.75rem 1.25rem !important;
  }

  /* ── Hero ── */
  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero__botanical {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero__subtext {
    font-size: 0.9rem;
  }

  /* ── Steps ── */
  .step-card {
    padding: 1.5rem;
  }

  /* ── Pricing ── */
  .pricing-grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .pricing-card {
    padding: 1.25rem 1rem;
  }

  .pricing-card__price {
    font-size: 1.6rem;
  }

  .pricing-card__desc {
    font-size: 0.8rem;
  }

  /* ── Why Amal ── */
  .why-amal__inner {
    text-align: left;
  }

  /* ── Signup ── */
  .signup-form {
    padding: 1.75rem 1.25rem;
  }

  /* ── Footer ── */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* ── Misc ── */
  .crisis-box {
    flex-direction: column;
    gap: 0.75rem;
  }

  .testimonials-grid {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }
}

@media (max-width: 400px) {
  .pricing-grid--4 {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}
