/* ===========================================================
   إسلام محمد — خبير إعلانات جوجل
   Design tokens
=========================================================== */
:root{
  --ink: #0D0A1F;
  --ink-2: #191233;
  --paper: #F5F4FB;
  --paper-2: #FFFFFF;
  --text-dark: #10131A;
  --text-light: #F2F1FA;
  --muted: #6B7280;
  --muted-light: #ADA6C9;
  --gold: #6D5BF7;
  --gold-light: #9B8CFF;
  --teal: #06B6D4;
  --border: rgba(16,19,26,0.08);
  --border-light: rgba(255,255,255,0.12);

  --font-display: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", sans-serif;

  --radius: 14px;
  --container: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== Top bar ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,15,26,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand__mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
}
.brand__name{
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.nav{ display: flex; align-items: center; gap: 28px; }
.nav a{
  color: var(--muted-light);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav a:hover{ color: var(--gold-light); }
.topbar__cta{ font-size: 14px; padding: 10px 16px; }

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--gold-light); outline-offset: 3px; }

.btn--primary{
  background: linear-gradient(135deg, #7C6BFF, #4B33E0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109,91,247,0.32);
}
.btn--primary:hover{ box-shadow: 0 14px 30px rgba(109,91,247,0.45); }

.btn--outline{
  background: transparent;
  border-color: rgba(16,19,26,0.25);
  color: var(--text-dark);
}
.btn--outline:hover{ border-color: var(--gold); color: var(--gold); }

.btn--outline-light{
  border-color: rgba(155,140,255,0.55);
  background: rgba(109,91,247,0.10);
  color: var(--text-light);
}
.btn--outline-light:hover{ border-color: var(--gold-light); color: var(--gold-light); }

.btn--ghost{
  background: rgba(255,255,255,0.06);
  border-color: var(--border-light);
  color: var(--text-light);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.12); }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: radial-gradient(120% 100% at 20% 0%, #2A1B57 0%, var(--ink) 55%, #070514 100%);
  color: var(--text-light);
  overflow: hidden;
  padding: 96px 0 64px;
}
.hero__bg{
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero__chart{ width: 100%; height: 100%; }
#growthLine{
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 2.4s ease forwards .3s;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

.hero__inner{ position: relative; z-index: 1; text-align: center; }

.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gold-light);
  background: rgba(109,91,247,0.12);
  border: 1px solid rgba(109,91,247,0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow--dark{ color: var(--teal); background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.25); }
.eyebrow.center{ display: block; width: fit-content; margin-inline: auto; }

.hero__title{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 76px);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #FFFFFF 30%, #B9AEF5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle{
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted-light);
  line-height: 1.9;
}
.hero__subtitle strong{ color: var(--gold-light); font-weight: 700; }
.hero__subtitle span{ color: var(--text-light); font-weight: 600; }

.hero__cta{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.stat{ text-align: center; }
.stat__num{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--gold-light);
}
.stat__plus{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--gold-light);
}
.stat__label{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted-light);
}

/* ===== Hero mockup illustration ===== */
.hero__mockup{
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.mockup{
  width: 100%;
  max-width: 620px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  text-align: start;
}
.mockup__bar{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid var(--border-light);
}
.mockup__bar span{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mockup__bar em{
  font-style: normal;
  margin-inline-start: 12px;
  font-size: 12px;
  color: var(--muted-light);
  direction: ltr;
}
.mockup__body{ padding: 22px 22px 26px; }
.mockup__chart{ position: relative; }
.mockup__chart-label{
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted-light);
}
.mockup__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.mockup__stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.mockup__stat-num{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--gold-light);
  direction: ltr;
}
.mockup__stat-label{ font-size: 11.5px; color: var(--muted-light); }

/* ===== Reach card (About) ===== */
.reach-card{
  margin-top: 18px;
  width: 260px;
  padding: 18px 18px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
}
.reach-card__labels{
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
.reach-card__labels i{
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-inline-end: 5px;
}

/* ===== Sections ===== */
.section{ padding: 96px 0; }
.section--light{ background: var(--paper-2); }
.section--dark{
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-light);
}

.section__title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 6px 0 16px;
  color: var(--text-dark);
}
.section__title--light{ color: var(--text-light); }
.section__title.center{ text-align: center; }

.section__lead{
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 0 48px;
}
.section__lead--light{ color: var(--muted-light); margin-inline: auto; }
.section__lead.center{ text-align: center; margin-inline: auto; }

