:root {
  --blue: #78AAFF;
  --blue-2: #9BC1FF;
  --blue-soft: #EAF3FF;
  --navy: #01156B;
  --navy-2: #000B42;
  --navy-3: #061D7B;
  --ink: #07124F;
  --muted: #55618A;
  --white: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #FFFFFF;
  --line: rgba(1, 21, 107, 0.12);
  --shadow: 0 24px 70px rgba(1, 21, 107, 0.16);
  --shadow-strong: 0 32px 90px rgba(1, 21, 107, 0.26);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1160px;
  --font: Tahoma, Arial, "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f4f8ff 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-lang="en"] { direction: ltr; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section-pad { padding: clamp(62px, 8vw, 112px) 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(1, 21, 107, 0.08);
}
.nav-shell {
  width: min(var(--container), calc(100% - 28px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(1,21,107,.1);
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 45px rgba(1, 21, 107, 0.08);
  border-radius: 999px;
  padding: 10px 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--navy); }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-size: 1.05rem; letter-spacing: -0.02em; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: clamp(12px, 2.3vw, 30px); color: var(--muted); font-weight: 800; font-size: .94rem; }
.nav-links a { padding: 8px 2px; transition: color .2s ease; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(1,21,107,.15);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(1,21,107,.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 7vw, 86px);
  background:
    radial-gradient(circle at 16% 12%, rgba(120,170,255,.45) 0 18%, transparent 36%),
    radial-gradient(circle at 92% 16%, rgba(1,21,107,.15) 0 14%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.loop {
  position: absolute;
  width: 420px;
  aspect-ratio: 1.9;
  border: 38px solid rgba(1,21,107,.06);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.loop-a { top: 110px; right: -130px; }
.loop-b { bottom: 40px; left: -160px; border-color: rgba(120,170,255,.28); transform: rotate(18deg); }
.loop-c { top: 38%; left: 47%; width: 300px; border-color: rgba(1,21,107,.04); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--navy);
  background: rgba(120,170,255,.24);
  border: 1px solid rgba(1,21,107,.10);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .88rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px rgba(1,21,107,.08); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 18px 0 18px;
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(3.05rem, 9vw, 6.9rem);
  line-height: .98;
  letter-spacing: -0.075em;
  font-weight: 950;
}
.hero-lead {
  max-width: 660px;
  color: #273266;
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 2;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 18px 34px rgba(1,21,107,.25); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: rgba(1,21,107,.15); box-shadow: 0 10px 28px rgba(1,21,107,.08); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 15px 35px rgba(255,255,255,.18); }
.full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--navy); }
.trust-row span { border: 1px solid rgba(1,21,107,.12); background: rgba(255,255,255,.7); padding: 9px 13px; border-radius: 999px; font-weight: 900; font-size: .9rem; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone-card {
  width: min(390px, 86vw);
  border-radius: 44px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(1,21,107,.96), rgba(1,21,107,.78));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,.28);
  transform: rotate(-2deg);
}
.phone-top { width: 88px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 0 auto 22px; }
.app-screen { display: grid; gap: 14px; }
.app-head { display: flex; justify-content: space-between; align-items: center; color: var(--white); font-weight: 900; padding: 0 8px; }
.event-card {
  min-height: 94px;
  border-radius: 26px;
  padding: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.event-card strong { display: block; font-size: 1rem; margin-bottom: 5px; }
.event-card span { color: rgba(255,255,255,.72); font-weight: 800; }
.event-card b, .event-card i { width: 54px; height: 54px; border-radius: 18px; background: var(--blue); color: var(--navy); display: grid; place-items: center; font-style: normal; font-weight: 950; }
.event-card.featured { background: linear-gradient(120deg, rgba(120,170,255,.35), rgba(255,255,255,.14)); }
.visual-note {
  position: absolute;
  inset-inline-start: 0;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-weight: 900;
  max-width: 260px;
}
.visual-note img { width: 34px; height: 34px; object-fit: contain; }

.two-col { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.section-intro h2, .center-intro h2, .organizer-copy h2, .audience-panel h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
  margin: 15px 0 16px;
  font-weight: 950;
}
.section-intro p, .center-intro p, .organizer-copy p, .contact-card p, .audience-panel p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 2;
}
.pain-list { display: grid; gap: 14px; }
.pain-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 15px;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(1,21,107,.07);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.pain-item span { width: 50px; height: 50px; border-radius: 17px; background: var(--blue); color: var(--navy); display: grid; place-items: center; font-weight: 950; }
.pain-item p { margin: 0; color: var(--ink); font-weight: 850; line-height: 1.8; }

