/* simplified CSS, same as before but trimmed for brevity */


:root {
  --crimson: #8a0c0c;
  --black: #000000;
  --gold: #cba24a;
  --light-bg: #f7f7f7;
  --text-main: #222222;
  --text-muted: #555555;
  --border-soft: #e0e0e0;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

header {
  border-bottom: 1px solid var(--border-soft);
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-left { display: flex; align-items: center; gap: 12px; }

.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--crimson);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

#brand-tagline-ar { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--crimson); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), #5a0505);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(138, 12, 12, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--crimson);
  border: 1px solid rgba(138, 12, 12, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(138, 12, 12, 0.06);
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  padding: 40px 0 32px;
  background: radial-gradient(circle at top left, rgba(203, 162, 74, 0.14), transparent 55%),
              radial-gradient(circle at bottom right, rgba(138, 12, 12, 0.1), transparent 55%),
              #ffffff;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 12px;
}

.hero-highlight { color: var(--crimson); }

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 18px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--crimson);
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.pill-stat {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  font-size: 0.78rem;
}

.section {
  padding: 32px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(138, 12, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--crimson);
}

.card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
  background: #ffffff;
}

.signup {
  background: var(--light-bg);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 32px 0;
}

.signup-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.field { margin-bottom: 10px; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 9px;
  font-size: 0.86rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Language sections */
.lang-section { display: none; }
.lang-en { display: inline-flex; }
.lang-ar { display: none; }

@media (max-width: 900px) {
  .hero-grid,
  .cards-grid,
  .pricing-grid,
  .signup-layout { grid-template-columns: minmax(0, 1fr); }

  .nav-links { display: none; }
}

/* Hero & section imagery */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-media-rtl {
  direction: rtl;
}
.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  width: 100%;
  max-height: 260px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.image-strip-rtl {
  direction: rtl;
}
.strip-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  max-height: 260px;
}

@media (max-width: 900px) {
  .image-strip {
    flex-direction: column;
  }
}

/* Tighten top space on Arabic hero only */
#lang-ar .hero {
  padding-top: 24px;
}