/* ===== About ===== */
.about{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.about__badge{ display: flex; flex-direction: column; align-items: center; gap: 22px; }
.photo-card{
  width: 260px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-light);
  box-shadow: 0 24px 48px rgba(11,15,26,0.18);
  border: 1px solid rgba(109,91,247,0.35);
}
.photo-card img{
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.photo-card figcaption{
  padding: 16px 18px 20px;
  text-align: center;
  display: grid;
  gap: 6px;
}
.photo-card figcaption strong{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.photo-card figcaption span{ font-size: 13px; color: var(--muted-light); }
.badge-card{
  width: 260px;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-light);
  text-align: center;
  box-shadow: 0 24px 48px rgba(11,15,26,0.18);
}
.badge-card__mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  margin: 0 auto 20px;
}
.badge-card__role{ font-family: var(--font-display); font-weight: 700; margin: 0 0 4px; }
.badge-card__loc{ font-size: 13px; color: var(--muted-light); margin: 0; }

.about__p{ color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.about__list{ margin-top: 24px; }
.about__list li{
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}
.about__list li::before{
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ===== Grids / Cards ===== */
.grid{ display: grid; gap: 24px; }
.grid--services{ grid-template-columns: repeat(3, 1fr); }
.grid--why{ grid-template-columns: repeat(4, 1fr); }
.grid--results{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16,19,26,0.08);
  border-color: rgba(109,91,247,0.35);
}
.card__icon{ font-size: 30px; margin-bottom: 16px; }
.card h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}
.card p{ color: var(--muted); font-size: 14.5px; margin: 0; }

.why-card{
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper-2);
}
.why-card h3{
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--teal);
}
.why-card p{ color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Results ===== */
.result-card{
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 30px;
  text-align: center;
}
.result-card h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin: 18px 0 8px;
}
.result-card p{ color: var(--muted); font-size: 14px; margin: 0; }

/* ===== FAQ ===== */
.faq{ max-width: 780px; }
.faq__list{ display: grid; gap: 14px; }
.faq__item{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--paper-2);
}
.faq__item summary{
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__item summary::after{
  content: "+";
  font-size: 22px;
  color: var(--gold);
  transition: transform .2s ease;
  flex: none;
}
.faq__item[open] summary::after{ content: "−"; }
.faq__item p{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ===== Process steps ===== */
.steps{
  display: grid;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}
.step{
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 26px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.step__num{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--gold);
  min-width: 46px;
}
.step h3{
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-light);
}
.step p{ margin: 0; color: var(--muted-light); font-size: 14.5px; }

/* ===== Contact ===== */
.contact{ text-align: center; }
.contact__phone{
  margin: 8px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.contact__phone-label{ color: var(--muted-light); font-size: 14px; }
.contact__phone-number{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--gold-light);
  letter-spacing: .02em;
}
.contact__cta{ margin-bottom: 0; }

/* ===== Footer ===== */
.footer{ background: #070514; color: var(--muted-light); padding: 48px 0 120px; }
.footer__inner{ display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__tag{ font-size: 14px; margin: 0; }
.footer__phone{ font-family: var(--font-display); font-weight: 700; color: var(--gold-light); font-size: 15px; }
.footer__copy{ font-size: 12.5px; color: #5A5378; margin-top: 12px; }

/* ===== Floating action buttons ===== */
.fab-group{
  position: fixed;
  bottom: 26px;
  left: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.fab{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 2px solid rgba(255,255,255,0.18);
}
.fab svg{ flex: none; }
.fab:hover{ transform: translateY(-3px) scale(1.03); }



.fab--whatsapp{
  background: linear-gradient(135deg, #2CE470, #1AA34A);
  position: relative;
}
.fab--whatsapp svg{
  width: 58px; height: 58px;
  padding: 15px;
  box-sizing: border-box;
}
.fab--whatsapp::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(44,228,112,0.55);
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(44,228,112,0.45); }
  70%{ box-shadow: 0 0 0 16px rgba(44,228,112,0); }
  100%{ box-shadow: 0 0 0 0 rgba(44,228,112,0); }
}

.fab--call{
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
}
.fab--call svg{
  width: 58px; height: 58px;
  padding: 17px;
  box-sizing: border-box;
}

@media (max-width: 560px){
  
  .fab{ padding: 0; width: 58px; }
  .fab--whatsapp svg, .fab--call svg{ margin-inline-start: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .nav{ display: none; }
  .about{ grid-template-columns: 1fr; }
  .about__badge{ margin-bottom: 8px; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 18px; }
  .reach-card{ margin-top: 0; }
  .grid--services{ grid-template-columns: repeat(2, 1fr); }
  .grid--why{ grid-template-columns: repeat(2, 1fr); }
  .grid--results{ grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .hero__stats{ grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .mockup__stats{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px){
  .section{ padding: 64px 0; }
  .grid--services{ grid-template-columns: 1fr; }
  .grid--why{ grid-template-columns: 1fr; }
  .hero{ padding: 76px 0 48px; }
  .hero__cta{ flex-direction: column; align-items: stretch; }
  .hero__cta .btn{ justify-content: center; }
  .topbar__cta{ display: none; }
  .step{ padding: 18px; gap: 14px; }
  .about__badge{ flex-direction: column; align-items: center; }
  .faq__item summary{ font-size: 14.5px; }
}