.solution-section { background: linear-gradient(180deg, #fff 0%, #eef6ff 100%); }
.center-intro { text-align: center; max-width: 820px; margin: 0 auto 34px; display: grid; justify-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 250px;
  box-shadow: 0 20px 55px rgba(1,21,107,.08);
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 90px;
  border: 18px solid rgba(120,170,255,.26);
  border-radius: 50%;
  inset-inline-end: -62px;
  bottom: -24px;
  transform: rotate(-18deg);
}
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--navy); color: var(--white); font-weight: 950; margin-bottom: 24px; }
.feature-card h3 { color: var(--navy); font-size: 1.36rem; margin-bottom: 10px; line-height: 1.35; }
.feature-card p { color: var(--muted); margin: 0; line-height: 1.9; }

.audience-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: clamp(28px, 5vw, 48px);
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
}
.audience-panel::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1.9; border: 35px solid rgba(120,170,255,.22); border-radius: 50%; inset-inline-end: -120px; top: -50px; transform: rotate(-18deg); }
.audience-panel > * { position: relative; }
.audience-panel .section-kicker { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.18); }
.audience-panel h2 { color: var(--white); margin-bottom: 0; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.audience-tags span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: var(--white); padding: 12px 16px; border-radius: 999px; font-weight: 950; }

.organizer-card {
  background: linear-gradient(135deg, var(--blue), #b8d4ff);
  border-radius: clamp(30px, 5vw, 52px);
  padding: clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.organizer-card::after { content: ""; position: absolute; width: 320px; aspect-ratio: 1.9; border: 30px solid rgba(1,21,107,.12); border-radius: 50%; inset-inline-start: -80px; bottom: -80px; transform: rotate(14deg); }
.organizer-card > * { position: relative; }
.organizer-copy h2 { max-width: 780px; }
.organizer-copy p { color: rgba(7,18,79,.8); max-width: 720px; }

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 62px); align-items: center; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 38px);
}
.contact-card h3 { color: var(--navy); font-size: 1.55rem; margin-bottom: 8px; }
.contact-actions { display: grid; gap: 12px; margin: 22px 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { color: var(--navy); background: var(--blue-soft); border: 1px solid rgba(1,21,107,.08); padding: 9px 12px; border-radius: 999px; font-weight: 900; font-size: .9rem; }

.site-footer { background: var(--navy); color: var(--white); padding: 42px 0; }
.footer-inner { display: grid; gap: 14px; align-items: center; justify-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 950; font-size: 1.15rem; }
.footer-brand img { width: 36px; height: 36px; }
.footer-inner p { color: rgba(255,255,255,.78); margin: 0; max-width: 660px; }
.footer-inner span { color: rgba(255,255,255,.6); font-size: .92rem; }

.floating-whatsapp {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #083E1A;
  border: 1px solid rgba(255,255,255,.52);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
  border-radius: 999px;
  min-height: 54px;
  padding: 0 16px;
  font-weight: 950;
}
.floating-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links { display: none; }
  .hero-grid, .two-col, .contact-grid, .audience-panel, .organizer-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; padding-top: 10px; }
  .phone-card { width: min(360px, 92vw); }
  .visual-note { position: relative; inset: auto; margin-top: -8px; justify-self: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .organizer-card .btn { justify-self: stretch; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding: 8px 0; }
  .nav-shell { width: calc(100% - 16px); padding: 8px; border-radius: 24px; }
  .brand-name { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .lang-toggle { width: 40px; height: 40px; }
  .nav-cta { display: none; }
  .section-pad { padding: 54px 0; }
  h1 { font-size: clamp(3.2rem, 17vw, 4.65rem); letter-spacing: -0.08em; }
  .hero-lead { font-size: 1rem; line-height: 1.95; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; min-height: 52px; padding: 0 18px; white-space: normal; text-align: center; }
  .trust-row { gap: 8px; }
  .trust-row span { font-size: .82rem; padding: 8px 10px; }
  .phone-card { transform: none; padding: 18px; border-radius: 34px; }
  .event-card { min-height: 82px; padding: 14px; border-radius: 22px; }
  .event-card b, .event-card i { width: 46px; height: 46px; border-radius: 15px; }
  .section-intro h2, .center-intro h2, .organizer-copy h2, .audience-panel h2 { font-size: clamp(1.85rem, 9vw, 3rem); letter-spacing: -0.045em; }
  .pain-item { grid-template-columns: 1fr; padding: 18px; }
  .pain-item span { width: 46px; height: 46px; }
  .feature-card { min-height: auto; padding: 22px; border-radius: 26px; }
  .audience-panel, .organizer-card, .contact-card { border-radius: 28px; }
  .audience-tags span { padding: 10px 12px; font-size: .9rem; }
  .floating-whatsapp { inset-inline-end: 14px; bottom: 14px; min-height: 52px; padding: 0 14px; }
  .floating-whatsapp span { display: none; }
}

@media (max-width: 380px) {
  h1 { font-size: 3rem; }
  .section-intro h2, .center-intro h2, .organizer-copy h2, .audience-panel h2 { font-size: 1.8rem; }
  .hero-lead, .section-intro p, .center-intro p, .organizer-copy p, .contact-card p { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
