/* ── Variables ── */
:root {
  --bg:       #f7f3ee;
  --bg-card:  #ffffff;
  --surface:  #ede8e0;
  --fg:       #1a1208;
  --fg-muted: #7a6e62;
  --accent:   #d4593a;
  --accent-dk:#b0442a;
  --navy:     #0b1120;
  --navy-mid: #1c2b45;
  --border:   #e0d9d0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; font-weight: 700; line-height: 1.25; }
.section-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 3rem;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  direction: rtl;
}

/* ── Hero ── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--navy);
  line-height: 1.15;
}
.headline-accent { color: var(--accent); }
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 44ch;
  line-height: 1.75;
}
.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(11,17,32,0.14);
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.hero-badge {
  position: absolute;
  bottom: -14px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(11,17,32,0.25);
}
.badge-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #4ade80;
  animation: pulse 1.8s ease-in-out infinite;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--navy);
  border-radius: 16px;
  color: #fff;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  direction: rtl;
}
.stat-sep {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Manifesto ── */
.manifesto {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2rem;
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.manifesto-quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.5;
  margin-bottom: 1.5rem;
}
.manifesto-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.65;
  color: #f0ece6;
  margin-bottom: 1.75rem;
}
.manifesto-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 60ch;
}

/* ── Features ── */
.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.features-header { margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(11,17,32,0.1);
}
.feature-card--wide { grid-column: 1; grid-row: 1 / 3; }
.feature-card--cta {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}
.feature-card--cta .feature-tag { background: rgba(212,89,58,0.2); color: var(--accent); }
.feature-img-wrap { overflow: hidden; }
.feature-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-img { transform: scale(1.03); }
.feature-card--cta .feature-img-wrap { display: none; }
.feature-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.feature-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.feature-card--cta .feature-title { color: #fff; }
.feature-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }
.feature-card--cta .feature-desc { color: rgba(255,255,255,0.6); }
.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
  background: var(--surface);
  color: var(--fg-muted);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-top: 0.25rem;
  width: fit-content;
}
.cta-eyebrow {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Pricing ── */
.pricing {
  background: var(--surface);
  padding: 5rem 2rem;
}
.pricing-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: right;
  margin-top: 2rem;
}
.pricing-badge {
  display: inline-block;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.price-currency {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg-muted);
}
.price-amount {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.pricing-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.pricing-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.pricing-context {
  margin-top: 1.5rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
}

/* ── Closing ── */
.closing {
  background: var(--accent);
  padding: 5rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.closing-pillars {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.pillar-icon { color: rgba(255,255,255,0.6); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.4);
  padding: 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-logo {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.footer-tagline { font-size: 0.75rem; }
.footer-meta { font-size: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-sep { opacity: 0.4; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: 1; grid-row: auto; }
  .hero-stats { gap: 1.5rem; padding: 1.5rem; }
  .stat-num { font-size: 1.5rem; }
  .closing-pillars { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .stat-sep { width: 40px; height: 1px; }
  .nav-tagline { display: none; }
  .manifesto { padding: 3.5rem 1.25rem; }
  .features, .pricing-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
}